MODEL IDcontent-safety
coming-soon

Content Safety

Content Safety classifies images and videos as safe or not safe for work, returning a verdict and a confidence score. It exposes the same content checking used by the safety.checkContent parameter as a standalone model, so media can be screened before generation, on upload, or across an existing library. Video inputs support fast checking on key frames or full checking on every frame.

Content Safety

API Options

Platform-level options for task execution and delivery.

taskType

stringrequiredvalue: caption

Identifier for the type of task being performed

taskUUID

stringrequiredUUID v4

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

webhookURL

stringuri

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

Learn more1 resource

deliveryMethod

stringdefault: sync

Determines how the API delivers task results.

Allowed values2 values
Returns complete results directly in the API response.
Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more1 resource

Include task cost in the response.

Inputs

Input resources for the task (images, audio, etc). These must be nested inside the inputs object.

inputs » image

image

string

Image input (UUID, URL, Data URI, or Base64).

inputs » video

video

string

Video input (UUID or URL).

Core Parameters

Primary parameters that define the task output.

model

stringrequiredvalue: content-safety

Identifier of the model to use for generation.

Learn more3 resources

Settings

Technical parameters to fine-tune the inference process. These must be nested inside the settings object.

settings » mode

mode

stringdefault: fast

Safety checking mode for video generation.

Allowed values2 values
Checks key frames.
Checks all frames.