Hyper3DHyper3D Docs
API Specification

Rigging

Rig a Rodin asset or an uploaded model with a skeleton template, a custom hierarchy, and optional animations.

POST
/api/v2/rigging

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

multipart/form-data
  1. body
bone_template?string
Default"auto"
Value in"human""quadruped""bird""dragon""kaiju""custom""auto"
asset_id?string
Formatuuid
model?file
Formatbinary
image?file
Formatbinary
skinning_method?string
Default"shell"
Value in"shell""core"
hierarchy?array<>
Items1 <= items <= 256
skeleton_description?string
Match\S
animation_preset?array<>
Itemsitems <= 10
animation_files?array<>
Itemsitems <= 10
in_place?boolean
Defaultfalse
export_skeleton_type?string
Default"rodin"
Value in"rodin""ue5""unity""actorcore"
material?string
Value in"PBR""Shaded""All""None"
geometry_file_format?string

Optional. File format for the rigged model. Select one format.

Default"glb"
Value in"glb""fbx""usdz"

Response Body

application/json
  1. response
error?string
Value in"NO_SUCH_TASK""ASSET_NOT_AVAILABLE""IMAGE_LABEL_LENGTH_TOO_LONG""INVALID_REQUEST""API_NO_ACTIVE_SUBSCRIPTION""API_SUBSCRIPTION_PLAN_TOO_LOW""API_PARALLELISM_LIMIT_REACHED""API_INSUFFICIENT_FUNDS""API_OBJECT_NOT_FOUND_ON_IMAGE""IMAGE_CONTENT_VIOLATION""PERMISSION_DENIED""API_UNKNOWN"
message?string

Success message or detailed error information.

uuid?string
Formatuuid
submit_time?string

Server time when the task was submitted.

Formatdate-time
jobs?
consumed?number
Example Request
curl -X POST 'https://api.hyper3d.com/api/v2/rigging'
Example Response
{  "error": "NO_SUCH_TASK",  "message": "Submitted.",  "uuid": "123e4567-e89b-12d3-a456-426614174000",  "submit_time": "2019-08-24T14:15:22Z",  "jobs": {    "uuids": [      "52faea01-729e-4195-85e8-6050a65315e3"    ],    "subscription_key": "string"  },  "consumed": 0}

Rigging requires Basic or Full API access and accepts exactly one of two input modes: a Rodin asset_id or an uploaded model. Sending both, or neither, is rejected. Choose glb (default), fbx, or usdz with geometry_file_format.

FBX export skeleton

Use export_skeleton_type to choose the skeleton written to an FBX export independently of the generation template selected by bone_template. Values are case-insensitive.

ValueExported skeleton
rodin (default)Preserve the original skeleton.
ue5Manny/Quinn naming, 89 bones, Z-up, centimeters.
unityUnity Humanoid, 59 bones.
actorcoreActorCore/CC, 101 bones, Y-up, centimeters.

For ue5, unity, and actorcore, use a Rodin asset_id with geometry_file_format=fbx. Uploaded models are not supported, and the rig generated for this request must be a standard humanoid rig. These exports always align to the ground and support requests with or without animations. An incompatible rig causes the task to be cancelled.

Animation catalog

Use GET /api/v2/rigging_animations to discover the available stock animations before submitting a rigging request. The endpoint requires the same bearer API key as the generation endpoint and returns a flat array of animations in source catalog order.

curl "https://api.hyper3d.com/api/v2/rigging_animations?category=human" \
  -H "Authorization: Bearer $RODIN_API_KEY"

Omit category to return all categories. Category values are lowercase and case-sensitive. The accepted values are human, canine, bird, fish, heavyhooved, leanhooved, lizard, rodentia, and seaturtle.

Each result contains animation_id, category, display_name, content_description, frames, duration_seconds, and loop. For example:

