One-click install
npx skills add https://github.com/designershubh1208-pixel/on-block --skill tts-designershubh1208-pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/designershubh1208-pixel/on-block/tree/main/skills/TTS
Command: npx skills add https://github.com/designershubh1208-pixel/on-block --skill tts-designershubh1208-pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

This Skill enables converting text into natural-sounding speech using the z-ai-web-dev-sdk, supporting multiple voices, adjustable speed, and various audio formats to power voice-enabled apps, accessibility tools, and media content.

Core Features & Use Cases

  • Voice options: choose from multiple voices (tongtong, chuichui, xiaochen, jam, kazi, douji, luodo)
  • Format & quality: supports wav, mp3, pcm; adjustable speed and volume
  • Use Case: Generate narration for e-learning, podcasts, accessibility content, and dynamic voice responses in apps

Quick Start

Use the TTS Skill to convert "Hello, world!" to speech and save as WAV using the Tongtong voice.

Frequently Asked Questions about TTS

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text to speech using Node.js?

To convert text to speech in Node.js, you can use a text-to-speech Skill leveraging the z-ai-web-dev-sdk to process text input and generate audio buffers, requiring a Node.js environment and SDK installation.

What audio formats can I generate from text-to-speech?

Text-to-speech generation supports wav, mp3, and pcm audio formats. You can specify your desired format parameter alongside voice selection to output audio buffers suitable for various media applications.

Can I adjust the speed and volume of generated speech?

Yes, you can adjust both the speed and volume of the generated speech. The text-to-speech process accepts these parameters to customize audio output alongside selecting from multiple available voices.

What voices are available for voice synthesis in backend services?

Available voices for voice synthesis include tongtong, chuichui, xiaochen, jam, kazi, douji, and luodo. You can select among these options to generate natural-sounding speech for your applications.

Does text-to-speech generation work for e-learning and accessibility content?

Yes, text-to-speech generation is ideal for e-learning, podcasts, and accessibility content. It converts text into natural-sounding speech, enabling dynamic voice responses and narrated content for voice-enabled applications.

How is audio buffer handling managed during speech generation?

Audio buffer handling during speech generation is managed by processing text input through the z-ai-web-dev-sdk, applying input validation, voice selection, and speed parameters to properly output the resulting audio data.