Skip to main content
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.
Download or transfer the returned image promptly. The result URL is temporary; do not rely on a fixed lifetime.

Status values

  • pending: The task is queued or generating.
  • success: The task finished and data.data contains the generated image data.
  • failure: The task failed. Check data.fail_reason when it is returned.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Path Parameters

task_id
string
required

Task ID returned in data.task_id by the async create request.

Response

200 - application/json

Current Seedream image generation task state.

code
string
required

Request status code. Successful task lookups return success.

Example:

"success"

message
string
required

Status message. Successful lookups can return an empty string.

data
object
required
Last modified on July 31, 2026