How to create my own API Key?
Access Get API key | Google AI Studio
Accept all terms, later click in continue.
Click in Get API Key
Later click in Create API Key
Now Click in Got It
Later Click in Create API Key in new project.
And your api key is generated.
New Feature: File Attachment Support
You can now attach files when making requests to Gemini AI.
Files can be images, PDFs, or documents, making your prompt more context-rich.
The component automatically encodes and includes the file data with your API call.
https://ai.google.dev/gemini-api/docs