RestAPI Responds with Audio File

RestAPI Responds with Audio File

I’m making an attempt to combine a distinct segment TTS supplier. I’ve the RestAPI working accurately, nevertheless it operates by responding with the and audio file. I don’t know precisely learn how to inform Home Assistant what to do with the file. I might simply as quickly have it play the audio file on to a media participant and never save the file, but when I want to avoid wasting the file, that’s effective too.

Here is what I at the moment have:

motion: rest_command.fish_audio_tts
metadata: {}
information:
  mannequin: speech-1.5
  model_reference_id: 5196af35f6ff4a0dbf541793fc9f2157
  tts_text: This is the textual content I will probably be studying.
  format: mp3
response_variable: api_request_response

How do I get that file to play to my media participant?

1 put up – 1 participant

Read full subject

HI-FI News

by way of Home Assistant Community – Latest subjects https://ift.tt/21V46I7

March 27, 2025 at 04:37AM