Skip to content

vendor_connectors.meshy.animate

Animation API - apply animations to rigged models.

Usage: from vendor_connectors.meshy import animate from vendor_connectors.meshy.animations import ANIMATIONS

result = animate.apply(rigged_task_id, animation_id=0)
# Browse animations
for anim in ANIMATIONS.values():
print(f"{anim.id}: {anim.name}")
createCreate animation task. Returns task_id.
getGet task status.
pollPoll until complete or failed.
applyApply animation to a rigged model.

Create animation task. Returns task_id.

Get task status.

Poll until complete or failed.

Apply animation to a rigged model.

Args: rigged_task_id: Task ID of rigged model animation_id: Animation ID (0-677, see animations.ANIMATIONS) loop: Whether animation loops frame_rate: Animation frame rate wait: Wait for completion (default True)

Returns: AnimationResult if wait=True, task_id if wait=False