Skip to main content
Sora 2 generates video with synchronized audio. The MixRoute route uses POST /v1/video/generations with the Sora creation fields below.
OpenAI has scheduled shutdown of the Sora 2 models and Videos API for September 24, 2026. Confirm MixRoute route access before integration; a model ID in the catalog alone does not guarantee an enabled video route or continued availability after the upstream shutdown.

Request Parameters

These fields are top-level Sora fields. Do not replace them with Seedance-style duration, resolution, or aspect_ratio, and do not wrap them in metadata. An image reference must match the requested size and use JPEG, PNG, or WebP. In JSON, the native shape is input_reference: {"image_url": "..."} or input_reference: {"file_id": "..."}, not a top-level image_url. A file ID must be accessible to the upstream account. Remixing is a separate video operation, not a remix_url field on a creation request. Do not reuse an arbitrary source URL as that field.

Text-to-Video

Set the environment variable MIXROUTE_API_KEY before calling.

Python

Workflow

  1. Submit to an enabled Sora route and retain the returned MixRoute task ID.
  2. Poll Query Video Task until success or a terminal failure.
  3. Use the returned result URL or Download Video for routes that require the separate download endpoint.
An HTTP error or an application-level error is not a created task. A platform-routing error requires route configuration; changing the prompt or adding undocumented fields does not resolve it.