Advertisement Variations
Generates a brand-locked creative variation of the source ad along the requested variation axis: different people, a different setting, a different group size, or a different scene. Logos, brand colors, the product, and all on-image text are preserved; only the requested axis changes.
The request is processed asynchronously. Poll GET /v1/generations/{generation_id} with the returned generation_id until the generation is completed or failed. The completed generation reports the exact amount billed for the request in usage_cost_usd_micros.
Each returned image is generated at the source creative's own aspect ratio (the long side to short side ratio is capped at 3:1).
Supply the source creative as either an AssetIdentifier reference (image_asset_identifier) or the raw image bytes directly (image, multipart requests only). Provide exactly one of the two forms; supplying both, or neither, is rejected with a 400.
Request body
Example request
{
"image_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"webhook_url": "https://api.example.com/webhooks/ideogram"
}Response
Ad variation accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}