Seedream · Image
Text to ImageNEW
📌 What is this:Generate images from a text description.
💡 When to use:Use to turn a text idea straight into images; omit imageUrls for text-to-image.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/seedream |
| Query Result | GET | /api/cqt/info/seedream?id={taskId} |
⏱ Recommended polling interval:Poll every 5-10s until status = succeeded / failed.
Sub-models
The tier price column is credits/image (credits/call for per-call models); (default output) = default output only, resolution not accepted; ≥N refs → = multi-reference tier.
| model | Usage | Materials | Images | Tier price (credits) |
|---|---|---|---|---|
| seedream-5.0-pro | 5.0 Pro; quality first | None (text only) | 1 | 2K=60 / 4K=72 ; +2/ref after 1 |
| seedream-5.0-lite | 5.0 Lite; 2K only | None (text only) | 1 | 2K=22 |
| seedream-4.5 | 4.5; 2K / 4K same price | None (text only) | 1 | 2K=25 / 4K=25 |
| seedream-4.0 | 4.0; 2K / 4K same price | None (text only) | 1 | 2K=20 / 4K=20 |
⚠ seedream-5.0-pro: 1 image per call; seedream-5.0-lite: 1 image per call; seedream-4.5: 1 image per call; seedream-4.0: 1 image per call
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Sub-model: seedream-5.0-pro / seedream-5.0-lite / seedream-4.5 / seedream-4.0 |
| prompt | string | Required | Image description |
| resolution | string | — | 1K / 2K / 4K, only tiers priced in the table, default = lowest tier; accepted only by seedream-5.0-pro / seedream-5.0-lite / seedream-4.5 / seedream-4.0 (others use the default output and reject it) |
| aspectRatio | string | — | Aspect ratio, e.g. 1:1 / 16:9 / 9:16 |
| negativePrompt / seed / enhancePrompt | string / integer / boolean | — | Negative prompt / random seed / auto-enhance prompt (optional) |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/seedream \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "seedream-4.5",
"prompt": "a cozy wooden cabin in a snowy forest at dusk, warm window light, cinematic",
"resolution": "2K",
"aspectRatio": "16:9"
}'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"id": "26c0c9ceb202475d995628a47fccc7df",
"resultUrl": "https://cdn.novapi.ai/seedream/1791950028765_c35a9866dca1401f9fa84d32cb4efb5f.jpg",
"status": "succeeded",
"errorMsg": null,
"createTime": "2026-10-14 11:53:29",
"completeTime": "2026-10-14 11:53:49"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | 200 means success |
| data.id | string | Task ID (taskId) |
| data.status | string | queued / running / succeeded / failed |
| data.resultUrl | string | Result URL(s) on our CDN (long-lived); multiple results are comma-separated; null until done or on failure |
| data.errorMsg | string | null | Failure reason; null on success |