[
  {
    "animation_id": "human_000017",
    "category": "human",
    "display_name": "flare",
    "content_description": "Breakdance flare spin",
    "frames": 31,
    "duration_seconds": 1.0,
    "loop": {
      "kind": "in_place",
      "alignment": "duplicate",
      "period_frames": 30,
      "displacement": [0.0, 0.0, 0.0]
    }
  },
  {
    "animation_id": "canine_000002",
    "category": "canine",
    "display_name": "run",
    "content_description": "Galloping at full speed",
    "frames": 24,
    "duration_seconds": 0.7666666666666667,
    "loop": {
      "kind": "in_place",
      "alignment": "duplicate",
      "period_frames": 23,
      "displacement": [0.0, 0.0, 0.0]
    }
  }
]

frames counts samples at 30 FPS, including both endpoints. duration_seconds is the sample duration; the loop period is reported separately in loop.period_frames, which can be null. loop.kind is none, in_place, or travel; loop.alignment is none, duplicate, or next. loop.displacement is the world-space displacement per loop in meters, in [x, y, z] order.

Use GET /api/v2/rigging_animations to list available animations, then pass the selected animation's animation_id in animation_preset.

Generate with a preset skeleton

Set bone_template to a preset — human, quadruped, bird, dragon, or kaiju — and do not provide hierarchy or skeleton_description. Template names are case-sensitive.

Omit bone_template or set it to auto to select the closest of these five presets from an image. An uploaded image takes priority over the source asset input image. For either input mode, if no uploaded or source image is available, a single clay preview is rendered from the model for template selection. This preview does not replace the reference image required for texture generation.

Rodin asset input

Use the top-level uuid of a Rodin task owned by the API key user as asset_id. The model must be confirmed and the task must be in ModelRefine, TextureGenerate, or TextureRefine. Imported models and assets created by Generate Texture are not supported. The source asset is not modified.

If textures are confirmed, material defaults to PBR and reuses them. Otherwise, it defaults to None, producing a rig without materials. To generate textures before rigging an asset without confirmed textures, set material to PBR, Shaded, or All and provide an image if the source asset has no reference image. An uploaded image takes priority over the source image. Setting material=None exports without materials.

  • Required: asset_id.
  • Mutually exclusive: model must be omitted.
  • Optional: image overrides the source reference image for automatic template selection, skeleton_description, and any requested texture generation.
curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'asset_id=123e4567-e89b-12d3-a456-426614174000' \
  --form 'bone_template=human' \
  --form 'animation_preset=human_000069' \
  --form 'in_place=true' \
  --form 'geometry_file_format=fbx'

Custom model input

Upload one self-contained model with embedded resources. The geometry, materials, and textures are preserved without a remesh step or texture generation. The entire file is treated as one character.

The uuid returned by a Rigging task created with an uploaded model cannot be used as asset_id for any subsequent task, including another Rigging task.

  • Required: model.
  • Mutually exclusive: asset_id must be omitted.
  • Supported model formats: obj, glb, stl, fbx, usd, usda, usdz, and usdc.
curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.glb' \
  --form 'bone_template=human' \
  --form 'animation_preset=human_000069' \
  --form 'geometry_file_format=glb'

Showcase

A full preset-template rigging flow, from a single uploaded model to an animated rigged output.

API request — send a humanoid mesh to the preset human bone template and receive a rigged asset with an animation.

curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.fbx' \
  --form 'bone_template=human' \
  --form 'skinning_method=core' \
  --form 'animation_preset=human_000017' \
  --form 'geometry_file_format=fbx'

Animated output — the rigged mesh driving an animation. Play / pause / reset below the viewer, or download the FBX to inspect the skeleton and animation in your DCC.

API request — send a quadruped mesh to the preset quadruped bone template and receive a rigged asset with an animation.

curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.fbx' \
  --form 'bone_template=quadruped' \
  --form 'skinning_method=shell' \
  --form 'animation_preset=canine_000002' \
  --form 'geometry_file_format=fbx'

Animated output — the rigged mesh driving an animation. Play / pause / reset below the viewer, or download the FBX to inspect the skeleton and animation in your DCC.

Generate with a custom skeleton

