Skip to content

File generation exception #128

Description

@GGBoy-hero

Initiated through API request, the first time a normal file can be returned, but when a request is made later, the interface result returns 200, but the returned audio file is blank with no data and a file size of only about 417b

curl -X POST https://api.fish.audio/v1/tts
-H "Authorization: Bearer $FISH_API_KEY"
-H "Content-Type: application/json"
-H "model: s2"
-d '{
"text": "This is a custom voice from Fish Audio! You can explore hundreds of different voices on the platform, or even create your own.",
"reference_id": "'"$REFERENCE_ID"'",
"format": "mp3"
}'
--output custom_voice.mp3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions