Content moderation
Analyze image
Analyze image with your Moderation API project
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The URL of the image you want to analyze.
The author of the content.
The unique ID of the content in your database.
Required string length:
1 - 100
For example the ID of a chat room or a post
Do not store the content. The content won't enter the review queue
Any metadata you want to store with the content
Response
200 - application/json
Whether the content was flagged by any models
The scores of each label
Information about the request
Success if the request was successful
The ID of the content. Only returned if the content was stored.
The texts found in the image, if the image text model is enabled
Was this page helpful?