Sora Image · Image Generation
Sora Image · Introduction
Sora image generation (GPT-Image engine), text-to-image and image-to-image. No model field; flat 6 credits per image. Returns a taskId; poll for the result.
How to call
- Submit:
POST /api/cqt/generator/sora, returns a taskId. - Query:
GET /api/cqt/info/sora?id=taskId, poll until status = succeeded.
Capability map
POSTText to Image
Generate an image from text.
POSTImage to Image
Generate a new image from a reference + text.
Common Errors
| Code | msg | Meaning | How to fix |
|---|---|---|---|
| 451 | content moderation | Prompt or image flagged | Edit the prompt or image and retry |
| 500 | timeout | Request timed out | Retry later; contact support if it persists |
Errors are returned as upstream bizCode, e.g. upstream bizCode=451, msg=prompt_unsafe.
Tip: after saving your API Key via Authorize, every capability page supports "Try it".