🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@runapi.ai/fish-audio

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runapi.ai/fish-audio - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+10
-1
dist/index.d.mts
import { HttpClient, RequestOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TimeoutError, ValidationError } from '@runapi.ai/core';
/** A request-scoped reference audio sample. */
interface ReferenceAudio {
/** Base64-encoded raw audio bytes. */
audio: string;
/** Exact transcript of the reference audio. */
text: string;
}
/** Parameters for Fish Audio text-to-speech generation. */

@@ -10,2 +17,4 @@ interface TextToSpeechParams {

text: string;
/** Optional request-scoped reference audio samples. */
references?: ReferenceAudio[];
}

@@ -43,2 +52,2 @@ /** A RunAPI-managed MP3 audio result. */

export { type Audio, FishAudioClient, type TextToSpeechParams, type TextToSpeechResponse };
export { type Audio, FishAudioClient, type ReferenceAudio, type TextToSpeechParams, type TextToSpeechResponse };
import { HttpClient, RequestOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TimeoutError, ValidationError } from '@runapi.ai/core';
/** A request-scoped reference audio sample. */
interface ReferenceAudio {
/** Base64-encoded raw audio bytes. */
audio: string;
/** Exact transcript of the reference audio. */
text: string;
}
/** Parameters for Fish Audio text-to-speech generation. */

@@ -10,2 +17,4 @@ interface TextToSpeechParams {

text: string;
/** Optional request-scoped reference audio samples. */
references?: ReferenceAudio[];
}

@@ -43,2 +52,2 @@ /** A RunAPI-managed MP3 audio result. */

export { type Audio, FishAudioClient, type TextToSpeechParams, type TextToSpeechResponse };
export { type Audio, FishAudioClient, type ReferenceAudio, type TextToSpeechParams, type TextToSpeechResponse };
+2
-2

@@ -6,3 +6,3 @@ {

},
"version": "0.1.0",
"version": "0.1.1",
"description": "RunAPI Fish Audio SDK for speech generation in JavaScript, Python, Ruby, Go, Java, and PHP",

@@ -34,3 +34,3 @@ "main": "./dist/index.js",

"dependencies": {
"@runapi.ai/core": "^0.2.13"
"@runapi.ai/core": "^0.2.14"
},

@@ -37,0 +37,0 @@ "devDependencies": {

@@ -5,4 +5,6 @@ # Fish Audio JavaScript SDK for RunAPI

Pass optional `references` entries with base64-encoded raw audio bytes and exact transcripts for request-scoped voice matching.
Model details and pricing: https://runapi.ai/models/fish-audio
Licensed under the Apache License, Version 2.0.