Skip to main content

Transcribe audio

PUT 

https://demo.frigate.video/api/audio/transcribe

Transcribes audio from a specific event. Requires audio transcription to be enabled in the configuration. The event_id must exist in the database. Returns a success message or an error if audio transcription is not enabled or the event_id is invalid.

Request​

Bodyrequired

    event_idEvent Id (string)required

Responses​

Successful Response

Schema
    successSuccess (boolean)required
    messageMessage (string)required
import http.client
import json

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({
"event_id": "string"
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("PUT", "/api/audio/transcribe", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://demo.frigate.video/api
Body required
{
  "event_id": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!