Coding Editorial example

Google AI Studio prompt for Prototyping and integrating Gemini models into applications

An editorial example for Prototyping and integrating Gemini models into applications in Google AI Studio, written for our guide and not tested against the vendor

For
Google AI Studio
Source
AI Tool Atlas guide: Google AI Studio
Checked
Oct 1, 2026

The prompt

Editorial example from our guide
Generate a Python function to calculate Fibonacci numbers up to n terms with explanation and test cases
How to use this prompt: fill the variables, run it in Google AI Studio, check the resultYOU FILL INReady to runPaste the prompt as isNo variables to replaceTHE PROMPTGoogle AI Studio17 words · 1 linesource: editorial exampleYOU GETThe resultAn editorial example for Prototyp…check the result against the tipscopy, paste, run in Google AI Stu…fill → run → check · prompts are copied word for word from their source
How to use this prompt: what to fill in, where to run it, what comes back

How to check the result

  • Verify your API key is active in Google Cloud console
  • Test API integration with a simple prompt to confirm responses are received

This prompt was written as an example for our guide and has not been run against the tool. Expect to adapt it to your case. How we document tools.

Where to run it

Google AI Studio

Web · API

No user reviews yet

Google's browser workspace for prototyping with Gemini models and getting a Gemini API key, with a free tier and pay-as-you-go API.

Free stops at: Limited access to certain models (excludes experimental models like Veo), Free input and output tokens

Listed Not yet reviewed

Verified ai.google.dev (opens Google AI Studio website in a new tab)

Free plan available US price unconfirmed

More coding prompts

Coding Vendor library

Sample prompt for conservative action

Do not jump into implementation or change files unless clearly instructed to make
changes. When the user's intent is ambiguous, default to providing information, doing
research, and providing recommendations rather than taking action. Only…
46 words · for Claude