---
title: "Video Generation"
method: POST
path: "/v1/videos"
tags: ["videos"]
---

# Video Generation

`POST /v1/videos`

Video generation endpoint for creating videos from text prompts.

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

Example:
```bash
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"
    }'
```

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
