Fish Audio Api logo

Fish Audio Api

Community
waker240
fish-audio-api

Generate narration with the public Fish Audio REST API using environment credentials and a user-selected voice. Provides shared public API helpers for Fish narration, OpenAI word timestamps, and optional GPT Image generation; no browser cookies or private proxy.

Overview

Publisherwaker240
RepositoryFullVideoProductionSkill
Skill namefish-audio-api
Stars
211
Forks
47
Bundled files
3
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by waker240 on GitHub. Read the source before you install it.

Installation

Install the Fish Audio Api AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/fish-audio-api
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/waker240/FullVideoProductionSkill.git /tmp/FullVideoProductionSkill
mkdir -p .claude/skills
cp -r /tmp/FullVideoProductionSkill/skills/fish-audio-api .claude/skills/fish-audio-api
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fish Audio Api in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fish Audio Api on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fish Audio Api is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Fish Audio public API

Use this skill when a video needs Fish narration. The release uses the official POST https://api.fish.audio/v1/tts endpoint. It does not ship a web-session proxy, cookies, an account, or a voice. Node.js 22.20 or later is required. Install FFmpeg/ffprobe for the video audio pipeline.

Configure locally

Copy env.example to the video project's .env, ensure .env is ignored by Git, then fill it locally. Never request that users paste credentials into chat. Existing process environment values take precedence over .env. Scripts never print secret values or upstream error bodies.

VariableMeaning
FISH_API_KEYAPI key created in the user's Fish account; required for generation.
FISH_REFERENCE_IDA voice ID the user has permission to use; required unless a project explicitly supplies one.
FISH_MODELDefaults to s2.1-pro-free; supported choices also include s1, s2-pro, s2.1-pro. Account access and quotas are provider-controlled.

No silent model fallback is allowed. An unknown model fails locally, because the provider may otherwise choose a paid default. Availability and pricing can change; check the account before generation. Setting a key does not itself authorize a charge: run synthesis only for the user's requested scope.

Generate and revise

For a scaffolded HyperFrames project, edit scripts/narration.json. Its voice.referenceId and voice.model may be null to use the environment. All other voice settings are explicit in the template. Preview one short paragraph before producing a whole narration.

sh
node scripts/tts-fish.mjs --section s0
node scripts/tts-fish.mjs
node scripts/tts-fish.mjs --section s2 --para 1 --force

--para requires every unselected paragraph in that section to exist. To start a new project, first generate one short section with --section s0; use --para for a later repair. Matching paragraph text and voice profiles reuse frozen audio. --force makes another API request for the selected speech.

The common helper public-media-api.cjs supports the shared audio engine as well. Its Fish configuration accepts fish.transport: "official-api", fish.reference_id, fish.model, and fish.request. Sampling fields are top-level request fields, such as temperature and top_p; a website-style backend/sampler profile is not this API contract. Never put credentials in JSON project profiles.

Every generation POST is sent once. A timeout can occur after the provider started work; inspect provider usage before deliberately retrying. Redirects are refused. Official endpoints are pinned. FISH_API_URL with HYPERFRAMES_TEST_ALLOW_FISH_LOOPBACK=1 is only for local mock tests.

Optional public media APIs

The same helper supports OpenAI whisper-1 transcription with word timestamps, and GPT Image PNG generation. These are separate account/billing capabilities, not features bundled by an agent subscription. See requirements and transcription. Images require an explicit OPENAI_IMAGE_MODEL or --model; choose a GPT Image model available to the user's account. External image/video tools, including Codex image tools and video-generation plugins, are optional and are not installed or authenticated by this skill package.

Maintainer verification

sh
node --test skills/fish-audio-api/tests/public-media-api.test.cjs
node --test skills/hyperframes/scripts/tests/fish-tts.test.mjs

These tests use fake keys and loopback HTTP, not paid services. The release verification does not establish that a user's account has model access.

Official references checked on 2026-09-26: Fish TTS API, Fish developer guide.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fish Audio Api AI skill do?

Generate narration with the public Fish Audio REST API using environment credentials and a user-selected voice. Provides shared public API helpers for Fish narration, OpenAI word timestamps, and optional GPT Image generation; no browser cookies or private proxy.

Why use Fish Audio Api on TypingMind?

Because you install it once and use it with any model. Fish Audio Api is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fish Audio Api in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/waker240/FullVideoProductionSkill/tree/main/skills/fish-audio-api. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fish Audio Api?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fish Audio Api?

As many as you like. As long as a model supports skills, you can use Fish Audio Api with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fish Audio Api AI skill free?

Yes. It is published on GitHub by waker240 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