Skip to content
Halaman ini belum tersedia dalam bahasa Anda, jadi ditampilkan dalam bahasa Inggris.
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.

Pembuatan gambarGambarTugas asinkron
ID model
gpt-image-2.5-ext

Harga API gpt-image-2.5-ext

Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.

OpsiAPISeaResmiHemat
flare · 1KDefault$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%

Harga dalam per gambar.

Apa itu 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.

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

Cara memanggil API gpt-image-2.5-ext dalam 4 langkah

  1. 01

    Dapatkan API key

    Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.

  2. 02

    Atur base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.

  3. 03

    Kirim permintaan

    Panggil POST /v1/images/generations dengan "model": "gpt-image-2.5-ext" dan parameter berikut.

  4. 04

    Tangani respons

    Respons berisi task_id. Lakukan polling ke GET /v1/tasks/{task_id} sampai statusnya completed, lalu unduh URL hasilnya.

# 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
  }'

Parameter

ParameterJenisWajibDefaultDeskripsi
modelstringWajib—Fixed value: `gpt-image-2.5-ext`.
nsfw_checkbooleanOpsionalfalseWhether to run content moderation before submitting the image task.
versionstringOpsionalflareModel version. Options: `flare`, `sunburst`.
promptstringWajib—The prompt for image generation or editing. It must not be empty after trimming leading and trailing whitespace.
resolutionstringOpsional1KOutput resolution tier. Options: `1K`, `2K`, `4K`.
sizestringOpsionalautoOutput aspect ratio. Choose `auto` or one of the following 10 ratios:
nintegerOpsional1The number of images to generate per request. Must be an integer from `1` to `4`.
image_urlsstring[]Opsional—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.

Yang bisa Anda buat dengan 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.

Tips untuk hasil yang lebih baik

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

Batasan dan hal yang perlu diketahui

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

FAQ API gpt-image-2.5-ext

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.

Model terkait

Pilihan: 250+ model · Minimum isi saldo $50

Mulai berkarya dengan gpt-image-2.5-ext

Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.