Use this endpoint to create a new text-to-image generation task.
Get Task Details
After submission, use the unified query endpoint to check task progress and retrieve results
Request
Header Params
Body Params application/jsonRequired
Example
{"prompt":"A cute orange cat sits on the windowsill sunbathing, in a realistic style.","generate_count":1,"model":"gpt-image-2-fast","aspect_ratio":"16:9","resolution":"1K"}