Generate a static image ad
generate_image_adGenerate 1-4 static image ads from a text prompt, optionally grounding output with product or logo reference images and saved brand settings.
Instructions
Generate 1-4 static image ads from a prompt. Pass referenceImageUrls (product, logo, prior creatives) to ground the output on real brand identity. Optionally ground it in a saved brand. Defaults to waiting for the result; set wait=false to return a job id to poll with get_job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for completion (default true). | |
| count | No | Number of images to generate (1-4, default 1). | |
| model | No | Model id from list_image_models. Omit to use the default model. | |
| prompt | Yes | Detailed image prompt. | |
| brandId | No | ID of a saved brand workspace (from list_brands). | |
| brandSlug | No | Slug of a saved brand workspace. | |
| aspectRatio | No | ||
| enhancePrompt | No | Run brand-aware prompt enhancement (when a brand is referenced). | |
| useDefaultBrand | No | Use the user's most recently ready saved brand automatically. Great for 'create a video for my brand'. | |
| referenceImageUrls | No | Public https reference image URLs. First image is the primary reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| error | No | ||
| result | No |