Skip to Content
Image ModelsSeedream 5.0 Lite

Seedream 5.0 Lite

Overview

Seedream 5.0 Lite is a lightweight ByteDance image generation model for text-to-image and image-to-image workflows. It supports multiple aspect ratios, 2K/4K output, and up to 6 input images for image-to-image generation.

Test API KEY: key_00000000000000000000000000000000

Endpoints

1. Create Task

Request

POST https://api.pixwithapi.online/api/task/create

Headers

HeaderValueRequired
Content-Typeapplication/jsonYes
Api-Key{API_KEY}Yes

Request Parameters

ParameterTypeRequiredDescription
promptstringYesThe input prompt (e.g., “a photorealistic cafe interior”)
image_urlsarrayConditionalProvide 1-6 images for image-to-image mode. Omit for text-to-image mode.
model_idstringYes0-53
optionsobjectYesConfiguration options for the task
options.prompt_optimizationbooleanYesIf true, all prompt words will be automatically translated into English.
options.aspect_ratiostringNoOutput aspect ratio. Default: '1:1'. Valid values: '1:1', '4:3', '3:4', '16:9', '9:16', '2:3', '3:2', '21:9'.
options.resolutionstringNoOutput resolution. Default: '2K'. Valid values: '2K', '4K'.

Example Request - Text-to-Image

{ "prompt": "a photorealistic cafe interior with warm lighting", "model_id": "0-53", "options": { "prompt_optimization": true, "aspect_ratio": "16:9", "resolution": "2K" } }

Example Request - Image-to-Image

{ "prompt": "turn these references into a cohesive product campaign image", "image_urls": [ "https://cdn.pixwithapi.online/example-1.jpg", "https://cdn.pixwithapi.online/example-2.jpg" ], "model_id": "0-53", "options": { "prompt_optimization": true, "aspect_ratio": "1:1", "resolution": "4K" } }

Response Parameters

ParameterTypeDescription
codeint1=success, 0=error
messagestringSuccess and failure messages
dataobject
data.task_idstring
data.estimated_timeintEstimated time in seconds

Response

{ "code": 1, "message": "success", "data": { "task_id": "d425ab4dc256f0ebaa84862b9cea8a3d", "estimated_time": 20 } }
Last updated on