This query returns an image generated by Gemini from the prompt you provide. Gemini's image models are paid-tier only, so the API key you connected must have billing enabled.
Developer info
API endpoint slug
gemini.generate_image
Runtime method
performQuery("gemini.generate_image"}
Query fields
Model Dropdown list
Label
Model
Helper text
Which Gemini image model to use. All of them need a paid Gemini API key — enable billing at aistudio.google.com.
Slug
model
Required
true
Can have default value
false
Prompt Text input > Short text
Label
Prompt
Helper text
Describe the image you want. Be specific about subject, style, lighting, and composition — Gemini's image models follow detailed prompts closely.
Slug
prompt
Required
true
Can have default value
true
System instructions Text input > Other
Label
System instructions
Helper text
Optional instructions that apply to every image, e.g. a house style to follow or subjects to always avoid.
Slug
system_instructions
Required
false
Can have default value
true
Aspect ratio Dropdown list
Label
Aspect ratio
Helper text
Leave as Model default to let Gemini choose. Not every model supports every ratio, and Gemini rejects a combination it can't produce.
Slug
aspect_ratio
Required
false
Can have default value
true
Ingredients
Image url
Public URL of the generated image, hosted by IFTTT.