Skip to main content
POST
https://api.novita.ai
/
v3
/
seedream-5.0-lite
Seedream 5.0 lite
curl --request POST \
  --url https://api.novita.ai/v3/seedream-5.0-lite \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "size": "<string>",
  "image": [
    {}
  ],
  "prompt": "<string>",
  "watermark": true,
  "optimize_prompt_options": {
    "mode": "<string>"
  },
  "sequential_image_generation": "<string>",
  "sequential_image_generation_options": {
    "max_images": 123
  }
}
'
{
  "images": [
    "<string>"
  ]
}
API for Seedream 5.0 lite image generation model. Supports text-to-image, single image-to-image, multi-image-to-image, and sequential image generation features.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

size
string
default:"2048x2048"
Specifies the size of the generated image. Method 1: Specify resolution (2K, 3K); Method 2: Specify width and height in pixels (e.g., 2048x2048). Total pixel range: [2560x1440=3686400, 3072x3072x1.1025=10404496], aspect ratio range: [1/16, 16].
image
array
Array of input image information, supporting URL or Base64 encoding. Up to 14 reference images can be provided. Supported image formats: jpeg, png, webp, bmp, tiff, gif.Array length: 1 - 14
prompt
string
required
Prompt for image generation, supports both Chinese and English. Recommended not to exceed 300 Chinese characters or 600 English words.
watermark
boolean
default:true
Whether to add a watermark to the generated images.
optimize_prompt_options
object
Configuration for prompt optimization feature.
sequential_image_generation
string
default:"disabled"
Controls whether to disable sequential image generation. auto: Automatic mode where the model determines whether to return sequential images based on the prompt; disabled: Disables sequential image generation and only generates one image.Optional values: auto, disabled
sequential_image_generation_options
object
Configuration for sequential image generation. Only effective when sequential_image_generation is set to auto.

Response

images
string[]
Array of generated image information.