Skip to content
此頁面尚未提供您使用的語言,因此目前以英文顯示。
OpenAI · GPT Image

gpt-image-2.6-ext API

Generate and edit images on APISea with resolution controls, reference inputs, and fixed per-image pricing.

圖片生成圖片非同步任務
模型 ID
gpt-image-2.6-ext

gpt-image-2.6-ext API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

選項APISea官方節省
flare · 1K預設$0.00935$0.2107−96%
flare · 2K$0.033$0.4282−92%
flare · 4K$0.044$0.7116−94%
sunburst · 1K$0.00935$0.2107−96%
sunburst · 2K$0.033$0.4282−92%
sunburst · 4K$0.044$0.7116−94%

價格單位為 每張圖片。

什麼是 gpt-image-2.6-ext?

gpt-image-2.6-ext is an OpenAI GPT Image model for image generation and reference-based editing on APISea. Choose Flare for everyday images and rapid iteration, or Sunburst for composition, text in images, and detailed edits. Submit a non-empty prompt and optionally provide up to 16 reference images, describing what to change and preserve. Controls include resolution, aspect ratio, quality, and scene complexity. Output options include PNG, JPEG, WebP, and text-to-image GIF; SVG is listed in the parameters but is not yet supported.

Call the image generations endpoint through APISea with one API key and the OpenAI-compatible base URL https://api.apisea.ai/v1. This Ext route uses fixed per-image billing rather than the token billing documented for the non-Ext models. Both versions cost $0.00935 per image at 1K, $0.033 per image at 2K, and $0.044 per image at 4K. Quality and complexity do not change the per-image price, and APISea bills only successful requests.

gpt-image-2.6-ext 的特色

Two Version Choices

Flare prioritizes speed for everyday images and rapid iteration. Sunburst prioritizes composition and editing precision for finished assets and text in images.

Reference-Based Image Editing

Provide up to 16 reference images through image_urls to enable editing. Inputs can be publicly accessible HTTP(S) URLs or image Base64 Data URLs.

Resolution And Ratio Controls

Choose 1K, 2K, or 4K resolution and set a supported aspect ratio with size or aspect_ratio. Output dimensions depend on both settings.

Predictable Per-Image Costs

Both versions cost $0.00935 per image at 1K, $0.033 per image at 2K, and $0.044 per image at 4K. Quality and complexity settings do not change those prices.

4 個步驟呼叫 gpt-image-2.6-ext API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/images/generations,並使用下方的參數及 "model": "gpt-image-2.6-ext"。

  4. 04

    處理回應

    回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "gpt-image-2.6-ext",
  "version": "flare",
  "prompt": "An orange cat resting on a sunny windowsill, a city after the rain, warm cinematic lighting",
  "size": "16:9",
  "resolution": "1k",
  "quality": "high",
  "n": 1
}'

參數

參數類型必填預設說明
modelstring必填—Must be `gpt-image-2.6-ext`.
nsfw_checkboolean選填falseWhether to run content moderation before submitting the image task.
promptstring必填—Required, non-empty generation or editing instructions. For multiple references, identify the first or second image and describe what to change and preserve.
versionstring選填flare
resolutionstring選填1k
sizestring選填autoAccepts `auto` or the 10 ratios below, not pixels such as `1024x1024`. For text-to-image, `auto` gives 1:1. For editing, it matches the closest supported ratio to the first reference whose dimensions can be read. For GIF, omit this field or use `auto`.
aspect_ratiostring選填—Alias for `size`; use either one. If both are provided, they must match or submission returns HTTP 400. For GIF, also omit it or use `auto`.
ninteger選填1Currently use integer `1`.
qualitystring選填—
output_formatstring選填png
complexitystring選填—
image_urlsstring[]選填—Up to 16 images, each at most 20 MB; PNG / JPEG / WebP / GIF / BMP. Accepts public HTTP(S) URLs or image Base64 Data URLs such as `data:image/png;base64,...`. Providing references enables editing. SVG and GIF cannot include references.

使用 gpt-image-2.6-ext 可以打造什麼

Creative Iteration Tools

Build a prompt-driven image workspace using Flare for everyday concepts and rapid iteration, with one image requested per call.

Reference Editing Workflows

Let users supply reference images and describe which elements to change or preserve, choosing Sunburst for detailed edits.

Finished Marketing Assets

Use Sunburst for composition-focused assets and text in images, with aspect ratios suited to landscape, portrait, or square layouts.

Icons And Illustrations

Build an illustration generator with low complexity for simple icons and flat artwork, or high complexity for richer scenes.

提升結果品質的技巧

  • 01

    Specify Reference Roles

    When supplying multiple references, identify the first or second image in the prompt and explain what should change and what should remain.

  • 02

    Choose Resolution Deliberately

    Start iterations at 1K for $0.00935 per image, then select 2K or 4K when needed. Treat resolution as a tier: actual pixel dimensions also depend on the aspect ratio.

  • 03

    Balance Quality And Latency

    Higher quality levels usually take longer but do not change the per-image price. Omitting quality lets the model choose automatically; auto is not fixed to low.

  • 04

    Use Ratio Parameters Correctly

    Set size or aspect_ratio to a supported ratio rather than pixel dimensions. If you send both, they must match; for GIF, omit them or use auto.

限制與須知

  • Each request currently requires n to be the integer 1; reference inputs are limited to 16 images, each at most 20 MB.

  • SVG output is not yet supported, and GIF output is text-to-image only with no references.

  • At 2K or 4K resolution, reference images cannot use GIF or BMP formats.

gpt-image-2.6-ext API 常見問題

How much does gpt-image-2.6-ext cost on APISea?

Flare and Sunburst each cost $0.00935 per image at 1K, $0.033 per image at 2K, and $0.044 per image at 4K. The default configuration is about 96% below the provider list price, and APISea bills only successful requests.

How do I call gpt-image-2.6-ext?

Send a JSON request to POST https://api.apisea.ai/v1/images/generations with Bearer authentication using your APISea API key. Set model to gpt-image-2.6-ext and include a non-empty prompt; use n set to 1.

What is the difference between Flare and Sunburst?

Flare is the default and prioritizes speed for everyday images and rapid iteration. Sunburst prioritizes composition and editing precision for finished assets, text in images, and detailed edits; select either through version.

Which resolutions and output formats are supported?

Supported resolution tiers are 1k, 2k, and 4k, with PNG, JPEG, WebP, and GIF output. GIF is text-to-image only; although SVG appears in the parameter list, the documentation explicitly says it is not yet supported.

Can I edit images or generate several images in one request?

Editing is enabled by providing image_urls with up to 16 references, each at most 20 MB. Each request currently requires n to be 1, and GIF or BMP references are not accepted at 2K or 4K.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Review the applicable OpenAI terms and any rights associated with your reference images before using outputs commercially.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 gpt-image-2.6-ext 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。