Einen Prompt prüfen
Prüfen Sie Text, ein Bild oder beides, bevor Sie eine Generierung durchführen, und erhalten Sie ein Urteil mit den Optionen allow, flag oder deny sowie einen Score für jede Moderationskategorie.
Autorisierungen
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.
Body
A screen of text, an image, or both. Send at least one of text and image.
The text to screen, up to 8000 characters.
8000Antwort
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