API reference
API documentation
One request makes one video: call POST /api/v1/videos with your API key, get a video id back, then poll GET /api/v1/videos/:id or pass a webhook_url and wait for a signed callback. Every endpoint speaks JSON, prices are in credits, and a failed job releases its held credits on its own.
curl https://muse-video.dev/api/v1/videos \
-H "Authorization: Bearer $MUSE_VIDEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "…",
"seconds": 5,
"aspect_ratio": "16:9"
}'Muse Video is a video model made by Meta. Muse-Video.dev is an independent API, not affiliated with or endorsed by Meta; the Muse Video name is a trademark of its owner.
Example output · Coastal lighthouse

Made with the Muse Video API
Unedited Muse Video outputs from this API.




At a glance
- Bearer API keys (sk_…), shown once
- POST /api/v1/videos makes one clip per request
- POST /api/v1/estimate prices a batch with no key
- Idempotency-Key makes retries safe
1. Authentication
Create a key on Settings → API keys (it starts with sk_) and send it as a header:
Authorization: Bearer sk_…
A key is shown once, when you create it; we keep only a hash. Revoking a key stops it at once. Keep keys out of front-end code and public repos; an environment variable such as MUSE_VIDEO_API_KEY is the usual place.
2. Create a video
POST /api/v1/videos
| Field | Type | Notes |
|---|---|---|
prompt |
string | Required, up to 1,500 characters |
model |
string | Optional; muse-video (the default and only model) |
seconds |
number | Optional; 5 or 10, default 5 |
aspect_ratio |
string | Optional; 16:9, 9:16, 1:1, 4:3, 3:4, default 16:9 |
resolution |
string | Optional; 720p today |
image_url |
string | Optional https URL of a reference image, see image to video |
subject_consent |
boolean | Must be true whenever image_url is sent |
webhook_url |
string | Optional https URL we POST to when the job ends |
Send an Idempotency-Key header to make retries safe: the same key on the same account creates one video only.
curl https://muse-video.dev/api/v1/videos \
-H "Authorization: Bearer $MUSE_VIDEO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 7f3c1a52-harbour-teaser" \
-d '{
"model": "muse-video",
"prompt": "A lighthouse at dusk, waves rolling in, slow push-in",
"seconds": 5,
"aspect_ratio": "16:9",
"webhook_url": "https://example.com/hooks/muse-video"
}'
Response 201:
{
"data": {
"id": "3f9c2b7e-5a1d-4c8e-9b0f-2d6e8a41c7d3",
"status": "pending",
"model": "muse-video",
"modelName": "Muse Video",
"mode": "text",
"prompt": "A lighthouse at dusk, waves rolling in, slow push-in",
"resolution": "720p",
"seconds": 5,
"aspect": "16:9",
"credits": 15,
"creditsHeld": 15,
"creditsCharged": 0,
"outputs": [],
"license": "commercial",
"createdAt": "2026-11-28T09:12:44.000Z"
}
}
credits is the clip’s price; creditsHeld is what is on hold while it renders; creditsCharged equals the price once the clip is delivered and stays 0 if it fails.
3. Get the result
GET /api/v1/videos/:id returns the same object. status moves from pending to processing and ends as success, failed or canceled. On success outputs[0] is the MP4 URL. Poll about every 10 seconds, or use a webhook.
curl https://muse-video.dev/api/v1/videos/3f9c2b7e-5a1d-4c8e-9b0f-2d6e8a41c7d3 \
-H "Authorization: Bearer $MUSE_VIDEO_API_KEY"
GET /api/v1/videos?limit=20&page=1 lists your videos, newest first; limit goes up to 50.
4. Estimates and prices
POST /api/v1/estimate needs no key and returns the credits for a batch:
curl https://muse-video.dev/api/v1/estimate \
-H "Content-Type: application/json" \
-d '{ "seconds": 10, "count": 20 }'
{
"data": {
"model": "muse-video",
"resolution": "720p",
"seconds": 10,
"count": 20,
"credits_per_video": 30,
"credits": 600
}
}
count is 1 to 100. GET /api/v1/models, also keyless, returns every option and price. Today’s prices:
| Resolution | Length | Credits |
|---|---|---|
| 720p | 5 s | 15 |
| 720p | 10 s | 30 |
5. Account balance
GET /api/v1/account returns the balance of the account that owns the key, as { "data": { "credits": 1234 } }. It spends nothing.
curl https://muse-video.dev/api/v1/account \
-H "Authorization: Bearer $MUSE_VIDEO_API_KEY"
6. Errors
Errors come back as { "error": { "code": "…", "message": "…" } }. Branch on code; message is for people:
| Status | code |
Meaning |
|---|---|---|
400 |
invalid_request |
Body isn’t JSON, or an option the model doesn’t offer |
401 |
unauthorized |
Missing, invalid or revoked key |
402 |
insufficient_credits |
Not enough credits for this job |
403 |
key_cap_reached |
A spending limit on the account or team is reached |
404 |
not_found |
No such video on this account |
422 |
consent_required |
image_url sent without subject_consent: true |
422 |
content_refused |
The prompt or image was refused by content screening |
429 |
rate_limited |
Too fast, or too many clips rendering at once |
503 |
model_unavailable |
Rendering is paused; try again later |
500 |
render_failed |
Our side failed; retry with the same Idempotency-Key |
7. Rate limits and concurrency
Each account can start one video per second. Clips rendering at once: 1 on a free account, 4 on a paid plan. Past that you get 429.
8. Code samples
JavaScript (Node 18+):
const API = 'https://muse-video.dev/api/v1';
const headers = {
Authorization: `Bearer ${process.env.MUSE_VIDEO_API_KEY}`,
'Content-Type': 'application/json',
};
const res = await fetch(`${API}/videos`, {
method: 'POST',
headers: { ...headers, 'Idempotency-Key': crypto.randomUUID() },
body: JSON.stringify({
prompt: 'Morning fog lifting off an alpine lake, slow drone glide',
seconds: 5,
aspect_ratio: '16:9',
}),
});
const { data, error } = await res.json();
if (!res.ok) throw new Error(`${error.code}: ${error.message}`);
let video = data;
while (video.status === 'pending' || video.status === 'processing') {
await new Promise((r) => setTimeout(r, 10_000));
video = (await (await fetch(`${API}/videos/${video.id}`, { headers })).json()).data;
}
console.log(video.status, video.outputs[0]);
Python:
import os, time, uuid, requests
API = "https://muse-video.dev/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MUSE_VIDEO_API_KEY']}"}
res = requests.post(
f"{API}/videos",
headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
json={
"prompt": "A paper boat drifting down a rain gutter, macro lens",
"seconds": 5,
"aspect_ratio": "9:16",
},
)
body = res.json()
if not res.ok:
raise SystemExit(f"{body['error']['code']}: {body['error']['message']}")
video = body["data"]
while video["status"] in ("pending", "processing"):
time.sleep(10)
video = requests.get(f"{API}/videos/{video['id']}", headers=HEADERS).json()["data"]
print(video["status"], video["outputs"])
9. From an AI assistant (MCP)
The same features are on the MCP server at https://muse-video.dev/mcp, for Claude, ChatGPT, Cursor and other clients, with OAuth sign-in or the same API key. Setup steps: MCP server.
Plans start at $19.69 a month (Prototype Key, 5488 credits), and failed jobs cost nothing. Compare plans and packs
Get started in 4 steps
- 01
Create a key
Settings → API keys. Keys start with sk_, are shown once and can be revoked any time.
- 02
POST a video
Send the prompt and options to /api/v1/videos; you get an id at once.
- 03
Wait for it
Poll GET /api/v1/videos/:id, or let the webhook tell you.
- 04
Download the MP4
outputs[0] is the file. A failed job releases its credits.
Questions
How long does a clip take?
Usually one to a few minutes, depending on the length and the current load. A webhook saves you from polling.
Do failed videos cost credits?
No. Credits are held at the start and charged only when the clip is delivered; failed, canceled and refused jobs release the hold.
I lost my API key. Can you show it again?
No. A key is shown once and we keep only its hash. Revoke the old key and create a new one.
Are there rate limits?
One create call per second per account, and 1 clip rendering at a time on a free account or 4 on a paid plan. Past that you get a 429.
Last updated:
Build on Muse Video
with one key.
Keys, signed webhooks and per-second billing. Failed jobs cost nothing.