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

gpt-image-2.5-ext API

Generate and edit images on APISea with Flare or Sunburst, reference images, and 1K, 2K, or 4K output tiers.

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

gpt-image-2.5-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.5-ext?

gpt-image-2.5-ext is an OpenAI GPT Image model for text-to-image generation and image-to-image workflows on APISea. Submit a text prompt to create images, or provide up to 16 reference images and describe what to preserve and change. Choose Flare or Sunburst, select a 1K, 2K, or 4K output tier, and use automatic sizing or one of 10 aspect ratios. Each request can generate 1–4 images.

Submit requests to POST /v1/images/generations with your APISea key, then query the returned task ID for results. APISea offers pay-as-you-go pricing and bills only successful requests, with image charges based on version, resolution, and the number of images actually delivered. Both versions cost $0.00935 per image at 1K, $0.033 per image at 2K, and $0.044 per image at 4K. Reference images incur no additional charge, and the default configuration is about 96% below the provider list price.

gpt-image-2.5-ext 的特色

Generation and editing

Create images from a text prompt or use image-to-image inputs with up to 16 reference images. References can be accessible image URLs or base64 data URLs.

Two selectable versions

Choose Flare or Sunburst through the version parameter. Flare is the default, and both versions have the same listed APISea image prices.

Resolution and aspect controls

Select 1K, 2K, or 4K output tiers. The size parameter supports auto and 10 explicit aspect ratios, including square, portrait, landscape, and ultrawide options.

Multiple images per request

Request 1–4 images with the n parameter. Billing reflects the version, resolution, and number of images actually delivered.

4 個步驟呼叫 gpt-image-2.5-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.5-ext"。

  4. 04

    處理回應

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

# Create once per new generation operation; keep the original value when retrying.
IDEMPOTENCY_KEY="$(uuidgen)"

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-APISea-Response-Version: 2026-07-27' \
  --header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
  --data '{
    "model": "gpt-image-2.5-ext",
    "version": "flare",
    "prompt": "A cozy reading nook beside a window on a rainy day, a warm table lamp, cinematic lighting",
    "size": "1:1",
    "resolution": "1K",
    "n": 1
  }'

參數

參數類型必填預設說明
modelstring必填—Fixed value: `gpt-image-2.5-ext`.
nsfw_checkboolean選填falseWhether to run content moderation before submitting the image task.
versionstring選填flareModel version. Options: `flare`, `sunburst`.
promptstring必填—The prompt for image generation or editing. It must not be empty after trimming leading and trailing whitespace.
resolutionstring選填1KOutput resolution tier. Options: `1K`, `2K`, `4K`.
sizestring選填autoOutput aspect ratio. Choose `auto` or one of the following 10 ratios:
ninteger選填1The number of images to generate per request. Must be an integer from `1` to `4`.
image_urlsstring[]選填—An array of up to `16` reference images. Omit reference images for text-to-image; include them for image-to-image. Reference images incur no additional charge.

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

Creative concept tools

Build a prompt-based tool that requests several images for a creative brief, letting users review up to four outputs per request.

Reference-based editing workflows

Let users supply reference images and describe the elements to preserve or change, without an additional charge for those references.

Multi-format content production

Offer selectable aspect ratios for square posts, portrait layouts, landscape visuals, and ultrawide placements.

Asynchronous image workbenches

Build a generation interface that submits tasks, tracks their status, and retrieves image results using the returned task ID.

提升結果品質的技巧

  • 01

    Describe preservation and changes

    For image-to-image requests, state what should stay the same and what should change. Omit image_urls entirely for text-to-image generation.

  • 02

    Set output controls explicitly

    Specify version, resolution, size, and n when you need a defined configuration. Defaults are Flare, 1K, auto sizing, and one image.

  • 03

    Budget by delivered images

    Choose the resolution tier and requested image count to match your budget. Both versions cost $0.00935 per image at 1K, $0.033 per image at 2K, and $0.044 per image at 4K; reference images add no charge.

  • 04

    Poll with the same user

    After submission, query the task ID using an API key belonging to the same APISea user. A successful submission means the task was accepted, not that image generation has finished.

限制與須知

  • Generation is asynchronous; query the task ID to retrieve results.

  • Each request accepts up to 16 reference images and can generate 1–4 images.

  • Supported output controls are limited to 1K, 2K, or 4K tiers and auto or the 10 documented aspect ratios.

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

How much does gpt-image-2.5-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. Billing is based on images actually delivered, and the default configuration is about 96% below the provider list price.

How do I call gpt-image-2.5-ext through the API?

Send a JSON POST request to https://api.apisea.ai/v1/images/generations with Bearer authentication using your APISea key. Set model to gpt-image-2.5-ext and provide a nonempty prompt, then query the returned task ID for results.

What is the difference between Flare and Sunburst?

They are selectable versions of the same model ID, controlled by the version parameter; Flare is the default. The documentation lists identical pricing and output controls but does not specify quality or speed differences.

Does gpt-image-2.5-ext support reference images and editing?

Yes, image-to-image requests support up to 16 reference images through image_urls, using accessible URLs or base64 data URLs. Describe what to preserve and change in the prompt; reference images incur no additional charge.

Which resolutions, aspect ratios, and image counts are supported?

Resolution tiers are 1K, 2K, and 4K, and n accepts integers from 1 to 4. The size parameter accepts auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, or 21:9.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Review those terms for your intended use; the supplied documentation does not specify commercial licensing rights.

相關模型

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

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

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