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)

API Endpoint

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

Parameters

imagerequired
string (uri)

JPEG, PNG, or WebP input image, up to 10MB. A URL or base64 value is accepted.

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

Describe how the input image should be transformed.

Default: "Transform this product photo into an elegant watercolor poster with soft botanical details"
enable_copyright_detectionoptional
boolean

Run post-generation copyright likeness and logo checks.

Default: false
image_weightoptional
integer

Image influence from 1 to 100. Direct API callers can omit it to let Ideogram choose automatically.

Default: 50Range: 1 - 100
rendering_speedoptional
string

Speed and price tier. FLASH is not offered until Ideogram publishes a V4 Flash rate.

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

Native 2K output resolution and aspect ratio.

Default: "2048x2048"
Allowed values (23 total):
"2048x2048""1440x2880""2880x1440""1664x2496""2496x1664""1792x2240""2240x1792""1440x2560""2560x1440""1600x2560"+13 more

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. 1
    POST /v2/ideogram-v4-remix

    Submitreturns request_id, status_url, response_url

  2. 2
    GET /v2/requests/{id}/status

    Polluntil COMPLETED or FAILED

  3. 3
    GET /v2/requests/{id}

    Resultfinal response body

Status states

QUEUEDAccepted, waiting for a worker
PROCESSINGRunning on a worker
COMPLETEDDone — result body is ready
FAILEDErrored (incl. content/RAI blocks)
  • 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.

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