Remix with Ideogram 4.0

Remix an image synchronously using the Ideogram 4.0 model with an initial image and a prompt. Mirrors `/v1/ideogram-v3/remix` semantics (including `image_weight` for how strongly the output should resemble the input image) but routes the request through the V_4_0 model. Images links are available for a limited period of time; if you would like to keep the image, you must download it.

Authentication

Api-Keystring

API key for access control. Use in the header with the name “Api-Key”

Request

A request to remix an image with Ideogram 4.0.
imagefileRequired

The initial image binary (max 10MB); only JPEG, WebP and PNG formats are supported.

text_promptstringRequired
The text prompt that guides the remix.
image_weightintegerOptional1-100

Optional. How strongly the output should resemble the input image. Higher values keep the input image’s structure; lower values allow the prompt to drive the output more. When omitted, the weight is chosen automatically from the edit instruction; supplying a value overrides that automatic choice.

resolutionenumOptional
The 2K resolutions supported for Ideogram 4.0 image generation.
rendering_speedenumOptionalDefaults to DEFAULT
The rendering speed to use.
Allowed values:

Response

Image(s) generated successfully.

createddatetime
The time the request was created.
datalist of objects

A list of ImageObjects that contain the generated image(s).

response_typeenum
Discriminator for the postGenerateDesignV4 oneOf response. Always "url" for this shape.

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error