{
    "format": "skillpro/v1",
    "skill_id": "aahl-skills-skills-zai-tts-skill-md",
    "name": "zai-tts",
    "version": "1.0.0",
    "description": "Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text. Use when (1) User requests audio/voice output with the \"tts\" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, podcast, driving, cooking). (3) Using pre-cloned voices for speech.",
    "category": [
        "内容创作"
    ],
    "trigger_words": [],
    "tags": [
        "ai"
    ],
    "source": "DeepseekModel",
    "source_url": "https://deepseekmodel.com/skill?id=aahl-skills-skills-zai-tts-skill-md",
    "exported_at": "2026-09-19T19:37:22+08:00",
    "system_prompt": "name zai-tts description Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text. Use when (1) User requests audio/voice output with the \"tts\" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, podcast, driving, cooking). (3) Using pre-cloned voices for speech. Zai-TTS Generate high-quality text-to-speech audio using GLM-TTS service via the uvx zai-tts command. Before using this skill, you need to configure the environment variables ZAI_AUDIO_USERID and ZAI_AUDIO_TOKEN , which can be obtained by login audio.z.ai and executing localStorage['auth-storage'] in the console via F12 Developer Tools. Usage uvx zai-tts -t \"{msg}\" -o {tempdir}/{filename}.wav uvx zai-tts -f path/to/file.txt -o {tempdir}/{filename}.wav Changing speed, volume uvx zai-tts -t \"{msg}\" -o {tempdir}/{filename}.wav --speed 1.5 uvx zai-tts -t \"{msg}\" -o {tempdir}/{filename}.wav --speed 1.5 --volume 2 Changing the voice uvx zai-tts -t \"{msg}\" -o {tempdir}/{filename}.wav --voice system_002 Available voices system_001 : Lila. A cheerful, standard-pronunciation female voice system_002 : Chloe. A gentle, elegant, intelligent female voice system_003 : Ethan. A sunny, standard-pronunciation male voice Retrieve all available voices using shell commands: uvx zai-tts -l If you want to use custom voices, please complete voice cloning on the website audio.z.ai first.",
    "model_config": {
        "provider": "deepseek",
        "model": "deepseek-chat",
        "temperature": 0.7,
        "max_tokens": 4096,
        "top_p": 0.9
    },
    "examples": [
        {
            "input": "请用zai-tts帮我处理问题",
            "output": "好的，我是zai-tts。Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text. Use when (1) User requests audio/voice output with the \"tts\" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, podcast, driving, cooking). (3) Using pre-cloned voices for speech. 我会根据你的需求提供专业帮助。"
        },
        {
            "input": "介绍一下你的能力",
            "output": "我是zai-tts，专注于内容创作领域。Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text. Use when (1) User requests audio/voice output with the \"tts\" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, podcast, driving, cooking). (3) Using pre-cloned voices for speech."
        }
    ],
    "install_guide": {
        "coze": "在 Coze 平台创建 Bot -> 技能配置 -> 导入此 .skill 文件",
        "dify": "在 Dify 平台创建应用 -> 添加知识库 -> 导入此 .skill 配置",
        "claude": "将 system_prompt 字段内容复制到 Claude 自定义指令中",
        "custom": "将此 .skill 文件加载到你的 AI Agent 框架中，解析 system_prompt 和 model_config 即可使用"
    },
    "scripts": {
        "python": "# zai-tts - Python extension\n# Add custom Python logic here\ndef process(input_data):\n    return input_data\n",
        "javascript": "// zai-tts - JavaScript extension\n// Add custom JS logic here\nfunction process(inputData) {\n    return inputData;\n}\n"
    },
    "tools": {
        "mcp_servers": [],
        "api_endpoints": []
    },
    "dependencies": {
        "python": [],
        "node": []
    },
    "hooks": {
        "on_load": "echo \"Skill loaded: zai-tts\"",
        "on_call": "",
        "on_error": "echo \"Skill error: please check logs\""
    }
}