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.

إنشاء الصورالصورمهمة غير متزامنة
معرّف النموذج
gpt-image-2.5-ext

تسعير API لنموذج gpt-image-2.5-ext

جميع الأسعار بالدولار الأمريكي (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.

كيفية استدعاء API الخاص بـ gpt-image-2.5-ext في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/images/generations مع "model": "gpt-image-2.5-ext" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

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

الأسئلة الشائعة حول 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.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام gpt-image-2.5-ext

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.