Skip to Content
API referenceVideo GenerationProvider Routing

Provider routing

The same video model may be served by multiple providers. provider is a top-level field of the request body that accepts two sub-fields: type selects which provider to use, and options passes parameters specific to that provider through.

FieldTypeDescription
provider.typestringPins the serving provider. A value outside the enum returns 400 invalid_provider_type; a provider that does not serve the model returns 400 provider_type_unavailable
provider.options.<slug>objectPasses provider-specific parameters through; only the matched provider receives them
Terminal
curl https://api.ofox.io/v1/videos \ -H "Authorization: Bearer $OFOX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "bytedance/seedance-2.0-mini", "prompt": "...", "duration": 5, "provider": { "type": "volcengine" } }'

When provider.type is not sent, a model served by multiple providers is distributed by weight across the available channels, and which provider ends up serving a given request is not predictable. The video path does not support order / sort / fallback, and there is no equivalent header form.

The available providers are those listed in the Providers section of the model’s detail page; for the full list, see Provider routing.

Providers by family

Different families are served by different providers. For the available provider.type values and how they differ (such as moderation strictness), see the corresponding model family page, for example Seedance · Pin a provider. Specifying a provider that does not serve the model returns 400 provider_type_unavailable.

provider.options: parameter passthrough

Provider-specific parameters are passed through provider.options.<slug>, and only the matched provider receives them. Parameters such as watermark are not supported by every model, so they live in the provider passthrough field rather than at the top level (consistent with OpenRouter’s passthrough design). For the passthrough parameters each family supports, see the corresponding model family page, for example Wan · Remove watermark.

{ "model": "alibaba/wan-2.7", "prompt": "...", "provider": { "options": { "dashscope": { "watermark": false } } } }

type and options can be sent together.

Last updated on