Preface¶
When doing voiceovers, narration, or product demos, the common practice is to connect to a TTS service separately: check documentation, select a voice, assemble parameters, then download the audio. When there are many voices, you also need to maintain the list yourself. If you want to directly say “read this script with a news-style male voice” in a conversation with AI, and have the Agent select the voice and produce audio, you need to encapsulate voice capabilities into a Skill. The following introduces Vidu-Audio Generation (@vidu/vidu-speech-generate-2) on SkillHub, which integrates Vidu AI’s speech synthesis and voice cloning for conversational invocation.
What Is This¶
Vidu-Audio Generation is an enterprise-sourced Skill under SkillHub category design-media, currently at version 1.2.0, published by Beijing Shengshu Technology Co., Ltd.
The official description can be summarized as: Vidu AI speech synthesis and voice cloning; supports TTS speech synthesis and voice cloning with 303 voices; conversational invocation, with automatic voice recommendation. The Skill tag indicates requires_api_key=true, so a Vidu-related API key must be prepared before use (specific application procedures and field names are subject to the instructions after Skill installation and the Vidu official documentation).
- Skill coordinate:
@vidu/vidu-speech-generate-2 - Resource entry: https://api.skillhub.cn/vidu/vidu-speech-generate-2
- SkillHub page: https://www.skillhub.cn/skills/vidu/vidu-speech-generate-2
Core Features¶
The following capabilities are all from SkillHub and the official description; interface details not separately listed are not fabricated in this article.
-
TTS Speech Synthesis
Generate speech within 303 preset voices, suitable for text-to-speech scenarios such as narration, broadcasting, and short video voiceovers. -
Voice Cloning
In addition to standard voices, supports voice cloning based on Vidu capabilities (specific material requirements and processes are subject to the instructions within the Skill). -
Conversational Invocation and Voice Recommendation
No need to manually write complete API requests outside the conversation; describe requirements in natural language (script, tone, scene), and the Agent combines this Skill’s capabilities to invoke, and automatically recommends voices when needed.
Installation and Activation¶
The installation process follows SkillHub’s general instructions: https://skillhub.cn/install/skillhub.md. Below, we first check the environment, then install this Skill.
1. Check SkillHub CLI¶
Confirm whether skillhub is already installed on this machine:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub documentation to perform a full installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install Vidu-Audio Generation¶
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/, and the Agent may not be able to load it.
skillhub install @vidu/vidu-speech-generate-2 --dir <your skills directory>
Common skills paths for various clients (excerpted from SkillHub installation documentation, subject to your actual local configuration):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
The SkillHub page also supports sending prompts to AI to install @vidu/vidu-speech-generate-2 according to the above documentation; the effect is the same as the CLI installation target, just executed by the Agent.
3. API Key¶
This Skill is marked as requiring an API Key. After installation, configure the Vidu key in the Agent or Skill instructions; voice-related calls will usually fail without configuration. Do not write the key into public repositories.
Typical Usage¶
This Skill is designed for conversational invocation. The typical process is as follows.
- Confirm the Skill is installed in the current Agent’s skills directory and the API Key is configured.
- Describe the task in the conversation, such as: text to be synthesized, desired tone (calm, lively, news broadcast, etc.), whether a specific gender or style is needed.
- The Agent invokes the Skill’s capabilities: synthesize from 303 voices, or use voice cloning when conditions are met; if no voice is specified, you can rely on automatic voice recommendation.
- Obtain the audio file or download method based on the Agent’s return result (the specific return form is subject to the Skill execution result).
No need to memorize REST paths or complete JSON bodies in the conversation; complex parameters are handled by the Agent combined with the Skill documentation. If you need to verify the underlying API, refer to https://api.skillhub.cn/vidu/vidu-speech-generate-2 and the documentation within the Skill after installation.
Applicable Scenarios and Notes¶
Who It’s For
- Working in environments that support Skills such as Cursor, Claude Code, and Codex, and wanting to integrate TTS and voice cloning into the same conversation flow.
- Teams or individuals who need many preset voices but don’t want to maintain voice ID lists themselves.
- Those who have Vidu API access permissions and can accept the compliance and billing methods of enterprise-sourced Skills.
Limitations and Notes
- API Key required:
requires_api_key=true, cannot be used without a key. - Enterprise source: Different from the publication and audit paths of some open-source Skills; please confirm organizational policies before integration.
- Installation directory: Make sure
--dirpoints to the correct skills path; if installed in the wrong directory, the Agent won’t load it, and sometimes you need to restart the client. - Data and copyright: Voice cloning involves voiceprints and authorization; uploaded materials and commercial scope must comply with Vidu and local regulatory requirements.
- The version displayed on the SkillHub page is v1.2.0; upgrades can use
skillhub’s update capability (see Section 3 of the SkillHub installation documentation).
Conclusion¶
Vidu-Audio Generation encapsulates Vidu’s 303-voice TTS, voice cloning, and voice recommendation into an Agent Skill, reducing the cost of separately integrating voice APIs. The installation coordinate is @vidu/vidu-speech-generate-2. After following the SkillHub installation documentation and configuring the API Key, you can generate speech in conversations.
Official and index addresses:
- https://api.skillhub.cn/vidu/vidu-speech-generate-2
- https://www.skillhub.cn/skills/vidu/vidu-speech-generate-2