
Text to Image
Create AI images from text prompts
Refine images with the ChatGPT Images 2.6 Sunburst Edit API by OpenAI. Guide edits with references to keep characters, products, and brand details consistent.
Try the AI Image Generator now
| Parameters | Price | Original Price | Discount |
|---|
ChatGPT Images 2.6 Sunburst Edit API gives developers access to OpenAI image editing with text instructions and reference images through Flaq AI. It is the consistency-focused editing upgrade in the ChatGPT Images 2.6 family: OpenAI positions Sunburst for higher-quality generation and even greater image consistency across edits when quality is set to medium or high. Prefer Sunburst Edit when you change scenes or props while keeping product shape, logos, and brand colors stable across rounds.
Prompt-Guided Image Editing: Describe the changes you want to make and provide the source images to guide the edit.
Cross-Round Subject Consistency: Keep product silhouette, identifiers, and color systems stable while you swap backgrounds, lighting, or supporting props across successive edit rounds.
Medium and High Quality Strength: Raise quality to medium or high when OpenAI's Sunburst path for greater detail and edit consistency matches the brief.
Flexible Output Resolution: Choose among 1K, 2K, and 4K output resolutions suited to concept exploration, digital publishing, or larger visual assets.
Adjustable Quality: Select medium, low, high, xhigh, or max quality for each request to match different output requirements within your workflow.
Multiple Aspect Ratios: Create square, landscape, and portrait images across the supported ratio set for product pages, campaign layouts, and social channels.
Multi-Image Input: Provide multiple references with clear instructions about the role of each image in the final composition.
Shared API Integration: Submit image tasks and retrieve completed output through the existing Flaq AI image endpoints.
Input: Reference image URLs and a natural-language prompt describing the intended changes.
Output: Edited images in PNG, JPEG, or WebP format, returned as image URLs after the task completes.
Aspect Ratios: Flexible square, portrait, and landscape formats selected through width and height ratio values.
Capabilities: Reference-based image editing and multi-image composition with resolution and quality controls, oriented toward medium and high quality detail plus cross-round consistency.
Product Visuals: Restage the same SKU across new environments while preserving product shape, logos, and brand colors.
Marketing Assets: Localize campaign creatives and promotional layouts when brand identity must stay consistent across edit rounds.
Social Media Content: Produce multi-platform variants from the same product or character references without drifting identifiers or palette.
Coherent Action Frames: Edit sequential stills with fixed framing and incremental motion that creative teams can sequence into looping animations.
Creative Applications: Integrate reference-based editing into a task-based application with progress tracking and result retrieval.
Note Please ensure your prompts comply with OpenAI's usage policies. If an error occurs, review your prompt for restricted content, adjust it, and try again.
The base charge includes the first reference image; each additional reference image adds a charge. See current pricing.
ChatGPT Images 2.6 Sunburst Edit vs. ChatGPT Images 2.6 Flare Edit
Choose Sunburst Edit when medium or high quality detail and cross-round subject consistency lead the edit brief. Choose Flare Edit when speed and poster or product layout quality matter more.
ChatGPT Images 2.6 Sunburst Edit vs. ChatGPT Images 2.5 Sunburst Edit
ChatGPT Images 2.6 Sunburst Edit is the same-series upgrade over 2.5 Sunburst Edit: OpenAI highlights higher-quality generation and greater consistency across edits at medium or high quality in Images 2.6, while retaining flexible resolution, quality, aspect ratio, and multi-image input controls on Flaq AI.
ChatGPT Images 2.6 Sunburst Edit vs. ChatGPT Images 2.5 Edit Client
The Client variant currently offers a fixed output resolution. ChatGPT Images 2.6 Sunburst Edit exposes multiple resolution and quality settings through the same image-task API workflow, with the 2.6 detail and consistency focus.
ChatGPT Images 2.6 Sunburst Edit vs. GPT Image 2 Edit
Both support reference-based image editing with resolution and quality controls. ChatGPT Images 2.6 Sunburst Edit adds extra-high and maximum quality choices plus the Images 2.6 medium and high quality consistency focus; compare outputs for your intended use case.
Explore several AI creation tools for quick image and video workflows in your browser, then scale successful ideas with Flaq AI's production-ready model APIs. Flaq AI provides a unified API layer for all models, making it easy to use and scale your workflows.

Create AI images from text prompts

Create AI images from images and text prompts

Create AI videos from text prompts

Animate images into AI videos

Create AI images and videos in one unified workspace

Create consistent videos from reference media

Build visual AI image and video workflows on an infinite canvas
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/image/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'gpt-image-2.6-sunburst-edit',
width: 1,
height: 1,
resolution: '1k',
prompt: 'Change the jacket color to deep navy, keep lighting consistent',
quality: 'medium',
output_format: 'png',
image_url_list: ['https://example.com/source.jpg']
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/image/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.images[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/image/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'gpt-image-2.6-sunburst-edit',
'width': 1,
'height': 1,
'resolution': '1k',
'prompt': 'Change the jacket color to deep navy, keep lighting consistent',
'quality': 'medium',
'output_format': 'png',
'image_url_list': ['https://example.com/source.jpg']
}
)
task_id = response.json()['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/image/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['images'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/image/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "gpt-image-2.6-sunburst-edit",
"width": 1,
"height": 1,
"resolution": "1k",
"prompt": "Change the jacket color to deep navy, keep lighting consistent",
"quality": "medium",
"output_format": "png",
"image_url_list": ["https://example.com/source.jpg"]
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/image/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"