Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
OpenAI · GPT Image

gpt-image-2.5-sunburst API

Generate images and precisely edit production assets with gpt-image-2.5-sunburst on APISea.

إنشاء الصورالصورمهمة غير متزامنةالتخزين المؤقت للمطالبات
معرّف النموذج
gpt-image-2.5-sunburst

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

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
إدخال نصي لكل 1M رمز$4.40$5.00−12%
إدخال نصي مخزّن مؤقتًا لكل 1M رمز$1.10$1.25−12%
إدخال صورة لكل 1M رمز$7.04$8.00−12%
إدخال صورة مخزّنة مؤقتًا لكل 1M رمز$1.76$2.00−12%
إخراج صورة لكل 1M رمز$26.40$30.00−12%

ما هو gpt-image-2.5-sunburst؟

gpt-image-2.5-sunburst is OpenAI’s GPT Image model for image generation and precision-focused editing. On APISea, it is suited to production product images, advertising creatives, and detailed multi-turn editing. Generate images from text, supply up to 16 reference images for editing, or use a transparent PNG mask for local inpainting. Prompts can specify the subject, composition, style, lighting, and details to preserve or change.

Output controls include 15 aspect ratios, exact pixel dimensions, 1K / 2K / 4K resolution tiers, and quality settings from low through max. Choose PNG, JPEG, or WebP and generate one to four images per request. APISea provides one API key and an OpenAI-compatible base URL, with pay-as-you-go billing only for successful requests. Text input costs $4.40 per 1M tokens, image input $7.04 per 1M tokens, and image output $26.40 per 1M tokens. The default configuration is about 12% below provider list price.

أبرز مزايا gpt-image-2.5-sunburst

Precision-focused image editing

Supply up to 16 reference images to activate editing mode. Sunburst prioritizes editing precision for production assets and detailed multi-turn editing.

Local masked inpainting

Use a transparent PNG mask to guide local inpainting. The mask takes effect when reference images are also provided.

Flexible output sizing

Choose from 15 aspect ratios or specify exact pixel dimensions. Aspect-ratio sizing supports 1K, 2K, and 4K resolution tiers.

Quality and format controls

Select low, medium, high, xhigh, max, or auto quality. Export PNG, JPEG, or WebP, with compression controls for JPEG and WebP.

كيفية استدعاء API الخاص بـ gpt-image-2.5-sunburst في 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-sunburst" والمعلمات أدناه.

  4. 04

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

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

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.5-sunburst",
    "prompt": "a cozy reading nook by a rainy window, warm lamp light, cinematic lighting",
    "size": "1:1",
    "resolution": "1k",
    "quality": "medium",
    "n": 1
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Image model name: `gpt-image-2.5-flare` or `gpt-image-2.5-sunburst`.
nsfw_checkbooleanاختياريfalseWhether to run content moderation before submitting the image task.
promptstringمطلوب—Text description of the image to generate or edit. Describe the subject, scene, composition, style, lighting, and anything that must be preserved or changed.
sizestringاختياريautoOutput aspect ratio or exact pixel dimensions.
resolutionstringاختياري1kResolution tier used with an aspect-ratio `size`: `1k`, `2k`, or `4k`. This field is ignored for exact pixel dimensions.
qualitystringاختياريautoImage quality: `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.
nintegerاختياري1Number of images to generate. Range: `1` to `4`. Pass a number, not a string.
output_formatstringاختياريpngOutput file format: `png`, `jpeg`, or `webp`.
output_compressionintegerاختياري—Compression level from `0` to `100`. Only applies to `jpeg` and `webp`.
backgroundstringاختياري—Background mode: `transparent`, `opaque`, or `auto`.
moderationstringاختياريlowContent moderation level: `auto` or `low`. APISea explicitly sends `low` when omitted; an explicit `auto` value is passed through.
image_urlsstring[]اختياري—Reference image URLs for image-to-image generation or editing. Up to `16` images are accepted, and including this field activates editing mode.
mask_urlstringاختياري—Mask image for local inpainting. It only takes effect when `image_urls` is also provided. Both `gpt-image-2.5-flare` and `gpt-image-2.5-sunburst` support this parameter.

ما الذي يمكنك إنشاؤه باستخدام gpt-image-2.5-sunburst

Production product imagery

Build an editing workflow that accepts product reference images and instructions describing what to preserve or change.

Advertising creative revisions

Generate campaign imagery from text or revise existing creatives with explicit composition, style, and lighting instructions.

Localized asset edits

Let users submit reference images and transparent PNG masks for local inpainting rather than requesting an entirely new image.

Multi-turn creative review

Build a review workflow that submits each image revision as a reference for the next round of detailed editing instructions.

نصائح للحصول على نتائج أفضل

  • 01

    Specify preservation requirements

    In the prompt, distinguish details that must remain unchanged from the edits you want. Describe the subject, scene, composition, style, and lighting explicitly.

  • 02

    Match reference proportions

    For image-to-image requests, omit size to let the service calculate dimensions from the input aspect ratio and resolution. When using exact pixel dimensions, resolution is ignored.

  • 03

    Plan asynchronous handling

    Store the returned task_id and query task status before treating generation as complete. Pass n as an integer from 1 to 4, not a string.

  • 04

    Account for cached inputs

    The model supports prompt-cache reads. Cached text input costs $1.10 per 1M tokens, and cached image input costs $1.76 per 1M tokens; account for these separately when estimating costs.

القيود ومعلومات مهمة

  • Requests are asynchronous and return a task_id for status queries.

  • Editing accepts up to 16 reference images, and reference URLs must be publicly accessible over HTTP(S).

  • Transparent backgrounds require PNG or WebP output; JPEG does not support an alpha channel.

الأسئلة الشائعة حول API الخاص بـ gpt-image-2.5-sunburst

How much does gpt-image-2.5-sunburst cost on APISea?

Text input costs $4.40 per 1M tokens, image input $7.04 per 1M tokens, and image output $26.40 per 1M tokens. Cached text input costs $1.10 per 1M tokens, and cached image input costs $1.76 per 1M tokens. The default configuration is about 12% below provider list price, with billing only for successful requests.

How do I call gpt-image-2.5-sunburst through APISea?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer Token authentication. Set model to gpt-image-2.5-sunburst and provide a prompt; the asynchronous response returns a task_id for status queries.

Which size, quality, and output options are supported?

You can use 15 aspect ratios or exact pixel dimensions, with 1k, 2k, or 4k resolution tiers for aspect-ratio sizing. Quality options are low, medium, high, xhigh, max, and auto; output formats are PNG, JPEG, and WebP. Each request supports one to four images.

Can it edit images and perform inpainting?

Yes. Provide image_urls with up to 16 publicly accessible reference images to activate editing mode. For local inpainting, also provide mask_url pointing to a transparent PNG mask.

How does sunburst compare with gpt-image-2.5-flare?

Sunburst prioritizes editing precision for production product images, advertising creatives, and detailed multi-turn editing. Flare is the faster option for everyday images, rapid prototypes, and batch generation. Both use identical token usage and pricing for the same parameters.

Can I use generated images commercially?

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

نماذج ذات صلة

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

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

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