/image/rate endpoint accepts up to 10 image URLs and returns a content rating for each one. The response is synchronous — results are returned in the same HTTP response, not via polling.
Rate images with the default scale
The default scale has two levels:sfw and nsfw.
Rate images with custom levels
Replace the default scale with 2 to 7 custom levels. Each level requires avalue (the string returned in the result) and a description (used by the rating model to decide which level applies).
Ratings are performed by a vision language model and are non-deterministic. Results for
borderline images may vary between requests. The endpoint is optimised for speed and accuracy
at a high level of abstraction — it is not a fine-grained tagging or classification pipeline.Broad, clearly separated scales work best:
safe / suggestive / explicit, or
safe-for-children / safe-for-adults / nsfw are reliable choices. Scales that rely on
subtle visual distinctions — such as subtle-nudity vs artistic-nudity vs
explicit-nudity — are outside the intended use-case and may produce inconsistent results.
If you need that level of granularity, test thoroughly before relying on the output in
production.Handle per-image errors
Ratings are processed in parallel. If a single image cannot be rated, its result containserror_code instead of rating. Other images in the same request are not affected.
rating field:
Rate images generated by Mynth
If you want to rate images that Mynth generated, use thecontent_rating parameter on the generation request instead. This runs the rating during generation and attaches the result to each image.
See Use Content Rating for details.