Text to Image
doubao-seedream-5-0-lite
Draft model pending operator verification
Commercial useAsync APIfrom 6 Credits
API reference
Submit this model to the capability endpoint, then poll the returned job until it is terminal. Only the parameters below are accepted.
Required headers
Authorization: Bearer $ARTANY_API_KEY Content-Type: application/json Idempotency-Key: unique-request-id
Use a new 8–128 character Idempotency-Key for each logical generation. Retrying the same request with the same key will not double-charge.
Request body
{
"model": "doubao-seedream-5-0-lite",
"prompt": "A small blue paper kite",
"size": "1:1",
"resolution": "2K",
"count": 1,
"output_format": "jpeg"
}Parameters
| Field | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
| model | string | Yes | Stable Artany public model ID. | doubao-seedream-5-0-lite | This exact public model ID. |
| size | string | No | Requested output image aspect ratio or canvas size. Available values are model-specific. | "1:1" | Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9, auto |
| count | integer | No | Number of images to generate in one request. The model-specific maximum is enforced. | 1 | Range: 1–15 |
| prompt | string | Yes | Natural-language instruction describing the desired image or video. Include subject, setting, composition, motion, lighting, and style as needed. | — | Length: 1–1000 |
| image_urls | array | No | Public image URLs or supported image data used as source or reference images. | — | Items: 1–15 |
| resolution | string | No | Requested output quality tier. Available values are model-specific and can affect price. | "2K" | Allowed: 2K, 3K, 4K |
| output_format | string | No | Requested file format for the generated image when the selected model supports format selection. | "jpeg" | Allowed: jpeg, png |
Accepted response
The submit endpoint returns HTTP 202 with a normalized job. Poll GET /v1/jobs/{jobId} until the status is terminal.
{
"id": "job_…",
"object": "generation.job",
"model": "doubao-seedream-5-0-lite",
"status": "queued",
"progress": 0,
"output": null,
"error": null,
"billing": {
"estimated_credits": "6",
"frozen_credits": "…",
"charged_credits": "0",
"state": "frozen",
"price_version": "2026-07-18.picverse-parity"
},
"created_at": "2026-07-21T00:00:00.000Z",
"completed_at": null
}Lifecycle and failures
- queued / running — wait and poll again.
- succeeded — read output URLs from
output; the actual charge is settled. - failed / canceled — inspect
error; frozen Credits are released. - For a schema error, the API returns an error object and identifies the invalid field in
paramwhen applicable.
Input
Runs are billed to your Credits at the listed price — same engine as the public API.
Output
Run the model to see results here
Pricing details
Fixed catalog pricing — the listed price is exactly what a run settles for. Version 2026-07-18.picverse-parity.
| Model | count | Price |
|---|---|---|
| doubao-seedream-5-0-lite | 1 | 6Credits · ~$0.0600 |
| doubao-seedream-5-0-lite | 2 | 12Credits · ~$0.1200 |
| doubao-seedream-5-0-lite | 3 | 18Credits · ~$0.1800 |
| doubao-seedream-5-0-lite | 4 | 24Credits · ~$0.2400 |
| doubao-seedream-5-0-lite | 5 | 30Credits · ~$0.3000 |
| doubao-seedream-5-0-lite | 6 | 36Credits · ~$0.3600 |
| doubao-seedream-5-0-lite | 7 | 42Credits · ~$0.4200 |
| doubao-seedream-5-0-lite | 8 | 48Credits · ~$0.4800 |
Integrate in minutes
curl -X POST "https://api.artany.ai/v1/images/generations" \
-H "Authorization: Bearer $ARTANY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: unique-request-id" \
-d '{"model":"doubao-seedream-5-0-lite","prompt":"A small blue paper kite","size":"1:1","resolution":"2K","count":1,"output_format":"jpeg"}'
# poll until terminal
curl "https://api.artany.ai/v1/jobs/{job_id}" \
-H "Authorization: Bearer $ARTANY_API_KEY"