GPT Image 2 API
Est.価格: $0.0017 - 0.817(~ 0.11383 - 55.58049 credits) per image
Token-based billing — range covers all Playground combinations at n=1 (quality / resolution / ratio / up to 16 reference images). Multiply by Count for n>1.
99.9% の稼働率を保証する最も安定した構成で、本番環境に推奨されます。
Use the same API endpoint. The model parameter selects the variant.
GPT Image 2 API
EvoLink で GPT Image 2 にアクセス。テキスト画像生成、画像編集、非同期配信に対応。1 つの API キー、透明な料金体系、Playground から本番まで直結。

Upload up to 16 images (max 50MB each)
Click to upload or drag and drop
Supported formats: JPEG, JPG, PNG, WEBP
Maximum file size: 50MB; Maximum files: 16
Ratio mode: w×h ≈ Resolution tier pixel budget (1K≈1.05MP, 2K≈4.19MP, 4K=8.29MP). Auto lets the model decide (resolution ignored; cost estimated as 2048×2048 conservative cap). Custom takes any WxH — both multiples of 16, 655K~8.29M total pixels, edges ≤ 3840px, aspect ≤ 3:1.
Anchor-edge tier for aspect-ratio sizes. Combinations exceeding the 8.29 MP budget are scaled down (e.g. 4K 1:1 → 2880×2880). Ignored in Auto and Custom modes.
Rendering effort / thinking depth. Directly affects output token count and cost.
Number of images to generate (1-10)
Click Generate to see preview
履歴
最大20件0 実行中 · 0 完了
Billing Model
- •Token-based — charged by the token counts reported in the upstream usage object.
- •Image Output tokens scale with size and quality (low/medium/high).
- •Image Input tokens apply only in image-to-image / edit mode.
- •Cached Input is charged only when the upstream usage object reports cached tokens.
Pricing
| Model | Mode | Token Category | Price |
|---|---|---|---|
| GPT Image 2 | Token-based billing | Image Output | $0.027/ 1K tokens(1.836 Credits) |
| GPT Image 2 | Token-based billing | Image Input | $0.0072/ 1K tokens(0.4896 Credits) |
| GPT Image 2 | Token-based billing | Image Cached Input | $0.0018/ 1K tokens(0.1224 Credits) |
| GPT Image 2 | Token-based billing | Text Input | $0.0045/ 1K tokens(0.306 Credits) |
| GPT Image 2 | Token-based billing | Text Cached Input | $0.0011/ 1K tokens(0.0765 Credits) |
If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.
Figures are pre-bill estimates. Actual charges follow the upstream response.usage returned by the model.
GPT Image 2 でできること
商品画像の更新ワークフロー
GPT Image 2 を使えば、商品カタログやマーケットプレイス向けの画像を毎回ゼロから作り直す必要はありません。新しい背景、季節ごとのバリエーション、より整ったヒーロー画像を生成しながら、商品の見せ方を一貫して保てます。

マーケティング素材の生成
ローンチ用バナー、SNS ビジュアル、広告クリエイティブ案を 1 本の API ルートから生成できます。プロンプトを素早く試し、料金を見ながら判断し、Playground からそのまま本番に持ち込みたいチームに向いています。

参照画像ベースの編集
まったく新しい画像を作るのではなく、狙った変更を加えたい場合は、プロンプトと参照画像を一緒に送れます。制御された編集、構図の更新、同じ元画像からの反復バリエーションが必要なワークフローに向いています。

