Saltar a la navegación

Cut a face track for a segment

Cuts frames [startFrame, endFrame) at fps from a matched speaker’s face track and returns a bounding-boxes file for that segment. Pass the url as the segment’s active_speaker_detection.bounding_boxes_url so the segment lipsyncs that speaker. url is null when the face is on none of those frames; leave that segment unlipsynced or use auto-detect. 60 requests per minute.

Autenticación

x-api-keystring
Autenticación con clave API vía encabezado

Parámetros de ruta

idstringRequerido
Transcription job id.

Solicitud

This endpoint expects an object.
revisionstringRequerido
The revision of the transcription job.
speakerIdstringRequerido
Id of a matched speaker.
startFrameintegerRequerido
First frame of the segment.
endFrameintegerRequerido
Frame after the last frame of the segment. Must be greater than startFrame.
fpsdoubleRequerido
Frame rate of your source frame grid.
skipobjectOpcional
Frames inside the segment that its footage no longer holds, for example because a cut removed them. Must lie strictly inside the segment.

Respuesta

Face track slice created
urlstringOpcional

URL of a JSON file with a bounding_boxes array, one entry per frame of the segment. Pass it as the segment’s active_speaker_detection.bounding_boxes_url. Null when the face is on none of the segment’s frames.

Errores

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Speaker Analysis Too Many Requests Error
500
Internal Server Error