---
title: "Make a video and check its status | FoxCue"
url: "https://docs.foxcue.com/api-reference/make-and-track-a-video"
date: "2026-11-24T14:25:14+00:00"
modified: "2026-11-24T14:22:48+00:00"
word_count: 156
reading_time: "1 min read"
description: "Start video production from a saved script, poll progress, and download the finished output."
keywords: "Make, video, check, status"
language: "en"
---

Create or find a saved script in the workspace. You need `generation:write` to create a video and `outputs:read` to inspect its status.

1. If the video uses an avatar, call `GET /avatars` with `media:read` to find an available avatar and its Look IDs.
2. Send `POST /videos` with the script ID and a stable `Idempotency-Key`. Include the avatar and Look selection when applicable.
3. Save the returned video ID. Poll `GET /videos/{id}` for its state and stage. If it reports `needs_input`, read the question and open the associated run in the app for the requested input. For stopped or failed work, inspect the error before deciding whether to retry.
4. When the state is `completed`, check `output.download_url` and send the workspace key in the authorization header when fetching the file. Read `usage` for finished and avatar time.

```sh
curl https://app.foxcue.com/api/v1/videos \
  -H "Authorization: Bearer $FOXCUE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: saved-script-video-001' \
  -d '{"script_id":"YOUR_SCRIPT_ID"}'
```

Use `POST /videos/{id}/cancel` to cancel a video. To change a completed film, send a [Director command](https://docs.foxcue.com/api-reference/director-video-commands/) using the output's composition ID.

- [Video operations](https://docs.foxcue.com/api-reference/operations-media/)
- [Receive video events](https://docs.foxcue.com/api-reference/video-webhooks-and-mcp-events/)
- [AI avatar minutes](https://docs.foxcue.com/settings/workspace-usage-and-credits/)


---
_View the original page at: [https://docs.foxcue.com/api-reference/make-and-track-a-video](https://docs.foxcue.com/api-reference/make-and-track-a-video)_
_Served as markdown by [FoxCue Docs](https://docs.foxcue.com)_
_Generated: 2026-11-24T14:22:48 UTC_