TL;DR
- GPT-Image-2 supports up to 4K resolution, transparent PNG output, and image inpainting.
- Connect via CodeGateway:
base_url="https://api.codegateway.dev/v1"with your standard OpenAI SDK. Five lines to early image. - strong for: logos with embedded text, transparent product cutouts, and editing existing images.
GPT-Image-2 Specs
Spec | Value |
|---|---|
Resolutions | 1024×1024, 1536×1024, 1024×1536 (1K); 2048×2048 (2K); 4096×4096 (4K) |
Output formats | JPEG, PNG, WebP |
Transparent background |
