# Video Generation

Submit an asynchronous video generation task.

`POST /api/v1/videos`

## Overview

The model selects an enabled video model. Provider-specific paths and credentials are configured on the channel, not exposed to API clients.

## Parameters

- `model` (string) — required: An enabled video model ID.
- `prompt` (string) — required: Text description of the video.

## Example

```bash
curl -X POST https://capi.minapp.xin/api/v1/videos \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_VIDEO_MODEL","prompt":"A paper kite above a coastal town at sunrise"}'
```

## Response

```json
{
  "id": "video_42_demo-video-001",
  "object": "video.task",
  "status": "submitting"
}
```
