fishaudio_tts_s2-1-pro $0.001 per call

Fish Audio: S2.1 Pro text to speech. Generate audio from text, optionally using a reusable private voice owned by the current team. (Fish Audio · Voice generation)

For AI agents: call fishaudio_tts_s2-1-pro
POST https://toll402.dev/v1/p/fishaudio.tts.s2-1-pro
{
 "text": "This is a Fish Audio test.",
 "format": "mp3"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Welcome to treg."
   ]
  },
  "reference_id": {
   "type": "string",
   "description": "Omit for Fish's default voice. On treg's key each id must be owned by the current team or verified by Fish as public."
  },
  "temperature": {
   "type": "number",
   "default": 0.7
  },
  "top_p": {
   "type": "number",
   "default": 0.7
  },
  "prosody": {
   "type": "object",
   "properties": {
    "speed": {
     "type": "number",
     "default": 1
    },
    "volume": {
     "type": "number",
     "description": "Volume adjustment in decibels; Fish documents no numeric bound.",
     "default": 0
    },
    "normalize_loudness": {
     "type": "boolean",
     "default": true
    }
   },
   "examples": [
    {
     "speed": 1,
     "volume": 0,
     "normalize_loudness": true
    }
   ]
  },
  "chunk_length": {
   "type": "integer",
   "default": 300
  },
  "format": {
   "type": "string",
   "default": "mp3",
   "enum": [
    "mp3",
    "wav",
    "pcm",
    "opus"
   ],
   "examples": [
    "mp3"
   ]
  },
  "sample_rate": {
   "type": "integer",
   "description": "Supported output rates depend on the selected format.",
   "enum": [
    8000,
    16000,
    24000,
    32000,
    44100,
    48000
   ]
  },
  "mp3_bitrate": {
   "type": "integer",
   "default": 128,
   "enum": [
    64,
    128,
    192
   ]
  },
  "opus_bitrate": {
   "type": "integer",
   "default": -1000,
   "enum": [
    -1000,
    24000,
    32000,
    48000,
    64000
   ]
  },
  "normalize": {
   "type": "boolean",
   "default": true
  },
  "latency": {
   "type": "string",
   "default": "normal",
   "enum": [
    "low",
    "normal",
    "balanced"
   ]
  },
  "max_new_tokens": {
   "type": "integer",
   "default": 1024
  },
  "repetition_penalty": {
   "type": "number",
   "default": 1.2
  },
  "min_chunk_length": {
   "type": "integer",
   "default": 50
  },
  "condition_on_previous_chunks": {
   "type": "boolean",
   "default": true
  },
  "early_stop_threshold": {
   "type": "number",
   "default": 1
  }
 },
 "additionalProperties": true,
 "required": [
  "text"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI