2 days ago by Amaury Vaillant
After following the different steps and setting the Boolean Toogle to "True", getting the following error from the Python 3 Script component: 1. Error running script: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'models/gemini-2.0-flash-preview-image-generation is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.', 'status': 'NOT_FOUND'}} [141:1]
Amaury Vaillant 1 day ago
Thank you for the quick feedback Arie (and for the great content!)
I am very interested in this workflow using AI Rendering through Grasshopper, do you believe there are any possibilities in integrating Nano Banana (or another model) directly through a Grasshopper Python script?
Arie Willem de Jongh about 7 hours ago
Hi Amaury,
Yes there is! We're also very interested in this, so much so that we're developing a Rhino plugin streamlining this process. It will connect with AI Image models like Nano Banana and the FLUX family. We're still testing and fine-tuning, but we hope to release it soon. You can check it out here fastrender.ai (it's still under construction)
I'm creating some extra videos and assets where I use the recommended gemini-2.5-flash-image model. I'm checking that because it is 'free', but you have to provide your payment details to Google. Supposedly, you get $300 in free credit and 3 months to use it.
Keep an eye on our newsletter for updates and thanks for your interest.
Best,
Arie
Arie Willem de Jongh 1 day ago
Hi Amaury,Â
I just checked their page and you're right, apparently the model gemini-2.0-flash-preview-image-generation is not currently supported in a number of countries in Europe, Middle East & Africa. https://ai.google.dev/gemini-api/docs/models#gemini-2.0-flash-image
Unfortunately, you'd have to do the process manually by going here: https://aistudio.google.com/prompts/new_chat?model=gemini-2.5-flash-image
The good thing is that this is the improved gemini-2.5-flash-image (Nano Banana) model, so you'll get way better results than the gemini-2.0-flash-preview-image-generation.
Best,
Arie
Amaury Vaillant 2 days ago
After doing some research, it looks like the Gemini 2.0 Flash Preview Image Generation model is not available in several Europe, Middle East and Africa countries anymore. Any workaround?