CQTAI
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

UsageMethodPath
Submit taskPOST/api/cqt/generator/seedream
Query ResultGET/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.

modelUsageMaterialsImagesTier price (credits)
seedream-5.0-pro5.0 Pro; quality firstNone (text only)12K=60 / 4K=72 ; +2/ref after 1
seedream-5.0-lite5.0 Lite; 2K onlyNone (text only)12K=22
seedream-4.54.5; 2K / 4K same priceNone (text only)12K=25 / 4K=25
seedream-4.04.0; 2K / 4K same priceNone (text only)12K=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

ParamTypeRequiredDescription
modelstringRequiredSub-model: seedream-5.0-pro / seedream-5.0-lite / seedream-4.5 / seedream-4.0
promptstringRequiredImage description
resolutionstring—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)
aspectRatiostring—Aspect ratio, e.g. 1:1 / 16:9 / 9:16
negativePrompt / seed / enhancePromptstring / 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

FieldTypeDescription
codenumber200 means success
data.idstringTask ID (taskId)
data.statusstringqueued / running / succeeded / failed
data.resultUrlstringResult URL(s) on our CDN (long-lived); multiple results are comma-separated; null until done or on failure
data.errorMsgstring | nullFailure reason; null on success