Seedream 5.0 Lite API
The lower-cost Seedream 5.0 variant uses the Seedream 4.5 schema and is listed at 12.5% less.
- Model:
seedream-5-0-lite-260128 - Provider: BytePlus
- Type: image
POST /v1/images/generations
seedream-5-0-lite-260128: Image generation, required fields, nested response schema and a fictional example.
Basic request
Required parameters: model, prompt
Available parameters: model, prompt, n, size, image, response_format, watermark
Request parameters
| Parameter | Type | Required | Description |
|---|
model | string | Yes | Exact model identifier shown on this page. Options: seedream-5-0-lite-260128 |
prompt | string | Yes | Image prompt, or the requested change in editing workflows. |
n | integer | No | Requested image count; the example uses one. |
size | string | No | Image size supported by this model. |
image | string | No | Optional reference image URL; use an array where the model supports multiple images. |
response_format | string | No | Response format. Options: url |
watermark | boolean | No | Watermark option. |
## Usage and response conventions
- Follow required fields and the nested schema. Optional settings without a documented numeric default use the current model default.
- Context, output budgets and media constraints differ by model. Unverified limits are not universal guarantees.
- An absent value differs from a reported zero. Read status, content and usage as actually returned.
- Replace example.invalid addresses with readable media you are authorized to use.
- Save generated files promptly; result links need not remain available indefinitely.
## Reference
## Complete nested field reference
Array elements use []. Required flags apply only when the enclosing object or content-block variant is used. Response fields can be absent or null as described; false does not imply a fabricated zero.
### Request headers
| Field path | Type | Required in its object | Meaning |
|---|---|---|---|
| `Content-Type` | string | Yes | JSON request-body content type. |
### Request body
| Field path | Type | Required in its object | Meaning |
|---|---|---|---|
| `model` | string | Yes | Exact model identifier shown on this page. Values: seedream-5-0-lite-260128 |
| `prompt` | string | Yes | Image prompt, or the requested change in editing workflows. |
| `n` | integer | No | Requested image count; the example uses one. Minimum: 1 |
| `size` | string | No | Image size supported by this model. |
| `image` | string | No | Optional reference image URL; use an array where the model supports multiple images. |
| `response_format` | string | No | Response format. Values: url |
| `watermark` | boolean | No | Watermark option. |
### Response 200
| Field path | Type | Required in its object | Meaning |
|---|---|---|---|
| `created` | integer | No | Creation time in Unix seconds. |
| `data` | array[object] | No | Image results; read url or b64_json as returned. |
| `data[].url` | string | No | Image URL when URL output is used. |
| `data[].b64_json` | string | No | Base64 image data when inline output is used. |
| `data[].revised_prompt` | string | No | Revised prompt, when returned. |
| `usage` | object | No | Optional reported usage. |
| `usage.input_tokens` | integer | No | Input tokens. |
| `usage.output_tokens` | integer | No | Output tokens. |
| `usage.total_tokens` | integer | No | Total tokens. |
### Error response structure
| Field path | Type | Required in its object | Meaning |
|---|---|---|---|
| `error` | object | No | Error details for this request. |
| `error.message` | string | No | Message content or a readable error explanation, according to its enclosing object. |
| `error.type` | string | No | Type discriminator; use the values documented for the enclosing object. |
| `error.code` | string | No | Error code; it may be empty. |
Request example
curl --request POST https://api.router.ai/v1/images/generations \
--header "Authorization: Bearer $API_KEY" \
--header "Content-Type: application/json" \
--data-raw '{
"model": "seedream-5-0-lite-260128",
"prompt": "A fictional blue paper boat on a plain white background.",
"size": "2K",
"response_format": "url"
}'
Endpoint reference: Aliyun Qwen-Image text-to-image
POST /v1/images/edits
Edit a reference image with a prompt using JSON or file upload.
Reference image editing
Required parameters: model, prompt, image
Available parameters: model, prompt, image, images, image_url, n, response_format, stream, size, sequential_image_generation, sequential_image_generation_options
Request parameters
| Parameter | Type | Required | Description |
|---|
model | string | Yes | Required. Use the exact model name seedream-5-0-lite-260128. |
prompt | string | Yes | Editing instruction, 1–32000 characters. Describe the requested changes. |
image | string | object | array | Yes | Required reference image. Accepts an HTTPS URL, an image data URL, an object with url or image_url, or an array of these values. Use 1–14 images and exactly one of image, images or image_url. |
images | array | No | Optional alias of image. Elements are image URLs, data URLs, or objects with url/image_url. Do not combine with image. |
image_url | string | object | array | No | Optional alias of image. Do not combine with image or images. |
n | integer | No | Optional positive integer, default 1. Multiple outputs must be supported by the selected model. |
response_format | string | No | Optional: url or b64_json. Support and returned format depend on the model. |
stream | boolean | No | Omit or set to false; this editing endpoint does not provide streaming. |
size | string | object | No | Optional returned image size. |
sequential_image_generation | string | No | Optional: auto or disabled. Explicit disabled cannot be combined with n>1. |
sequential_image_generation_options | object | No | Optional sequential-generation settings; active only with auto. |
Read url or b64_json from each data item. Fewer images than the requested limit may be returned; inspect every item. On failure read error instead of treating it as image output. Save generated images promptly because URLs may expire.
This page describes the platform editing endpoint; the model vendor’s native request format may differ. Reviewed on 2026-11-27.
Request example
curl https://api.router.ai/v1/images/edits \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5-0-lite-260128",
"prompt": "将示例陶瓷杯改为蓝色,保留背景。",
"image": "https://example.invalid/reference.png",
"n": 1
}'
Endpoint reference: OpenAI GPT Image editing (i2i)