Seedream
Retrieve a Seedream image task
Use CometAPI GET /v1/images/generations/ to poll an async Seedream image generation task and retrieve final image data.
GET
cURL
Use this endpoint after you create a Seedream image with
POST /v1/images/generations and async: true. The create request returns data.task_id, and this endpoint returns the task state plus final image data when the task succeeds.
This workflow supports doubao-seedream-4-0-250828, doubao-seedream-4-5-251128, doubao-seedream-5-0-260128, and seedream-5-0-pro-260628. Check the Models page or /v1/models for account availability.
Poll a Seedream image task
1
Create the task
Send
POST /v1/images/generations with async: true, then store data.task_id.2
Poll the task
Call this endpoint with the stored task ID until
data.status is success or failure.3
Read the image data
When
data.status is success, read data.data[0].url. Other result fields, including b64_json and revised_prompt, can be empty in the URL workflow.Status values
pending: The task is queued or generating.success: The task finished anddata.datacontains the generated image data.failure: The task failed. Checkdata.fail_reasonwhen it is returned.
Authorizations
Bearer token authentication. Use your CometAPI key.
Path Parameters
Task ID returned in data.task_id by the async create request.
Last modified on July 31, 2026