Ideogram 3 Remix

Ideogram 3 Remix enables versatile image transformation, enhancing creativity through customizable design iterations.

~10.66s
$0.037 - $0.113 per generation
 1import requests
 2import json
 3
 4url = "https://api.segmind.com/v1/ideogram-3-remix"
 5headers = {
 6    "x-api-key": "YOUR_API_KEY",
 7    "Content-Type": "application/json"
 8}
 9
10data = {
11    "prompt": "Majestic waterfall under moonlight",
12    "image": "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
13    "image_weight": 50,
14    "seed": 6522,
15    "resolution": "1024x1024",
16    "rendering_speed": "DEFAULT",
17    "magic_prompt": "AUTO",
18    "negative_prompt": "No people, no buildings",
19    "style_codes": [],
20    "style_type": "GENERAL",
21    "style_reference_images": []
22}
23
24response = requests.post(url, headers=headers, json=data)
25
26if response.status_code == 200:
27    result = response.json()
28    print(json.dumps(result, indent=2))
29else:
30    print(f"Error: {response.status_code}")
31    print(response.text)

API Endpoint

POSThttps://api.segmind.com/v1/ideogram-3-remix

Parameters

imagerequired
string (uri)

Initial image for creation. Opt for images matching the desired theme or scene.

Default: "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg"
promptrequired
string

Guide image creation. Use detailed prompts like 'majestic waterfall under moonlight' for specific themes.

Default: "Majestic waterfall under moonlight"
aspect_ratiooptional
string

Defines aspect ratio. Use 1x1 for square, others for different dimensions.

Default: null
Allowed values (15 total):
"1x3""3x1""1x2""2x1""9x16""16x9""10x16""16x10""2x3""3x2"+5 more
color_paletteoptional
any | any

A color palette for generation

One of:
Preset Color Paletteoptional
any
namerequired
string
Custom Color Paletteoptional
any
membersrequired
object[]
image_weightoptional
integer

Sets the influence of the base image. Increase for strong influence, reduce for subtle impacts.

Default: 50
magic_promptoptional
string

Enhances prompts. Use 'ON' for enriched results or 'OFF' for manual input.

Default: "AUTO"
Allowed values :
"AUTO""ON""OFF"
negative_promptoptional
string

Excludes elements from results. Specify unwanted features here.

Default: "No people, no buildings"
rendering_speedoptional
string

Balances speed and quality. Use 'QUALITY' for detail, 'TURBO' for speed.

Default: "DEFAULT"
Allowed values :
"TURBO""DEFAULT""QUALITY"
resolutionoptional
string

Defines output resolution. Use high resolution for detail, low for speed.

Default: "1024x1024"
Allowed values (69 total):
"512x1536""576x1408""576x1472""576x1536""640x1344""640x1408""640x1472""640x1536""704x1152""704x1216"+59 more
seedoptional
integer

Ensures consistent outputs. Use specific seeds for reproducible results.

Default: 6522Range: 100 - 999999
style_codesoptional
string[]

Apply style codes for themes. Use codes for specific styles or moods.

style_reference_imagesoptional
string[]

Add sample images for style influence. Use relevant samples that fit size limits.

style_typeoptional
string

Choose overarching style. 'REALISTIC' for lifelike, 'DESIGN' for abstract.

Default: "GENERAL"
Allowed values :
"AUTO""GENERAL""REALISTIC""DESIGN"

Response Type

Returns: Image

Common Error Codes

The API returns standard HTTP status codes. Detailed error messages are provided in the response body.

400

Bad Request

Invalid parameters or request format

401

Unauthorized

Missing or invalid API key

403

Forbidden

Insufficient permissions

404

Not Found

Model or endpoint not found

406

Insufficient Credits

Not enough credits to process request

429

Rate Limited

Too many requests

500

Server Error

Internal server error

502

Bad Gateway

Service temporarily unavailable

504

Timeout

Request timed out