Seedream 5.0 Lite API
$0.0238/image Official price $0.035−32%
Seedream 5.0 for large outputs: 2K to 4K at one price per image, with up to 14 reference images.
Examples

Call Seedream 5.0 Lite
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": "seedream-5-0-260128", "prompt": "A thin polished slice of agate backlit by warm light, bands of amber, honey and bone-white", "size": "2K" }'
Parameters
modelstringDefaultseedream-5-0-260128- 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.”
sizestringDefault2K- 2K, 4K, or width x height at about one of those sizes, such as 2848x1600, 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 14 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 whenresponse_formatis specified asurl. 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 whenresponse_formatis specified asb64_json.- The model generates only one image. For several, send the request once per image.
Pricing
ModelSizePer imagePer reference imageDiscount
Seedream 5.0 Lite4K$0.0238/image Official price $0.035References freeFree