File size: 1,301 Bytes
82276ad
b3c5ec9
 
82276ad
 
 
b3c5ec9
82276ad
 
b3c5ec9
 
 
 
 
 
 
82276ad
 
b3c5ec9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Text2Motion Prompter
emoji: 🎬
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
short_description: Transform action descriptions into structured motion prompts
license: mit
tags:
  - motion-generation
  - text-to-motion
  - animation
  - 3d-motion
---

# 🎬 Text2Motion Prompter

Transform action descriptions into structured motion prompts for 3D animation systems.

## Features

- **Duration Estimation**: Analyzes action complexity to estimate execution time in frames (30fps)
- **Caption Refinement**: Generates refined, grammatically correct English descriptions
- **Multi-language Support**: Accepts inputs in multiple languages (English, Chinese, etc.)
- **ZeroGPU Powered**: Utilizes Hugging Face's ZeroGPU for efficient inference

## Usage

1. Enter an action description in the input field (e.g., "walking forward", "跳跃")
2. Adjust the max tokens if needed
3. Click "Generate Motion Prompt"
4. Get a structured JSON response with duration and refined caption

## Output Format

```json
{
    "duration": 90,
    "short_caption": "A person walks forward at a steady pace."
}
```

## Model

This Space uses the [Text2MotionPrompter](https://huggingface.co/Text2MotionPrompter/Text2MotionPrompter) model.

## License

MIT License