Skip to content

feat: add text-to-motion API support - #2

Merged
yujiaxu-ops merged 2 commits into
mainfrom
feat/text-to-motion
Aug 25, 2026
Merged

feat: add text-to-motion API support#2
yujiaxu-ops merged 2 commits into
mainfrom
feat/text-to-motion

Conversation

@yujiaxu-ops

Copy link
Copy Markdown
Collaborator

Summary

  • add a v1 text-to-motion client endpoint and create/get/list/wait/delete CLI resource
  • expose --prompt, --mode prime|swift (Prime by default), and 2–10s --duration validation in 0.5s increments
  • preserve result.motion_url responses and use motion_format when naming downloaded FBX/BVH clips
  • document the command, credit costs, and standalone-clip semantics in the README and bundled skill

Examples

meshy text-to-motion create --prompt "a character waving" --duration 3
meshy text-to-motion create --prompt "a quick dodge left" --duration 2.5 --mode swift -o motion.bvh

Tests

  • pnpm typecheck
  • pnpm test (363 passed)
  • pnpm build
  • verified meshy text-to-motion create --help and preflight rejection of invalid --duration 2.3

@yujiaxu-ops
yujiaxu-ops merged commit 401846c into main Aug 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant