简介
Call the GPT Image 2 and GPT Image 2.5 (Flare, Sunburst) Images API correctly - /v1/images/generations and /v1/images/edits, pixel sizes and billing tiers, n, quality, url vs b64_json, JSON vs multipart references (up to 16), masks, timeouts, cost and error handling, with the OpenAI SDKs pointed at a compatible base URL. Use when writing, reviewing or debugging code that generates or edits images with gpt-image-2, gpt-image-2.5-flare or gpt-image-2.5-sunburst.