返回 AiToEarn
1 ---
2 name: translating-videos
3 description: Translates videos including subtitles, voice cloning, and lip sync. Use when user wants to translate video, dub video to another language, convert video language, localize video content, create multilingual video, add translated voiceover, change video audio language, or produce foreign language version. 视频翻译、配音翻译、字幕翻译、视频本地化、多语言视频、翻译视频、视频配音、语言转换。
4 ---
5
6 # Video Translation
7
8 Translates video content to another language using AI voice cloning, lip sync, and subtitle translation.
9
10 ## When to Use
11
12 Use this skill when:
13
14 - Translating video content to another language
15 - Creating dubbed versions of videos
16 - Adding translated voiceover
17 - Localizing video for different markets
18 - Converting Chinese videos to English (or vice versa)
19
20 ## Features
21
22 - **AI Voice Cloning**: Preserves original speaker's voice characteristics
23 - **Emotion Preservation**: Maintains emotional tone in translated audio
24 - **Lip Sync**: Adjusts lip movements to match translated audio
25 - **Subtitle Translation**: Automatically translates hardcoded subtitles
26
27 ## Workflow
28
29 ### Step 1: Get Source Video
30
31 Obtain the video URL that needs translation.
32
33 ### Step 2: Submit Translation Task
34
35 Call `submitAideoTask` with:
36
37 - **prompt**: Specify target language and translation requirements
38 - **multiInputs**: Array containing source video URL
39
40 ### Step 3: Poll for Results
41
42 1. First check: Wait **210 seconds** after submission
43 2. Subsequent checks: Wait **30 seconds** between polls
44 3. Call `getAideoTaskStatus` to check progress
45
46 ### Step 4: Timeout Handling
47
48 **Maximum wait time: 20 minutes**
49
50 If task exceeds 20 minutes, report as timeout failure.
51
52 ### Step 5: Return Results
53
54 On completion, return the translated video URL.
55
56 ## Examples
57
58 ### Example 1: Chinese to English
59
60 **User request**: "Translate this Chinese video to English"
61
62 ```
63 submitAideoTask:
64 prompt: "Translate this Chinese video to English, including subtitle translation and voice dubbing with emotion preservation"
65 multiInputs: ["chinese_video.mp4"]
66 ```
67
68 ### Example 2: English to Japanese
69
70 **User request**: "Create a Japanese version of this video"
71
72 ```
73 submitAideoTask:
74 prompt: "Translate this English video to Japanese with natural voice cloning and lip sync"
75 multiInputs: ["english_video.mp4"]
76 ```
77
78 ### Example 3: Multi-language Localization
79
80 **User request**: "I need this video in Spanish"
81
82 ```
83 submitAideoTask:
84 prompt: "Translate this video to Spanish with dubbed audio and translated subtitles"
85 multiInputs: ["source_video.mp4"]
86 ```
87
88 ## Supported Languages
89
90 - Chinese (Mandarin)
91 - English
92 - Japanese
93 - Korean
94 - Spanish
95 - And more...
96
97 ## Important Notes
98
99 - Processing time varies based on video length
100 - Voice cloning quality depends on source audio quality
101 - Maximum wait time is 20 minutes
102 - Works best with clear audio and minimal background noise
103
103 lines MARKDOWN