Skip to main content
POST
/
predict
AI-voice detection
curl --request POST \
  --url https://api.aurigin.ai/v1/predict \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form file=@example-file \
  --form device=api \
  --form model=apollo-4-2025-10-20
{
"prediction_id": "pred_9b6ff057a7f7",
"global": {
"confidence": 0.95,
"result": "spoofed",
"reason": null
},
"segments": [
{
"index": 0,
"start": 0,
"end": 5,
"confidence": 0.96,
"result": "spoofed"
},
{
"index": 1,
"start": 5,
"end": 10,
"confidence": 0.94,
"result": "spoofed"
}
],
"model": "apollo-4-2025-10-20",
"processing_time": 1.23,
"audio_duration": 10,
"warnings": []
}

Authorizations

x-api-key
string
header
required

Body

Provide either a direct file upload or a presigned URL. Include device to tag the caller and optionally choose a model.

file
file
required
device
enum<string>

Optional device type making the request

Available options:
macos,
windows,
web_app,
api
model
enum<string> | null

Optional model version to run. Currently only apollo-4-2025-10-20 is available for this endpoint.

Available options:
apollo-4-2025-10-20
prediction_id
string

Optional custom prediction identifier

Response

Global verdict plus per-segment predictions and confidence scores.

prediction_id
string

Unique identifier for this prediction

global
object
segments
object[]

Array of segment-level predictions. Each segment represents a 5-second chunk of the audio.

model
string

Model version used for prediction

processing_time
number

Time taken to process the audio in seconds

audio_duration
number

Duration of the audio file in seconds

warnings
string[]

Array of warning messages, if any