Ideogram 3 Remix Serverless API
Ideogram 3 Remix enables versatile image transformation, enhancing creativity through customizable design iterations.
POST /v2/ideogram-3-remix · submit + poll 1# pip install "segmind>=1.1.0"
2# export SEGMIND_API_KEY="YOUR_API_KEY"
3import segmind
4
5# Async (v2): submit to the queue and block until COMPLETED.
6# run() returns the final result dict (600s deadline, 1.0s poll by default).
7result = segmind.run(
8 "ideogram-3-remix",
9 prompt="Majestic waterfall under moonlight",
10 image="https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
11 image_weight=50,
12 seed=6522,
13 resolution="1024x1024",
14 rendering_speed="DEFAULT",
15 magic_prompt="AUTO",
16 negative_prompt="No people, no buildings",
17 style_codes=[],
18 style_type="GENERAL",
19 style_reference_images=[],
20)
21print(result["status"]) # COMPLETED
22print(result.get("output")) # model output (e.g. media URL)
23print(result["metrics"]["inference_time"]) # server compute seconds
24
25# --- Or submit + poll manually (track request_id, control the cadence) ---
26from segmind import SegmindClient, InferenceFailed, InferenceTimeout
27
28client = SegmindClient() # reads SEGMIND_API_KEY
29payload = {
30 "prompt": "Majestic waterfall under moonlight",
31 "image": "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
32 "image_weight": 50,
33 "seed": 6522,
34 "resolution": "1024x1024",
35 "rendering_speed": "DEFAULT",
36 "magic_prompt": "AUTO",
37 "negative_prompt": "No people, no buildings",
38 "style_codes": [],
39 "style_type": "GENERAL",
40 "style_reference_images": [],
41}
42job = client.submit_async("ideogram-3-remix", **payload)
43print(job.request_id) # available immediately
44try:
45 result = job.wait(timeout=600, interval=1.0)
46except InferenceTimeout as e:
47 print("still running:", e.request_id)
48except InferenceFailed as e:
49 print("failed:", e.detail) 1# pip install "segmind>=1.1.0"
2# export SEGMIND_API_KEY="YOUR_API_KEY"
3import segmind
4
5# Async (v2): submit to the queue and block until COMPLETED.
6# run() returns the final result dict (600s deadline, 1.0s poll by default).
7result = segmind.run(
8 "ideogram-3-remix",
9 prompt="Majestic waterfall under moonlight",
10 image="https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
11 image_weight=50,
12 seed=6522,
13 resolution="1024x1024",
14 rendering_speed="DEFAULT",
15 magic_prompt="AUTO",
16 negative_prompt="No people, no buildings",
17 style_codes=[],
18 style_type="GENERAL",
19 style_reference_images=[],
20)
21print(result["status"]) # COMPLETED
22print(result.get("output")) # model output (e.g. media URL)
23print(result["metrics"]["inference_time"]) # server compute seconds
24
25# --- Or submit + poll manually (track request_id, control the cadence) ---
26from segmind import SegmindClient, InferenceFailed, InferenceTimeout
27
28client = SegmindClient() # reads SEGMIND_API_KEY
29payload = {
30 "prompt": "Majestic waterfall under moonlight",
31 "image": "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
32 "image_weight": 50,
33 "seed": 6522,
34 "resolution": "1024x1024",
35 "rendering_speed": "DEFAULT",
36 "magic_prompt": "AUTO",
37 "negative_prompt": "No people, no buildings",
38 "style_codes": [],
39 "style_type": "GENERAL",
40 "style_reference_images": [],
41}
42job = client.submit_async("ideogram-3-remix", **payload)
43print(job.request_id) # available immediately
44try:
45 result = job.wait(timeout=600, interval=1.0)
46except InferenceTimeout as e:
47 print("still running:", e.request_id)
48except InferenceFailed as e:
49 print("failed:", e.detail)API Endpoint
https://api.segmind.com/v1/ideogram-3-remixParameters
imagerequiredstring (uri)Initial image for creation. Opt for images matching the desired theme or scene.
"https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg"promptrequiredstringGuide image creation. Use detailed prompts like 'majestic waterfall under moonlight' for specific themes.
"Majestic waterfall under moonlight"aspect_ratiooptionalstringDefines aspect ratio. Use 1x1 for square, others for different dimensions.
null"1x3""3x1""1x2""2x1""9x16""16x9""10x16""16x10""2x3""3x2"+5 morecolor_paletteoptionalany | anyA color palette for generation
Preset Color PaletteoptionalanynamerequiredstringCustom Color Paletteoptionalanymembersrequiredobject[]image_weightoptionalintegerSets the influence of the base image. Increase for strong influence, reduce for subtle impacts.
50magic_promptoptionalstringEnhances prompts. Use 'ON' for enriched results or 'OFF' for manual input.
"AUTO""AUTO""ON""OFF"negative_promptoptionalstringExcludes elements from results. Specify unwanted features here.
"No people, no buildings"rendering_speedoptionalstringBalances speed and quality. Use 'QUALITY' for detail, 'TURBO' for speed.
"DEFAULT""TURBO""DEFAULT""QUALITY"resolutionoptionalstringDefines output resolution. Use high resolution for detail, low for speed.
"1024x1024""512x1536""576x1408""576x1472""576x1536""640x1344""640x1408""640x1472""640x1536""704x1152""704x1216"+59 moreseedoptionalintegerEnsures consistent outputs. Use specific seeds for reproducible results.
6522Range: 100 - 999999style_codesoptionalstring[]Apply style codes for themes. Use codes for specific styles or moods.
style_reference_imagesoptionalstring[]Add sample images for style influence. Use relevant samples that fit size limits.
style_typeoptionalstringChoose overarching style. 'REALISTIC' for lifelike, 'DESIGN' for abstract.
"GENERAL""AUTO""GENERAL""REALISTIC""DESIGN"Response Type
Returns: Image
Asynchronous requests (v2)
Use Async for video, long-running (>~60s), or high-concurrency workloads; Sync is simplest for fast image & LLM calls. Async submits a request and you poll it to completion.
- 1
POST /v2/ideogram-3-remixSubmit — returns request_id, status_url, response_url
- 2
GET /v2/requests/{id}/statusPoll — until COMPLETED or FAILED
- 3
GET /v2/requests/{id}Result — final response body
Status states
- A FAILED request is served as HTTP 422 — the body still carries the error detail.
- An unknown or expired request_id returns HTTP 404.
- Results are retained for 1 hour, then expire.
- Content / RAI blocks surface as FAILED, not a separate state.
- Track completion by polling the status endpoint.
Common Error Codes
The API returns standard HTTP status codes. Detailed error messages are provided in the response body.
Bad Request
Invalid parameters or request format
Unauthorized
Missing or invalid API key
Forbidden
Insufficient permissions
Not Found
Model or endpoint not found
Insufficient Credits
Not enough credits to process request
Rate Limited
Too many requests
Server Error
Internal server error
Bad Gateway
Service temporarily unavailable
Timeout
Request timed out