Introduction¶
When creating narration, announcements, or short audio in Agents, the common practice is to manually write scripts to integrate with cloud vendor TTS services, then handle authentication, parameters, and output URLs yourself. This process is lengthy and prone to disconnecting from conversation context. Below we introduce gemini 2.5 tts on SkillHub (coordinate @user_f95f21b8/dlazy-gemini-2-5-tts, current version 1.0.9): it consolidates “write prompt → select language and voice → get audio link” into an Agent-executable dlazy gemini-2.5-tts command, backed by dLazy-managed Gemini 2.5 TTS API.
What Is This¶
gemini 2.5 tts is a community-sourced (community) Agent Skill categorized under design-media, published by SkillHub user user_f95f21b8. The official description is: Generate multilingual, highly natural audio using Gemini 2.5 text-to-speech.
The skill itself is a thin wrapper around the dLazy CLI: maintained by dlazyai, CLI source code at github.com/dlazyai/cli, npm package @dlazy/cli (skill metadata fixed version 1.0.9). When called, text and parameters are sent to api.dlazy.com, and generated result URLs are hosted on files.dlazy.com. SkillHub tags indicate requires_api_key=true; you need to configure a dLazy API Key before actual synthesis.
Core Features¶
According to SKILL.md / SKILL-cn.md in the skill package, verified capabilities include:
- Multilingual Voice:
--voice_languagesupportscmn(default) anden. - Multiple Voices:
--voiceNameprovides the same set of named voices for both languages (e.g., defaultKore), with style descriptions for Chinese scenarios (e.g., Zephyr - bright, Puck - cheerful, etc.). - Required Prompt:
--promptis the synthesis text source; omitting it triggers CLI required field validation. - Model Identifier: The
modelIdin successful responses isgemini-2_5-pro-preview-tts. - Auxiliary Options:
--dry-runprints request payload and cost estimate without calling API;--no-waitand--timeout(default 1800 seconds) for async tasks; can usedlazy status <generateId> --waitto poll. - Trigger Words: Skill documentation lists
gemini tts,text to speech/文本转语音,generate speech/生成语音etc., facilitating Agent intent matching.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
Check according to SkillHub installation documentation:
command -v skillhub && skillhub --version
If not installed, run the complete installation script (documentation recommended):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install Skill to the current Agent’s skills directory¶
When installing, must use --dir to point to the skills path recognized by the current client, otherwise it defaults to ./skills/ which may not be loaded. Common paths (from SkillHub documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or project-level.agents/skills/
Example (replace path with your environment):
skillhub install @user_f95f21b8/dlazy-gemini-2-5-tts --dir ~/.cursor/skills/
Alternatively, let the Agent install the same coordinate following instructions in skillhub.cn/install/skillhub.md.
3. Install dLazy CLI¶
The skill depends on npm / npx. Install global version consistent with skill metadata:
npm install -g @dlazy/cli@1.0.9
If you don’t want global installation, can call per instance:
npx @dlazy/cli@1.0.9 <command>
4. Configure API Key¶
After registering at dlazy.com, copy the key from API Key page and write it to CLI:
dlazy auth set YOUR_API_KEY
The key is saved in ~/.dlazy/config.json (Windows: %USERPROFILE%\.dlazy\config.json), or can be passed per instance via environment variable DLAZY_API_KEY.
Typical Usage¶
The skill requires Agent to get results via CLI. First view complete parameters:
dlazy gemini-2.5-tts -h
Basic synthesis (official example):
dlazy gemini-2.5-tts --prompt 'prompt content'
Specify English and voice example (parameter names and values subject to -h):
dlazy gemini-2.5-tts --prompt 'Hello from the agent.' --voice_language en --voiceName Puck
Can use --dry-run to verify payload and estimated cost before calling. On success, CLI returns JSON with ok: true, result.tool as gemini-2.5-tts, outputs contains media URLs hosted on files.dlazy.com (field structure in skill documentation example includes type, url, mimeType, etc.).
Use Cases and Notes¶
Suitable for: Already using clients that support Skills like Cursor, Claude Code, Codex, want to drive “Gemini 2.5 TTS + multiple voices” with natural language, and accept dLazy cloud billing and data outbound (prompts will be sent to api.dlazy.com).
Notes:
- Payment and Balance: Requires valid dLazy API Key and account credits; when
insufficient_balance, need to recharge at Credits settings. - Authentication Failure: When
unauthorized, check if Key has been set viadlazy auth setor if environment variable is effective. - Compliance and Security: If local paths appear in other media fields, CLI will upload to
files.dlazy.com; read dlazy.com terms of service before use. - SkillHub Data: As of data retrieval, this Skill has rating 100000, downloads 1331, installs 4; statistics will change with SkillHub updates.
Conclusion¶
gemini 2.5 tts integrates Gemini 2.5 text-to-speech into Agent workflows: Skill handles triggering and command conventions, dLazy CLI handles authentication and API calls. To view version and installation instructions, open SkillHub page: