Here's our latest workflow for using Gemini 2.0 Flash in ComfyUI. While you can use Gemini 2.0 Flash in Google's AI Studio, this workflow allows you to harness the image generation and editing capabilities of Gemini natively in your ComfyUI instance. You can combine this with other node setups to take your generations to the next level.
1. Install missing custom nodes and load your images. (You can reference the images in your prompt by describing scenarios like, "Use the logo from the first image, and put it on the hat in the second image". Gemini will understand different images.)
2. Give a prompt to either edit or generate an image.
3. Input your API key into the⭐API Key node. Google Gemini 2.0 Flash is completely free to use. Obtain an API key from here: https://aistudio.google.com/apikey
4. Hit "Run" to send your prompt and receive your generation results.

Thanks for supporting and happy creating!
- Nate from the Black Mixture team
Guilherme Pereira
2025-04-28 13:32:04 +0000 UTCGuilherme Pereira
2025-04-28 13:28:48 +0000 UTCBlack Mixture
2025-04-08 02:36:12 +0000 UTCHoàng Giang Sơn Trương
2025-04-08 02:13:31 +0000 UTC