Free Setup Guide

Google AI Studio free tiers for creators: Gemini, ImageFX, Veo without $60

You do not need five subscriptions to ship daily content. Google bundles the stack behind free tiers that reset. Gemini (Google’s general AI model) handles writing. ImageFX (Google’s text to image tool) makes stills. Flow (Google Labs video tool that uses Veo) makes short clips. NotebookLM (Google’s research notebook with source citations) keeps facts straight. AI Studio (Google’s dev console for Gemini API and tiny tools) glues it together.

Adam BurgeAdam BurgeNano Flow

Start at ai.google, sign in, and pick the job instead of opening another paid tab. The catch is real. Long Veo (Google’s text to video model) jobs can queue, and limits exist. For daily creator work and small automations, this setup covers chat, images, video, research, and little app endpoints without paying sixty a month.

Here is the quick path I use. Create a free API key in AI Studio, wire it to a tiny script, then branch to images or video in Labs when needed. This gives you fast text tools locally, with web apps for visuals.

1) Get a free Gemini API key. Go to ai.google, open AI Studio, and make a key. Keep it handy.

2) Install the Python SDK and set the key. I did this on macOS, but it is the same on Linux.

bash
python3 -m pip install --upgrade google-generativeai
export GOOGLE_API_KEY="AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"

3) Verify the key works. This asks gemini-1.5-flash for a short reply.

bash
python3 -c 'import os,google.generativeai as genai;genai.configure(api_key=os.environ["GOOGLE_API_KEY"]);print(genai.GenerativeModel("gemini-1.5-flash").generate_content("Reply with OK").text)'

If you see OK, your local toolbelt is live. From here, use Gemini in your scripts for outlines, captions, and metadata. Hop to ImageFX (Google’s text to image tool) in Labs for thumbnails, and Flow with Veo for short clips. Stop here if you just needed the free core. The full guide below covers Windows setup, JSON output, rate limits, and fixes when the key fails.


Here is the quick path I use. Create a free API key in AI Studio, wire it to a tiny script, then branch to images or video in Labs when needed. This gives you fast text tools locally, with web apps for visuals.

1) Get a free Gemini API key. Go to ai.google, open AI Studio, and make a key. Keep it handy.

2) Install the Python SDK and set the key. I did this on macOS, but it is the same on Linux.

bash
python3 -m pip install --upgrade google-generativeai
export GOOGLE_API_KEY="AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"

3) Verify the key works. This asks gemini-1.5-flash for a short reply.

bash
python3 -c 'import os,google.generativeai as genai;genai.configure(api_key=os.environ["GOOGLE_API_KEY"]);print(genai.GenerativeModel("gemini-1.5-flash").generate_content("Reply with OK").text)'

If you see OK, your local toolbelt is live. From here, use Gemini in your scripts for outlines, captions, and metadata. Hop to ImageFX (Google’s text to image tool) in Labs for thumbnails, and Flow with Veo for short clips. Stop here if you just needed the free core. The full guide below covers Windows setup, JSON output, rate limits, and fixes when the key fails.

Setup

macOS

  • Install Python SDK
bash
python3 -m pip install --upgrade google-generativeai
  • Export your key in the current shell
bash
export GOOGLE_API_KEY="AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"
  • Optional Node setup
bash
npm init -y
npm i @google/generative-ai

Linux

  • Python
bash
python3 -m pip install --upgrade google-generativeai
export GOOGLE_API_KEY="AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"
  • Node
bash
npm init -y
npm i @google/generative-ai

Windows

  • Python
bash
py -m pip install --upgrade google-generativeai
setx GOOGLE_API_KEY "AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"

Close and reopen your terminal so the env var loads.

  • PowerShell one liner
bash
$env:GOOGLE_API_KEY="AIzaSyD3E4fakeExampleKey1234567890abcdEFGH"
  • Node
bash
npm init -y
npm i @google/generative-ai

First script

Create a file generate.py.

py
import os
import google.generativeai as genai

genai.configure(api_key=os.environ["GOOGLE_API_KEY"]) # set earlier
model = genai.GenerativeModel("gemini-1.5-flash")

prompt = "Write an Instagram caption about a 30 second coffee b-roll. Keep it under 20 words."
res = model.generate_content(prompt)
print(res.text)

Run it.

bash
python3 generate.py

Optional Node script

Create index.mjs.

ts
import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI(process.env.GOOGLE_API_KEY);
const model = genAI.getGenerativeModel({ model: "gemini-1.5-flash" });
const result = await model.generateContent("Reply with OK");
console.log(result.response.text());

Run it.

bash
node index.mjs

Verify

You should see short text output. Here are examples.

Python expected output:

bash
OK

Or a caption like:

bash
Morning brew in 30 seconds. Steam, pour, sip. #coffee #broll

Node expected output:

bash
OK

If you see 401 or an exception, jump to Troubleshooting.

Configuration tips

  • Pick the right model name.
  • - gemini-1.5-flash for speed and cheap daily drafting. - gemini-1.5-pro for heavier reasoning and longer contexts.

  • Control tone and length. Use generation_config.
py
model = genai.GenerativeModel(
"gemini-1.5-flash",
system_instruction="You are a concise social caption assistant."
)
res = model.generate_content(
"Caption a 10s timelapse of city lights. 12 words max.",
generation_config={
"temperature": 0.7,
"top_p": 0.9,
"max_output_tokens": 120,
}
)
print(res.text)
  • Ask for JSON. This is handy for thumbnails, chapters, or shot lists.
py
model = genai.GenerativeModel("gemini-1.5-flash")
res = model.generate_content(
"Return JSON with keys: title, tags (array of 5).",
generation_config={"response_mime_type": "application/json"}
)
import json
print(json.loads(res.text))
  • Stream responses for snappier UX.
py
for chunk in model.generate_content("Write 5 hooks for a travel reel", stream=True):
if chunk.text:
print(chunk.text, end="", flush=True)
print()
  • Keep quotas in check. Prefer short prompts, gemini-1.5-flash for iterative work, and batch longer jobs during off hours. If you hit 429, back off and retry after a few minutes.

Troubleshooting

  • 401 Unauthorized or empty response
  • - Cause: bad or missing GOOGLE_API_KEY. - Fix: in a fresh terminal, echo the var then rerun.

bash
echo $GOOGLE_API_KEY # macOS/Linux
$Env:GOOGLE_API_KEY # PowerShell

- If empty, recreate the key in AI Studio and export it again.

  • 429 Resource exhausted
  • - Cause: free tier rate or quota limit. - Fix: switch to gemini-1.5-flash, shorten prompts, add retry with exponential backoff, wait for the daily reset.

  • SSL or cert errors on macOS
  • - Cause: Python missing certs. - Fix: run the bundled script then retry.

bash
/Applications/Python\ 3.11/Install\ Certificates.command

When it beats ChatGPT Plus

  • Creator pipeline in one place. Draft in Gemini, make thumbnails in ImageFX, kick a short clip in Flow with Veo, and ground research in NotebookLM. No juggling three paid tabs.
  • Tiny internal tools. AI Studio keys let you ship a captioner, title tester, or alt text helper in a day without adding a monthly bill.
  • Larger context windows for research. Paste long briefs or transcripts and keep going, then cite sources in NotebookLM for the handoff doc.
  • Cost control for teams. Free tiers reset daily, so routine drafts, metadata, and ideation stay off the credit card.

Sources

-

Want a hand?

Book a 30-min call.

Walk through your stack with us. We'll find the bottleneck and map out the exact wiring you need — free.

Book the callFree intro · 30 min · cal.com
Nano Flow

© 2026 Nano Flow. All rights reserved.