Seedream 5.0 Lite
ID:
bytedance/seedream-5-liteSeedream 5.0 Lite image generation API by ByteDance — latest-gen speed and visual coherence with 2K/3K output and 14 reference images.
Text to imageImage editingReference images3K
Overview
Seedream 5.0 Lite image generation API by ByteDance — latest-gen speed and visual coherence with 2K/3K output and 14 reference images.
Authentication
All API requests require a valid API key passed via the Authorization header using the Bearer scheme.
Quickstart
Credentials
Set the RUNBASE_API_KEY environment variable.
Shell
export RUNBASE_API_KEY=your-api-keyCreate a run
Shell
curl -s https://runbase.net/api/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedream-5-lite",
"input": {
"prompt": "A cinematic product photo of a ceramic lamp"
}
}'Runs
Runs are processed asynchronously. Submit a request, then poll for the result.
Create a run
Shell
curl -s https://runbase.net/api/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bytedance/seedream-5-lite",
"input": { "prompt": "A cinematic product photo of a ceramic lamp" }
}'Get run status
Shell
curl -s https://runbase.net/api/v1/runs/RUN_ID \
-H "Authorization: Bearer $RUNBASE_API_KEY"Get result
Poll the status endpoint until status is "succeeded", then read output.urls from the response.
Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Required | Prompt |
| aspect_ratio | string | Optional | Aspect ratioOptions: 1:12:33:23:44:39:1616:921:9 |
| quality | string | Optional | QualityOptions: basichigh |
| image_urls | string[] | Optional | Reference images |
Output Schema
| Field | Type | Description |
|---|---|---|
| urls | string[] | Generated output URLs |
Errors
The API uses standard HTTP status codes to indicate success or failure.
| Status Code | Description |
|---|---|
| 400 | Некорректный запрос — отсутствующие или неверные параметры |
| 401 | Ошибка аутентификации — отсутствующий или недействительный API-ключ |
| 402 | Недостаточно средств |
| 403 | Доступ запрещён — IP не разрешён или превышен лимит API-ключа |
| 404 | Запуск не найден |
| 429 | Превышен лимит запросов |
| 500 | Внутренняя ошибка сервера |

