Skip to main content
Describe a motion in text, submit it as JSON, and poll the returned Motion until the generated glb is ready. No source video is required — this is a separate, flat-priced path from the Motion 3D glb extraction, which is billed by source-video duration instead. Set VIGGLE_API_KEY and run the example below as-is — it needs no other input.

What you need

  • An API key from the Viggle Dashboard, exported as VIGGLE_API_KEY
  • A motion prompt between 1 and 400 characters

Create, poll, and export the Motion

The create request returns immediately with a Motion whose status is normally queued. Poll GET /v1/motions/{motion_id} every five seconds until it becomes ready or failed — there is no cancelled state for a Motion. When ready, call GET /v1/motions/{motion_id}/export?download_type=mixamo for the Mixamo skeleton, or use download_type=metahuman. Both variants are generated together; there is no fbx output. glb_url is a signed link, valid for 1 hour and re-signed on every call. The exported GLB works with Mixamo, MetaHuman, and other Unity-compatible animation workflows. See Pricing and retention — Text-to-Motion is a flat $0.10 (10 credits) per request, independent of duration_seconds.

Create Motion (from Text)

See every JSON request and Motion response field.