POST
/
streaming
/
ai
/
tasks#cm_hard_nudity
curl --request POST \
  --url 'https://api.gcore.com/streaming/ai/tasks#cm_hard_nudity' \
  --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": "hard_nudity",
  "stop_objects": "FEMALE_GENITALIA_EXPOSED,FEMALE_BREAST_EXPOSED:0.50,BUTTOCKS_EXPOSED:0.90"
}'
{
  "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.