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

# Nano Banana Pro Light 画像から画像 (reverse)

入力画像とテキスト説明に基づいて新しい画像を生成します

## リクエストヘッダー

<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="n" type="integer" default={1}>
  生成する画像数。1から10の間である必要があります。

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

<ParamField body="mask" type="string">
  マスク画像URLまたはBase64エンコード
</ParamField>

<ParamField body="size" type="string" default="1x1">
  生成画像のサイズ

  選択可能な値：`1x1`, `2x3`, `3x2`, `3x4`, `4x3`, `4x5`, `5x4`, `9x16`, `16x9`, `21x9`
</ParamField>

<ParamField body="images" type="string[]" required={true}>
  処理する入力画像のリスト

  配列長：1 - 10

  画像URLまたはBase64エンコード
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  必要な画像のテキスト説明。
</ParamField>

<ParamField body="quality" type="string" default="1k">
  画像生成品質を選択します

  選択可能な値：`1k`, `2k`, `4k`
</ParamField>

<ParamField body="response_format" type="string" default="url">
  生成された画像を返す形式。url—b64\_json のいずれかである必要があります。

  選択可能な値：`url`, `b64_json`
</ParamField>

## レスポンス情報

<ResponseField name="data" type="object[]" required={true}>
  生成された画像のリスト

  <Expandable title="properties" defaultOpen={true}>
    <ResponseField name="url" type="string" required={false}>
      画像URL（response\_formatがurlの場合）
    </ResponseField>

    <ResponseField name="b64_json" type="string" required={false}>
      Base64エンコードされた画像データ（response\_formatがb64\_jsonの場合）
    </ResponseField>

    <ResponseField name="revised_prompt" type="string" required={false}>
      修正後のプロンプト（存在する場合）
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="created" type="integer" required={true}>
  作成タイムスタンプ
</ResponseField>
