Can you send me documentation how that should be integrated?
https://ai.google.dev/docs
Rather than asking for a rough translation, it would be better to formalize the prompt.
Also, considering the level of sexual censorship in Gemini and openAI, it is better to create options for both.
What is certain is that the lower the cost, the lower the level of censorship.
+) Make the user enter the api key so that money doesn't slip out of your wallet