Generate thumbnails
generate_thumbnailsGenerates thumbnail images from a prompt with one or more models (up to 8 images per call). Waits for results and returns image URLs valid for one hour. Billed per image to the API key's account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Images per model. | |
| format | No | Aspect ratio. 16:9 is 1920x1080 for YouTube. | |
| models | No | Model ids from list_models. Defaults to gpt-image-2. | |
| prompt | Yes | What the thumbnail should show, including any exact text to render. |