Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
OpenAI · GPT Image

gpt-image-2.6-sunburst API

Generate and edit detailed images, GIFs, and SVGs with gpt-image-2.6-sunburst on APISea.

יצירת תמונותתמונותמשימה אסינכרוניתשמירת הנחיות במטמון
מזהה מודל
gpt-image-2.6-sunburst

תמחור API של gpt-image-2.6-sunburst

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

סוג tokenAPISeaרשמיחיסכון
קלט טקסט לכל 1M tokens$4.40$5.00−12%
קלט טקסט מהמטמון לכל 1M tokens$1.10$1.25−12%
קלט תמונה לכל 1M tokens$7.04$8.00−12%
קלט תמונה מהמטמון לכל 1M tokens$1.76$2.00−12%
פלט תמונה לכל 1M tokens$26.40$30.00−12%

מהו gpt-image-2.6-sunburst?

OpenAI’s gpt-image-2.6-sunburst is a GPT Image model for generating and editing images on APISea. It prioritizes detail and editing consistency, particularly for multi-turn edits at medium or high quality. Build workflows from text prompts or up to 16 reference images, with outputs in PNG, JPEG, WebP, animated GIF, or SVG. Still-image controls include aspect ratios, exact pixel dimensions, resolution, quality, and background settings. Editing supports inpainting masks and markup-guided instructions, subject to format restrictions.

Requests run asynchronously: submit a generation task, read its task ID, then query for file URLs. APISea provides one API key and an OpenAI-compatible base URL at https://api.apisea.ai/v1. Billing is pay-as-you-go and only for successful requests, with separate text-input, image-input, and image-output token rates plus cached-input rates. The default configuration is about 12% below the provider list price.

המאפיינים הבולטים של gpt-image-2.6-sunburst

Detail-Focused Image Editing

Sunburst prioritizes detail and editing consistency, particularly for multi-turn edits at medium or high quality.

Multiple Output Formats

Generate PNG, JPEG, WebP, animated GIF, or SVG output. GIF and SVG requests support both text prompts and reference images.

Reference-Guided Generation

Supply up to 16 reference images through public HTTP(S) URLs or image Data URLs. Still-image editing also supports PNG alpha-channel masks.

Explicit Rendering Controls

Choose resolution, quality, size, and background settings. Planning complexity is controlled separately from rendering quality.

איך לקרוא ל-API של gpt-image-2.6-sunburst ב-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.6-sunburst" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

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

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרש—Model name: `gpt-image-2.6-flare` or `gpt-image-2.6-sunburst`.
nsfw_checkbooleanאופציונליfalseWhether to run content moderation before submitting the image task.
promptstringנדרש—Generation or editing instructions, up to 32,000 characters. Describe the subject, composition, and what to change or preserve.
sizestringאופציונליautoStill images and SVG support 15 aspect ratios, exact pixels such as `1600x1200`, or `auto`. Explicit `auto` lets the upstream model choose; omitting this field for still-image editing selects dimensions from the first input image’s aspect ratio and `resolution`. GIF sizes follow separate rules below.
resolutionstringאופציונלי1k
qualitystringאופציונליauto
nintegerאופציונלי1Integer from `1` to `4`; for GIF, this is the number of animations. SVG requires `1`. Explicit `0`, negative values, or values above `4` return HTTP 400 instead of falling back to the default.
output_formatstringאופציונליpng
output_compressionintegerאופציונלי—Integer from `0` to `100`, for `jpeg` / `webp` only. Out-of-range values or use with `png` / `gif` / `svg` return HTTP 400 at submission.
backgroundstringאופציונלי—
moderationstringאופציונליlowContent moderation level: `auto` / `low`. Other values return HTTP 400 at submission.
image_urlsstring[]אופציונלי—Up to 16 reference images as public HTTP(S) image URLs or image Data URLs, for still-image editing, GIF, or SVG generation. For local files, use the [image upload endpoint](/docs/uploads/images) first and pass the returned `url`.
mask_urlstringאופציונלי—Inpainting mask, requiring `image_urls`. Use a PNG with an alpha channel matching the first input image’s dimensions; fully transparent regions indicate areas to edit. Accepts an image URL or PNG Data URL. Cannot be combined with markup; unchanged pixels outside the mask are not guaranteed. GIF and SVG do not support masks or markup.
complexitystringאופציונלי—Planning level: `low` / `medium` / `high`, with an upstream default of `high`, independent of rendering `quality`. Use `low` for focused edits and `high` for dense text, complex layouts, or object relationships; higher planning may be slower or introduce extra changes. No separate fee; supported only by 2.6.
safety_identifierstringאופציונלי—Optional stable end-user identifier, up to 128 characters; a hash of a username or email is recommended. APISea does not forward it upstream by default, only when the channel permits it. Omitting it does not affect usage.

מה אפשר לבנות עם gpt-image-2.6-sunburst

Iterative Creative Editing

Build review workflows that refine an image across multiple turns, describing what to change and what to preserve.

Targeted Image Revisions

Let users provide a reference image and an inpainting mask to indicate areas for edits, without assuming pixels outside the mask remain unchanged.

Animated Content Tools

Generate animated GIFs from text instructions or reference images, requesting one to four animations per task.

SVG Asset Generation

Create SVG assets from prompts or reference images, with explicit background controls for transparent output.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Describe Changes and Preservation

    Specify the subject, composition, requested changes, and elements to preserve. Prompts can contain up to 32,000 characters.

  • 02

    Set Quality Explicitly

    Choose an explicit quality level when you need a fixed setting. With omitted or auto quality, funds are reserved at max quality and the final charge reflects the level actually selected.

  • 03

    Separate Planning From Rendering

    Use low complexity for focused edits and high complexity for dense text, complex layouts, or object relationships. Complexity is independent of quality.

  • 04

    Handle Tasks Asynchronously

    Submit to POST /v1/images/generations, read data[0].task_id, then query the task for file URLs. Do not expect the submission response to contain the finished image.

מגבלות ודברים שכדאי לדעת

  • GIF and SVG do not support masks or markup.

  • SVG requires n to be 1; other supported outputs allow n from 1 to 4.

  • Output compression applies only to JPEG and WebP, and must be an integer from 0 to 100.

שאלות נפוצות על API של gpt-image-2.6-sunburst

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

Text input costs $4.40 per 1M tokens, image input costs $7.04 per 1M tokens, and image output costs $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 the provider list price, with billing only for successful requests.

How do I call gpt-image-2.6-sunburst through the API?

Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to gpt-image-2.6-sunburst and a required prompt. Read data[0].task_id from the response, then query the task for output file URLs.

Which resolution and quality settings are supported?

Resolution accepts 1k, 2k, or 4k and is ignored when exact pixel dimensions are supplied. Quality accepts low, medium, high, xhigh, max, or auto; still images and SVG also support 15 aspect ratios, exact pixel dimensions, or auto size.

What are the prompt and reference-image limits?

Prompts support up to 32,000 characters, and image_urls accepts up to 16 reference images. The listed model limits are 1,000,000 input tokens and 1,000,000 output tokens.

How does Sunburst compare with Flare?

gpt-image-2.6-sunburst prioritizes detail and editing consistency, especially for multi-turn edits at medium or high quality. gpt-image-2.6-flare is the recommended default for faster generation and rapid iteration. Both have the same token rates and consumption at identical settings.

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 input images before using outputs commercially.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם gpt-image-2.6-sunburst

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.