Media & Image v1.0.0

fish-audio

Generate AI audio and synthesize voices with Fish Audio via AceDataCloud API. Use when creating text-to-speech audio,...

germey 更新于 2026-03-22 1 浏览
下载 SKILL

技能说明

Generate AI audio and synthesize voices with Fish Audio via AceDataCloud API. Use when creating text-to-speech audio, synthesizing voices, or generating audio content. Supports multiple voice models and TTS capabilities.

使用场景

Generate AI audio and synthesize voices through AceDataCloud's Fish Audio API.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/fish-audio
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 19 kB
SKILL.md text/markdown
---
name: fish-audio
description: Generate AI audio and synthesize voices with Fish Audio via AceDataCloud API. Use when creating text-to-speech audio, synthesizing voices, or generating audio content. Supports multiple voice models and TTS capabilities.
license: Apache-2.0
metadata:
  author: acedatacloud
  version: "1.0"
compatibility: Requires ACEDATACLOUD_API_TOKEN environment variable.
---

# Fish Audio — Voice & Audio Synthesis

Generate AI audio and synthesize voices through AceDataCloud's Fish Audio API.

## Authentication

```bash
export ACEDATACLOUD_API_TOKEN="your-token-here"
```

## Quick Start

```bash
curl -X POST https://api.acedata.cloud/fish/audios \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello, this is a demonstration of AI voice synthesis."}'
```

## Endpoints

| Endpoint | Purpose |
|----------|---------|
| `POST /fish/audios` | Generate audio from text or parameters |
| `POST /fish/voices` | Voice synthesis and cloning |
| `POST /fish/tasks` | Poll task status |

## Workflows

### 1. Text-to-Speech

```json
POST /fish/audios
{
  "text": "The quick brown fox jumps over the lazy dog.",
  "voice_id": "default"
}
```

### 2. Voice Synthesis with Custom Voice

```json
POST /fish/voices
{
  "text": "Welcome to our platform.",
  "audio_url": "https://example.com/reference-voice.mp3"
}
```

## Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `text` | string | Text to synthesize into speech |
| `voice_id` | string | Voice model to use |
| `audio_url` | string | Reference audio for voice cloning |
| `speed` | number | Speech speed multiplier |

## Task Polling

```json
POST /fish/tasks
{"task_id": "your-task-id"}
```

## Response

```json
{
  "task_id": "abc123",
  "audio_url": "https://cdn.example.com/output.mp3",
  "success": true
}
```

## Gotchas

- Pricing is based on **byte count** of the generated audio
- Voice cloning requires a clear reference audio sample
- Text-to-speech supports multiple languages automatically
- Use the `/fish/voices` endpoint for voice cloning workflows

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。