Getting an API key
Open Google AI Studio
Go to aistudio.google.com and sign in with your Google account.
Add the key in Unreal Engine
Open Edit → Project Settings → Plugins → Node to Code → LLM Services → Gemini and paste your key into the API Key field.
Model selection
Set the model under Node to Code | LLM Services | Gemini → Gemini Model.| Display name | Model ID | Notes |
|---|---|---|
| Gemini 2.5 Pro Preview | gemini-2.5-pro-preview-05-06 | Most capable |
| Gemini 2.5 Flash Preview | gemini-2.5-flash-preview-05-20 | Default — recommended |
| Gemini 2.0 Flash | gemini-2.0-flash | |
| Gemini 2.0 Flash-Lite-Preview-02-05 | gemini-2.0-flash-lite-preview-02-05 | |
| Gemini 1.5 Flash | gemini-1.5-flash | |
| Gemini 1.5 Pro | gemini-1.5-pro | |
| Gemini 2.0 Pro Exp 02-05 | gemini-2.0-pro-exp-02-05 | Experimental |
| Gemini 2.0 Flash Thinking Exp 01-21 | gemini-2.0-flash-thinking-exp-01-21 | Experimental thinking model |