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

# GPT Image 2.5 Sunburst

> 精密な生成、高度な編集、細部まで作り込んだビジュアル素材向けのGPT Image 2.5モデル。

精密な生成、高度な編集、細部まで作り込んだビジュアル素材向けのGPT Image 2.5モデル。

## モデル情報

| フィールド | 説明 |
| - | - |
| `model` | gpt-image-2.5-sunburst |
| `endpoint` | POST /v1/images/generations |

## 機能と使用方法

* qualityはauto、low、medium、high、xhigh、maxに対応しています。
* sizeにはautoまたはWIDTHxHEIGHTを指定します。両辺は16の倍数で、いずれの辺も3840 px以下、アスペクト比は1:3～3:1、総ピクセル数は655360～8294400である必要があります。3686400ピクセルを超えるサイズは実験的です。
* 透明な背景にはPNGまたはWebPが必要です。生成ではJSONを使用し、編集ではmultipartのimage/image\[]と任意のmaskを使用します。画像パラメーターをmetadataでラップしないでください。

## リクエスト例

リクエストを行う前に`MIXROUTE_API_KEY`を設定してください。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/images/generations" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "gpt-image-2.5-sunburst",
  "prompt": "A red ceramic mug on a plain white background.",
  "n": 1,
  "size": "1024x1024",
  "quality": "low"
}'
```

## リクエストフィールド

| フィールド | 説明 |
| - | - |
| `model` | 必須。上記の正確なモデルIDを使用してください。 |
| `prompt` | 必須の画像の説明。最大32000文字。 |
| `size` | autoまたは有効なWIDTHxHEIGHT。 |
| `quality` | auto、low、medium、high、xhigh、max。 |
| `n` | 1～10枚の画像。デフォルトは1。 |

編集には[GPT Image Edits](/ja/api-reference/endpoint/gpt-image-edit)を使用してください。

完全なリクエスト形式: [gpt-image](/ja/api-reference/endpoint/gpt-image)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.