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

zhipu-tts

بواسطة franklu0819-lang

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

موجز

Text-to-speech conversion using Zhipu AI (BigModel) GLM-TTS model.

الوصف

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

Converts Chinese text to speech using Zhipu AI's GLM-TTS model. Supports seven voice personas, speed control from 0.5x to 2x, and WAV or PCM output. Input is limited to 1024 characters per request.

Provides native Chinese voice synthesis with multiple distinct personas through a simple bash script, without requiring any audio SDK or programming beyond a shell.

متى تستخدمها

  • Generate customer service greeting audio files
  • Create narration for Chinese video content
  • Produce character voices for entertainment projects
  • Convert Chinese app UI text to audio for accessibility
  • Generate announcement audio for events or broadcasts

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

الإدخال

User asks: convert '欢迎使用智能语音服务' to speech with xiaochen voice at 1.2x speed

الوكيل
  1. 1

    Set ZHIPU_API_KEY in environment

  2. 2

    Run bash scripts/text_to_speech.sh with text, voice, speed, format, and output filename arguments

  3. 3

    Script calls Zhipu AI GLM-TTS API with the provided parameters

  4. 4

    API returns audio data, script writes it to the specified WAV file

الإخراج

greeting.wav audio file with xiaochen voice at 1.2x speed

المتطلبات

  • ZHIPU_API_KEY environment variable from bigmodel.cn

التثبيت

clawhub install franklu0819-lang/zhipu-tts

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

الروابط