Forum in maintenance, we will back soon 🙂
Create Free AI Tools With WordPress and Gemini in 3 Minutes is not working for me
@vfedulov I fixed both your codes, you only need to enter your gemini API key in the PHP script and it will work.
@husein Its alive! Thanx man, it works well now. 👍 👍 👍
@husein Ok, it works now, good. So next question: what to change in code snippet to make this generator not to generate titles, but to generate long read? i.e. "generate text of 1000 characters about...". So I don't need titles, i want it to work similar to ChatGPT. Is it possible to do in offline mode connecting my API Key?
Thnx in advance.
@vfedulov This snippet is coded in a way it works better for titles and takes them and display as shown. You can edit the code so that it generates long text but not in this form.
I think this tutorial gives you the simple script that works for any tool then you can edit the prompt in it to generate something long.
try to do it yourself, and if you want any help we'll be here to help.