Close menu
Explore Plans
Mobile menu Close menu
Gemini

Generate an image

Pro plus icon 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.

Slug
image_url
Filter code
Gemini.generateImage.ImageUrl
Type
Image URL
Example
https://locker.ifttt.com/gemini/images/1a2b3c4d.png

Image description Gemini's own description of the image it generated. Can be empty.

Slug
image_description
Filter code
Gemini.generateImage.ImageDescription
Type
String
Example
A watercolor fox curled up on a mossy log at dusk.

Model used The Gemini model that produced the image.

Slug
model_used
Filter code
Gemini.generateImage.ModelUsed
Type
String
Example
gemini-2.5-flash-image

Prompt used The prompt that was sent to Gemini.

Slug
prompt_used
Filter code
Gemini.generateImage.PromptUsed
Type
String
Example
A watercolor fox curled up on a mossy log at dusk.

Created at When the image was generated.

Slug
created_at
Filter code
Gemini.generateImage.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00