v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBGenerate with the CFG-distilled Ideogram 4.0 model asynchronously via webhook
Accepts a CFG-distilled Ideogram 4.0 generation request for asynchronous processing and returns immediately with a generation_id. The generated images are POSTed to the supplied webhook_url once ready, in a payload that mirrors the synchronous response with an added generation_id for correlation.
See Webhooks for the delivery payload and how to verify webhook signatures.
Query parameters
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.
Request body
Example request
{
"json_prompt": {
"high_level_description": "high_level_description",
"style_description": {
"photo": "photo",
"art_style": "art_style",
"medium": "medium",
"aesthetics": "aesthetics",
"lighting": "lighting",
"color_palette": [
"#FFD700",
"#FFD700"
]
},
"compositional_deconstruction": {
"background": "background",
"elements": [
{
"bbox": [
0,
0,
1000,
1000
],
"type": "obj",
"desc": "desc",
"color_palette": [
"#FFD700",
"#FFD700"
]
},
{
"bbox": [
0,
0,
1000,
1000
],
"type": "obj",
"desc": "desc",
"color_palette": [
"#FFD700",
"#FFD700"
]
}
]
},
"tags": [
"tags",
"tags"
]
},
"resolution": "2048x2048"
}Response
Request accepted for asynchronous delivery.
Example response
{
"generation_id": "generation_id"
}