> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedream  5.0 lite

Generate images based on input text prompts and/or reference images. Supports generating a single image or a set of images (a group of related images).

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enumerated value: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="size" type="string" default="2048x2048">
  Specifies the size information for the generated image. Method 1: specify the resolution (2K, 3K); Method 2: specify the width and height in pixels (such as 2048x2048). Total pixel range: \[2560x1440=3686400, 3072x3072x1.1025=10404496], aspect ratio range: \[1/16, 16].
</ParamField>

<ParamField body="image" type="string[]">
  Array of input image information, supporting URL or Base64 encoding. Up to 14 reference images can be provided. Supported image formats include jpeg, png, webp, bmp, tiff, and gif.

  Array length: 1 - 14
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  The prompt used to generate the image, supporting both Chinese and English. Recommended length is no more than 300 Chinese characters or 600 English words.
</ParamField>

<ParamField body="watermark" type="boolean" default={true}>
  Whether to add a watermark to the generated image.
</ParamField>

<ParamField body="optimize_prompt_options" type="object">
  Configuration for the prompt optimization feature.

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="mode" type="string" default="standard">
      Sets the mode used by the prompt optimization feature. standard: standard mode, higher quality but takes longer; fast: fast mode, shorter processing time with average quality. Currently, only standard mode is supported.

      Available value: `standard`
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="sequential_image_generation" type="string" default="disabled">
  Controls whether to disable the image set feature. auto: automatic judgment mode, where the model determines whether to return a set of images based on the prompt; disabled: disables the image set feature and generates only one image.

  Available values: `auto`, `disabled`
</ParamField>

<ParamField body="sequential_image_generation_options" type="object">
  Configuration for the image set feature. Only takes effect when sequential\_image\_generation is auto.

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="max_images" type="integer" default={15}>
      Specifies the maximum number of images that can be generated for this request. Number of input reference images + number of final generated images ≤ 15.

      Value range: \[1, 15]
    </ParamField>
  </Expandable>
</ParamField>

## Response Information

<ResponseField name="images" type="string[]" required={false}>
  Array of generated image information.
</ResponseField>
