Generate SVG with GPT Image 2.6 Flare
Generates SVG artwork from a prompt with GPT Image 2.6 Flare. The model renders an image and writes it out as SVG markup. Text prompts only: reference images are not supported.
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
The output aspect ratio, for example “1:1”, “16:9”, or “9:16”. “auto” (the default) lets the model choose a shape that suits the prompt. The long:short ratio is at most 3:1.
How much rendering effort GPT Image 2.6 Flare spends on the image the SVG is drawn from. Lower tiers return sooner and cost less; auto lets the model choose, which it currently renders at high.
How much the model plans before it renders, separate from quality. Lower levels return sooner.
URL-safe base64 ID of a writable destination collection.
HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a
JSON POST to this URL once all images for the request have finished
generating. The body mirrors the synchronous generate response:
request_id, created, and a data array
containing every generated image (url, prompt, resolution, seed,
is_image_safe). Each delivery is signed with Ed25519 and verifiable
against the public keys at https://api.ideogram.ai/v1/.well-known/jwks.json. Must be HTTPS;
private and loopback hosts and the cloud metadata service are rejected.
Response
URL-safe base64 generation ID. Poll the shared generations endpoint for SVG results.