201 Created — Tâche en file d'attente
{
"id": "8f3b2c1a-4d5e-4f6a-9b7c-1234567890ab",
"object": "seedream.generation",
"model": "seedream-5-5",
"mode": "text-to-image",
"status": "pending",
"prompt": "Minimalist matte-black ceramic pour-over coffee dripper centered on a clean studio backdrop...",
"aspect_ratio": "1:1",
"resolution": "1.5K",
"output_format": "png",
"background": "transparent",
"max_images": null,
"text_recognition": null,
"cost_credits": 6,
"credits_refunded": false,
"image_url": null,
"images": [],
"layers": null,
"error": null,
"webhook_url": "https://your-app.example.com/webhooks/seedream",
"created_at": "2026-11-27T00:00:00.000Z",
"updated_at": "2026-11-27T00:00:01.000Z"
}
200 OK — Décomposition en calques terminée
{
"id": "4c9a1e2b-7f3d-4a5b-8c1e-abcdef123456",
"object": "seedream.generation",
"model": "seedream-5-5-layers",
"mode": "layer-decomposition",
"status": "success",
"prompt": "Separate headline typography, foreground subject, and studio backdrop.",
"aspect_ratio": "auto",
"resolution": "1.5K",
"output_format": "png",
"background": null,
"max_images": 6,
"text_recognition": true,
"cost_credits": 19,
"credits_refunded": false,
"image_url": "https://cdn.example.com/seedream/layers/task/0.png",
"images": [
"https://cdn.example.com/seedream/layers/task/0.png",
"https://cdn.example.com/seedream/layers/task/1.png",
"https://cdn.example.com/seedream/layers/task/2.png"
],
"layers": [
{
"index": 0,
"url": "https://cdn.example.com/seedream/layers/task/0.png",
"z_index": 0,
"name": "background",
"description": "Studio backdrop",
"size": "1536x1536",
"bounding_box": {
"absolute": [0, 0, 1536, 1536],
"normalized": [0, 0, 1, 1]
}
}
],
"error": null,
"webhook_url": "https://your-app.example.com/webhooks/seedream",
"created_at": "2026-11-27T00:00:00.000Z",
"updated_at": "2026-11-27T00:00:24.000Z"
}