Set bone_template=custom and provide exactly one of hierarchy or skeleton_description. Either input mode (asset_id or model) works; the examples below upload a model.

hierarchy

hierarchy describes the skeleton as a flat list of 1–256 nodes, encoded as a JSON array string. Each node has a non-blank, unique name and a parent: the zero-based index of its parent, or -1 for a root. A node cannot parent itself, and parent links must not form a cycle.

transform and length are optional. length is measured along the node’s local +Y axis in input model coordinate units and must be positive and finite; omit it for automatic calculation. Zero and null are invalid.

Send it as a JSON array string in the request:

curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.glb' \
  --form 'image=@./reference.png' \
  --form 'bone_template=custom' \
  --form 'hierarchy=[{"name":"root","parent":-1},{"name":"spine","parent":0},{"name":"head","parent":1}]' \
  --form 'geometry_file_format=glb'

skeleton_description

skeleton_description is a non-blank, natural-language description of the body structure and limbs. An image — uploaded as image or reused from the source asset — is sent alongside the description when available; without one, processing remains text-only.

curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.glb' \
  --form 'image=@./reference.png' \
  --form 'bone_template=custom' \
  --form 'skeleton_description=A quadruped with four legs, a long neck, and a tail.' \
  --form 'geometry_file_format=glb'

Showcase

A full custom rigging flow, from a single uploaded model, custom skeleton hierarchy and animation file to an animated rigged output.

API request — send a custom mesh, custom skeleton hierarchy and animation file to the custom bone template and receive a rigged asset with an animation.

curl --fail-with-body --request POST 'https://api.hyper3d.com/api/v2/rigging' \
  --header "Authorization: Bearer ${RODIN_API_KEY}" \
  --form 'model=@./model.fbx' \
  --form 'bone_template=custom' \
  --form 'skinning_method=shell' \
  --form 'animation_files=@./animation.fbx' \
  --form 'geometry_file_format=fbx' \
  --form 'hierarchy=<./hierarchy.json' 

Animated output — the rigged mesh driving an animation. Play / pause / reset below the viewer, or download the FBX to inspect the skeleton and animation in your DCC.

Animations

Animations are optional. Choose either animation_preset (up to 10 distinct stock animation IDs) or animation_files (up to 10 uploaded FBX clips, up to 25 MiB each, exactly one clip per file). These fields are mutually exclusive. Omit both fields to export without animations.

Stock animation IDs are lowercase and case-sensitive. Use permanent IDs from the animation catalog, such as human_000093 or canine_000001, and select animations compatible with the target skeleton. Pass one ID, repeat the field for multiple IDs, or provide a JSON array string.

Set in_place=true to export looping preset animations in place. The default is false; non-looping animations are unchanged. Whether an animation loops is determined during retargeting. For example, send animation_preset=human_000069 with in_place=true for a looping animation in place.

Custom animation_files must already match the target rig and are used as provided, without automatic retargeting. Do not enable in_place with custom animation files.

Pricing

Each Rigging submission costs 0.5 credits, including repeated submissions for the same asset. The returned consumed amount is reserved at submission, charged when packaging succeeds, and released if the task fails or is cancelled.

Response and errors

{
  "message": "Submitted.",
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "jobs": {
    "uuids": ["223e4567-e89b-12d3-a456-426614174000"],
    "subscription_key": "subscription-key-from-generation-response"
  },
  "consumed": 0.5
}

HTTP 201 can contain either a successful submission or an application error. Treat the request as accepted only when error is absent or empty and the top-level uuid is non-empty. Business validation failures, such as conflicting input modes, unsupported model formats, unavailable assets, or insufficient credits, can return HTTP 201 with error and message. HTTP 400 covers request parsing and field validation errors; 401 indicates invalid authentication; 429 indicates throttling.

Poll Check Status with jobs.subscription_key until every job, including packaging, is Done. Then call Download with the new top-level uuid as task_uuid. Do not use the source asset_id or an individual job UUID to download the new result.