Skip to main content

Getting an API key

1

Open Google AI Studio

Go to aistudio.google.com and sign in with your Google account.
2

Create an API key

Click Get API key and then Create API key. Copy the generated key.
3

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.
4

Select Gemini as your provider

Under Node to Code | LLM Provider, set Provider to Gemini.

Model selection

Set the model under Node to Code | LLM Services | Gemini → Gemini Model.
Display nameModel IDNotes
Gemini 2.5 Pro Previewgemini-2.5-pro-preview-05-06Most capable
Gemini 2.5 Flash Previewgemini-2.5-flash-preview-05-20Default — recommended
Gemini 2.0 Flashgemini-2.0-flash
Gemini 2.0 Flash-Lite-Preview-02-05gemini-2.0-flash-lite-preview-02-05
Gemini 1.5 Flashgemini-1.5-flash
Gemini 1.5 Progemini-1.5-pro
Gemini 2.0 Pro Exp 02-05gemini-2.0-pro-exp-02-05Experimental
Gemini 2.0 Flash Thinking Exp 01-21gemini-2.0-flash-thinking-exp-01-21Experimental thinking model
Gemini 2.5 Flash Preview is the recommended choice for most use cases — it delivers strong translation quality at a low cost per token. Use Gemini 2.5 Pro Preview when you need maximum reasoning capability for complex Blueprint graphs.

Build docs developers (and LLMs) love