Analizar un prompt
Analiza texto, una imagen o ambos antes de generar y obtén un veredicto de permitir, marcar o denegar, con una puntuación para cada categoría de moderación.
Autorizaciones
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.
Cuerpo
A screen of text, an image, or both. Send at least one of text and image.
The text to screen, up to 8000 characters.
8000Respuesta
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