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

# Gemini 3 Pro 画像編集

Gemini 3 Pro Image (Nano Banana Pro) は、最先端の推論能力を統合することで、最も難易度の高い画像生成タスクを解決するように設計されています。複雑な画像生成・編集や複数ターンの画像生成・編集に最適なモデルであり、より高い精度と優れた画像品質を備えています。URL および Base64 エンコードされた画像を入力としてサポートします。

## リクエストヘッダー

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

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

## リクエストボディ

<ParamField body="size" type="string" default="1K">
  出力画像のピクセルサイズ。1K（1024px）、2K（2048px）、4K（4096px）。デフォルトは 1K

  指定可能な値：`1K`, `2K`, `4K`
</ParamField>

<ParamField body="google" type="object">
  Google 検索オプション

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="web_search" type="boolean" default={false}>
      Google ウェブ検索を有効にし、現実世界の情報に基づいてより正確な画像を生成します。
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  期待する画像編集結果を説明するテキストプロンプト
</ParamField>

<ParamField body="image_urls" type="string[]">
  編集に使用する入力画像 URL のリスト
</ParamField>

<ParamField body="aspect_ratio" type="string">
  出力画像のアスペクト比

  指定可能な値：`1:1`, `3:2`, `2:3`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9`
</ParamField>

<ParamField body="image_base64s" type="string[]">
  編集に使用する Base64 エンコード画像のリスト
</ParamField>

## レスポンス情報

<ResponseField name="image_urls" type="string[]" required={true}>
  編集後の画像 URL のリスト
</ResponseField>

<ResponseField name="grounding_metadata" type="object" required={false}>
  モデルの grounding メタデータ。Google サーバー側ツール（検索など）が呼び出された場合に返されます。注意：ツール呼び出しは Google に依存します。パラメータでツールを有効にしても、必ず 100% ツール呼び出しが発生するとは限りません。
</ResponseField>
