What are the main differences between Flare and Sunburst?
Flare focuses on generation speed, making it suitable for everyday image creation, creative alternatives, and quick revisions; 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, you can 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 specify 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, which is 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 reviewing each result, and you cannot assume all images meet the same detail requirements.
Can I directly copy the mask example for a basic Flare call?
Do not copy it directly. The mask workflow should use the gpt-image-2.5-flare:official endpoint that supports this method, and upload both the original image and the Alpha PNG mask through multipart. For basic Flare reference image editing, first use text to clearly define the modification scope; 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 follow the size limits; use auto when you only want to express composition intent. For long tasks, add callback_url, save the returned task_id first, then receive the completed result; callback handling should deduplicate by task ID to avoid duplicate storage.