{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tts-2",
    "name": "Pywayne Tts",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wangyendt/tts-2",
    "canonicalUrl": "https://clawhub.ai/wangyendt/tts-2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tts-2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tts-2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/tts-2"
    },
    "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/tts-2",
    "agentPageUrl": "https://openagent3.xyz/skills/tts-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tts-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tts-2/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": "Pywayne TTS",
        "body": "Text-to-speech (TTS) tool that converts text to audio files (opus or mp3 format)."
      },
      {
        "title": "text_to_speech_output_opus - Convert text to Opus format",
        "body": "from pywayne.tts import text_to_speech_output_opus\n\n# Output: test.opus\ntext_to_speech_output_opus(\"你好，世界\", \"test.opus\")\n\nParameters:\n\ntext - Text to convert\nopus_filename - Output .opus filename\nuse_say - If True, use macOS 'say' command; otherwise use gTTS (default True)\n\nBehavior:\n\nOn macOS, prefers native 'say' command when use_say=True\nOn other platforms, uses Google TTS (gTTS) service\nUses ffmpeg to convert audio to opus format (16kHz, mono channel)\nAutomatically cleans up temporary files"
      },
      {
        "title": "text_to_speech_output_mp3 - Convert text to MP3 format",
        "body": "from pywayne.tts import text_to_speech_output_mp3\n\n# Output: test.mp3\ntext_to_speech_output_mp3(\"你好，世界\", \"test.mp3\")\n\nParameters:\n\ntext - Text to convert\nmp3_filename - Output .mp3 filename\nuse_say - If True, use macOS 'say' command; otherwise use gTTS (default True)\n\nBehavior:\n\nOn macOS, prefers native 'say' command when use_say=True\nOn other platforms, uses Google TTS (gTTS) service\nUses ffmpeg to convert audio to mp3 format\nAutomatically cleans up temporary files"
      },
      {
        "title": "Quick Start",
        "body": "# Convert text to Opus format (default: macOS uses 'say')\ntext_to_speech_output_opus \"你好，世界\" \"test.opus\"\n\n# Convert text to MP3 format\ntext_to_speech_output_mp3 \"你好，世界\" \"test.mp3\"\n\n# Force use gTTS instead of macOS 'say'\ntext_to_speech_output_mp3 \"你好，世界\" \"test.mp3\" use_say=False"
      },
      {
        "title": "Requirements",
        "body": "ffmpeg: Required for audio conversion\n\nmacOS: brew install ffmpeg\nWindows: Download from https://ffmpeg.org and add to PATH\nLinux: sudo apt install ffmpeg or package manager\n\n\ngtts: Python library for Google TTS service"
      },
      {
        "title": "Platform Detection",
        "body": "Module automatically detects platform and prompts for ffmpeg installation if missing."
      },
      {
        "title": "Audio Formats",
        "body": "Opus: Better quality, smaller file size, suitable for voice calls\nMP3: Better compatibility, suitable for multimedia playback"
      },
      {
        "title": "Notes",
        "body": "Requires network connection for gTTS service\nTemporary files are automatically cleaned up\nEnsure output directory has write permissions"
      }
    ],
    "body": "Pywayne TTS\n\nText-to-speech (TTS) tool that converts text to audio files (opus or mp3 format).\n\nFunctions\ntext_to_speech_output_opus - Convert text to Opus format\nfrom pywayne.tts import text_to_speech_output_opus\n\n# Output: test.opus\ntext_to_speech_output_opus(\"你好，世界\", \"test.opus\")\n\n\nParameters:\n\ntext - Text to convert\nopus_filename - Output .opus filename\nuse_say - If True, use macOS 'say' command; otherwise use gTTS (default True)\n\nBehavior:\n\nOn macOS, prefers native 'say' command when use_say=True\nOn other platforms, uses Google TTS (gTTS) service\nUses ffmpeg to convert audio to opus format (16kHz, mono channel)\nAutomatically cleans up temporary files\ntext_to_speech_output_mp3 - Convert text to MP3 format\nfrom pywayne.tts import text_to_speech_output_mp3\n\n# Output: test.mp3\ntext_to_speech_output_mp3(\"你好，世界\", \"test.mp3\")\n\n\nParameters:\n\ntext - Text to convert\nmp3_filename - Output .mp3 filename\nuse_say - If True, use macOS 'say' command; otherwise use gTTS (default True)\n\nBehavior:\n\nOn macOS, prefers native 'say' command when use_say=True\nOn other platforms, uses Google TTS (gTTS) service\nUses ffmpeg to convert audio to mp3 format\nAutomatically cleans up temporary files\nQuick Start\n# Convert text to Opus format (default: macOS uses 'say')\ntext_to_speech_output_opus \"你好，世界\" \"test.opus\"\n\n# Convert text to MP3 format\ntext_to_speech_output_mp3 \"你好，世界\" \"test.mp3\"\n\n# Force use gTTS instead of macOS 'say'\ntext_to_speech_output_mp3 \"你好，世界\" \"test.mp3\" use_say=False\n\nRequirements\nffmpeg: Required for audio conversion\nmacOS: brew install ffmpeg\nWindows: Download from https://ffmpeg.org and add to PATH\nLinux: sudo apt install ffmpeg or package manager\ngtts: Python library for Google TTS service\nPlatform Detection\n\nModule automatically detects platform and prompts for ffmpeg installation if missing.\n\nAudio Formats\nOpus: Better quality, smaller file size, suitable for voice calls\nMP3: Better compatibility, suitable for multimedia playback\nNotes\nRequires network connection for gTTS service\nTemporary files are automatically cleaned up\nEnsure output directory has write permissions"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wangyendt/tts-2",
    "publisherUrl": "https://clawhub.ai/wangyendt/tts-2",
    "owner": "wangyendt",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tts-2",
    "downloadUrl": "https://openagent3.xyz/downloads/tts-2",
    "agentUrl": "https://openagent3.xyz/skills/tts-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tts-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tts-2/agent.md"
  }
}