Canonical model endpoints
Use a model’s provider-independent URL in new integrations. Whenprovider is omitted, Sunra keeps the model’s existing automatic route:
For example:
preview remain canonical version names. Preview identifies a model version, not a provider.
Provider routing
Discover the providers that can serve a canonical model and operation:provider.only to the same canonical queue request:
provider to return to Automatic routing.
JavaScript:
GPT Image output formats
Foropenai/gpt-image-2, openai/gpt-image-2-azure, openai/gpt-image-2.5-flare, and openai/gpt-image-2.5-sunburst, output_format supports only png and jpeg, with png as the default. This applies to both image generation (text-to-image) and editing (image-editing). Use PNG for transparent backgrounds and JPEG for optional output_compression (an integer from 0 to 100).
Requests with output_format: "webp" for these four models fail format validation before image generation or billing, including requests that specify a provider. If you need WebP, convert the returned PNG or JPEG file in your client.
WebP support remains available on openai/gpt-image-1.5, openai/gpt-image-2.6-flare, and openai/gpt-image-2.6-sunburst.
Legacy compatibility
Provider-specific model URLs remain callable for existing integrations, but no longer appear in the public model catalog. Their URL, response, fixed provider mapping, task lookup, pricing, and prediction identity are unchanged. Input schemas are also unchanged except for the PNG/JPEG restriction onopenai/gpt-image-2-azure described above. A legacy URL cannot be switched to another provider. New integrations should use the canonical model in the right-hand column.
If a legacy endpoint exposes provider-specific capabilities, you may keep using that legacy URL. Compatibility does not redirect the request to the canonical model.