start_generation_job
Initiate an asynchronous background image generation job using GPT-Image. Supports multiple models, sizes, and formats; returns a job ID for status tracking and result retrieval.
Instructions
Start an async image generation job that runs in the background. Use this for long-running operations or when you want to queue multiple generations. Returns a job ID that can be used to check status and retrieve results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | Which image tool to use | |
| prompt | Yes | The generation prompt | |
| output_path | No | Output file path | |
| model | No | Model to use (default: gpt-image-1) | |
| size | No | Image size. gpt-image-2 also supports custom WxH (16px multiples, each edge ≤3840, ratio ≤3:1). | |
| quality | No | Image quality | |
| output_format | No | Output format | |
| sample_count | No | Number of images (1-10) | |
| input_fidelity | No | Input fidelity for edit/transform. gpt-image-1.5 only; gpt-image-2 is always high (field ignored). |