https://apis.viggle.ai/v1
Authentication
Send your key as a Bearer token on every request, including status reads and downloads:Authorization: Bearer sk-...
401 UNAUTHENTICATED. See Authentication.
Conventions
| Topic | Convention |
|---|---|
| Request bodies | Depends on the endpoint; see the table below. With FormData, don’t set Content-Type yourself: the client adds the multipart boundary |
| Field names | snake_case everywhere except scenes, which use camelCase in requests and responses (sessionId, panoramaUri, referenceBatchIds, queuePosition) |
| IDs | Typed by prefix: char_, mot_, render_, vid_, anim_, vsr_, img_, scn_. Store them exactly as returned. See IDs and where to read them back |
| Jobs | Create calls return status: "queued" right away. Poll until ready, failed or cancelled. See Task lifecycle |
| Errors | One envelope: {"error": {"code", "message", "retryable", "request_id", "details", "remediation"}}. A 200 status read can still describe a failed job. See Errors |
| Request IDs | Every response has an X-Request-Id header. Send your own to correlate logs |
| Idempotency | POST /v1/renders honours Idempotency-Key (1–255 characters, kept 24 hours per API key) on both body types; the JSON form requires it. No other endpoint uses it |
| Rate limits | No per-account rate limit. 429 RATE_LIMITED means a brief busy moment on Remake, images or scenes; retry with backoff. See Limits |
Request body per endpoint
| Endpoint | Body |
|---|---|
POST /v1/videos (Viggle H3) | multipart/form-data only |
POST /v1/videos (Viggle Remake) | multipart/form-data, application/x-www-form-urlencoded or application/json |
POST /v1/videos/super-resolution | multipart/form-data |
POST /v1/renders | multipart/form-data, or application/json with a draft_id from POST /v1/renders/prepare |
POST /v1/renders/prepare | application/json |
POST /v1/characters | multipart/form-data (recommended); application/json with image_url also works |
POST /v1/motions | multipart/form-data from a video (recommended), or application/json with video_url/motion_video_url; application/json with text for motion from text |
POST /v1/motions/import | application/json |
POST /v1/scenes/pano, /custom-pano | application/json or multipart/form-data (to upload a panorama) |
POST /v1/scenes/generate, /reconstruct | application/json |
POST /v1/images | multipart/form-data, even without reference images |
Resources
Videos
Viggle H3, Viggle Remake and FlashVSR jobs, plus the read surface for Video Remix renders.| Method | Endpoint | Description |
|---|---|---|
POST | /v1/videos | Generate a Viggle H3 video, or a Viggle Remake video when you send a driving video or character images |
POST | /v1/videos/super-resolution | Upscale a video 2x with FlashVSR |
GET | /v1/videos/{video_id} | Read a vid_, anim_, render_ or vsr_ job |
GET | /v1/videos | List your key’s renders, Viggle H3 and Viggle Remake videos (cursor-paginated; upscales not included) |
Renders (Video Remix)
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/renders | Create a render from a character and a motion |
POST | /v1/renders/prepare | Get direct-upload URLs for large inputs (free) |
GET | /v1/renders/{render_id}/events | Watch a render over Server-Sent Events |
GET | /v1/renders/{render_id}/download | Redirect to the finished video |
DELETE | /v1/renders/{render_id} | Cancel a queued or processing render and refund it |
Characters
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/characters | Create a character, with an optional JST-2 3D version (type=vsplat or all) |
GET | /v1/characters | List characters |
GET | /v1/characters/{character_id} | Read a character |
GET | /v1/characters/{character_id}/export | Get the .vsplat download URL |
DELETE | /v1/characters/{character_id} | Delete a character (204, empty body) |
Motions
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/motions | Create a motion from a video, or generate one from text, with an optional JST-2 3D version |
POST | /v1/motions/import | Import a Viggle motion template as a motion for Video Remix |
GET | /v1/motions | List motions |
GET | /v1/motions/{motion_id} | Read a motion |
GET | /v1/motions/{motion_id}/export | Get GLB or FBX download URLs |
DELETE | /v1/motions/{motion_id} | Delete a motion (204, empty body) |
Scenes
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/scenes/pano | Build a 3D scene from a prompt or a 360° panorama |
POST | /v1/scenes/custom-pano | Build a scene from a panorama at your own pose and scale |
POST | /v1/scenes/generate | Generate new views from a camera pose |
POST | /v1/scenes/reconstruct | Rebuild the .spz from the scene’s image batches |
GET | /v1/scenes/{task_id} | Read a scene task |
Images
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/images | Generate 1–6 PNGs with Viggle Image |
GET | /v1/images/{image_id} | Read an image job |
Account
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/credits | Read the balance the calling key can spend |
Next steps
Quickstart
A complete script in cURL, Node.js and Python.
Pricing
What each endpoint costs.
AI context
A primer to hand to your coding agent.