Download the PHP package runapi-ai/fish-audio without Composer
On this page you can find all versions of the php package runapi-ai/fish-audio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download runapi-ai/fish-audio
More information about runapi-ai/fish-audio
Files in runapi-ai/fish-audio
Package fish-audio
Short Description RunAPI Fish Audio Composer package for account-owned voice resources and speech generation in PHP applications
License Apache-2.0
Homepage https://runapi.ai/models/fish-audio
Informations about the package fish-audio
Fish Audio PHP SDK for RunAPI
Use the Fish Audio PHP SDK to create account-owned voice resources and generate speech through RunAPI with a synchronous Composer client and typed responses.
Install
Quick start
Pass request parameters as associative arrays with snake_case keys. Keep
RUNAPI_API_KEY in the environment or your secret manager.
Use $client->listVoices->run(['page_number' => 1, 'page_size' => 10]) to list
voice resources created by the current account. Only voices in the trained
state can be submitted for speech generation; a returned voice_id is a
best-effort reference and may stop working later.
Speech and voice requests return their terminal responses directly when
available and otherwise follow an accepted Task automatically. Use subscribe()
to observe Task updates.
Alternatively, pass request-scoped references entries with base64-encoded raw
audio bytes and exact transcripts when the request must not depend on prior reuse.
The output defaults to MP3. MP3 supports 32000 or 44100 Hz and optional
bitrate_kbps values of 64, 128, or 192. WAV supports 8000, 16000,
24000, 32000, or 44100 Hz and does not accept bitrate_kbps.
The supported models are s1, s2-pro, and s2.1-pro. Update, delete,
revoke, or voice-library management methods are not provided; voice retention
and source-audio training behavior are not promised.
Links
- Model page: https://runapi.ai/models/fish-audio
- SDK docs: https://runapi.ai/docs/resources/sdks
- Product docs: https://runapi.ai/docs/api/fish-audio/text-to-speech
- Pricing and rate limits: https://runapi.ai/models/fish-audio/s2.1-pro
- Full catalog: https://runapi.ai/models
- GitHub repository: https://github.com/runapi-ai/fish-audio-php
- Multi-language SDK repository: https://github.com/runapi-ai/fish-audio-sdk
License
Licensed under the Apache License, Version 2.0.