f in x
Google AI Studio — Create and Test Prompts with Gemini API for Free Without Writing Code
> cd .. / HUB_EDITORIALE
Intelligenza Artificiale

Google AI Studio — Create and Test Prompts with Gemini API for Free Without Writing Code

[2026-06-24] Author: Ing. Calogero Bono

Have you ever had an idea for an AI application but stopped because you didn’t know how to test a prompt without pulling out a credit card? That’s the problem we see most often in projects coming to us for consulting: companies that want to experiment with the Gemini API but get lost between documentation and complex sign-ups.

We, at Meteora Web, believe this: before investing in development, you need to touch what the model can do. That’s why Google AI Studio is a tool we use almost every day. Free, visual, no code required to start. In this guide we show you how to leverage it to create and test prompts with the Gemini API at zero cost, and how to bring the results into your application when you’re ready.

What is Google AI Studio and why test prompts with Gemini API for free?

Google AI Studio is Google's online development environment for experimenting with Gemini models (Pro, Flash, Ultra). Think of it as a lab where you can write prompts, see responses, compare versions, and tweak parameters — all free, without needing an API key to start.

Why does it matter for a professional or a small business? Because it eliminates the risk of spending money on a prompt that doesn’t work. A client asked us to integrate Gemini into a customer service assistant for a clothing e‑commerce. Instead of jumping straight into development, we spent two hours in AI Studio testing various prompts for response style, length, and tone. Result: zero API costs and a final prompt already tuned.

Sponsored Protocol

Google AI Studio also offers a sandbox for features like grounding (real‑time search) and system instructions — tools that in real projects make a difference to revenue, not just likes.

How to get started with Google AI Studio for free?

All you need is a Google account (Gmail, Workspace). Go to aistudio.google.com. No additional registration, no payment. If you later want an API key (more on that below), you’ll be asked to enable billing, but for experimentation inside AI Studio it’s not required.

Steps to start immediately

  1. Open Google AI Studio with your Google account.
  2. You’ll see a page with a library of pre‑built prompts (e.g., “Summarize the text”, “Brainstorm ideas”, “Translate”). Click one to start, or choose “New prompt” on the top left.
  3. Select the model: default is Gemini 1.5 Pro. For quick tests, use Gemini 1.5 Flash — faster, cheaper, ideal for prototyping.
  4. Start writing your prompt!

How to create and test a prompt in Google AI Studio step by step?

Let’s use a concrete example: you need to generate product descriptions for a shoe e‑commerce store.

Write the prompt

In the “Enter your prompt here” area, type: “Genera una descrizione prodotto per scarpe da running modello 'Alpine Pro'. Target: runner amatoriali. Lunghezza massima 150 parole. In italiano. Includi materiale: mesh traspirante, suola in gomma Vibram, peso 280 grammi. Tonality: tecnica ma accessibile.” (It works even in Italian — Gemini understands multilingual).

Sponsored Protocol

Run the test

Click “Run” (triangle icon). In seconds you get the response. If you don’t like it, edit the prompt and try again. The system automatically saves the history (in the left panel “Test history”).

Add context with System Instructions

We’ve noticed many users overlook system instructions. In AI Studio, click on “Show system instructions” (below the prompt). Here you can define the model’s role, for example: “You are a copywriter specialized in fashion e‑commerce. Always respond in Italian, with a professional yet approachable tone. Never use clichés like 'here you go'. Every description must include a subtle call to action.” This single step dramatically improves prompt quality.

Save and compare

Each time you run the prompt, you can press “Save” to add it to the collection. In “Prompt gallery” you can compare different versions. We use this to show the client the evolution: “look, the first version was generic, the last one speaks directly to the target audience.”

How to use advanced parameters to improve results?

Once you have a base prompt, refine it by adjusting Temperature, Top P, Top K, and Max output tokens. In AI Studio these controls are on the right, under “Model settings”.

