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

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-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, ואז להוריד את כתובות ה-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.

שאלות נפוצות על 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, וחיוב רק על בקשות שהצליחו.