---
title: "Generate Video"
method: POST
path: "/videos/generation"
tags: ["videos"]
---

# Generate Video

`POST /videos/generation`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/videos/generation`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Submit a video generation request to mega-nova-api.

Returns a task object with status 'pending'. Poll GET /generation/{task_id}
for progress.

## Request body

- GenerateVideoRequest
  - `prompt` string, required
  - `model` string, nullable
  - `size` string, nullable
  - `n_seconds` integer, nullable
  - `include_audio` boolean, nullable
  - `seed` integer, nullable
  - `image_url` string, nullable
  - `space_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
