筛查提示词
在生成之前筛查文本、图像或两者,并获取针对每个审核类别的评分,以及允许、标记或拒绝的判定结果。
授权
Send your API key as a bearer token: Authorization: Bearer <api_key>. A test mode key starts with dodo_test_, for example dodo_test_AbCd1234EfGh5678.<secret>. A live mode key starts with dodo_live_. Use a test mode key on test.dodopayments.com and a live mode key on live.dodopayments.com. Keys from before these tags have no tag and operate as before.
请求体
A screen of text, an image, or both. Send at least one of text and image.
The text to screen, up to 8000 characters.
8000响应
The verdict.
The verdict of one screen.
The categories whose score crossed the threshold of the category. It can be empty on a
flag from the general check. notes then gives the reason.
A moderation category.
violent_crimes, sex_related_crimes, child_sexual_exploitation, suicide_and_self_harm, indiscriminate_weapons, intellectual_property, defamation, non_violent_crimes, hate, privacy, specialized_advice, sexual_content, non_consensual_intimate_imagery, minor_coded_language, real_person_likeness, living_artist_style, prompt_injection