Text to Image
doubao-seedance-4-5
Draft model pending operator verification
Quick start
Submit a request with this public model ID. The API immediately returns a normalized job; poll GET /v1/jobs/{jobId} while its status is queued or running.
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-seedance-4-5","prompt":"A small blue paper kite","size":"1:1","resolution":"2K","count":1,"optimize_prompt_options":"standard"}'Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for an Artany API key. |
| Content-Type | Yes | Must be application/json. |
| Idempotency-Key | Recommended | 8–128 characters. Reusing it with an identical request prevents duplicate jobs and charges. |
Body
{
"model": "doubao-seedance-4-5",
"prompt": "A small blue paper kite",
"size": "1:1",
"resolution": "2K",
"count": 1,
"optimize_prompt_options": "standard"
}Request Parameters
Only fields in this model’s public request contract are shown. Defaults are applied before validation and quoting.
Stable public model ID for this request.
Text description for the generated image. State the subject, composition, style, and required details clearly.
Length: 1–1000
Output image aspect ratio. Choose a supported ratio or use auto when available.
Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9, auto
Output resolution tier. Higher tiers produce larger images and affect the quote.
Allowed: 2K, 4K
Number of output images.
Range: 1–15
Note:Send a JSON number rather than a quoted string.
Reference images for image-to-image generation.
Items: 1–15
- Use public URLs or complete Base64 Data URIs when supported by the model.
Note:Use only the number, formats, and file sizes accepted by this model.
Controls the model's supported prompt-optimization behavior before generation.
Allowed: standard, fast
Response and task status
A successful asynchronous submission returns HTTP 202 with a supplier-neutral job.
{
"id": "job_…",
"object": "generation.job",
"model": "doubao-seedance-4-5",
"status": "queued",
"progress": 0,
"output": null,
"error": null,
"billing": {
"estimated_credits": "…",
"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
}- queued / running: continue polling.
- succeeded: retrieve media URLs from
output; billing has settled. - failed / canceled: inspect
error; frozen Credits are released.
Pricing
The price shown for a matching configuration is the fixed amount settled on successful completion. Price version: 2026-07-18.picverse-parity.
| count | Credits |
|---|---|
| 1 | 6 |
| 2 | 12 |
| 3 | 18 |
| 4 | 24 |
| 5 | 30 |
| 6 | 36 |
| 7 | 42 |
| 8 | 48 |
| 9 | 54 |
| 10 | 60 |
| 11 | 66 |
| 12 | 72 |
| 13 | 78 |
| 14 | 84 |
| 15 | 90 |