POST
/
streaming
/
ai
/
tasks#cm_nsfw
curl --request POST \
  --url 'https://api.gcore.com/streaming/ai/tasks#cm_nsfw' \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://demo-files.gvideo.io/ai_demo_subtitles_nudity_detection.mp4",
  "task_name": "content-moderation",
  "category": "nsfw"
}'
{
  "task_id": "aafe70c6-0000-0000-0000-327b65f7670f"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Response

201
application/json

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.