Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tts api endpoint just returns the html webpage (Docker) #4542

Open
JustinGuese opened this issue Jan 5, 2025 · 1 comment
Open

tts api endpoint just returns the html webpage (Docker) #4542

JustinGuese opened this issue Jan 5, 2025 · 1 comment
Labels
bug Something isn't working unconfirmed

Comments

@JustinGuese
Copy link

LocalAI version:
latest-aio-gpu-nvidia-cuda-12

Environment, CPU architecture, OS, and Version:
AMD64, 3070 RTX, Docker (nvidia container)

Describe the bug
Running the example clone voice api call from the docs just returns the html page, and no audio file
curl --location --request GET 'http://192.168.178.144:8080/tts'
--header 'Content-Type: application/json'
--data '{
"model": "cloned-voice",
"input": "Hello World!"
}'

cloned-voice.yaml from example is located in the models/ folder, together with the audio file

To Reproduce
Follow the clone voice docs

Expected behavior
A wav file is returned with the generated result

Logs
10:24AM INF Success ip=192.168.178.136 latency="460.195µs" method=GET status=200 url=/tts

Additional context

@JustinGuese JustinGuese added bug Something isn't working unconfirmed labels Jan 5, 2025
@Nold360
Copy link
Contributor

Nold360 commented Jan 6, 2025

I'm actively using the endpoint so i can't confirm it's broken, did you try sending a POST request?

https://localai.io/features/text-to-audio/#usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

2 participants