تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

lh-edge-tts

بواسطة liuhedev

Git & GitHub
206التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Text-to-speech conversion using Python edge-tts for generating audio from text.

الوصف

ما الذي تفعله هذه المهارة

Converts text to speech using Microsoft Edge's neural TTS service via Python edge-tts. Supports multiple languages and voices, with controls for speed, pitch, volume, and subtitle file generation in SRT or VTT format.

Uses Microsoft Edge's neural voices at no cost, with no API key required, while still supporting a wide range of languages and fine-grained audio controls.

متى تستخدمها

  • Listen to a long article while commuting
  • Generate narration for a tutorial in a specific accent
  • Convert cooking instructions to audio hands-free
  • Create accessible audio versions of written content
  • Produce subtitled audio files for video projects

مثال على سير العمل

الإدخال

User asks: tts 'Welcome to the tutorial' with a British male voice at slightly faster speed

الوكيل
  1. 1

    Detect 'tts' trigger in user message

  2. 2

    Strip TTS-related keywords from the target text

  3. 3

    Call tts_converter.py with --voice en-GB-RyanNeural and --rate +10%

  4. 4

    Receive the generated MP3 file path

  5. 5

    Return the MEDIA: path to Clawdbot for delivery

الإخراج

Audio file played in the current channel using en-GB-RyanNeural voice at +10% speed

التثبيت

clawhub install liuhedev/lh-edge-tts

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط