API reference

API reference · API

The video file

GET/v1/videos/{id}/contentAPI key

Streamed from the provider's URL until expires_at; the gateway keeps no copy. 409 before it completes, 410 output_expired after.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe job's id.
variant (query)stringOnly the job's own file (video, audio or model); anything else is unsupported_parameter.

Answer 200

The file.

The answer's fields are not named in the document.

Errors

  • 400OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.
  • 410OpenAI shaped error.
  • 502OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter