Seedream 5.0 Pro API

$0.0612/image Official price $0.090−32%

Optimized for cinematic and text-rich visuals, with layer decomposition and up to 10 reference images.

1.5K, 2K or customUp to 10 reference imagesUp to 10 per Playground run

Examples

Call Seedream 5.0 Pro

The request below mirrors the Playground tab. Change a setting there and this code follows. You need a key first: create an API key.

curl -X POST https://api.letsfliq.com/api/v3/images/generations \
  -H "Authorization: Bearer $FLIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dola-seedream-5-0-pro-260628",
    "prompt": "Seven layers of translucent paper cut into mountain ridges, lit from behind with warm light",
    "size": "2K"
  }'

Parameters

modelstringDefault dola-seedream-5-0-pro-260628
Model ID, same as the official one
promptstring
What to generate. BytePlus: “Prompt length recommendation: Use no more than 300 Chinese characters or 600 English words. Excessively long prompts may scatter information, causing the model to overlook details and focus only on major elements.”
sizestringDefault 2K
1.5K, 2K, or width x height at about one of those sizes, such as 2816x1584, at 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9. The image comes back at the standard size for that ratio
imagestring or array
Up to 10 reference image URLs

Getting the result

  • Returns all information after all images have been generated. There is no task to poll.
  • data[0].url: The URL of the image, returned when response_format is specified as url. This link will expire within 7 days of generation. Be sure to save the image before expiration.
  • data[0].b64_json: The Base64 information of the image; returned when response_format is specified as b64_json.
  • The model generates only one image. For several, send the request once per image.

Pricing

ModelSizePer imagePer reference imageDiscount
Seedream 5.0 Pro1.5K$0.0306/image Official price $0.045$0.002 per reference$0.002 each Official price $0.003−32%
Seedream 5.0 Pro2K$0.0612/image Official price $0.09$0.002 per reference$0.002 each Official price $0.003