model=seedream_5_lite
Multimodal reasoning model with text-to-image and image editing.
Allowed sizes: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9
Allowed quality values: basic, high
Edit mode: supported
/api/v1/generate/
Use this endpoint for all new integrations. Choose a model with
model and optionally pass image_urls for edit workflows
on supported models.
/api/v1/generate/{generation_id}/ and use
/api/v1/generate/history/ for job history.
| Field | Type | Required | Notes |
|---|---|---|---|
prompt |
string | Yes | 1 to 5000 chars |
model |
string | No | Defaults to gpt_image_15 |
size |
string | No | Allowed values depend on selected model |
quality |
string | No | Resolution or quality mode, model-specific |
image_urls |
array[string] | No* | Required for image editing models like ideogram_character |
Switch model presets to update request examples instantly.
model=seedream_5_lite
Multimodal reasoning model with text-to-image and image editing.
Allowed sizes: 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9
Allowed quality values: basic, high
Edit mode: supported
Snippets below follow the selected model preset.
{
"success": true,
"data": {
"generation_id": "5a6be42f-4f01-4e80-9e16-8105315f0e62",
"status": "processing",
"estimated_time": "15-30 seconds",
"credits_used": 8,
"credits_remaining": 124,
"message": "Generation started successfully"
}
}
{
"success": false,
"error": "Insufficient credits. Need 18, have 7",
"credits_needed": 18,
"credits_balance": 7
}
{
"success": false,
"error": "Invalid size. Must be one of: 1:1, 3:2, 2:3"
}