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

qwen3-tts-instruct

بواسطة yanmoon321

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

موجز

Alibaba Cloud Bailian Qwen TTS with voice/mood presets.

الوصف

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

Generates text-to-speech audio using Alibaba Cloud's DashScope (Bailian) Qwen TTS API via WebSocket streaming. Supports over 30 mood presets, 35 female voices, and 10 languages including Japanese and Korean. The agent picks moods based on its own emotional reaction to the conversation, not the user's state.

The 30+ named mood presets (nervous, jealous, yandere, asmr, etc.) produce emotionally nuanced speech that generic TTS APIs can't replicate without custom prosody tuning.

متى تستخدمها

  • Voicing AI companion replies with contextually matched emotions
  • Sending opus-format voice messages to Telegram users
  • Generating multilingual audio in Japanese, Korean, or Spanish
  • Recording WAV or MP3 narration for video or podcast projects
  • Producing roleplay character voices with presets like tsundere or maid

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

الإدخال

User asks: 'Say good morning to me in Japanese with a gentle voice'

الوكيل
  1. 1

    Translate 'good morning' to Japanese internally: 'おはようございます'

  2. 2

    Select mood 'gentle' to match a warm companion response

  3. 3

    Call tts.py --voice Maia --mood gentle --language Japanese --format mp3

  4. 4

    Receive streaming audio from DashScope WebSocket

  5. 5

    Send tts_output.mp3 and original translated text to user

الإخراج

MP3 audio of 'おはようございます' in Maia's gentle voice

المتطلبات

  • DASHSCOPE_API_KEY environment variable
  • Alibaba Cloud account with DashScope (Bailian) API access enabled

التثبيت

clawhub install yanmoon321/qwen3-tts-instruct

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

الروابط