---
title: "Export a video to MP4"
method: POST
path: "/exports"
tags: ["Exports"]
---

# Export a video to MP4

`POST /exports`

Starts rendering a completed video into a downloadable MP4 file. The rendering runs in the background and typically takes 30 seconds to 5 minutes depending on video length.

**Cost:** Free. All credits were already consumed during video generation.

**Requires:** A prior paid subscription.

**After exporting:**
1. Poll `GET /videos/{id}` and check the `exportStatus` field until it is `completed`.
2. Then call `GET /exports/download?videoId={id}` to get the download URL.

## Request body

- object
  - `videoId` string, uuid, required — The ID of the video to export. The video must have `status: completed`.
  - `resolution` '1080p' | '4k' — Export resolution. - `1080p` (default): Full HD (1920x1080 or 1080x1920 for vertical). Fast rendering. - `4k`: Ultra HD (3840x2160 or 2160x3840 for vertical). Slower rendering, larger file.

## Response `200`

Export started

- object
  - `exportId` string, uuid, required — Unique export identifier. Use this to track export status.
  - `videoId` string, uuid, required — The video being exported.
  - `status` 'pending' | 'processing' | 'completed' | 'failed', required — Export rendering status. - `pending`: Export is queued. - `processing`: Rendering in progress. - `completed`: MP4 ready for download. - `failed`: Rendering failed.
  - `resolution` string, required — The resolution requested for this export.
  - `createdAt` string, date-time, required — When the export was started (ISO 8601).

## Other responses

- `401` — 401
- `402` — 402
- `403` — 403

---

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