Gemini API guide

gemini.google.com

Send prompts, generate images, start Deep Research runs, and revisit past conversations in Gemini.

Actions and inputs

gemini ask

Send a prompt and return Gemini’s reply.

Inputs Prompt, optional model and thinking level

gemini image

Generate an image in a new chat and optionally download it.

Inputs Prompt, optional aspect ratio, style, and download settings

gemini deep-research

Start and confirm a Deep Research run.

Inputs Research prompt

gemini detail

Open a past conversation and read its turns.

Inputs Conversation ID, URL, or sidebar title

Gemini conversation

Create

Start a Gemini conversation with an opening prompt.

Inputs Opening prompt

Read

Read the turns in your Gemini conversation.

Inputs Conversation ID, URL, or sidebar title

Update

Continue your Gemini conversation with a follow-up prompt.

Inputs Open conversation, follow-up prompt

Delete

Delete your Gemini conversation from the Gemini website.

Inputs Conversation in the sidebar