You can use Gemini Connector for content generation and embedding using API key.
Gemini Connector provides advanced AI multi-modal content generation functionalities. Gemini models can create content from various types of data input, including text, images, and audio.
You can create and use the API Key only if you belong to the set of regions specified by Google. For information about the regions that are allowed to create and use the API Key, see the Available regions Gemini documentation.