Hi all
I would like to create a website that the Gemini API integrated in it.
Can someone direct me to a document on how to upload all the files?
All the best,
Chaim Duchonvy
Welcome to the forum. I am not sure what the reference to a website is about. The API function to upload files is here google.generativeai.upload_file | Google AI for Developers | Google for Developers
There is also a command-line version available here Method: media.upload | Google AI for Developers | Google for Developers
Hope that helps.
Hi OrangiaNebula
I mean html, python, javascript files etc.
Hi @Chaim_Duchovny .
Would you like to submit your website to Gemini API competition ?
If your code is public, in the submition form, add a link to your Github repository . Otherwise, upload a zip file to Google Drive, set the sharing to ‘Anyone with the link,’ and past the link into submition form.
Hope this helps ![]()
Hi Carlos
Thank you for your kind response.
I think that helps.
All the best,
Chaim Duchovny