cURL
curl --request POST \ --url https://api.enkryptai.com/guardrails/detect-audio \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "text_input": "<string>", "audio_data": "<string>", "need_explanation": false } '
200
unsafe_no_explanation
{ "response": "The content is UNSAFE", "is_unsafe": true }
Analyze audio with text for safety threats using multimodal guardrails
The text prompt to accompany the audio for analysis.
Base64-encoded audio file content.
Whether to include a detailed explanation of the safety assessment in the response.
Multimodal audio detection results.
The safety assessment result. When need_explanation is true, includes a detailed explanation.
Whether the analyzed content was determined to be unsafe.