Create AI-task
Creating an AI task. This method allows you to create an AI task for VOD video processing:
- 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)
How to use:
- Create an AI task, specify algoritm to use
- Get
task_id
- Check a result using
.../ai/tasks/{`task_id`}
method For more detailed information, see the description of each method separately.
AI Automatic Speech Recognition (ASR) AI is instrumental in automatic video processing for subtitles creation by using Automatic Speech Recognition (ASR) technology to transcribe spoken words into text, which can then be translated into multiple languages for broader accessibility. Categories:
transcription
– to create subtitles/captions from audio in the original language.translation
– to transate subtitles/captions from the original language to 99+ other languages. AI subtitle transcription and translation tools are highly efficient, processing large volumes of audio-visual content quickly and providing accurate transcriptions and translations with minimal human intervention. Additionally, AI-driven solutions can significantly reduce costs and turnaround times compared to traditional methods, making them an invaluable resource for content creators and broadcasters aiming to reach global audiences. Example response with positive result:
{
"status": "SUCCESS",
"result": {
"subtitles": [
{
"`start_time`": "00:00:00.031",
"`end_time`": "00:00:03.831",
"text": "Come on team, ..."
}, ...
]
"vttContent": "WEBVTT\n\n1\n00:00:00.031 --> 00:00:03.831\nCome on team, ...",
"`concatenated_text`": "Come on team, ...",
"languages": [ "eng" ],
"`speech_detected`": true
}
}, ...
}
AI Content Moderation (CM) The AI Content Moderation API offers a powerful solution for analyzing video content to detect various categories of inappropriate material. Leveraging state-of-the-art AI models, this API ensures real-time analysis and flagging of sensitive or restricted content types, making it an essential tool for platforms requiring stringent content moderation. Categories:
nsfw
: Quick algorithm to detect pornographic material, ensuring content is “not-safe-for-work” or normal.hard_nudity
: Detailed analisys of video which detects explicit nudity involving genitalia.soft_nudity
: Detailed video analysis that reveals both explicit and partial nudity, including the presence of male and female faces and other uncovered body parts.child_pornography
: Detects child sexual abuse materials (CASM).sport
: Recognizes various sporting activities.weapon
: Identifies the presence of weapons in the video content. The AI Content Moderation API is an invaluable tool for managing and controlling the type of content being shared or streamed on your platform. By implementing this API, you can ensure compliance with community guidelines and legal requirements, as well as provide a safer environment for your users. Important notes:- It’s allowed to analyse still images too (where applicable). Format of image: JPEG, PNG. In that case one image is the same as video of 1 second duration.
- Not all frames in the video are used for analysis, but only key frames (Iframe). For example, if a key frame in a video is set every ±2 seconds, then detection will only occur at these timestamps. If an object appears and disappears between these time stamps, it will not be detected. We are working on a version to analyze more frames, please contact your manager or our support team to enable this method. Example response with positive result:
{
"status": "SUCCESS",
"result": {
"`nsfw_detected`": true,
"`detection_results`": [ "nsfw" ],
"frames": [
{
"label": "nsfw",
"confidence": 1.0,
"`frame_number`": 24
},...
]
}
}
Additional information Billing takes into account the duration of the analyzed video. Or the duration until the stop tag(where applicable), if the condition was triggered during the analysis.
The heart of content moderation is AI, with additional services. They run on our own infrastructure, so the files/data are not transferred anywhere to external services. After processing, original files are also deleted from local storage of AI.
Read more detailed information about our solution, and architecture, and benefits in the knowledge base and blog.
Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Body
Response
Response returns ID of the created AI task. Using this AI task ID, you can check the status and get the video processing result. Look at GET /ai/results method.
The response is of type object
.