Gemini API as saftey tool

We operate a UK social app. Every user-uploaded video is sent to the Gemini API for safety classification before publication, so prohibited content is detected and blocked. We never use the API to generate content. Can you confirm this use is permitted under the Generative AI Prohibited Use Policy?