API docsIntegration guides
Provider routing
Without provider we validate the input against every provider's supported values, price it, and submit to the cheapest one. If submission fails we refund and try the next provider (up to 3). With provider the request goes only there.
Usage notes
- Automatic circuit breaker: a provider that fails 5 submissions in a row for a model is moved to the back of the line for 5 minutes, so requests go to healthy providers first. It still serves as the last fallback, and one success restores it.
- Select a provider to see its effective parameter limits. Automatic routing chooses a provider that supports your input. Examples include defaults and required inputs; replace example media URLs with accessible files.
Use with AI
Give your coding assistant the documentation index or the full API reference, including live model parameters.