🧪 Skills
Byt Workflow
--- name: byt-workflow description: YouTube video translation workflow, download audio, launch Doubao, play audio, capture translation tools: - youtube_translate --- # Byt Workflow ## Usage `
v1.0.4
Description
name: byt-workflow description: YouTube video translation workflow, download audio, launch Doubao, play audio, capture translation tools:
- youtube_translate
Byt Workflow
Usage
python workflow.py <youtube_url> [mode]
Parameters
url(required): YouTube video URLmode(optional): Translation mode (dual, single, chinese, bilingual), default: "dual"
Workflow Steps
- Download YouTube audio - Uses youtube-audio-download skill
- Launch Doubao - Uses doubao-launch skill
- Play audio - Uses audio-play skill
- Capture translation - Uses doubao-capture skill
Returns
{
"success": true,
"audio_path": "H:/works/audio/video_title-xxxxx.mp3",
"translation_path": "H:/works/translations/doubao_20240307_143022.txt",
"duration": 1200
}
Tools
youtube_translate
Complete YouTube video translation workflow
Workflow Integration
This skill is part of the YouTube translation workflow:
- youtube-audio-download: Download audio from YouTube
- doubao-launch: Launch Doubao translation window
- audio-play: Play the downloaded audio
- doubao-capture: Capture translated subtitles
Execution
All skills execute on Windows Python via WSL cross-platform call:
wsl -> python.exe scripts/workflow.py ...
Error Handling
All skills return JSON with success field:
success: true- Operation completedsuccess: false- Checkerror_codeanderror_message
Notes
- Windows GUI automation requires visible desktop (no RDP disconnect)
- Output files are stored in Windows
works/directory - WSL accesses Windows files via
/mnt/h/...
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!