Ideogram V4 Remix Serverless API
Restyle any image into posters with legible in-image text.
POST /v2/ideogram-v4-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-v4-remix",
9 prompt="Turn this into an elegant art-deco perfume advertising poster. Keep the frosted-glass bottle with gold cap centered and untouched. At the top, one single crisp gold serif headline on ONE line reading \"AURELIA\", and directly beneath it a smaller line reading \"MAISON DE PARFUM\". Near the bottom a small centered tagline reading \"PARIS\". Thin decorative botanical line-art frame around the edges. Warm cream and champagne-gold palette, soft studio glow, refined luxury magazine layout, sharp legible typography, no repeated or duplicated words.",
10 image="https://segmind-resources.s3.amazonaws.com/input/ideogram-v4-remix-example-input.jpg",
11 image_weight=45,
12 rendering_speed="DEFAULT",
13 resolution="2048x2048",
14 enable_copyright_detection=False,
15)
16print(result["status"]) # COMPLETED
17print(result.get("output")) # model output (e.g. media URL)
18print(result["metrics"]["inference_time"]) # server compute seconds
19
20# --- Or submit + poll manually (track request_id, control the cadence) ---
21from segmind import SegmindClient, InferenceFailed, InferenceTimeout
22
23client = SegmindClient() # reads SEGMIND_API_KEY
24payload = {
25 "prompt": "Turn this into an elegant art-deco perfume advertising poster. Keep the frosted-glass bottle with gold cap centered and untouched. At the top, one single crisp gold serif headline on ONE line reading \"AURELIA\", and directly beneath it a smaller line reading \"MAISON DE PARFUM\". Near the bottom a small centered tagline reading \"PARIS\". Thin decorative botanical line-art frame around the edges. Warm cream and champagne-gold palette, soft studio glow, refined luxury magazine layout, sharp legible typography, no repeated or duplicated words.",
26 "image": "https://segmind-resources.s3.amazonaws.com/input/ideogram-v4-remix-example-input.jpg",
27 "image_weight": 45,
28 "rendering_speed": "DEFAULT",
29 "resolution": "2048x2048",
30 "enable_copyright_detection": False,
31}
32job = client.submit_async("ideogram-v4-remix", **payload)
33print(job.request_id) # available immediately
34try:
35 result = job.wait(timeout=600, interval=1.0)
36except InferenceTimeout as e:
37 print("still running:", e.request_id)
38except InferenceFailed as e:
39 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-v4-remix",
9 prompt="Turn this into an elegant art-deco perfume advertising poster. Keep the frosted-glass bottle with gold cap centered and untouched. At the top, one single crisp gold serif headline on ONE line reading \"AURELIA\", and directly beneath it a smaller line reading \"MAISON DE PARFUM\". Near the bottom a small centered tagline reading \"PARIS\". Thin decorative botanical line-art frame around the edges. Warm cream and champagne-gold palette, soft studio glow, refined luxury magazine layout, sharp legible typography, no repeated or duplicated words.",
10 image="https://segmind-resources.s3.amazonaws.com/input/ideogram-v4-remix-example-input.jpg",
11 image_weight=45,
12 rendering_speed="DEFAULT",
13 resolution="2048x2048",
14 enable_copyright_detection=False,
15)
16print(result["status"]) # COMPLETED
17print(result.get("output")) # model output (e.g. media URL)
18print(result["metrics"]["inference_time"]) # server compute seconds
19
20# --- Or submit + poll manually (track request_id, control the cadence) ---
21from segmind import SegmindClient, InferenceFailed, InferenceTimeout
22
23client = SegmindClient() # reads SEGMIND_API_KEY
24payload = {
25 "prompt": "Turn this into an elegant art-deco perfume advertising poster. Keep the frosted-glass bottle with gold cap centered and untouched. At the top, one single crisp gold serif headline on ONE line reading \"AURELIA\", and directly beneath it a smaller line reading \"MAISON DE PARFUM\". Near the bottom a small centered tagline reading \"PARIS\". Thin decorative botanical line-art frame around the edges. Warm cream and champagne-gold palette, soft studio glow, refined luxury magazine layout, sharp legible typography, no repeated or duplicated words.",
26 "image": "https://segmind-resources.s3.amazonaws.com/input/ideogram-v4-remix-example-input.jpg",
27 "image_weight": 45,
28 "rendering_speed": "DEFAULT",
29 "resolution": "2048x2048",
30 "enable_copyright_detection": False,
31}
32job = client.submit_async("ideogram-v4-remix", **payload)
33print(job.request_id) # available immediately
34try:
35 result = job.wait(timeout=600, interval=1.0)
36except InferenceTimeout as e:
37 print("still running:", e.request_id)
38except InferenceFailed as e:
39 print("failed:", e.detail)API Endpoint
https://api.segmind.com/v1/ideogram-v4-remixParameters
imagerequiredstring (uri)JPEG, PNG, or WebP input image, up to 10MB. A URL or base64 value is accepted.
"https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg"promptrequiredstringDescribe how the input image should be transformed.
"Transform this product photo into an elegant watercolor poster with soft botanical details"enable_copyright_detectionoptionalbooleanRun post-generation copyright likeness and logo checks.
falseimage_weightoptionalintegerImage influence from 1 to 100. Direct API callers can omit it to let Ideogram choose automatically.
50Range: 1 - 100rendering_speedoptionalstringSpeed and price tier. FLASH is not offered until Ideogram publishes a V4 Flash rate.
"DEFAULT""TURBO""DEFAULT""QUALITY"resolutionoptionalstringNative 2K output resolution and aspect ratio.
"2048x2048""2048x2048""1440x2880""2880x1440""1664x2496""2496x1664""1792x2240""2240x1792""1440x2560""2560x1440""1600x2560"+13 moreResponse 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-v4-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