Sign In

@runapi.ai/fish-audio

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runapi.ai/fish-audio

RunAPI Fish Audio SDK for speech generation in JavaScript, Python, Ruby, Go, Java, and PHP

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
159
-16.75%
Maintainers
1
Weekly downloads
 
Created
Source

Fish Audio JavaScript SDK for RunAPI

Install @runapi.ai/fish-audio, create FishAudioClient, and call client.textToSpeech.run({ model: 's2.1-pro', text: 'Hello [excited]', output_format: 'wav', sample_rate_hz: 44100 }).

Pass optional references entries with base64-encoded raw audio bytes and exact transcripts for request-scoped voice matching.

The output defaults to MP3. Select WAV with output_format; bitrate_kbps applies only to MP3.

Model details and pricing: https://runapi.ai/models/fish-audio/s2.1-pro

Licensed under the Apache License, Version 2.0.

Keywords

runapi

FAQs

Package last updated on 07 Aug 2026

Related posts