Generate an image
gpt-image-*) or a hosted URL, depending on the model and the response_format you pass.
Edit an image
/v1/images/variations is not implemented by the upstream providers Triw relays; expect a not-implemented response.
Available image models
Ask the gateway, not the docs — availability is per group:gpt-image-1, dall-e-3, dall-e-2, and flux-* families when those channels are connected.
Parameters that matter
Practical notes
- Image calls are slow (10–60s). Set client timeouts above 120s; do not retry on timeout without de-duplicating, or you may pay twice.
- Prompts are forwarded verbatim. Provider-side moderation applies — a rejected prompt returns
invalid_request_errorwith the provider’s reason. - Billing is per image (plus tokens for
gpt-image-*revisions), so check the price for the specific model before generating batches.

