GPT Image 2 A single Python entrypoint that covers every GPT Image 2 route, with strict pre-flight validation of the model's size, aspect, and feature constraints. Workflow 1. Open references/config.md to pick environment variables and defaults. 2. Open references/api-surface.md to choose between , , and . 3. Prefer unless the user asks for a different OpenAI-compatible endpoint. 4. Use for and ; use a text-capable Responses model such as for . 5. Run with one of the three subcommands. 6. Add first when the payload shape is the main risk. 7. Add when the raw JSON body or SSE event stream need…