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

# Generate Video

`POST /videos/generation`

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.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
