Skip to main content
POST
Analyze Document

Authorizations

ds-api-token
string
header
required

Body

multipart/form-data

Upload an image for authenticity check

file
file

Input image file

Response

200 - application/json

Deepfake analysis results with fraud likelihood and document authenticity

Response payload containing the deepfake analysis results for an image, video, or streaming session.

id
string<uuid>
required

Job Id

Example:

"01827ed4-c928-7a3c-9a30-7ab7cc169d11"

status
enum<string>
required

Job Status

Available options:
queued,
completed,
failed
Example:

"completed"

job_type
enum<string>
required

Job Type

Available options:
image,
video,
audio
Example:

"image"

content_type
string
required

Content Type from original request

Example:

"image/jpeg"

file_size_bytes
integer
required

File size in bytes

Example:

1024

score
number

Score of image. Defined only when job has completed successfully

Example:

0.985

verdict
enum<string>

Verdict of image. Defined only when job has completed

Available options:
deepfake_likely,
deepfake_unlikely
Example:

"deepfake_unlikely"

error_code
enum<string>

Error code of image. Defined only when job has failed

Available options:
NoFaceDetected,
RuntimeError,
FaceTooBlurry,
FaceTooDark,
FaceTooBright,
Unknown
Example:

"NoFaceDetected"

message
string

Additional message

Example:

"No face detected"

sandbox
boolean

Flag indicates that verification is created in sandbox env

Example:

false