EvoLink 経由で GPT Image 2 を使う理由
EvoLink なら、GPT Image 2 をより判断しやすい形で導入できます。1 本のルート、見やすい料金表示、Playground での検証、そして本番の画像処理に合った非同期フローをまとめて扱えます。
テストから本番まで同じ API ルート
まず Playground でプロンプト構造を確認し、そのまま API 実装へ進めます。ツールを切り替えたり、リクエストフローを作り直したりする必要はありません。
料金と課金の見通しが立てやすい
このページでは料金、Playground への導線、実際のモデル名をまとめて確認できるため、画像ワークロードを拡大する前にコスト判断がしやすくなります。
実運用向けの非同期ワークフロー
EvoLink 上の GPT Image 2 は非同期タスクフローで動作します。時間のかかる生成や編集を扱う実務では、すべてのリクエストを同期応答のように扱うよりこちらの方が自然です。
GPT Image 2 の統合方法
ルートのテスト、リクエスト送信、非同期画像結果の取得までを 3 ステップで進めます。
API キーを作成する
EvoLink にサインインして、Playground テストと本番リクエストの両方に使える API キーを作成します。これは他の対応モデルでも共通のアクセス方法です。
GPT Image 2 のリクエストを送る
モデル名には `gpt-image-2` を使い、prompt、size、quality を指定します。参照ベースの編集や画像から画像ワークフローが必要な場合は `image_urls` も追加します。
結果を取得してアセットを保存する
画像生成は非同期タスクとして動作します。タスク結果を取得し、アプリ側のフローで完了処理を行い、生成画像のリンクには有効期限があるため、結果は早めに保存してください。
GPT Image 2 の主な機能
本番利用を前提に画像 API を評価する際に本当に重要になる、実務寄りのコントロール項目です。
テキストから画像生成と画像編集
新規画像生成、参照ベースの編集、画像から画像のワークフローを 1 つのルートで扱えます。
参照画像のサポート
既存アセットに対する制御された編集、バリエーション生成、プロンプト主導の変更が必要な場合は、1 枚以上の参照画像 URL を追加できます。
サイズと品質の調整
対応するアスペクト比やピクセルサイズを選び、出力要件とコストに合わせて品質設定を調整できます。
非同期タスクでの配信
リクエストはポーリング用のタスク ID を返すため、時間のかかる生成や編集ジョブもきれいに扱えます。
1 リクエスト 1 画像の出力フロー
このルートは、1 リクエストにつき 1 枚の出力画像を前提に最適化されており、承認・保存・自動化パイプラインでの後処理を簡潔にします。
期限付きの結果 URL
生成後のアセット URL は一時的です。本番統合では、自社ストレージやアセット管理フローへ完成画像を保存する設計が必要です。
コスト例
プロンプトの反復には低品質を使用(0.11 倍のコスト)、最終出力のみ高品質に切り替えましょう。
よくある質問
Everything you need to know about the product and billing.
GPT Image ファミリーを見る
GPT Image 2 は EvoLink 上の GPT Image ファミリーで最も新しいルートです。 次に知りたいことが「どのルートを選ぶべきか」であればファミリーページを使い、その後に GPT Image 1.5 や GPT Image 1 を比較して、本番向けの標準ルートや旧世代の基準を確認してください。
API Reference
Select endpoint
Authentication
All APIs require Bearer Token authentication.
Authorization:
Bearer YOUR_API_KEY/v1/images/generationsGenerate Image
Create an image generation task using text prompts. Supports text-to-image and reference-image-assisted generation.
Asynchronous processing mode, use the returned task ID to query status.
Generated image links are valid for 24 hours, please save them promptly.
Request Parameters
modelstringRequiredDefault: gpt-image-2Image generation model name.
| Value | Description |
|---|---|
| gpt-image-2 | Official GPT Image 2 — token-based billing |
gpt-image-2promptstringRequiredPrompt describing the image to be generated or how to edit the reference image.
Notes
- Max 32,000 characters (counted by Unicode code points — works for CJK and other languages)
A beautiful colorful sunset over the oceansizestringOptionalDefault: autoAspect ratio or explicit pixel dimensions (WxH).
| Value | Description |
|---|---|
| auto | Default — let the model decide |
| 1:1 / 1:2 / 2:1 / 1:3 / 3:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 9:16 / 16:9 / 21:9 / 9:21 | Aspect ratio — pixel size decided together with the resolution tier |
| 1024x1024 (or any WxH) | Explicit pixels — multiples of 16, pixel budget 655K~8.29M, edges ≤3840, aspect ≤3:1 |
Notes
- When size is explicit WxH pixels, the resolution parameter is ignored.
- In auto mode the model decides the final size; resolution has no effect.
- Combinations that exceed the 8.29 MP pixel budget are proportionally scaled down (e.g. 4K 1:1 → 2880×2880).
autoresolutionstringOptionalDefault: 1KResolution tier shortcut. Only effective when size is a ratio; ignored for explicit pixels and auto.
| Value | Description |
|---|---|
| 1K | Pixel budget ≈ 1024² = 1.05MP (1:1 → 1024×1024, 16:9 → 1360×768) |
| 2K | Pixel budget ≈ 2048² = 4.19MP (1:1 → 2048×2048, 16:9 → 2736×1536) |
| 4K | Pixel budget = 8.29MP / MaxPixels (1:1 → 2880×2880, 16:9 → 3840×2160 UHD) |
2KqualitystringOptionalDefault: mediumRendering quality / reasoning depth. Directly drives output token count (tile base 16/48/96 for low/medium/high).
| Value | Description |
|---|---|
| low | Tile base 16 — fastest, ~0.11× cost vs medium |
| medium | Tile base 48 — balanced (default) |
| high | Tile base 96 — highest fidelity, ~4× cost vs medium |
mediumnintegerOptionalDefault: 1Number of images to generate (1-10). Each image is billed independently; text input tokens scale linearly with n.
1image_urlsarrayOptionalReference image URL list for image-to-image and image editing features.
Notes
- 1–16 images per request
- Each image ≤ 50 MB
- Supported formats: .jpeg, .jpg, .png, .webp
- URLs must be directly accessible by the server, or URLs that trigger direct download (typically URLs ending with image extensions like .png, .jpg)
- Reference images themselves consume additional image-input tokens in edit / image-to-image mode
https://example.com/image1.pngmask_urlstringOptionalInpainting mask image URL — marks the region of the reference image to regenerate. Only valid in image edit mode (combined with image_urls); ignored in pure text-to-image.
Notes
- Only PNG with an alpha channel is accepted — transparent pixels (alpha < 255) mark areas to regenerate, opaque pixels are preserved
- Mask dimensions must EXACTLY match the reference image dimensions (width × height in pixels)
- Requires at least one image in image_urls — mask alone has no effect
- Single mask per request
https://example.com/mask.pngcallback_urlstringOptionalHTTPS callback address after task completion.
Notes
- Triggered on completion, failure, or cancellation
- Sent after billing confirmation
- HTTPS only, no internal IPs
- Max length: 2048 chars
- Timeout: 10s, Max 3 retries
https://your-domain.com/webhooks/image-task-completed