Get AI task result
This is the single method to check the execution status of an AI task, and obtain the result of any type of AI task. Based on the results of processing, the “result” field will contain an answer corresponding to the type of the initially created task:
- ASR: Transcribe video
- ASR: Translate subtitles
- CM: Sports detection
- CM: Weapon detection
- CM: Not Safe For Work (NSFW) content detection
- CM: Soft nudity detection
- CM: Hard nudity detection
- CM: Child Sexual Abuse Material (CSAM) detection
- CM: Objects recognition (soon)
- etc… (see other methods from /ai/ domain)
A queue is used to process videos. The waiting time depends on the total number of requests in the system, so sometimes you will have to wait. Statuses:
- PENDING – the task is received and it is pending for available resources
- STARTED – processing has started
- SUCCESS – processing has completed successfully
- FAILURE – processing failed
- REVOKED – processing was cancelled by the user (or the system)
- RETRY – the task execution failed due to internal reasons, the task is queued for re-execution (up to 3 times) Each task is processed in sub-stages, for example, original language is first determined in a video, and then transcription is performed. In such cases, the video processing status may change from “STARTED” to “PENDING”, and back. This is due to waiting for resources for a specific processing sub-stage. In this case, the overall percentage “progress” of video processing will reflect the full picture.
The result data is stored for 1 month, after which it is deleted.
For billing conditions see the corresponding methods in /ai/ domain. The task is billed only after successful completion of the task and transition to “SUCCESS” status.
Authorizations
API key for authentication.
Path Parameters
ID of the task to get status of execution or result. This value is taken from the response of the initial AI task creation method.
Response
Result of AI task execution
The response is of type object
.