---
title: "Create Video Generation Task"
method: POST
path: "/v1/videos"
---

# Create Video Generation Task

`POST /v1/videos`

Create a video generation task using the Sora 2 model. Supports text-to-video and image-to-video (via input_reference). The workflow is: create task -> query status -> download video.

## Response `200`

Task created

- object
  - `id` string — Video task ID
  - `object` string
  - `model` string
  - `status` string
  - `progress` integer
  - `created_at` integer
  - `seconds` string
  - `size` string

## Other responses

- `401` — Unauthorized
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/anyfast/apis/anthropic-claude-compatible-endpoint.md) · [All operations](https://skmtc.net/anyfast/apis/anthropic-claude-compatible-endpoint/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anyfast/anthropic-claude-compatible-endpoint/revisions/edfc53e182a1/schema)
