npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@conan-scott/openclaw-fish-audio

v1.1.6

Published

Fish Audio speech provider for OpenClaw with high-quality TTS, voice cloning, configurable voices, and voice-note friendly output for Telegram and WhatsApp.

Readme

Fish Audio Speech — OpenClaw Plugin

Fish Audio TTS plugin for OpenClaw, with high-quality voice cloning, Telegram/WhatsApp voice replies, and access to 1M+ voices via Fish Audio's voice library. Supports S2-Pro and S1 models.

Features

  • Voice cloning — use any Fish Audio voice (your own clones or community voices)
  • S2-Pro & S1 models — latest Fish Audio TTS models
  • Format-aware output — opus for voice notes (Telegram, WhatsApp), mp3 otherwise
  • Inline directives — control voice, speed, model, latency, and sampling per-message
  • Bundled agent skill — teaches agents to write Fish-friendly voice text and expressive markers
  • Voice listing — browse your cloned voices and popular community voices via /voice list

Installation

openclaw plugins install @conan-scott/openclaw-fish-audio

Then restart OpenClaw.

Getting an API Key

  1. Sign up at fish.audio
  2. Go to AccountAPI KeysCreate API Key
  3. Create a revocable key with the minimum access you need
  4. Copy the key for configuration below

Configuration

Prefer setting the API key as an environment variable or secret:

FISH_AUDIO_API_KEY=your-fish-audio-api-key

Then add the provider configuration to your openclaw.json:

{
  messages: {
    tts: {
      provider: "fish-audio",
      providers: {
        "fish-audio": {
          voiceId: "reference-id-of-your-voice",
          model: "s2-pro",       // s2-pro (default) | s1
          latency: "normal",     // normal (default) | balanced | low
          // speed: 1.0,         // 0.5–2.0 (optional)
          // temperature: 0.7,   // 0–1 (optional)
          // topP: 0.8,          // 0–1 (optional)
        },
      },
    },
  },
}

You can also set apiKey directly under messages.tts.providers.fish-audio, but secret-backed configuration is safer for shared systems and published examples.

Only set baseUrl for a Fish Audio-compatible endpoint you trust. The plugin sends the Fish Audio API key to that endpoint; custom URLs must use HTTPS except for localhost development.

Finding a Voice

Use the /voice list command in OpenClaw to browse available voices. The plugin shows:

  1. Your cloned/trained voices (all pages, via self=true)
  2. Popular community voices (top-ranked by score) as a fallback for new users

You can also browse voices at fish.audio and copy the voice ID from the URL.

Use cloned, trained, or community voices only when you have the rights, consent, and authorization to use that voice.

Inline Directives

All directive keys are provider-prefixed to avoid collisions with other speech providers. Both fishaudio_* and shorter fish_* aliases work.

[[tts:fishaudio_voice=<ref_id>]]         Switch voice
[[tts:fishaudio_speed=1.2]]              Prosody speed (0.5–2.0)
[[tts:fishaudio_model=s1]]               Model override
[[tts:fishaudio_latency=low]]            Latency mode
[[tts:fishaudio_temperature=0.7]]        Sampling temperature (0–1)
[[tts:fishaudio_top_p=0.8]]              Top-p sampling (0–1)

Short aliases: fish_voice, fish_speed, fish_model, fish_latency, fish_temperature, fish_top_p.

Expressive Markers

Fish Audio understands natural expressive markers in the text itself, such as (laughs) or (sighs). OpenClaw does not parse or transform these markers; the plugin passes text verbatim to Fish Audio's /v1/tts API. Round-bracket markers are confirmed working. Square-bracket marker syntax is unverified.

For agent-authored voice messages, avoid Markdown stage directions such as *laughs*; some TTS paths may read the asterisks literally. This package includes a fish-audio-tts AgentSkill so OpenClaw agents can learn the preferred plain-text style automatically.

Models

| Model | Description | |-------|-------------| | s2-pro | Latest high-quality model (default) | | s1 | Previous generation, lighter weight |

Latency Modes

| Mode | Description | |------|-------------| | normal | Best quality, higher latency (default) | | balanced | Balance between quality and speed | | low | Fastest response, may reduce quality |

Troubleshooting

  • No voice configured: Set voiceId in config. Fish Audio has no universal default voice.
  • Empty voice list: New users with no cloned voices will see popular community voices as a starting point.
  • API key missing: Set either apiKey in config or FISH_AUDIO_API_KEY env var.

License

MIT