Ad variations
ideogram_ad_variationsVary an ad along one axis—people, setting, group_size, or scene—while keeping its aspect ratio and product. Supply an image or asset and save generated variations.
Instructions
Vary an ad along one axis — people, setting, group_size or scene — keeping its aspect ratio and product. Takes the creative as a local file, a public https URL or an Ideogram asset. Results are saved to the output directory; long jobs come back as a generation_id for ideogram_generation; no price quote (the operation offers no dry run).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | The source photo or ad to work on: a local image file or a public https URL (image_asset_identifier for an Ideogram asset) | |
| prompt | No | What to create or change, in natural language | |
| wait_s | No | Seconds to wait for the result (0-50, default 45). The job is accepted first; if it is still running when the wait ends, the result is its generation_id for ideogram_generation (never resubmitted, never billed twice). | |
| private | No | Keep the result out of Ideogram's public feed; true unless you set false (enterprise accounts are always private) | |
| quality | No | low, medium or high: higher may improve detail and takes longer | |
| num_images | No | How many outputs to make (each is billed) | |
| inline_images | No | true: each saved image is also returned as image content (base64; one over 3.75 MB, or past 10 MB in total, by path only), for a client without file access | |
| variation_type | No | The axis to vary: people, setting, group_size or scene | |
| image_asset_identifier | No | An Ideogram asset (an upload or an earlier result) instead of a local image |