Reframe with Ideogram 3.0
Expand an image to a new Ideogram 3.0 resolution, keeping the source
pixels in the center and filling the new area. Upload the source
image using multipart/form-data. Returns results directly by
default; set async to get a generation_id and poll
GET /v2/generations/{generation_id}.
Authentication
API key for access control. Use in the header with the name "Api-Key"
Query parameters
When true, the request is validated and priced but not run: nothing is
generated, stored, or billed, and no safety review is performed. The
response is a PriceQuote object instead of the usual response for this
endpoint. Send exactly the request you would send to generate, so the
quote reflects the same options.
Request
Use multipart/form-data to upload the source image and any style_reference_images.
The JPEG, PNG, or WEBP image to reframe (max 25MB). Multipart requests only.
A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
A list of 8-character hexadecimal codes representing the style of the image. Refer to each endpoint for supported combinations with style types, presets, and reference images.
JPEG, PNG, or WEBP style reference images (max 10, max 25MB each). Multipart requests only. Cannot be combined with style_preset or style_codes.
Response
URL-safe base64 ID of the accepted generation. Accepted by the
GET /v2/generations/{generation_id} polling endpoint.
The reframed images, in generation order. Present only for synchronous requests (async omitted or false).