Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mintlify/skills/fish-audio-api/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Write direct HTTP / WebSocket calls to the Fish Audio platform (TTS
Use this skill to generate correct, runnable Fish Audio API calls without any SDK. The canonical machine-readable sources are:

- REST: `https://docs.fish.audio/api-reference/openapi.json`
- WebSocket: `https://docs.fish.audio/api-reference/asyncapi.yml`
- WebSocket: `https://docs.fish.audio/api-reference/endpoint/websocket/tts-live.md` (the page ends with its AsyncAPI schema)

This file condenses those into rules an agent can apply directly.

Expand Down
24 changes: 14 additions & 10 deletions developer-guide/resources/agent-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Steps>
<Step title="Install the skill">
```bash
npx skills add https://docs.fish.audio

Check warning on line 13 in developer-guide/resources/agent-quickstart.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

developer-guide/resources/agent-quickstart.mdx#L13

Did you really mean 'npx'?
```

This installs the Fish Audio skills (a canonical copy in `.agents/skills/`, with symlinks for Claude Code and Cursor). Run `npx skills update` later to refresh them.
Expand Down Expand Up @@ -66,7 +66,7 @@

<CodeGroup>
```bash All skills
npx skills add https://docs.fish.audio

Check warning on line 69 in developer-guide/resources/agent-quickstart.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

developer-guide/resources/agent-quickstart.mdx#L69

Did you really mean 'npx'?
```

```bash One skill
Expand Down Expand Up @@ -134,7 +134,7 @@
- [llms.txt](https://docs.fish.audio/llms.txt): curated documentation index (read this first)
- [llms-full.txt](https://docs.fish.audio/llms-full.txt): broader context across the whole site
- [OpenAPI](https://docs.fish.audio/api-reference/openapi.json): REST schemas, parameters, and examples
- [AsyncAPI](https://docs.fish.audio/api-reference/asyncapi.yml): the WebSocket streaming protocol
- [WebSocket TTS Streaming](https://docs.fish.audio/api-reference/endpoint/websocket/tts-live.md) and [WebSocket Realtime Speech to Text](https://docs.fish.audio/api-reference/endpoint/websocket/asr-realtime.md): the WebSocket protocols, each page ending with its AsyncAPI schema

<AccordionGroup>
<Accordion title="Canonical API facts">
Expand All @@ -159,16 +159,20 @@
[llms-full.txt](https://docs.fish.audio/llms-full.txt) when broad site context
is needed. 3. Read
[OpenAPI](https://docs.fish.audio/api-reference/openapi.json) for REST
schemas, parameters, and examples. 4. Read
[AsyncAPI](https://docs.fish.audio/api-reference/asyncapi.yml) for the
WebSocket streaming protocol. 5. Fetch individual `.md` pages only after
narrowing to a specific task.
schemas, parameters, and examples. 4. Read [WebSocket TTS
Streaming](https://docs.fish.audio/api-reference/endpoint/websocket/tts-live.md)
or [WebSocket Realtime Speech to

Check warning on line 164 in developer-guide/resources/agent-quickstart.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

developer-guide/resources/agent-quickstart.mdx#L164

Did you really mean 'Realtime'?
Text](https://docs.fish.audio/api-reference/endpoint/websocket/asr-realtime.md)
for the WebSocket protocols and their AsyncAPI schemas. 5. Fetch individual
`.md` pages only after narrowing to a specific task.
</Accordion>

<Accordion title="High-value URLs by task">
**API specs**
- [OpenAPI](https://docs.fish.audio/api-reference/openapi.json)
- [AsyncAPI](https://docs.fish.audio/api-reference/asyncapi.yml)
- [AsyncAPI, WebSocket TTS Streaming](https://docs.fish.audio/api-reference/endpoint/websocket/tts-live.md)
- [AsyncAPI, WebSocket TTS with Timestamps](https://docs.fish.audio/api-reference/endpoint/openapi-v1/text-to-speech-live-with-timestamps.md)
- [AsyncAPI, WebSocket Realtime Speech to Text](https://docs.fish.audio/api-reference/endpoint/websocket/asr-realtime.md)

Check warning on line 175 in developer-guide/resources/agent-quickstart.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

developer-guide/resources/agent-quickstart.mdx#L175

Did you really mean 'Realtime'?
- [API Introduction](https://docs.fish.audio/api-reference/introduction.md)

**Auth & SDK setup**
Expand Down Expand Up @@ -208,13 +212,13 @@
- **Generate speech** → Quick Start, the Text to Speech guide, and `POST
/v1/tts`. - **Transcribe audio** → the Speech to Text guide and `POST /v1/asr`
with `model: transcribe-1-pro`. - **Clone or manage voices** → Creating Voice
Models and the `/model` endpoints. - **Stream audio in real time** → AsyncAPI,
WebSocket TTS Streaming, and the realtime guides. - **Pick a model or estimate
cost** → Models Overview and Pricing & Rate Limits.
Models and the `/model` endpoints. - **Stream audio in real time** → WebSocket
TTS Streaming and the realtime guides. - **Pick a model or estimate cost** →

Check warning on line 216 in developer-guide/resources/agent-quickstart.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

developer-guide/resources/agent-quickstart.mdx#L216

Did you really mean 'realtime'?
Models Overview and Pricing & Rate Limits.
</Accordion>

<Accordion title="Notes for agents">
- Prefer `openapi.json` and `asyncapi.yml` for machine-readable schemas, except for the `/v1/asr` gaps listed under Canonical API facts.
- Prefer `openapi.json` for machine-readable REST schemas, except for the `/v1/asr` gaps listed under Canonical API facts. For a WebSocket endpoint, the AsyncAPI schema is at the end of its page's `.md` export.
- Append `.md` to any page URL to fetch the human-authored page as plain Markdown.
- Some richer pages use interactive MDX widgets. If a fetched page contains UI or component noise, fall back to `llms.txt`, `llms-full.txt`, or the API spec files.
</Accordion>
Expand Down
Loading