Sponsored Protocol

  • Temperature (0–2): lower (0.2) → more deterministic responses, higher (1.5) → more creative. For A/B testing, we try 0.7 and 0.2 and choose based on context.
  • Top P (0–1): cumulative probability. Combine with Temperature to limit the model’s vocabulary.
  • Top K: samples only the K most likely tokens. Useful to reduce nonsense responses.
  • Max output tokens: caps the response length. Prevents the model from rambling.

Practical example: if you need a precise product description (low creativity), set Temperature 0.2, Top P 0.1, Max tokens 200. If you’re brainstorming, use Temperature 1.0, Top P 0.9. Try the differences — the result is immediate.

We, at Meteora Web, have a client selling Sicilian wines online. By testing prompts with different Temperature values, we discovered that at 0.3 the model described the wine technically (perfect for B2B), while at 1.2 it wrote emotional storytelling (better for end consumers). Two prompts, two markets.

How to save, compare and share tested prompts?

Google AI Studio allows you to organize tests collaboratively.

Automatic saving

Every run is saved in “Test history”. You can name each test by clicking the pencil icon. Use a descriptive name like “Running shoe description v1”.

Comparison

In the “Prompt gallery” screen, select two or three versions and click “Compare”. The system shows them side by side. This feature is extremely useful when working in teams — instead of debating over chat, you look at real responses.

Sponsored Protocol

Sharing

Every test has a “Share” button. You get a public link (with customisable expiration) to send to a client or colleague. No account needed to view — the client sees the prompt and the response. This reduces misunderstandings.

We use this functionality for remote consulting: the client sends us their first prompt, we test it, share the link with our modifications, and discuss together. Simple, fast, no files lost in email.

From AI Studio to your application: how to get an API key?

Once the prompt is ready and tested, the next step is to use it inside your app. For that you need a Gemini API key.

Procedure to get the key

  1. In AI Studio, click “Get API key” in the top right corner.
  2. You are redirected to Google Cloud Console. If you don’t have a project, create one. Important: enabling billing is mandatory for a working key, but Google offers initial free credit (at the time of writing, $60 for new users). This is enough to test and for a low‑volume MVP.
  3. Create an API key (we advise against using the default “API key 1” in production — create a dedicated one for the project).
  4. Copy the key and use it in your code. Minimal Python example with google-generativeai:
import google.generativeai as genai

# Configure the key
API_KEY = "your_key_here"
genai.configure(api_key=API_KEY)

# Create the model
model = genai.GenerativeModel('gemini-1.5-flash')

# Prompt tested in AI Studio
prompt = """Genera una descrizione prodotto per scarpe da running modello 'Alpine Pro'..."""

# Generate response
response = model.generate_content(prompt)
print(response.text)

Note: the prompt you tested in AI Studio can be copied verbatim (including system instructions). Just set them in the model’s system_instruction parameter.

Sponsored Protocol

For a deeper guide on API integration, read our article Google Gemini — Models, API and Integrations.

What to do next

  1. Open Google AI Studio and try your first prompt. No extra registration needed.
  2. Experiment with parameters: temperature, top_p, system instructions. Notice the difference.
  3. Share a test with a colleague or client using the Share button. Get quick feedback.
  4. Move to the API key only when the prompt is stable. Follow the procedure on Google Cloud Console.
  5. Read our pillar guide on Google Gemini to dive deeper into models, limits, and real costs.

Google AI Studio is one of those tools that remove friction between idea and test. We use it every day, for clients ranging from small shops to national brands. No lifetime subscription, no data hostage — just prompts and results. Just the way we like it.

Ing. Calogero Bono

> AUTHOR_EXTRACTED

Ing. Calogero Bono

Ingegnere Informatico, co-fondatore di Meteora Web. Esperto in architetture software, sicurezza informatica e sviluppo sistemi scalabili.
[ Read Full Dossier ]

> METEORA_WEB // DIGITAL AGENCY

We build the digital presence your business deserves.

Websites, social media, online advertising, e-commerce and high-performance hosting, engineered with method by computer engineers in Sciacca, for all of Italy.

> MW_JOURNAL

> READ_ALL()