360 Secure SkillHub
360 安全技能中心

Fish Audio

该 Skill 通过 AceDataCloud 的 Fish Audio API 生成语音,支持文本转语音、使用自定义声音进行声音合成与克隆,并提供任务轮询。调用需要 ACEDATACLOUD_API_TOKEN,输入文本或参考音频地址,返回音频地址和任务状态。

Germey
Germey
热度 45.17
最近更新 2026-05-11 17:34:59
分类:创作依赖:第三方 API

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add acedatacloud-fish-audio
Metadata
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

export ACEDATACLOUD_API_TOKEN="your-token-here"

Quick Start

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

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

2. Voice Synthesis with Custom Voice

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

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

Response

{
  "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