{
  "schemaVersion": "1.0",
  "item": {
    "slug": "alicloud-ai-audio-tts",
    "name": "Alicloud Ai Audio Tts",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/cinience/alicloud-ai-audio-tts",
    "canonicalUrl": "https://clawhub.ai/cinience/alicloud-ai-audio-tts",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/alicloud-ai-audio-tts",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=alicloud-ai-audio-tts",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "agents/openai.yaml",
      "references/api_reference.md",
      "references/sources.md",
      "scripts/generate_tts.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/alicloud-ai-audio-tts"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/alicloud-ai-audio-tts",
    "agentPageUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Validation",
        "body": "mkdir -p output/alicloud-ai-audio-tts\npython -m py_compile skills/ai/audio/alicloud-ai-audio-tts/scripts/generate_tts.py && echo \"py_compile_ok\" > output/alicloud-ai-audio-tts/validate.txt\n\nPass criteria: command exits 0 and output/alicloud-ai-audio-tts/validate.txt is generated."
      },
      {
        "title": "Output And Evidence",
        "body": "Save generated audio links, sample audio files, and request payloads to output/alicloud-ai-audio-tts/.\nKeep one validation log per execution."
      },
      {
        "title": "Critical model names",
        "body": "Use one of the recommended models:\n\nqwen3-tts-flash\nqwen3-tts-instruct-flash\nqwen3-tts-instruct-flash-2026-01-26"
      },
      {
        "title": "Prerequisites",
        "body": "Install SDK (recommended in a venv to avoid PEP 668 limits):\n\npython3 -m venv .venv\n. .venv/bin/activate\npython -m pip install dashscope\n\nSet DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials (env takes precedence)."
      },
      {
        "title": "Request",
        "body": "text (string, required)\nvoice (string, required)\nlanguage_type (string, optional; default Auto)\ninstruction (string, optional; recommended for instruct models)\nstream (bool, optional; default false)"
      },
      {
        "title": "Response",
        "body": "audio_url (string, when stream=false)\naudio_base64_pcm (string, when stream=true)\nsample_rate (int, 24000)\nformat (string, wav or pcm depending on mode)"
      },
      {
        "title": "Quick start (Python + DashScope SDK)",
        "body": "import os\nimport dashscope\n\n# Prefer env var for auth: export DASHSCOPE_API_KEY=...\n# Or use ~/.alibabacloud/credentials with dashscope_api_key under [default].\n# Beijing region; for Singapore use: https://dashscope-intl.aliyuncs.com/api/v1\ndashscope.base_http_api_url = \"https://dashscope.aliyuncs.com/api/v1\"\n\ntext = \"Hello, this is a short voice line.\"\nresponse = dashscope.MultiModalConversation.call(\n    model=\"qwen3-tts-instruct-flash\",\n    api_key=os.getenv(\"DASHSCOPE_API_KEY\"),\n    text=text,\n    voice=\"Cherry\",\n    language_type=\"English\",\n    instruction=\"Warm and calm tone, slightly slower pace.\",\n    stream=False,\n)\n\naudio_url = response.output.audio.url\nprint(audio_url)"
      },
      {
        "title": "Streaming notes",
        "body": "stream=True returns Base64-encoded PCM chunks at 24kHz.\nDecode chunks and play or concatenate to a pcm buffer.\nThe response contains finish_reason == \"stop\" when the stream ends."
      },
      {
        "title": "Operational guidance",
        "body": "Keep requests concise; split long text into multiple calls if you hit size or timeout errors.\nUse language_type consistent with the text to improve pronunciation.\nUse instruction only when you need explicit style/tone control.\nCache by (text, voice, language_type) to avoid repeat costs."
      },
      {
        "title": "Output location",
        "body": "Default output: output/alicloud-ai-audio-tts/audio/\nOverride base dir with OUTPUT_DIR."
      },
      {
        "title": "Workflow",
        "body": "Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.\nRun one minimal read-only query first to verify connectivity and permissions.\nExecute the target operation with explicit parameters and bounded scope.\nVerify results and save output/evidence files."
      },
      {
        "title": "References",
        "body": "references/api_reference.md for parameter mapping and streaming example.\n\n\nRealtime mode is provided by skills/ai/audio/alicloud-ai-audio-tts-realtime/.\n\n\nVoice cloning/design are provided by skills/ai/audio/alicloud-ai-audio-tts-voice-clone/ and skills/ai/audio/alicloud-ai-audio-tts-voice-design/.\n\n\nSource list: references/sources.md"
      }
    ],
    "body": "Category: provider\n\nModel Studio Qwen TTS\nValidation\nmkdir -p output/alicloud-ai-audio-tts\npython -m py_compile skills/ai/audio/alicloud-ai-audio-tts/scripts/generate_tts.py && echo \"py_compile_ok\" > output/alicloud-ai-audio-tts/validate.txt\n\n\nPass criteria: command exits 0 and output/alicloud-ai-audio-tts/validate.txt is generated.\n\nOutput And Evidence\nSave generated audio links, sample audio files, and request payloads to output/alicloud-ai-audio-tts/.\nKeep one validation log per execution.\nCritical model names\n\nUse one of the recommended models:\n\nqwen3-tts-flash\nqwen3-tts-instruct-flash\nqwen3-tts-instruct-flash-2026-01-26\nPrerequisites\nInstall SDK (recommended in a venv to avoid PEP 668 limits):\npython3 -m venv .venv\n. .venv/bin/activate\npython -m pip install dashscope\n\nSet DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials (env takes precedence).\nNormalized interface (tts.generate)\nRequest\ntext (string, required)\nvoice (string, required)\nlanguage_type (string, optional; default Auto)\ninstruction (string, optional; recommended for instruct models)\nstream (bool, optional; default false)\nResponse\naudio_url (string, when stream=false)\naudio_base64_pcm (string, when stream=true)\nsample_rate (int, 24000)\nformat (string, wav or pcm depending on mode)\nQuick start (Python + DashScope SDK)\nimport os\nimport dashscope\n\n# Prefer env var for auth: export DASHSCOPE_API_KEY=...\n# Or use ~/.alibabacloud/credentials with dashscope_api_key under [default].\n# Beijing region; for Singapore use: https://dashscope-intl.aliyuncs.com/api/v1\ndashscope.base_http_api_url = \"https://dashscope.aliyuncs.com/api/v1\"\n\ntext = \"Hello, this is a short voice line.\"\nresponse = dashscope.MultiModalConversation.call(\n    model=\"qwen3-tts-instruct-flash\",\n    api_key=os.getenv(\"DASHSCOPE_API_KEY\"),\n    text=text,\n    voice=\"Cherry\",\n    language_type=\"English\",\n    instruction=\"Warm and calm tone, slightly slower pace.\",\n    stream=False,\n)\n\naudio_url = response.output.audio.url\nprint(audio_url)\n\nStreaming notes\nstream=True returns Base64-encoded PCM chunks at 24kHz.\nDecode chunks and play or concatenate to a pcm buffer.\nThe response contains finish_reason == \"stop\" when the stream ends.\nOperational guidance\nKeep requests concise; split long text into multiple calls if you hit size or timeout errors.\nUse language_type consistent with the text to improve pronunciation.\nUse instruction only when you need explicit style/tone control.\nCache by (text, voice, language_type) to avoid repeat costs.\nOutput location\nDefault output: output/alicloud-ai-audio-tts/audio/\nOverride base dir with OUTPUT_DIR.\nWorkflow\nConfirm user intent, region, identifiers, and whether the operation is read-only or mutating.\nRun one minimal read-only query first to verify connectivity and permissions.\nExecute the target operation with explicit parameters and bounded scope.\nVerify results and save output/evidence files.\nReferences\n\nreferences/api_reference.md for parameter mapping and streaming example.\n\nRealtime mode is provided by skills/ai/audio/alicloud-ai-audio-tts-realtime/.\n\nVoice cloning/design are provided by skills/ai/audio/alicloud-ai-audio-tts-voice-clone/ and skills/ai/audio/alicloud-ai-audio-tts-voice-design/.\n\nSource list: references/sources.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cinience/alicloud-ai-audio-tts",
    "publisherUrl": "https://clawhub.ai/cinience/alicloud-ai-audio-tts",
    "owner": "cinience",
    "version": "1.0.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts",
    "downloadUrl": "https://openagent3.xyz/downloads/alicloud-ai-audio-tts",
    "agentUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/alicloud-ai-audio-tts/agent.md"
  }
}