I am using https://aistudio.google.com/ to use Google Gemini 1.0 to upload some pdfs, docs etc.
The documentation https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini#request_body gives an example of the image but it doesn't work.
Can someone help me to tell me a way to upload files using an Gemini API to upload the files?