What is the main difference between Flare and Sunburst?
Flare focuses on generation speed and is suitable for everyday image creation, creative alternatives, and quick edits; Sunburst focuses on high fidelity and fine-grained control. If the task emphasizes product details, reference image consistency, or complex editing, compare Sunburst first; if the main goal is to explore visual directions, start with Flare.
How should I submit existing product photos?
Use /openai/images/edits, explicitly set model to gpt-image-2.5-flare, and submit a single image URL or an array of URLs through image. In the prompt, clearly describe what to preserve and what to change, for example, keep the product angle and outline while changing only the background and lighting.
Can I generate multiple images at once and return image data directly?
The range for n is 1–10, making it suitable for generating alternatives around the same brief. If response_format=b64_json is selected, only 1 image is supported; use the url return method when multiple images are needed. Batch generation still requires checking each result; do not assume all images meet the same detail requirements.
Can a basic Flare call directly reuse the mask example?
Do not reuse it directly. The mask workflow should use the gpt-image-2.5-flare:official endpoint that supports this method, and upload the original image and Alpha PNG mask together via multipart. For basic Flare reference image editing, first use text to clearly specify the edit area; do not mix the two calling methods.
How do I set an exact canvas size and receive long-task results?
When exact pixels are required, write size as WIDTHxHEIGHT and comply with the dimension limits; when you only want to express composition intent, use auto. Long tasks can include callback_url: first save the returned task_id, then receive the completed result; callback handling should deduplicate by task ID to avoid duplicate database entries.