Run Intelligence

POST https://app.resemble.ai/api/v2/audio_intelligence

Analyzes a media file and returns comprehensive intelligence including speaker details, transcription, emotion detection, AI abnormalities, misinformation signals, and anti-cheating indicators.

Request Body

FieldTypeRequiredDescription
audio_tokenstringToken for uploaded audio file (from secure upload).
urlstringHTTPS URL to audio, image, or video file.
jsonbooleanReturn description as JSON. Default: false.

Note: Either audio_token or url must be provided. Processing is synchronous.

Example

$curl --request POST 'https://app.resemble.ai/api/v2/audio_intelligence' \
> -H 'Authorization: Bearer YOUR_API_TOKEN' \
> -H 'Content-Type: application/json' \
> --data '{
> "url": "https://example.com/audio/sample.wav",
> "json": true
> }'

Response

With json=false (default)

1{
2 "success": true,
3 "item": {
4 "description": "This is an adult male speaker with a confident tone discussing product features...",
5 "created_at": "2024-01-15T10:30:00Z"
6 }
7}

With json=true

1{
2 "success": true,
3 "item": {
4 "description": {
5 "speaker_info": "Adult male speaker",
6 "language": "en",
7 "dialect": "en-US",
8 "emotion": "confident",
9 "speaking_style": "conversational",
10 "context": "Product marketing pitch",
11 "message": "Introducing a new feature",
12 "abnormalities": "No anomalies detected",
13 "transcription": "Welcome back to the Resemble product update...",
14 "translation": null,
15 "misinformation": "No misinformation detected"
16 },
17 "created_at": "2024-01-15T10:30:00Z"
18 }
19}

When json=true, the description is parsed as JSON if possible. Otherwise, it contains a human-readable narrative string.