Skip to main content
Set VIGGLE_API_KEY before using these examples. Replace all sample IDs with the complete IDs returned by your account.

Credits — GET /v1/credits

Create Character — POST /v1/characters

List, get, and delete Characters

For list, use GET /v1/characters; for deletion, change the request method to DELETE. See Characters for every request and response field.

Create Motion — POST /v1/motions

Import Motion — POST /v1/motions/import

List, get, and delete Motions

Create, query, cancel, and download a Render

For query, cancellation, and download, use the same authenticated request with GET, DELETE, or GET respectively. See Renders for parameter combinations and response fields.

Create and query 3D Conversion

See 3D Conversion for the required upload fields and full response schema.

Endpoint-by-endpoint request examples

The following compact examples show the exact HTTP method, path, and request shape for every endpoint. In the Go snippets, client is an http.Client; in JavaScript, apiKey is your API key; in Python, headers is {"Authorization": "Bearer ..."}.

GET /v1/characters

GET /v1/characters/{character_id}

DELETE /v1/characters/{character_id}

GET /v1/motions

GET /v1/motions/{motion_id}

DELETE /v1/motions/{motion_id}

GET /v1/renders/{render_id}

DELETE /v1/renders/{render_id}

GET /v1/renders/{render_id}/download

GET /v1/avatars/{avatar_id} and GET /v1/animations/{animation_id}