Video Style Transfer
Converts live-action videos into artistic styles (comic, anime, 3D cartoon) using AI-powered style transfer.
When to Use
Use this skill when:
- Converting videos to comic/manga style
- Creating anime-style versions of videos
- Applying 3D cartoon effects to videos
- Transforming real-world footage into artistic styles
Available Styles
| Style | Description | Best For |
|---|---|---|
| 漫画风 (Comic) | Bold outlines, flat colors | Action scenes, dramatic content |
| 3D卡通风格 (3D Cartoon) | Smooth 3D rendering | Family content, cute subjects |
| 日漫风格 (Japanese Anime) | Anime aesthetics | Storytelling, character-focused |
Workflow
Step 1: Get Video Input
Obtain the video URL or VID from user. URLs will be auto-uploaded.
Step 2: Submit Style Transfer Task
Call submitVideoStyleTransfer with:
- Video source
- Target style
- Output resolution
Step 3: Poll for Results
- First check: Wait 210 seconds (3.5 minutes) after submission
- Subsequent checks: Wait 30 seconds between polls
- Call
getVideoStyleTransferStatusto check progress
Step 4: Timeout Handling
Maximum wait time: 20 minutes
If task exceeds 20 minutes:
- Report as timeout failure
- Suggest user try with shorter video or lower resolution
Step 5: Return Results
On completion, return the styled video URL and VID to user.
Examples
Example 1: Convert to Comic Style
1. submitVideoStyleTransfer:
- videoInput: "https://example.com/video.mp4"
- style: "漫画风"
- resolution: "720p"
2. Wait 210 seconds
3. Poll getVideoStyleTransferStatus until completed
4. Return styled video URL
Example 2: Create Japanese Anime Version
1. submitVideoStyleTransfer:
- videoInput: "vid://xxxxx"
- style: "日漫风格"
- resolution: "1080p"
2. Wait 210 seconds
3. Poll getVideoStyleTransferStatus until completed
4. Return styled video URL
Resolution Selection
| Resolution | Use Case | Processing Time |
|---|---|---|
| 480p | Quick testing, previews | Fastest |
| 720p | Standard quality output | Normal |
| 1080p | High quality final output | Longest |
Important Notes
- Processing time: approximately 10 minutes per 1-minute of video
- Maximum wait time is 20 minutes
- Style transfer works best with clear subjects and good lighting
- Use 480p for testing, upgrade to 720p/1080p for final output