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

siliconflow-tts-gen

بواسطة lilei0311

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

موجز

Text-to-Speech using SiliconFlow API (CosyVoice2)

الوصف

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

Converts text to speech using SiliconFlow's CosyVoice2 model. Offers 8 preset voices across 4 languages and 5 Chinese dialects, with 150ms first-packet latency and voice cloning from 3-second samples.

CosyVoice2 via SiliconFlow provides native Chinese dialect support that most TTS APIs lack, including Cantonese, Sichuan, and Shanghainese.

متى تستخدمها

  • Generating voiceovers for short videos in Mandarin or Cantonese
  • Creating audio versions of written content in multiple languages
  • Prototyping voice UI responses with different character tones
  • Batch-generating narration files for e-learning materials
  • Cloning a specific voice for consistent branded audio output

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

الإدخال

User asks: generate an MP3 of 'Welcome to our service' in a gentle female voice at 0.9x speed

الوكيل
  1. 1

    Reads SILICONFLOW_API_KEY from environment

  2. 2

    Calls SiliconFlow TTS API with voice set to claire and speed 0.9

  3. 3

    Receives audio stream with ~150ms first-packet delay

  4. 4

    Writes response to output.mp3 locally

الإخراج

output.mp3 saved to current directory with claire voice at 0.9x speed

المتطلبات

  • SILICONFLOW_API_KEY environment variable
  • SiliconFlow account to obtain API key

التثبيت

clawhub install lilei0311/siliconflow-tts-gen

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

الروابط