Muse Video API guide
Generate short videos with sound from text and reference images, billed per successful generation.
muse-video-ext generates one MP4 video of about 10 seconds with sound per request. Use an Official Group key. The price is US$0.03 per successful generation, and reference images carry no extra charge.
Open the playground, or create an Official Group key on the API keys page.
Submit a generation
export APIPOOL_API_KEY="YOUR_OFFICIAL_GROUP_KEY"
curl https://app.apipool.dev/v1/videos/generations \
-H "Authorization: Bearer $APIPOOL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"muse-video-ext","prompt":"Waves gently lap the beach as the camera slowly moves forward, with the sound of the surf","size":"16:9","duration":10,"resolution":"720p","audio":true}'After a 202 response, save the APIPool task id and query it with the same key:
curl "https://app.apipool.dev/v1/tasks/RETURNED_TASK_ID" \
-H "Authorization: Bearer $APIPOOL_API_KEY"submitted, processing and meter_pending mean the task is not finished; query again every few seconds. On completed, get the video from data[].url and download it promptly; on failed, read the error message. You do not need to keep the submission connection open during generation.
Reference image generation
Add image_urls to the JSON:
{
"model": "muse-video-ext",
"prompt": "Keep the subject of the image and let steam rise slowly from the cup as the camera pushes in slightly",
"image_urls": ["https://example.com/cup.webp"],
"size": "auto"
}Public HTTP(S) URLs, PNG/JPEG/WebP Data URLs and base64 are accepted. Up to 9 images, with no more than 11 MiB of raw bytes in total; URLs must not depend on a browser sign-in session. In the playground, enter the reference image field as a JSON array, such as ["https://example.com/cup.webp"].
Reference images guide composition and subject; they do not guarantee pixel-level preservation and do not provide first or last frame control.
Parameters and limits
| Parameter | Description |
|---|---|
model | Always muse-video-ext |
prompt | Required non-empty string |
size | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 or auto |
aspect_ratio | Accepts the seven fixed ratios, not auto; when size is also sent, both must be valid and aspect_ratio is used |
duration | Optional; only 10 is supported, for a video of about 10 seconds |
resolution | Optional; only the 720p tier is supported, and output pixels vary with the ratio |
audio | Optional; only true is supported, so sound is always included |
n | Optional; only the number 1 is supported |
image_urls | Optional, up to 9 reference images |
When the ratio is omitted, text-to-video defaults to 1:1, and reference image generation follows the composition of the reference images. Video input, video extension, first and last frame control, silent output, separate audio input, 4K, changing the duration and streaming generation are not yet available. Do not send parameters for these capabilities.
Billing and troubleshooting
Billing is per successful generation, not US$0.03 per second. Confirmed failures are not charged a generation fee, and repeated queries of the same task are not charged again.
400: check the fixed duration, resolution, audio setting, number of reference images and total bytes, and remove unavailable parameters.401: check that the key is valid.404: confirm that you are using an Official Group key and the correct model ID; task queries must use the original key.429: reduce concurrency and retry after waiting.- Submission timeout or unclear status: check call records and existing tasks first to avoid duplicate generations.