Bildgenerierungsaufgabe erstellen
Erstellt eine asynchrone Bildgenerierungsaufgabe und gibt eine task_id zurück.
Autorisierungen
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
- Option 1
- Option 2
"gpt-image-2"Accepts auto, a positive WIDTHxHEIGHT target, or ratio shorthand such as 16:9. Every non-auto target is mapped to the nearest official popular size: 1024x1024, 1536x1024, 1024x1536, 2048x2048, 2048x1152, 3840x2160, or 2160x3840.
"auto"
"1024x1024"
"1280x720"
"16:9"
GPT-Image 2 rendering quality.
auto, low, medium, high Number of images to generate. Billing scales with the image count.
1 <= x <= 10Deprecated ratio shorthand. The ratio and compatibility tier are mapped to the nearest official popular size.
Deprecated compatibility tier used to form the target size before nearest-official-size mapping.
1K, 2K, 4K