videos

Video Generation

Changed on

Video generation endpoint for creating videos from text prompts.

Follows the OpenAI Videos API spec: https://platform.openai.com/docs/api-reference/videos

Example:

curl -X POST "http://localhost:4000/v1/videos"         -H "Authorization: Bearer sk-1234"         -H "Content-Type: application/json"         -d '{
        "model": "sora-2",
        "prompt": "A beautiful sunset over the ocean"
    }'
post/v1/videos

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/v1/videos
  • Auth
    API key in header x-litellm-api-key

Request body multipart/form-data

input_referencestring binary nullable

Response

Successful Response

unknown required

Changes

    • breaking

      the / request property contentMediaType changed from to application/octet-stream

    • info

      the / request property format was generalized from binary to no format

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status