> ## 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

入力されたテキストプロンプトおよび/または参照画像に基づいて画像を生成します。単一画像または組画像（関連する内容の一連の画像）の生成に対応しています。

## リクエストヘッダー

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

<ParamField header="Authorization" type="string" required={true}>
  Bearer 認証形式: Bearer \{\{API Key}}。
</ParamField>

## リクエストボディ

<ParamField body="size" type="string" default="2048x2048">
  生成する画像のサイズ情報を指定します。方法1：解像度（2K、3K）を指定します。方法2：幅と高さのピクセル値（例: 2048x2048）を指定します。総ピクセル数の範囲：\[2560x1440=3686400, 3072x3072x1.1025=10404496]、アスペクト比の範囲：\[1/16, 16]。
</ParamField>

<ParamField body="image" type="string[]">
  入力画像情報の配列です。URL または Base64 エンコードに対応しています。参照画像は最大 14 枚まで渡せます。画像形式は jpeg、png、webp、bmp、tiff、gif に対応しています。

  配列長：1 - 14
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  画像生成に使用するプロンプトです。中国語と英語に対応しています。300 個の漢字または 600 個の英単語を超えないことを推奨します。
</ParamField>

<ParamField body="watermark" type="boolean" default={true}>
  生成された画像にウォーターマークを追加するかどうか。
</ParamField>

<ParamField body="optimize_prompt_options" type="object">
  プロンプト最適化機能の設定です。

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="mode" type="string" default="standard">
      プロンプト最適化機能で使用するモードを設定します。standard：標準モード。品質は高いが、所要時間が長くなります。fast：高速モード。所要時間は短いが、品質は一般的です。現在は standard モードのみ対応しています。

      選択可能な値：`standard`
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="sequential_image_generation" type="string" default="disabled">
  組画像機能を無効にするかどうかを制御します。auto：自動判定モード。モデルがプロンプトに基づいて組画像を返すかどうかを自律的に判断します。disabled：組画像機能を無効にし、1 枚の画像のみを生成します。

  選択可能な値：`auto`, `disabled`
</ParamField>

<ParamField body="sequential_image_generation_options" type="object">
  組画像機能の設定です。sequential\_image\_generation が auto の場合にのみ有効です。

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="max_images" type="integer" default={15}>
      このリクエストで生成できる画像の最大数を指定します。入力された参照画像数 + 最終的に生成される画像数 ≤ 15 枚。

      値の範囲：\[1, 15]
    </ParamField>
  </Expandable>
</ParamField>

## レスポンス情報

<ResponseField name="images" type="string[]" required={false}>
  生成された画像情報の配列です。
</ResponseField>
