VIGGLE_API_KEY and run the example below as-is — it uses Viggle-hosted sample assets, so you don’t need to prepare your own character image or motion video first.
What you need
- An API key from the Viggle Dashboard, exported as
VIGGLE_API_KEY
The examples below reference placeholder sample asset URLs (
https://assets.viggle.ai/samples/...). Swap in your own image/image_url and motion_video/motion_video_url, or Viggle’s published sample assets once available.Complete example
Inputs
- Character:
image(file) orimage_url, or a reusablecharacter_idfrom the Character Quickstart - Motion:
motion_video(file) ormotion_video_url, or a reusablemotion_idfrom the Motion Quickstart background_mode:original(default),solid, ortransparentbg_color: anR,G,Bcolor; only use it withsolid
Response
stage may be analyzing, rendering, or finishing. A completed job has status: "ready" and includes video_url — a signed link, valid for 1 hour and re-signed on every read; download it promptly or re-fetch Get Video for a fresh one. In transparent mode it also includes alpha_url. Instead of polling, you can watch the same lifecycle over Server-Sent Events with Watch Render.
See Pricing and retention for how Video Remix is billed.
Async jobs and failures
Learn terminal states, polling, and result retention.

