Seedream 5.0 Pro

ByteDanceImage generationper-requestTiered pricing

Seedream 5.0 Pro (doubao-seedream-5-0-pro) is ByteDance's quality-first text-to-image model. It produces cinematic 1K and 2K images with best-in-class text rendering, supports up to 10 reference images for style and character consistency, and unifies generation and editing in a single API call. Layer decomposition is billed per layer returned, each at half the standard image price, and reserves the 17-layer maximum until the task finishes; every other request is charged in full at submission.

Price

$0.028665/ call

Max

$0.025799/ call

Endpoint

/images/tasks

Delivery pattern

Async task lifecycle

Availability

Available now

API documentation

Build and copy the request

Choose the options this model accepts. The code below updates as you choose.

Step-by-step in the docs
POSThttps://apiking.ai/v1/images/tasksBearer API keyAsync task

OptionsOnly options published for this model are shown.

# Requires curl and jq
API_KEY="${API_KEY:-YOUR_API_KEY}"

# 1. Submit once
SUBMITTED=$(curl --fail-with-body -sS https://apiking.ai/v1/images/tasks \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: model-docs-$(date +%s)-$$" \\
  -d '{
  "model": "Seedream 5.0 Pro",
  "prompt": "A cinematic scene with careful composition",
  "size": "auto",
  "resolution": "1K",
  "n": 1,
  "output_format": "jpeg",
  "watermark": false,
  "optimize_prompt_options": {
    "mode": "standard"
  }
}')
TASK_ID=$(printf '%s' "$SUBMITTED" | jq -r '.task_id // .id // empty')
if [ -z "$TASK_ID" ]; then
  printf '%s\n' "$SUBMITTED" >&2
  exit 1
fi
echo "task_id=$TASK_ID"

# 2. Poll until terminal
while true; do
  STATUS_JSON=$(curl --fail-with-body -sS \
    "https://apiking.ai/v1/images/tasks/$TASK_ID" \
    -H "Authorization: Bearer $API_KEY")
  STATUS=$(printf '%s' "$STATUS_JSON" | jq -r '.status // empty' | tr '[:upper:]' '[:lower:]')
  echo "status=$STATUS"
  case "$STATUS" in
    completed|succeeded|success) break ;;
    failed|failure|cancelled|canceled)
      printf '%s\n' "$STATUS_JSON" | jq .
      exit 1
      ;;
  esac
  sleep 3
done

# 3. Fetch the final result
curl --fail-with-body -sS \
  "https://apiking.ai/v1/images/tasks/$TASK_ID/content" \
  -H "Authorization: Bearer $API_KEY" | jq .
  1. 1Submit the task
  2. 2Poll the status
  3. 3Fetch the content

Public media URLs are recommended for production. Upload a local file first, then put public_url into the model request. Avoid large Base64 bodies.

Read the upload guide

Parameter reference

model
stringrequired

Exact model identifier for this request.

doubao-seedream-5-0-pro
prompt
stringoptional

Generation/editing instruction. Optional only when layer_decomposition is true. Point and box tags use normalized 0..1000 coordinates.

images
string[]optional

Optional reference image URLs or data URIs, up to 10. Layer decomposition and transparent editing require exactly one image.

size
stringoptional

auto, 1K, 1.5K, 2K, a supported aspect ratio, or an exact WIDTHxHEIGHT value. Exact pixels must total 921600..4624220.

resolution
stringoptional

Requested output resolution.

1K1.5K2K
n
integeroptional
1

Response lifecycle

Task status, terminal states, and result response examples.

Submit
{
  "id": "task_xxx",
  "task_id": "task_xxx",
  "object": "image.task",
  "model": "Seedream 5.0 Pro",
  "status": "queued"
}
Content
{
  "created": 1720000000,
  "data": [
    {
      "url": "https://media.example/result.png"
    }
  ]
}

Waiting

queued · submitted · in_progress · processing

Success

completed · succeeded · success

Failure

failed · failure · cancelled · canceled

Errors and production

Retry rules, idempotency, and the minimum production checklist.

400 / 422

Fix the request fields or unsupported option; do not retry unchanged.

401

Check that the API key is present, active, and sent as a Bearer token.

402

The account balance is insufficient.

409

The Idempotency-Key is processing or was reused with another body.

429

Back off according to Retry-After before retrying.

5xx

Retry with exponential backoff and keep the original Idempotency-Key.

  • Keep API keys on your server for public mobile and browser applications.
  • Set a unique Idempotency-Key for every billable async operation.
  • Persist task_id so polling can resume after a restart.
  • Use a timeout for every HTTP request and surface the request ID in support reports.
  • Read live model metadata instead of hard-coding prices and supported options.

Price and tiers

List price, for everyone.

Request price

$0.028665/ call

Tiered pricing

Reference images beyond 1 cost $0.001911 each.

Layer decomposition, per layer made (base included): 1k $0.014333 · 1.5k $0.014333 · 2k $0.028665.

ResolutionPrice
1k$0.028665
1.5k$0.028665
2k$0.05733
SizePrice
  • 1.5k$0.028665
  • 16 · 9$0.028665
  • 1 · 1$0.028665
  • 1k$0.028665
  • 21 · 9$0.028665
  • 2 · 3$0.028665
  • 3 · 2$0.028665
  • 3 · 4$0.028665
  • 4 · 3$0.028665
  • 9 · 16$0.028665
  • auto$0.028665
  • 2k$0.05733

The price shown here is exactly what you are billed — failed calls are refunded automatically.

Seedream 5.0 Pro at a glance

Model ID
Seedream 5.0 Pro
Type
Image generation
Vendor
ByteDance
Resolutions
1K · 1.5K · 2K
Reference inputs
Up to 10 images
Endpoint
POST /v1/images/tasks
Delivery
Async task: poll it or get a webhook
Billed by
Per image

What Seedream 5.0 Pro costs

  • One 1K image$0.028665
  • One 1.5K image$0.028665
  • One 2K image$0.05733
  • 100 images at 1K$2.8665

At the list price. Failed calls are not charged.

Common questions

How much does the Seedream 5.0 Pro API cost?

Seedream 5.0 Pro costs $0.028665 per image on APIKing. Pay as you go from your balance.

How do I call the Seedream 5.0 Pro API?

Send a request to https://apiking.ai/v1/images/tasks with your APIKing key as a Bearer token and set the model to Seedream 5.0 Pro. The call returns a task. Poll it until it finishes, or set a webhook to be told when it does.

What is the model ID of Seedream 5.0 Pro?

Set the model parameter to Seedream 5.0 Pro.

Which resolutions does Seedream 5.0 Pro support?

Resolutions: 1K, 1.5K, 2K.

Can Seedream 5.0 Pro work from reference images?

Yes. Reference inputs: Up to 10 images.

Am I charged when a Seedream 5.0 Pro call fails?

A failed call or a failed generation is not charged. Tasks are estimated first and settled at what they actually used.

Compare Seedream 5.0 Pro with similar models

ModelVendorPriceSpec
Seedream 5.0 ProByteDance$0.028665 / requestUp to 2K
GPT Image 2.5 ExtOpenAI$0.006 / requestUp to 4K
GPT Image 2OpenAI$0.006 / requestUp to 4K
GPT Image 2.6 FlareOpenAI$3.75 in · $22.50 out / 1MUp to 4K
Nano Banana ProGoogle$0.0196 / requestUp to 4K
Seedream 5.5ByteDance$0.017075 / requestUp to 2K