TTS

Convert text to speech audio using the z-ai-web-dev-sdk.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/tajo9128/BioDockify-pharma-research-ai --skill tts-tajo9128
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TTS
Source: https://github.com/tajo9128/BioDockify-pharma-research-ai/tree/main/ui/src/skills/TTS
Command: npx skills add https://github.com/tajo9128/BioDockify-pharma-research-ai --skill tts-tajo9128

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk.

What problem does it solve?

This Skill enables automated text-to-speech conversion by leveraging the z-ai-web-dev-sdk to generate natural-sounding audio from text.

Core Features & Use Cases

  • Voice-enabled backend: generate speech audio from text with multiple voices, adjustable speed and volume.
  • Output formats and streaming: supports wav, mp3, pcm formats; proper handling via the SDK's Response.arrayBuffer for embedded binary data.
  • Use Case: generate narration for e-learning modules or dynamic voice responses in IVR and chatbots.

Quick Start

Use the TTS skill to convert text to speech and save to an audio file, for example: "Hello, world!" to "./output.wav".

Frequently Asked Questions about TTS

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

FAQPage Schema
How do I generate speech audio from text in a Node.js backend?

To generate speech audio from text in a Node.js backend, use this skill to leverage the z-ai-web-dev-sdk for converting text into natural-sounding audio. It handles the SDK's Response.arrayBuffer and Buffer conversion to output binary audio data.

What audio formats can I output when converting text to speech?

When converting text to speech, you can output audio in wav, mp3, and pcm formats. The skill properly handles the SDK's streaming behavior and embedded binary data to save these common audio file types.

Can I adjust the voice, speed, and volume for text-to-speech conversion?

Yes, you can adjust voice, speed, and volume for text-to-speech conversion. The skill supports multiple voices and configurable settings to generate dynamic audio responses tailored to your backend workflow requirements.

What is the character limit for text-to-speech conversion requests?

The text-to-speech conversion enforces an input length limit of 1024 characters per request. You must chunk longer text inputs into multiple segments to process them through the z-ai-web-dev-sdk successfully.

Do I need the z-ai-web-dev-sdk to convert text to natural-sounding speech?

Yes, you need the z-ai-web-dev-sdk dependency to convert text to natural-sounding speech. This skill automates the SDK usage constraints, handling the arrayBuffer responses and Buffer conversion required to generate audio files in Node.js.