curl "$OPENAI_API_BASE/audio/speech" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}' -v | mpv -
Relevant log output
LiteLLM:ERROR[0m: langfuse.py:232 - Langfuse Layer Error(): Exception occured - cannot access local variable 'output' where it is not associated with a value
What happened?
https://litellm.vercel.app/docs/text_to_speech
Relevant log output
Twitter / LinkedIn details
https://www.linkedin.com/in/davidmanouchehri/