Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.
GPT Image 2.6 is OpenAI’s image generation and editing model family. AnyFast exposes both models through the Image API:
Model ID
Best for
gpt-image-2.6-sunburst
Precise image editing and high-quality final assets
gpt-image-2.6-flare
Fast, high-quality everyday image generation
Both models accept text and image inputs and return images. Use POST /v1/images/generations to create an image from text, or POST /v1/images/edits to edit one or more uploaded images.
What changed in GPT Image 2.6
Two specialized modes — Sunburst is for detailed visual work and Flare is for fast iteration.
Complexity control — Set complexity to low, medium, or high to control planning effort independently of rendering quality; omitted values use high.
Markup-guided edits — The model family supports annotation layers that point to the region to change.
Expanded image outputs — OpenAI documents SVG and animated GIF generation for GPT Image 2.6. The output controls below show the corresponding request fields.
Usage accounting — AnyFast responses include input and output image token counts under usage.
Key capabilities
Text-to-image — Generate an image from a natural-language prompt
Image editing — Apply broad or localized edits to uploaded images
Flexible dimensions — Use recommended sizes or valid custom WIDTHxHEIGHT dimensions up to 4K
Expanded quality controls — Select low, medium, high, xhigh, max, or auto
Planning complexity — Select low, medium, or high independently of rendering quality
Transparent output — Request a transparent background with PNG or WebP output
Multiple outputs — Use n to request more than one result in one generation request
Generate images
Edit images
Send a JSON request to POST /v1/images/generations. Choose Sunburst for maximum editing and rendering precision, or Flare when latency matters more.
cURL
curl --request POST \ --url https://www.anyfast.ai/v1/images/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-image-2.6-flare", "prompt": "A clean editorial product photograph of a translucent green glass bottle on pale stone, soft morning light", "size": "1536x1024", "quality": "high", "complexity": "medium", "background": "opaque", "output_format": "jpeg", "output_compression": 85, "safety_identifier": "user-123", "n": 1 }'
Official usage examples
The following images are from OpenAI’s official GPT Image 2.6 guides. They show how the same prompt can respond to different planning complexity settings and how a reference image can be turned into a transparent product cutout.
Compare planning complexity
OpenAI uses the same paper-cut football prompt at low, medium, and high complexity with Sunburst. The examples illustrate how planning complexity can change the composition and level of detail.
Low complexity — OpenAI official example
Medium complexity — OpenAI official example
High complexity — OpenAI official example
Create a transparent product cutout
This official example uses a shampoo photograph as the input and requests a transparent PNG output. OpenAI shows the result from both Flare and Sunburst.
Send a JSON request with images references or a multipart file upload to POST /v1/images/edits. Use Sunburst when the workflow depends on precise preservation or targeted edits.
curl --request POST \ --url https://www.anyfast.ai/v1/images/edits \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-image-2.6-sunburst", "images": [ {"image_url": "https://example.com/product.png"} ], "prompt": "Keep the product unchanged and replace the background with a warm studio gradient", "size": "1536x1024", "quality": "xhigh", "complexity": "high", "output_format": "png" }'
curl --request POST \ --url https://www.anyfast.ai/v1/images/edits \ --header 'Authorization: Bearer YOUR_API_KEY' \ --form 'model=gpt-image-2.6-sunburst' \ --form 'image[]=@/path/to/product.png' \ --form 'prompt=Keep the product unchanged and replace the background with a warm studio gradient' \ --form 'size=1536x1024' \ --form 'quality=xhigh' \ --form 'output_format=png'
Output controls
Parameter
Values
Notes
quality
low, medium, high, xhigh, max, auto
Defaults to auto; higher settings generally increase detail, latency, and token use
size
auto or WIDTHxHEIGHT
Recommended sizes include 1024x1024, 1536x1024, and 1024x1536
background
auto, opaque, transparent
Transparent output requires png or webp
output_format
png, jpeg, webp, gif
Defaults to png; GIF requests also require frame_count and frame_duration_ms
frame_count
2–16
GIF only; defaults to 9 and must fit the total pixel budget
frame_duration_ms
20–2000
GIF only; defaults to 200 and rounds to 10 ms
output_compression
0–100
Applies to JPEG and WebP output
moderation
auto, low
Defaults to auto
complexity
low, medium, high
Defaults to high; controls planning effort independently of rendering quality
Each frame must fit the total pixel budget; 1024x1024 exceeds the budget at the default 9 frames, so use 1024x768 or reduce the frame count.
GIF generation
curl --request POST \ --url https://www.anyfast.ai/v1/images/generations \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-image-2.6-flare", "prompt": "A gently waving flag icon with a seamless loop", "size": "1024x768", "quality": "low", "complexity": "low", "output_format": "gif", "frame_count": 2, "frame_duration_ms": 200, "n": 1 }'
Custom size rules
Custom dimensions must satisfy all of the following requirements:
Width and height are multiples of 16 pixels.
The aspect ratio is between 1:3 and 3:1.
Neither edge exceeds 3,840 pixels.
Total pixels are between 655,360 and 8,294,400.
Resolutions above 2560x1440 are experimental.
Image editing inputs
For JSON requests, pass up to 16 objects in images. Each object uses file_id for an uploaded File API asset or image_url for a fully qualified URL or Base64-encoded data URL.
images[].image_url uses URI format and has a maximum length of 20,971,520 characters.
For multipart requests, upload a single source image with image, or up to 16 source images with image[].
Do not combine JSON images references with multipart image or image[] fields.
An optional mask must have an alpha channel and match the first source image’s format and dimensions.
The source image and mask must each be smaller than 50 MB.
Response handling
GPT Image models return image data in data[].b64_json. Each result may also include data[].revised_prompt; AnyFast returns token accounting in usage. Decode the Base64 value and save it using the extension reported by output_format; save GIF results with a .gif extension. The response_format parameter used by DALL·E models does not apply to GPT Image 2.6.
The upstream OpenAI API also lets supported mainline models call GPT Image 2.6 through the Responses API image-generation tool. This page documents the direct AnyFast Image API endpoints.
View generation and editing request fields, response fields, and usage accounting.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AnyFast","description":"AnyFast API documentation — unified access to AI models from Anthropic, ByteDance, OpenAI, and more.","colors":{"primary":"#6D28D9","light":"#8B5CF6","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842","dark":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/dark.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=3303bc5b49fec3aa2015dc9927286584","href":"https://www.anyfast.ai"},"favicon":"https://mintcdn.com/13108701256/ciuuPfOYrnV5Potx/favicon.svg?fit=max\u0026auto=format\u0026n=ciuuPfOYrnV5Potx\u0026q=85\u0026s=bb57081a959cb46f2fd60906102179ce","navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://www.anyfast.ai/console/token"}},"footer":{"socials":{}},"search":{"prompt":"Search docs, APIs, models..."},"seo":{"metatags":{"og:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg","og:site_name":"AnyFast Docs","twitter:card":"summary_large_image","twitter:site":"@anyfast_ai","twitter:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg"}},"integrations":{"ga4":{"measurementId":"G-LE1QQD03ZG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"zh","href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"13108701256","hasAudioNarration":false,"actualSubdomain":"13108701256","customDomains":["docs.anyfast.ai"],"gitSource":{"type":"gitlab","owner":"maas","repo":"docs-anyfast","hostUrl":"https://gitlab.anyfast.com.cn","projectId":39,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0550f2371c191c3d4c1241","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"en","tag":"Model Introduction","count":404},{"language":"zh","tag":"模型介绍","count":404},{"language":"en","tag":"API Reference","count":212},{"language":"zh","tag":"API 参考","count":212},{"language":"en","tag":"Model APIs","count":205},{"language":"zh","tag":"模型 API","count":205},{"language":"en","tag":"OpenAI","count":84},{"language":"zh","tag":"OpenAI","count":84},{"language":"en","tag":"Alibaba","count":64},{"language":"zh","tag":"Alibaba","count":64},{"language":"en","tag":"ByteDance","count":58},{"language":"en","tag":"Google","count":58},{"language":"zh","tag":"ByteDance","count":58},{"language":"zh","tag":"Google","count":58},{"language":"en","tag":"Anthropic","count":51},{"language":"zh","tag":"Anthropic","count":51},{"language":"en","tag":"Text \u0026 multimodal","count":42},{"language":"zh","tag":"文本与多模态","count":42},{"language":"en","tag":"Use Cases","count":38},{"language":"zh","tag":"场景示例","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":":root{font-size:17px;zoom:80%}.bg-primary\\/10{background-color:transparent!important}.dark .dark\\:bg-primary-light\\/10{background-color:transparent!important}.contact-purple-info svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-enterprise-card svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-best-ways-card-inner{border:1px solid rgba(128, 128, 128, 0.2);border-radius:1rem;padding:1.5rem;height:auto;box-sizing:border-box}.contact-best-ways-card-inner p.contact-best-ways-heading{display:flex;align-items:center;gap:0.5rem;margin:0 0 0.75rem!important;font-weight:600;line-height:1.4}.contact-best-ways-card-inner p{margin:0!important;line-height:1.6}.contact-best-ways-check{display:inline-flex;width:1.125rem;height:1.125rem;flex:0 0 1.125rem;align-items:center;justify-content:center;border-radius:50%;background-color:#6D28D9;color:#fff;font-size:0.75rem;font-weight:700;line-height:1}#search-bar-entry{border:1px solid rgba(140, 130, 160, 0.25)!important;border-radius:6px!important}#search-bar-entry:hover{border:1.5px solid #6D28D9!important;box-shadow:0 0 0 3px rgba(109, 40, 217, 0.16)!important}#navbar a[href*=\"/console/token\"]{border-radius:6px!important}#topbar-cta-button a[href*=\"/console/token\"]>span.absolute{border-radius:6px!important}#sidebar .method-nav-pill{display:none!important}#sidebar a[href*=\"/api-reference/model-api/\"]>div:has(>.method-nav-pill){display:none!important}@media (min-width: 1024px){#sidebar{height:calc(125dvh - var(--mintlify-slot-header-height, calc(4rem + var(--topbar-tabs-height, 0rem))) - var(--banner-height, 0px))!important}}.kling-api-example-panel{float:right;position:relative;top:auto;width:47%;margin:1.5rem 0 1.5rem 2rem;z-index:1}.kling-api-example-panel>div{margin-top:0;margin-bottom:1rem}.kling-api-example-panel.api-full-width-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem;clear:both}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{display:block;position:relative;top:auto;width:60%;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1.25rem;clear:right}.seedream-api-example-panel+.seedream-api-example-panel{margin-top:2.5rem}.happyhorse-api-example-panel pre,.seedream-api-example-panel pre,.wan-api-example-panel pre{overflow-x:auto;overflow-y:hidden;overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel .whitespace-pre,.seedream-api-example-panel .whitespace-pre,.wan-api-example-panel .whitespace-pre{overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel pre code,.seedream-api-example-panel pre code,.wan-api-example-panel pre code{max-width:none!important;min-width:max-content!important;width:max-content!important}@media (min-width: 1280px){#navbar .max-w-8xl.mx-auto.relative{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}div:has(>main#content-container){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:2rem!important;padding-right:1.5rem!important}#sidebar{width:16rem!important;min-width:16rem!important;max-width:16rem!important}#content{width:100%!important}#content-side-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;transform:none}#content-side-layout:has(.code-group){width:28rem!important;min-width:28rem!important;max-width:28rem!important}#table-of-contents-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;padding-left:0!important;transform:none}#table-of-contents{width:9rem!important}.kling-api-example-panel{width:51%;margin-left:2rem}}@media (max-width: 1400px){.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}}@media (max-width: 1024px){.kling-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{width:100%}}"}]}
{"page":{"pagePath":"guides/model-api/openai/gpt-image-2-6","slug":"/guides/model-api/openai/gpt-image-2-6","pageMetadata":{"title":"GPT Image 2.6","description":"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.","tag":"NEW","href":"/guides/model-api/openai/gpt-image-2-6"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CodeBlock,CodeGroup,Columns,Frame,Heading,Info,OptimizedImage,Tab,Table,Tabs}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`GPT Image 2.6 is OpenAI’s image generation and editing model family. AnyFast exposes both models through the Image API:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Model ID`}),_jsx(_components.th,{children:`Best for`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-sunburst`})}),_jsx(_components.td,{children:`Precise image editing and high-quality final assets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-flare`})}),_jsx(_components.td,{children:`Fast, high-quality everyday image generation`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Both models accept text and image inputs and return images. Use `,_jsx(_components.code,{children:`POST /v1/images/generations`}),` to create an image from text, or `,_jsx(_components.code,{children:`POST /v1/images/edits`}),` to edit one or more uploaded images.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-changed-in-gpt-image-2-6`,children:`What changed in GPT Image 2.6`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Two specialized modes`}),` — Sunburst is for detailed visual work and Flare is for fast iteration.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Complexity control`}),` — Set `,_jsx(_components.code,{children:`complexity`}),` to `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),` to control planning effort independently of rendering `,_jsx(_components.code,{children:`quality`}),`; omitted values use `,_jsx(_components.code,{children:`high`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Markup-guided edits`}),` — The model family supports annotation layers that point to the region to change.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Expanded image outputs`}),` — OpenAI documents SVG and animated GIF generation for GPT Image 2.6. The output controls below show the corresponding request fields.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Usage accounting`}),` — AnyFast responses include input and output image token counts under `,_jsx(_components.code,{children:`usage`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`key-capabilities`,children:`Key capabilities`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Text-to-image`}),` — Generate an image from a natural-language prompt`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Image editing`}),` — Apply broad or localized edits to uploaded images`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flexible dimensions`}),` — Use recommended sizes or valid custom `,_jsx(_components.code,{children:`WIDTHxHEIGHT`}),` dimensions up to 4K`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Expanded quality controls`}),` — Select `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`xhigh`}),`, `,_jsx(_components.code,{children:`max`}),`, or `,_jsx(_components.code,{children:`auto`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Planning complexity`}),` — Select `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),` independently of rendering quality`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Transparent output`}),` — Request a transparent background with PNG or WebP output`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Multiple outputs`}),` — Use `,_jsx(_components.code,{children:`n`}),` to request more than one result in one generation request`]}),`\n`]}),`\n`,_jsxs(Tabs,{sync:false,children:[_jsxs(Tab,{title:`Generate images`,id:`generate-images`,\"data-child-heading-ids\":`[\"official-usage-examples\",\"compare-planning-complexity\",\"create-a-transparent-product-cutout\"]`,children:[_jsxs(_components.p,{children:[`Send a JSON request to `,_jsx(_components.code,{children:`POST /v1/images/generations`}),`. Choose Sunburst for maximum editing and rendering precision, or Flare when latency matters more.`]}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`16`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/images/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"gpt-image-2.6-flare\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A clean editorial product photograph of a translucent green glass bottle on pale stone, soft morning light\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"1536x1024\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\": \"high\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"complexity\": \"medium\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"background\": \"opaque\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"jpeg\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_compression\": 85,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"safety_identifier\": \"user-123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"n\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`official-usage-examples`,children:`Official usage examples`}),_jsx(_components.p,{children:`The following images are from OpenAI’s official GPT Image 2.6 guides. They show how the same prompt can respond to different planning complexity settings and how a reference image can be turned into a transparent product cutout.`}),_jsx(Heading,{level:`3`,id:`compare-planning-complexity`,children:`Compare planning complexity`}),_jsx(_components.p,{children:`OpenAI uses the same paper-cut football prompt at low, medium, and high complexity with Sunburst. The examples illustrate how planning complexity can change the composition and level of detail.`}),_jsxs(Columns,{cols:3,children:[_jsx(Frame,{caption:`Low complexity — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/paper-cut-football-effort-low-gpt-image-2-6-sunburst.webp`,alt:`Paper-cut football scene generated with low complexity`})}),_jsx(Frame,{caption:`Medium complexity — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/paper-cut-football-effort-medium-gpt-image-2-6-sunburst.webp`,alt:`Paper-cut football scene generated with medium complexity`})}),_jsx(Frame,{caption:`High complexity — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/paper-cut-football-effort-high-gpt-image-2-6-sunburst.webp`,alt:`Paper-cut football scene generated with high complexity`})})]}),_jsx(Heading,{level:`3`,id:`create-a-transparent-product-cutout`,children:`Create a transparent product cutout`}),_jsx(_components.p,{children:`This official example uses a shampoo photograph as the input and requests a transparent PNG output. OpenAI shows the result from both Flare and Sunburst.`}),_jsxs(Columns,{cols:3,children:[_jsx(Frame,{caption:`Input — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/shampoo.webp`,alt:`Shampoo product photograph used as the input image`})}),_jsx(Frame,{caption:`Flare output — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/extract-product-gpt-image-2-6-flare.webp`,alt:`Shampoo bottle isolated on a transparent background with GPT Image 2.6 Flare`})}),_jsx(Frame,{caption:`Sunburst output — OpenAI official example`,children:_jsx(OptimizedImage,{src:`https://developers.openai.com/images/platform/guides/image-prompting/extract-product-gpt-image-2-6-sunburst.webp`,alt:`Shampoo bottle isolated on a transparent background with GPT Image 2.6 Sunburst`})})]}),_jsx(Info,{children:_jsxs(_components.p,{children:[`These are official OpenAI usage references. See the `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/guides/image-generation`,children:`OpenAI image generation guide`}),` and `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/guides/image-prompting?model=gpt-image-2.6`,children:`GPT Image 2.6 prompting guide`}),` for the prompts and settings.`]})})]}),_jsxs(Tab,{title:`Edit images`,id:`edit-images`,children:[_jsxs(_components.p,{children:[`Send a JSON request with `,_jsx(_components.code,{children:`images`}),` references or a multipart file upload to `,_jsx(_components.code,{children:`POST /v1/images/edits`}),`. Use Sunburst when the workflow depends on precise preservation or targeted edits.`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`JSON image URL`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/images/edits`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"gpt-image-2.6-sunburst\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"images\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"image_url\": \"https://example.com/product.png\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Keep the product unchanged and replace the background with a warm studio gradient\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"1536x1024\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\": \"xhigh\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"complexity\": \"high\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Multipart file upload`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/images/edits`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'model=gpt-image-2.6-sunburst'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'image[]=@/path/to/product.png'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'prompt=Keep the product unchanged and replace the background with a warm studio gradient'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'size=1536x1024'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'quality=xhigh'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'output_format=png'`})]}),`\n`]})})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`output-controls`,children:`Output controls`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quality`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`xhigh`}),`, `,_jsx(_components.code,{children:`max`}),`, `,_jsx(_components.code,{children:`auto`})]}),_jsxs(_components.td,{children:[`Defaults to `,_jsx(_components.code,{children:`auto`}),`; higher settings generally increase detail, latency, and token use`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),` or `,_jsx(_components.code,{children:`WIDTHxHEIGHT`})]}),_jsxs(_components.td,{children:[`Recommended sizes include `,_jsx(_components.code,{children:`1024x1024`}),`, `,_jsx(_components.code,{children:`1536x1024`}),`, and `,_jsx(_components.code,{children:`1024x1536`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`background`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`opaque`}),`, `,_jsx(_components.code,{children:`transparent`})]}),_jsxs(_components.td,{children:[`Transparent output requires `,_jsx(_components.code,{children:`png`}),` or `,_jsx(_components.code,{children:`webp`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`jpeg`}),`, `,_jsx(_components.code,{children:`webp`}),`, `,_jsx(_components.code,{children:`gif`})]}),_jsxs(_components.td,{children:[`Defaults to `,_jsx(_components.code,{children:`png`}),`; GIF requests also require `,_jsx(_components.code,{children:`frame_count`}),` and `,_jsx(_components.code,{children:`frame_duration_ms`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_count`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2`}),`–`,_jsx(_components.code,{children:`16`})]}),_jsxs(_components.td,{children:[`GIF only; defaults to `,_jsx(_components.code,{children:`9`}),` and must fit the total pixel budget`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_duration_ms`})}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`20`}),`–`,_jsx(_components.code,{children:`2000`})]}),_jsxs(_components.td,{children:[`GIF only; defaults to `,_jsx(_components.code,{children:`200`}),` and rounds to 10 ms`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_compression`})}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`100`})]}),_jsx(_components.td,{children:`Applies to JPEG and WebP output`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`moderation`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`low`})]}),_jsxs(_components.td,{children:[`Defaults to `,_jsx(_components.code,{children:`auto`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`complexity`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`})]}),_jsxs(_components.td,{children:[`Defaults to `,_jsx(_components.code,{children:`high`}),`; controls planning effort independently of rendering quality`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`safety_identifier`})}),_jsx(_components.td,{children:`String up to 128 characters`}),_jsx(_components.td,{children:`Optional stable, privacy-preserving end-user identifier`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`animated-gif-output`,children:`Animated GIF output`}),`\n`,_jsxs(_components.p,{children:[`Each frame must fit the total pixel budget; `,_jsx(_components.code,{children:`1024x1024`}),` exceeds the budget at the default 9 frames, so use `,_jsx(_components.code,{children:`1024x768`}),` or reduce the frame count.`]}),`\n`,_jsx(CodeBlock,{filename:`GIF generation`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.anyfast.ai/v1/images/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"gpt-image-2.6-flare\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A gently waving flag icon with a seamless loop\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"1024x768\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\": \"low\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"complexity\": \"low\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"gif\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"frame_count\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"frame_duration_ms\": 200,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"n\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`custom-size-rules`,children:`Custom size rules`}),`\n`,_jsx(_components.p,{children:`Custom dimensions must satisfy all of the following requirements:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Width and height are multiples of 16 pixels.`}),`\n`,_jsxs(_components.li,{children:[`The aspect ratio is between `,_jsx(_components.code,{children:`1:3`}),` and `,_jsx(_components.code,{children:`3:1`}),`.`]}),`\n`,_jsx(_components.li,{children:`Neither edge exceeds 3,840 pixels.`}),`\n`,_jsx(_components.li,{children:`Total pixels are between 655,360 and 8,294,400.`}),`\n`,_jsxs(_components.li,{children:[`Resolutions above `,_jsx(_components.code,{children:`2560x1440`}),` are experimental.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`image-editing-inputs`,children:`Image editing inputs`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For JSON requests, pass up to 16 objects in `,_jsx(_components.code,{children:`images`}),`. Each object uses `,_jsx(_components.code,{children:`file_id`}),` for an uploaded File API asset or `,_jsx(_components.code,{children:`image_url`}),` for a fully qualified URL or Base64-encoded data URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`images[].image_url`}),` uses URI format and has a maximum length of `,_jsx(_components.code,{children:`20,971,520`}),` characters.`]}),`\n`,_jsxs(_components.li,{children:[`For multipart requests, upload a single source image with `,_jsx(_components.code,{children:`image`}),`, or up to 16 source images with `,_jsx(_components.code,{children:`image[]`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Do not combine JSON `,_jsx(_components.code,{children:`images`}),` references with multipart `,_jsx(_components.code,{children:`image`}),` or `,_jsx(_components.code,{children:`image[]`}),` fields.`]}),`\n`,_jsx(_components.li,{children:`An optional mask must have an alpha channel and match the first source image’s format and dimensions.`}),`\n`,_jsx(_components.li,{children:`The source image and mask must each be smaller than 50 MB.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-handling`,children:`Response handling`}),`\n`,_jsxs(_components.p,{children:[`GPT Image models return image data in `,_jsx(_components.code,{children:`data[].b64_json`}),`. Each result may also include `,_jsx(_components.code,{children:`data[].revised_prompt`}),`; AnyFast returns token accounting in `,_jsx(_components.code,{children:`usage`}),`. Decode the Base64 value and save it using the extension reported by `,_jsx(_components.code,{children:`output_format`}),`; save GIF results with a `,_jsx(_components.code,{children:`.gif`}),` extension. The `,_jsx(_components.code,{children:`response_format`}),` parameter used by DALL·E models does not apply to GPT Image 2.6.`]}),`\n`,_jsx(CodeBlock,{filename:`Decode the first result`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RESPONSE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.data[0].b64_json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` base64`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --decode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result.png`})]}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`The upstream OpenAI API also lets supported mainline models call GPT Image 2.6 through the Responses API image-generation tool. This page documents the direct AnyFast Image API endpoints.`})}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/guides/image-generation`,children:`OpenAI image generation guide`}),`, `,_jsx(_components.a,{href:`https://developers.openai.com/api/reference/resources/images/methods/generate`,children:`Create image API`}),`, `,_jsx(_components.a,{href:`https://developers.openai.com/api/reference/resources/images/methods/edit`,children:`Create image edit API`}),`, `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/models/gpt-image-2.6-sunburst`,children:`Sunburst model page`}),`, and `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/models/gpt-image-2.6-flare`,children:`Flare model page`}),` for the upstream model specification.`]}),`\n`,_jsx(Card,{title:`GPT Image 2.6 API Reference`,icon:`code`,href:`/api-reference/model-api/openai/gpt-image-2-6`,children:_jsx(_components.p,{children:`View generation and editing request fields, response fields, and usage accounting.`})}),`\n`,_jsx(`script`,{src:`/public/feedback.js`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"GPT Image 2.6","description":"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.","tag":"NEW","href":"/guides/model-api/openai/gpt-image-2-6"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What changed in GPT Image 2.6","slug":"what-changed-in-gpt-image-2-6","depth":2,"children":[]},{"title":"Key capabilities","slug":"key-capabilities","depth":2,"children":[]},{"title":"Official usage examples","slug":"official-usage-examples","depth":2,"children":[{"title":"Compare planning complexity","slug":"compare-planning-complexity","depth":3,"children":[],"tabId":"generate-images"},{"title":"Create a transparent product cutout","slug":"create-a-transparent-product-cutout","depth":3,"children":[],"tabId":"generate-images"}],"tabId":"generate-images"},{"title":"Output controls","slug":"output-controls","depth":2,"children":[]},{"title":"Animated GIF output","slug":"animated-gif-output","depth":2,"children":[{"title":"Custom size rules","slug":"custom-size-rules","depth":3,"children":[]}]},{"title":"Image editing inputs","slug":"image-editing-inputs","depth":2,"children":[]},{"title":"Response handling","slug":"response-handling","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/13108701256/732cc469d132ece5/public/feedback.js","/_mintlify/custom/13108701256/77e35c9cec00c64f/workers/docs-feedback/src/index.js"],"subdomain":"13108701256","siteName":"AnyFast","title":"GPT Image 2.6 - AnyFast","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/model-api/openai/gpt-image-2-6","matchLevel":0},"zh":{"href":"/zh/guides/model-api/openai/gpt-image-2-6","matchLevel":1}}},"lastModified":"2026-11-23T03:42:27.620Z","originalFileLocation":"guides/model-api/openai/gpt-image-2-6.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GPT Image 2.6 - AnyFast\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AnyFast Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GPT Image 2.6 - AnyFast\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/model-api/openai/gpt-image-2-6.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.anyfast.ai/zh/guides/model-api/openai/gpt-image-2-6\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anyfast.ai/#organization\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anyfast.ai#website\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6#webpage\",\"url\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\",\"name\":\"GPT Image 2.6\",\"description\":\"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\",\"dateModified\":\"2026-11-23T03:42:27.620Z\",\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model Introduction\",\"item\":\"https://docs.anyfast.ai/guides/model-api/alibaba/qwen3.8-max\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI\",\"item\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-6.2-astra\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GPT Image 2.6\",\"item\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6#article\",\"headline\":\"GPT Image 2.6\",\"name\":\"GPT Image 2.6\",\"description\":\"Generate and edit images with GPT Image 2.6 Sunburst and Flare through the AnyFast Image API.\",\"url\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyfast.ai/guides/model-api/openai/gpt-image-2-6#webpage\"},\"image\":\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\",\"dateModified\":\"2026-11-23T03:42:27.620Z\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AnyFast\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AnyFast\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/model-api/openai/gpt-image-2-6.md","siteName":"AnyFast","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Model Introduction","groups":[{"group":"Model Introduction","root":{"title":"Qwen3.8-Max","href":"/guides/model-api/alibaba/qwen3.8-max"},"pages":[{"group":"Alibaba","icon":"/images/providers/alibaba-cloud.svg","expanded":false,"pages":[{"group":"Text \u0026 multimodal","expanded":false,"pages":[{"title":"Qwen3.8-Max","href":"/guides/model-api/alibaba/qwen3.8-max"},{"title":"Qwen3.8-Flash","href":"/guides/model-api/alibaba/qwen3.8-flash"},{"title":"Qwen3.7-Max","href":"/guides/model-api/alibaba/qwen3.7-max"},{"title":"Qwen3.7-Max-Preview","href":"/guides/model-api/alibaba/qwen3.7-max-preview"},{"title":"Qwen3.7-Plus","href":"/guides/model-api/alibaba/qwen3.7-plus"},{"title":"Qwen3.6-Plus","href":"/guides/model-api/alibaba/qwen3.6-plus"},{"title":"Qwen3.6-Flash","href":"/guides/model-api/alibaba/qwen3.6-flash"},{"title":"Qwen3.5-397B-A17B","href":"/guides/model-api/alibaba/qwen3.5-397b-a17b"},{"title":"Qwen3-Coder-Next","href":"/guides/model-api/alibaba/qwen3-coder-next"},{"title":"Qwen3-Coder","href":"/guides/model-api/alibaba/qwen3-coder"},{"title":"Qwen3-Next-80B-A3B-Instruct","href":"/guides/model-api/alibaba/qwen3-next-80b-a3b-instruct"},{"title":"Qwen3-Next-80B-A3B-Thinking","href":"/guides/model-api/alibaba/qwen3-next-80b-a3b-thinking"},{"title":"Qwen3-235B-A22B-Instruct-2507","href":"/guides/model-api/alibaba/qwen3-235b-a22b-instruct-2507"},{"title":"Qwen3-235B-A22B-Thinking-2507","href":"/guides/model-api/alibaba/qwen3-235b-a22b-thinking-2507"},{"title":"Qwen3-235B-A22B","href":"/guides/model-api/alibaba/qwen3-235b-a22b"},{"title":"Qwen3-30B-A3B-Instruct-2507","href":"/guides/model-api/alibaba/qwen3-30b-a3b-instruct-2507"},{"title":"Qwen3-30B-A3B-Thinking-2507","href":"/guides/model-api/alibaba/qwen3-30b-a3b-thinking-2507"},{"title":"Qwen3-32B","href":"/guides/model-api/alibaba/qwen3-32b"},{"title":"Qwen3-14B","href":"/guides/model-api/alibaba/qwen3-14b"},{"title":"Qwen3-VL-235B-A22B-Instruct","href":"/guides/model-api/alibaba/qwen3-vl-235b-a22b-instruct"},{"title":"Qwen3-VL-235B-A22B-Thinking","href":"/guides/model-api/alibaba/qwen3-vl-235b-a22b-thinking"}]},{"group":"Image generation","expanded":false,"pages":[{"title":"Qwen Image Plus","href":"/guides/model-api/alibaba/qwen-image-plus"},{"title":"Wan2.7 Image / Pro","href":"/guides/model-api/alibaba/wan2.7-image"},{"title":"Wan2.6 T2I","href":"/guides/model-api/alibaba/wan2.6-t2i"}]},{"group":"Video generation","expanded":false,"pages":[{"title":"HappyHorse 1.1","href":"/guides/model-api/alibaba/happyhorse-1.1"},{"title":"HappyHorse 1.0","href":"/guides/model-api/alibaba/happyhorse-1.0"},{"title":"HappyHorse Task Query","href":"/guides/model-api/alibaba/happyhorse-task-query"},{"title":"Wan3.0 Video Prime","tag":"NEW","href":"/guides/model-api/alibaba/wan3.0-video-prime"},{"title":"Wan3.0 Video","href":"/guides/model-api/alibaba/wan3.0-video"},{"title":"Wan2.7","href":"/guides/model-api/alibaba/wan2.7"},{"title":"Wan2.2 A14B","href":"/guides/model-api/alibaba/wan2.2-a14b"},{"title":"Wan2 Task Query","href":"/guides/model-api/alibaba/wan2-task-query"}]}]},{"group":"Anthropic","icon":"/images/providers/anthropic.svg","pages":[{"title":"Claude Opus 5.5","href":"/guides/model-api/anthropic/claude-opus-5-5"},{"title":"Claude Fable 5.2","href":"/guides/model-api/anthropic/claude-fable-5-2"},{"title":"Claude Fable 5.1","href":"/guides/model-api/anthropic/claude-fable-5-1"},{"title":"Claude Fable 5","href":"/guides/model-api/anthropic/claude-fable-5"},{"title":"Claude Opus 5","href":"/guides/model-api/anthropic/claude-opus-5"},{"title":"Claude Opus 4.8","href":"/guides/model-api/anthropic/claude-opus-4-8"},{"title":"Claude Opus 4.7","href":"/guides/model-api/anthropic/claude-opus-4-7"},{"title":"Claude Opus 4.7 Thinking","href":"/guides/model-api/anthropic/claude-opus-4-7-thinking"},{"title":"Claude Opus 4.6","href":"/guides/model-api/anthropic/claude-opus-4-6"},{"title":"Claude Opus 4.6 Thinking","href":"/guides/model-api/anthropic/claude-opus-4-6-thinking"},{"title":"Claude Opus 4.5","href":"/guides/model-api/anthropic/claude-opus-4-5"},{"title":"Claude Opus 4.5 Thinking","href":"/guides/model-api/anthropic/claude-opus-4-5-thinking"},{"title":"Claude Opus 4.1","href":"/guides/model-api/anthropic/claude-opus-4-1"},{"title":"Claude Opus 4.1 Thinking","href":"/guides/model-api/anthropic/claude-opus-4-1-thinking"},{"title":"Claude Opus 4","href":"/guides/model-api/anthropic/claude-opus-4"},{"title":"Claude Opus 4 Thinking","href":"/guides/model-api/anthropic/claude-opus-4-thinking"},{"title":"Claude Sonnet 5.5","href":"/guides/model-api/anthropic/claude-sonnet-5-5"},{"title":"Claude Sonnet 5","href":"/guides/model-api/anthropic/claude-sonnet-5"},{"title":"Claude Sonnet 4.6","href":"/guides/model-api/anthropic/claude-sonnet-4-6"},{"title":"Claude Sonnet 4.6 Thinking","href":"/guides/model-api/anthropic/claude-sonnet-4-6-thinking"},{"title":"Claude Sonnet 4.5","href":"/guides/model-api/anthropic/claude-sonnet-4-5"},{"title":"Claude Sonnet 4.5 Thinking","href":"/guides/model-api/anthropic/claude-sonnet-4-5-thinking"},{"title":"Claude Sonnet 4","href":"/guides/model-api/anthropic/claude-sonnet-4"},{"title":"Claude Sonnet 4 Thinking","href":"/guides/model-api/anthropic/claude-sonnet-4-thinking"},{"title":"Claude Haiku 5.5","href":"/guides/model-api/anthropic/claude-haiku-5-5"},{"title":"Claude Haiku 4.5","href":"/guides/model-api/anthropic/claude-haiku-4-5"},{"title":"Claude Haiku 4.5 Thinking","href":"/guides/model-api/anthropic/claude-haiku-4-5-thinking"},{"title":"Claude 3.7 Sonnet","href":"/guides/model-api/anthropic/claude-3-7-sonnet"},{"title":"Claude 3.7 Sonnet Thinking","href":"/guides/model-api/anthropic/claude-3-7-sonnet-thinking"},{"title":"Claude 3.5 Sonnet","href":"/guides/model-api/anthropic/claude-3-5-sonnet"}]},{"group":"Black Forest Labs","icon":"/images/providers/bfl.svg","pages":[{"title":"FLUX.1.1 [pro]","href":"/guides/model-api/blackforestlabs/flux-1-1-pro"},{"title":"FLUX.1 Kontext [pro]","href":"/guides/model-api/blackforestlabs/flux-1-kontext-pro"}]},{"group":"ByteDance","icon":"/images/providers/bytedance.svg","pages":[{"title":"Seedance Task Query","href":"/guides/model-api/bytedance/seedance-task-query"},{"title":"Seedance Asset Management","href":"/guides/model-api/bytedance/volc-asset"},{"title":"Seedance 2.5","tag":"NEW","href":"/guides/model-api/bytedance/seedance-2-5"},{"title":"Seedance 2.5 Flash","tag":"NEW","href":"/guides/model-api/bytedance/seedance-2-5-flash"},{"title":"Seedance 2.0 Mini","href":"/guides/model-api/bytedance/seedance-2-0-mini"},{"title":"Seedance 2.0 Ultra","href":"/guides/model-api/bytedance/seedance-2-0-ultra"},{"title":"Seedance 2.0 Fast","href":"/guides/model-api/bytedance/seedance-2-0-fast"},{"title":"Seedance 2.0","href":"/guides/model-api/bytedance/seedance-2-0"},{"title":"Doubao Seed 2.1 Pro","href":"/guides/model-api/bytedance/doubao-seed-2.1-pro"},{"title":"Doubao Seed 2.1 Turbo","href":"/guides/model-api/bytedance/doubao-seed-2.1-turbo"},{"title":"Doubao Seed Evolving","href":"/guides/model-api/bytedance/doubao-seed-evolving"},{"title":"Doubao Seed 2.0 Pro","href":"/guides/model-api/bytedance/doubao-seed-2.0-pro"},{"title":"Doubao Seed 2.0 Code","href":"/guides/model-api/bytedance/doubao-seed-2.0-code"},{"title":"Doubao Seed 2.0 Lite","href":"/guides/model-api/bytedance/doubao-seed-2.0-lite"},{"title":"Doubao Seed 2.0 Mini","href":"/guides/model-api/bytedance/doubao-seed-2.0-mini"},{"title":"Doubao Seed 1.6","href":"/guides/model-api/bytedance/doubao-seed-1-6"},{"title":"Seedream 5.5","href":"/guides/model-api/bytedance/seedream-5-5"},{"title":"Seedream 5.0 Pro","href":"/guides/model-api/bytedance/doubao-seedream-5-0-pro"},{"title":"Seedream 5.0 Flash","href":"/guides/model-api/bytedance/doubao-seedream-5-0-flash"},{"title":"Seedream 5.0 Lite","href":"/guides/model-api/bytedance/seedream-5-0-lite"},{"title":"Seedream 5.0","href":"/guides/model-api/bytedance/doubao-seedream-5-0"},{"title":"Seedream 4.5","href":"/guides/model-api/bytedance/doubao-seedream-4-5"},{"title":"Seedream 4.0","href":"/guides/model-api/bytedance/doubao-seedream-4-0"},{"title":"Seedream 3.0 t2i","href":"/guides/model-api/bytedance/doubao-seedream-3-0-t2i"}]},{"group":"DeepSeek","icon":"/images/providers/deepseek.svg","pages":[{"title":"DeepSeek V4.1 Flash 1017","tag":"NEW","href":"/guides/model-api/deepseek/deepseek-v4-1-flash-1017"},{"title":"DeepSeek V4.1 Flash","href":"/guides/model-api/deepseek/deepseek-v4-1-flash"},{"title":"DeepSeek V4 Flash","href":"/guides/model-api/deepseek/deepseek-v4-flash"},{"title":"DeepSeek V4 Pro","href":"/guides/model-api/deepseek/deepseek-v4-pro"},{"title":"DeepSeek V3.2 Exp","href":"/guides/model-api/deepseek/deepseek-v3-2-exp"},{"title":"DeepSeek V3.1 Terminus","href":"/guides/model-api/deepseek/deepseek-v3-1-terminus"},{"title":"DeepSeek V3.1","href":"/guides/model-api/deepseek/deepseek-v3-1"},{"title":"DeepSeek V3","href":"/guides/model-api/deepseek/deepseek-v3"}]},{"group":"Google","icon":"/images/providers/google.svg","pages":[{"title":"Gemini 4 Hydrogen","tag":"NEW","href":"/guides/model-api/google/gemini-4-hydrogen"},{"title":"Gemini 4 Argon","tag":"NEW","href":"/guides/model-api/google/gemini-4-argon"},{"title":"Gemini Nano Banana 2.1","tag":"NEW","href":"/guides/model-api/google/gemini-nano-banana-2-1"},{"title":"Gemini Nano Banana 2.1 (Stream)","href":"/guides/model-api/google/gemini-nano-banana-2-1-stream"},{"title":"Gemini 3.8 Flash","tag":"NEW","href":"/guides/model-api/google/gemini-3.8-flash"},{"title":"Gemini 3.7 Flash","href":"/guides/model-api/google/gemini-3.7-flash"},{"title":"Gemini 3.6 Flash","href":"/guides/model-api/google/gemini-3.6-flash"},{"title":"Gemini 3.5 Flash-Lite","href":"/guides/model-api/google/gemini-3.5-flash-lite"},{"title":"Gemini 3.5 Flash","href":"/guides/model-api/google/gemini-3.5-flash"},{"title":"Gemini 3.1 Flash Image (Nano Banana 2)","href":"/guides/model-api/google/gemini-3.1-flash-image"},{"title":"Gemini 3.1 Flash Image (Stream)","href":"/guides/model-api/google/gemini-3.1-flash-image-stream"},{"title":"Gemini 3.1 Flash Lite Image","href":"/guides/model-api/google/gemini-3.1-flash-lite-image"},{"title":"Gemini 3.1 Flash Lite Image (Stream)","href":"/guides/model-api/google/gemini-3.1-flash-lite-image-stream"},{"title":"Gemini 3.1 Flash Image Preview -c","href":"/guides/model-api/google/gemini-3.1-flash-image-preview-c"},{"title":"Gemini 3.1 Pro Preview","href":"/guides/model-api/google/gemini-3.1-pro-preview"},{"title":"Gemini 3.1 Flash Lite Preview","href":"/guides/model-api/google/gemini-3.1-flash-lite-preview"},{"title":"Gemini 3 Pro Preview","href":"/guides/model-api/google/gemini-3-pro-preview"},{"title":"Gemini 3 Pro Preview (Stream)","href":"/guides/model-api/google/gemini-3-pro-preview-stream"},{"title":"Gemini 3 Pro Image (Nano Banana Pro)","href":"/guides/model-api/google/gemini-3-pro-image"},{"title":"Gemini 3 Pro Image (Stream)","href":"/guides/model-api/google/gemini-3-pro-image-stream"},{"title":"Gemini 3 Pro Image Preview -c","href":"/guides/model-api/google/gemini-3-pro-image-preview-c"},{"title":"Gemini 3 Flash Preview","href":"/guides/model-api/google/gemini-3-flash-preview"},{"title":"Gemini 2.5 Pro","href":"/guides/model-api/google/gemini-2-5-pro"},{"title":"Gemini 2.5 Pro (Stream)","href":"/guides/model-api/google/gemini-2-5-pro-stream"},{"title":"Gemini 2.5 Flash","href":"/guides/model-api/google/gemini-2-5-flash"},{"title":"Gemini 2.5 Flash Image (Nano Banana)","href":"/guides/model-api/google/gemini-2-5-flash-image"},{"title":"Gemini 2.5 Flash Image (Stream)","href":"/guides/model-api/google/gemini-2-5-flash-image-stream"},{"title":"Gemini 2.5 Flash Lite","href":"/guides/model-api/google/gemini-2.5-flash-lite"},{"title":"Gemini 2.0 Flash","href":"/guides/model-api/google/gemini-2-0-flash"}]},{"group":"Kling","icon":"https://unpkg.com/@lobehub/icons-static-svg@latest/icons/kling-color.svg","pages":[{"title":"Kling 4.0","href":"/guides/model-api/kling/kling-4.0"},{"title":"Kling 3.0 Turbo","href":"/guides/model-api/kling/kling-3.0-turbo"},{"title":"Kling 3.0","href":"/guides/model-api/kling/kling-3.0"},{"title":"Kling 3.0 Omni","href":"/guides/model-api/kling/kling-3.0-omni"},{"title":"Kling O1","href":"/guides/model-api/kling/kling-o1"},{"title":"Kling 2.6","href":"/guides/model-api/kling/kling-2.6"},{"title":"Kling 2.5 Turbo","href":"/guides/model-api/kling/kling-2.5-turbo"},{"group":"Kling Element Management","root":{"title":"Kling Element Management","href":"/guides/model-api/kling/kling-element-management"},"pages":[{"title":"Kling Element Create","href":"/guides/model-api/kling/kling-element-create"},{"title":"Kling Element Query","href":"/guides/model-api/kling/kling-element-query"},{"title":"Kling Preset Element List","href":"/guides/model-api/kling/kling-element-preset-list"}]},{"title":"Kling Voice Management","href":"/guides/model-api/kling/kling-voice-management"},{"title":"Kling Digital Human","tag":"NEW","href":"/guides/model-api/kling/kling-digital-human"},{"title":"Kling Lip Sync","href":"/guides/model-api/kling/kling-lip-sync"},{"title":"Kling Identify Face","href":"/guides/model-api/kling/kling-identify-face"}]},{"group":"MiniMax","icon":"/images/providers/minimax.svg","pages":[{"title":"MiniMax-H3","href":"/guides/model-api/minimax/minimax-h3"},{"title":"MiniMax-M3","href":"/guides/model-api/minimax/minimax-m3"},{"title":"MiniMax-M2.7","href":"/guides/model-api/minimax/minimax-m2.7"},{"title":"MiniMax M2.5","href":"/guides/model-api/minimax/minimax-m2.5"},{"title":"MiniMax M2.1","href":"/guides/model-api/minimax/minimax-m2.1"}]},{"group":"MoonShot","icon":"/images/providers/moonshot.svg","pages":[{"title":"Kimi K3.1 Pro","tag":"NEW","href":"/guides/model-api/moonshot/kimi-k3-1-pro"},{"title":"Kimi K3","href":"/guides/model-api/moonshot/kimi-k3"},{"title":"Kimi-K2.6","href":"/guides/model-api/moonshot/kimi-k2-6"},{"title":"Kimi-K2.5","href":"/guides/model-api/moonshot/kimi-k2-5"}]},{"group":"OpenAI","icon":"/images/providers/openai.svg","pages":[{"title":"GPT-6.2 Astra","tag":"NEW","href":"/guides/model-api/openai/gpt-6.2-astra"},{"title":"GPT-6.2 Sol","tag":"NEW","href":"/guides/model-api/openai/gpt-6.2-sol"},{"title":"GPT-6 Astra","href":"/guides/model-api/openai/gpt-6-astra"},{"title":"GPT-6.1 Sol","href":"/guides/model-api/openai/gpt-6.1-sol"},{"title":"GPT-6.1 Terra","href":"/guides/model-api/openai/gpt-6.1-terra"},{"title":"GPT-6 Sol","href":"/guides/model-api/openai/gpt-6-sol"},{"title":"GPT-6 Luna","href":"/guides/model-api/openai/gpt-6-luna"},{"title":"GPT-5.6","href":"/guides/model-api/openai/gpt-5-6"},{"title":"GPT-5.6 Sol","href":"/guides/model-api/openai/gpt-5-6-sol"},{"title":"GPT-5.6 Terra","href":"/guides/model-api/openai/gpt-5-6-terra"},{"title":"GPT-5.6 Luna","href":"/guides/model-api/openai/gpt-5-6-luna"},{"title":"GPT-5.5","href":"/guides/model-api/openai/gpt-5-5"},{"title":"GPT-5.4","href":"/guides/model-api/openai/gpt-5-4"},{"title":"GPT-5.4 Mini","href":"/guides/model-api/openai/gpt-5-4-mini"},{"title":"GPT-5.3 Codex","href":"/guides/model-api/openai/gpt-5-3-codex"},{"title":"GPT-5.2","href":"/guides/model-api/openai/gpt-5-2"},{"title":"GPT-5.2 Chat","href":"/guides/model-api/openai/gpt-5-2-chat"},{"title":"GPT-5.2 Chat Latest","href":"/guides/model-api/openai/gpt-5-2-chat-latest"},{"title":"GPT-5.2 Codex","href":"/guides/model-api/openai/gpt-5-2-codex"},{"title":"GPT-5.1","href":"/guides/model-api/openai/gpt-5-1"},{"title":"GPT-5.1 Chat","href":"/guides/model-api/openai/gpt-5-1-chat"},{"title":"GPT-5.1 Chat Latest","href":"/guides/model-api/openai/gpt-5-1-chat-latest"},{"title":"GPT-5.1 Codex Mini","href":"/guides/model-api/openai/gpt-5-1-codex-mini"},{"title":"GPT-5","href":"/guides/model-api/openai/gpt-5"},{"title":"GPT-5 Chat Latest","href":"/guides/model-api/openai/gpt-5-chat-latest"},{"title":"GPT-5 Pro","href":"/guides/model-api/openai/gpt-5-pro"},{"title":"GPT-5 Codex","href":"/guides/model-api/openai/gpt-5-codex"},{"title":"GPT-5 Codex High","href":"/guides/model-api/openai/gpt-5-codex-high"},{"title":"GPT-5 Codex Low","href":"/guides/model-api/openai/gpt-5-codex-low"},{"title":"GPT-5 Mini","href":"/guides/model-api/openai/gpt-5-mini"},{"title":"GPT-5 Nano","href":"/guides/model-api/openai/gpt-5-nano"},{"title":"GPT-4o","href":"/guides/model-api/openai/gpt-4o"},{"title":"GPT-4o Mini","href":"/guides/model-api/openai/gpt-4o-mini"},{"title":"GPT-4.1","href":"/guides/model-api/openai/gpt-4-1"},{"title":"GPT-4","description":"OpenAI's GPT-4 via OpenAI-compatible API. Highly capable and reliable for complex tasks.","href":"/guides/model-api/openai/gpt-4"},{"title":"GPT Image 2.6","tag":"NEW","href":"/guides/model-api/openai/gpt-image-2-6"},{"title":"GPT Image 2.5","description":"Generate and edit images with GPT Image 2.5 Sunburst and Flare through the AnyFast Image API.","href":"/guides/model-api/openai/gpt-image-2-5"},{"title":"GPT Image 2","href":"/guides/model-api/openai/gpt-image-2"},{"title":"GPT Image 2 C","href":"/guides/model-api/openai/gpt-image-2-c"},{"title":"GPT Image 1.5","href":"/guides/model-api/openai/gpt-image-1-5"},{"title":"GPT Image 1","href":"/guides/model-api/openai/gpt-image-1"}]},{"group":"xAI","icon":"/images/providers/xai.svg","pages":[{"title":"Grok 4.7","tag":"NEW","href":"/guides/model-api/xai/grok-4-7"},{"title":"Grok 4.6","href":"/guides/model-api/xai/grok-4-6"},{"title":"Grok 4.5","href":"/guides/model-api/xai/grok-4-5"},{"title":"Grok 4.3","href":"/guides/model-api/xai/grok-4-3"},{"title":"Grok 4.1 Fast Reasoning","href":"/guides/model-api/xai/grok-4-1-fast-reasoning"},{"title":"Grok 4.1 Fast Non-Reasoning","href":"/guides/model-api/xai/grok-4-1-fast-non-reasoning"}]},{"group":"Zhipu","icon":"/images/providers/zhipu.svg","pages":[{"title":"GLM-5.3","tag":"NEW","href":"/guides/model-api/zhipu/glm-5.3"},{"title":"GLM-5.2","href":"/guides/model-api/zhipu/glm-5.2"},{"title":"GLM-5.1","href":"/guides/model-api/zhipu/glm-5.1"},{"title":"GLM-5","href":"/guides/model-api/zhipu/glm-5"},{"title":"GLM-4-7","href":"/guides/model-api/zhipu/glm-4.7"},{"title":"GLM-4.5","href":"/guides/model-api/zhipu/glm-4.5"}]}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/guides/usecases/use-anyfast-in-claude-code"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/guides/model-api/openai/gpt-image-2-6"}]}]},"basePath":"","title":"GPT Image 2.6 - AnyFast","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-2hRFysAg.js","DynamicMarkdown-Bg54PExR.js","zoom-image-lightbox-D1ofL3wq.js","lightbox-handle-r17bVUz3.js"]}