type=render path of POST /v1/motions — see the Motion 3D Quickstart for the glb extraction instead, or the Text-to-Motion Quickstart to generate a Motion from a text prompt with no source video at all.
Set VIGGLE_API_KEY and run the example below as-is — it uses a Viggle-hosted sample video, so you don’t need to prepare your own motion video first.
What you need
- An API key from the Viggle Dashboard, exported as
VIGGLE_API_KEY
The examples below reference a placeholder sample asset URL (
https://assets.viggle.ai/samples/motion.mp4). Swap in your own motion_video/motion_video_url, or Viggle’s published sample asset once available.Complete example
Response
GET /v1/motions/{motion_id} every 3 seconds until status is ready or failed. Once ready, id is a reusable Motion ID — pass it as motion_id to Render Video (or the Video Remix Quickstart) any number of times, without re-uploading the source video.
See Pricing and retention for how Motion creation is billed — a type=render Motion has no separate preprocessing charge.
Create Motion (from Video)
See every request and response field, including the
glb/all extraction options.
