Direct answer
Google AI Studio vibe coding happens in Build mode. You describe an app, and Gemini generates a full-stack web app or a native Android app with a live preview. You can then refine it in chat, keep a web app in GitHub, publish it on Cloud Run, Google's hosting, or install Android apps on a phone. This guide covers the steps, example prompts, publishing options, limits and a checklist, from Google's own docs.

What Build mode does
Google AI Studio vibe coding happens in Build mode at aistudio.google.com/apps. You describe an app in plain words, and Gemini generates the code and files with a live preview beside them.
Google's Antigravity Agent manages the files across the project, keeps the context of earlier prompts, and checks its code changes. You keep refining through chat, by pointing at the preview, or by editing the code yourself.
What vibe coding means, and where AI Studio fits
Vibe coding is a way to build software by guiding an AI assistant in plain language. The assistant writes, refines and debugs the code, and you steer it through conversation. Andrej Karpathy coined the term in early 2025.
Google's own guide names two ways to apply it:
- Pure vibe coding: you trust the AI's output and skip the code. It suits quick ideas and throwaway weekend projects.
- Responsible AI-assisted development: the AI acts as a pair programmer, and you review, test and understand the code before you ship it.
Vibe coding runs on two loops: refine the code, then ship the application
Google describes vibe coding at two levels. The small loop improves one piece of the app. The large loop takes the whole application from an idea to real users.
Google calls the last step vibe deploying: you launch the app to a live environment such as Cloud Run with one click or one prompt.
- The small loop: describe the goal, let the AI generate code, run it and watch, then give feedback. Repeat until the piece works.
- The large loop: describe the whole application in one prompt, let the AI generate the interface, backend logic and files, refine it with follow-up prompts, have a person check security and quality, then deploy.
Vibe coding versus traditional programming: what changes
Google's comparison shows where the work moves when you vibe code:
| What you compare | Traditional programming | Vibe coding |
|---|---|---|
How code gets written | Traditional programming Manually, line by line | Vibe coding Generated by AI from plain-language prompts |
Your role | Traditional programming Architect, implementer, debugger | Vibe coding Prompter, guide, tester, refiner |
Skill needed | Traditional programming Knowledge of programming languages and syntax | Vibe coding An understanding of what the app should do |
Fixing errors | Traditional programming Manual debugging based on reading the code | Vibe coding Refining through conversational feedback |
Keeping code healthy | Traditional programming Depends on code quality and developer skill | Vibe coding Depends on the AI's output and on your review |
Web app or Android app: what each one gives you
| What you compare | Web app | Android app |
|---|---|---|
What gets generated | Web app A React frontend by default, plus a Node.js server | Android app A Kotlin and Jetpack Compose project |
Preview | Web app Live preview beside the code | Android app An Android emulator in the browser |
Server features | Web app npm packages, secrets, multiplayer, Workspace APIs | Android app None: Android apps are client-side only |
Gemini API key | Web app Kept as a server-side secret | Android app No key in the app; Firebase AI Logic and App Check instead |
Where it goes | Web app Cloud Run, GitHub or a ZIP download | Android app Your phone over USB, Google Play internal testing, or a ZIP to open in Android Studio; no GitHub export yet |
How to vibe code an app in Google AI Studio
Five steps take you from an idea to a shareable app:
- Open Build mode and pick web app or Android app.
- Describe the app in the prompt box, and add AI Chips for features such as image generation or Google Maps data.
- Test the live preview, then ask for changes in the chat panel.
- Use annotation mode to highlight part of the app and describe the change, or edit files in the Code tab.
- Publish a web app to Cloud Run or sync it to GitHub; for an Android app, install it on a phone or download the project as a ZIP.
Google AI Studio vibe coding in four steps
The four steps, in the order you take them.

- Step 1: Open Build mode
- Step 2: Prompt the app
- Step 3: Refine in chat
- Step 4: Publish or install
Other ways to start
- I'm Feeling Lucky: Gemini writes a project idea for you.
- App Gallery: open an example app and choose Copy App to remix it.
- Import from GitHub: bring existing code in from the Add files menu.
The Build mode interface, panel by panel
Build mode puts the chat on one side and the app on the other. Each part has one job:
- Prompt box: describe the app, add AI Chips, speak your prompt with the speech-to-text button, or import code from GitHub through the Add files menu.
- Platform picker: choose a web app, the default, or a native Android app.
- Chat panel: ask Gemini to change the app, add features or restyle it.
- Preview: use the live app on the right-hand side as it is built.
- Annotation mode: highlight part of the app's interface and describe the change you want.
- Code tab: read every generated file and edit the code yourself.
- Settings: store keys in the Secrets panel and link a repository in the GitHub tab.
- Integrations panel: add Google Workspace apps such as Calendar, Gmail and Sheets.
- Share and Publish: share the app with other users, or publish it to Cloud Run from the top-right corner.
Write a first prompt that gives a usable draft
A prompt that names who uses the app, the screens, the data and the features gives the agent less to guess. Two examples of that shape:
Build a web app for a small bakery to take pickup orders.
Screens: menu with photos, cart, order form with a pickup time,
and an owner view listing today's orders.
Store orders in Firestore. Sign in with Google for the owner view only.
Build an Android app that logs daily water intake.
One screen with a big add button, today's total and a 7-day bar chart.
Save entries on the device.Follow-up prompts that refine the draft
The first draft is a starting point. Short follow-up prompts, one change at a time, are easier for the agent to get right. Google's docs use prompts like these:
Make the background a dark gray and use a bright green
for the title and button to give it a 'techy' feel.
Build an app that reads my Google Calendar and drafts
prep emails in Gmail for each meeting.
Make an expense tracker where I upload a receipt, Gemini
extracts the details, and it logs a new row in my Google Sheet.
Fix any build issues with the current code.What a web app can do on the server
Web apps run with a full server, so the agent can add five kinds of feature for you:
- npm packages, which the agent installs as the app needs them.
- Secrets, stored in Settings and read only by server code.
- Multiplayer, for real-time collaboration between users.
- Firebase Firestore and Firebase Authentication, including Sign in with Google, set up and wired into the code for you.
- Google Workspace APIs such as Gmail, Sheets, Docs, Drive and Calendar, with the OAuth setup handled.
Connect data, Google Workspace and device features
A web app can reach far more than Firestore. Three kinds of connection cover most apps:
- Outside services: add a key in Secrets for Stripe, SendGrid or a REST API, or for a database such as Supabase or MongoDB Atlas. Any storage you can reach over the network works, unless a firewall blocks dynamic IP ranges.
- Google Workspace: Calendar, Chat, Docs, Drive, Forms, Gmail, Keep, Meet, Contacts, Sheets, Slides and Tasks. Each user signs in with Google and grants access to their own account only.
- Microphone, camera and other device features: add the permission to the app's metadata.json, so viewers confirm the access first.
{
"name": "My app",
"requestFramePermissions": [
"microphone",
"camera"
]
}Deploy and export options compared
| Option | What you get | What it needs |
|---|---|---|
Cloud Run, Starter Tier | What you get A public URL for up to 2 apps, in one region | What it needs An eligible account; no Google Cloud project or billing |
Cloud Run, standard | What you get A public URL with no Starter Tier limits | What it needs A Google Cloud project with billing turned on |
Custom ai.studio address | What you get A name such as your-app.ai.studio | What it needs A globally unique subdomain, first come, first served |
GitHub sync (web apps) | What you get Two-way sync with a repository | What it needs A linked GitHub account |
ZIP download | What you get Web apps: the code to run anywhere. Android: a project for Android Studio | What it needs Web apps: GEMINI_API_KEY set on your host |
Android: USB install | What you get The app on your phone | What it needs Chrome or Edge with WebUSB, and USB debugging on |
Android: Play internal testing | What you get A test link for up to 100 testers | What it needs A Google Play Developer account, with a one-time $25 fee |
Is Google AI Studio free? What you pay for
Building in AI Studio costs nothing until you link a paid API key. The costs start with paid models, hosting past the Starter Tier and extras:
| Item | What it costs | When it applies |
|---|---|---|
Using AI Studio | What it costs Free | When it applies Until you link a paid API key |
Gemini API, Free Tier | What it costs Free | When it applies Certain models, up to their free rate limits |
Gemini API, Paid Tier | What it costs Prepay at least $5 of credits, or Postpay where your account is eligible | When it applies After you link a billing account |
Publishing, Starter Tier | What it costs Free | When it applies Up to 2 apps, with no Google Cloud project or billing |
Publishing, paid project | What it costs Cloud Run pricing | When it applies Based on usage |
Custom domain | What it costs From $12.00 a year, plus a Cloud DNS zone from $2.40 a year | When it applies When you register your own domain |
Android on Google Play | What it costs $25, one time | When it applies To register the developer account |
Who can see, use and edit your app
- A new app is private.
- People you share it with can use it, see its code and fork it. Their Gemini calls count toward your limits.
- Share with edit permission, and they can change the code.
- AI Studio has no real-time co-editing. To work as a team, link a shared GitHub repository and pull teammates' changes back in.
- When a sync clashes, the Resolve conflicts dialog shows both versions side by side, and you keep one per file.
Limits and costs to know before you share
- Gemini calls made by people you share the app with count toward your usage limits, and paid models can cost money.
- A Cloud Run app uses your API key for every user's Gemini calls.
- Cloud Run usage can carry Google Cloud charges outside the Starter Tier.
- Google AI Studio support cannot override Starter Tier eligibility; if your account is not eligible, add billing and use standard deployment.
- Android publishing from AI Studio stops at the internal testing track; production releases are managed in the Play Console.
- You own the app: you answer for its behavior, the data it handles and its compliance with the law and the Gemini API terms.
What Android apps cannot do yet
- Kotlin and Jetpack Compose only: no Java and no XML layouts.
- No NDK, so no C or C++ code.
- Phones and tablets only: no Wear OS and no Android TV.
- Export as a ZIP only: GitHub export is not available yet.
When Build mode is the wrong tool
Google offers three tools for building with Gemini, each for a different starting point:
| Tool | Starting point | Skill level |
|---|---|---|
Google AI Studio | Starting point An idea you want to see, fast | Skill level Beginner, no coding experience needed |
Google Antigravity | Starting point A complex engineering task, run by agents across the desktop app, CLI and IDE | Skill level Beginner to advanced |
Agent Development Kit (ADK) | Starting point Custom autonomous agents built from scratch, in Python or Java | Skill level Advanced or expert |
Fix common problems
- A shared user sees 403 Access Restricted: a privacy extension such as Privacy Badger may block the app, so ask them to turn it off.
- The app fails to build: prompt the agent to fix any build issues with the current code, then share the link again.
- Starter Tier publishing is refused: Google Workspace accounts, accounts with a past paid billing account, and accounts with too little activity are not eligible.
- The app is removed: automated review takes down apps that break Google's policies, such as malware, phishing or impersonation. You can appeal.
Before you publish: a checklist
Five checks before you share the link:
- Click through every screen in the preview, including empty and error states.
- Open the Secrets panel and confirm no key sits in client code.
- Decide whether you can afford other people's Gemini calls on your limits.
- Keep a copy outside AI Studio: sync a web app to GitHub, or download an Android project as a ZIP.
- If the app saves data or signs people in, check that Firestore and Authentication are set up as you expect.
Steal this workflow
Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.
Read the guide "Google AI Studio vibe coding: build, deploy and export Gemini apps from a prompt" at https://better-design.com/blog/google-ai-studio-vibe-coding and help me apply it to my project.
Google AI Studio vibe coding happens in Build mode. You describe an app, and Gemini generates a full-stack web app or a native Android app with a live preview. You can then refine it in chat, keep a web app in GitHub, publish it on Cloud Run, Google's hosting, or install Android apps on a phone. This guide covers the steps, example prompts, publishing options, limits and a checklist, from Google's own docs.
Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.
Questions
Is Google AI Studio vibe coding free?
Your app's Gemini API calls, including calls from people you share it with, count toward your usage limits. Paid models and Cloud Run can cost money, and AI Studio warns you during setup and before you share if an app could incur costs.
What does Build mode create?
A full-stack web app with a React frontend and a Node.js server, or a native Android app in Kotlin with Jetpack Compose.
Is my API key safe when I share an app?
Yes. The key stays a server-side secret, so people using your app cannot see it. Their calls still count toward your limits.
Can I export my Google AI Studio app?
Yes. Web apps sync two ways with GitHub, or download as a ZIP to run on your own host with GEMINI_API_KEY set. Android projects download as a ZIP only, for Android Studio; GitHub export is not yet available for them.
Who can use the Cloud Run Starter Tier?
Eligible accounts can publish up to 2 apps without a Google Cloud project or billing. Support cannot override eligibility, so other accounts add billing and use standard deployment.
Who can see my Google AI Studio app?
Only you, until you share it. People you share it with can use it, see its code and fork it. With edit permission, they can also change the code.
Can my AI Studio app use my own database?
Yes. The app runs in a Cloud Run container, so it can use any storage it can reach over the network. Store the database key in the Secrets panel. Firestore is also set up for you on request.
Can I use a custom domain?
Yes, on a paid Google Cloud project. You buy and connect the domain from the Publish panel. Every published app can also use a free ai.studio subdomain.
Can anyone vibe code in Google AI Studio?
Yes. You describe the app in plain language, so you need no programming background to get a working prototype. Google's own guide rates AI Studio as a beginner tool that needs no coding experience.
Is vibe coding easy?
A simple prototype takes little effort. Edge cases, complex bugs and security still need a clear grasp of the app's logic, and someone who can troubleshoot when things break.
Where these Google AI Studio Build mode facts come from
Each fact comes from the pages listed here, read on November 15, 2026. Products change, so check those pages for the current version.
- Gemini API Docs: Build apps in Google AI Studio
- Gemini API Docs: Build Android apps in Google AI Studio
- Gemini API Docs: Deploying from Google AI Studio
- Gemini API Docs: Develop full-stack apps in Google AI Studio
- Gemini API Docs: Custom domains in Google AI Studio
- Gemini API Docs: Billing
- Google Cloud: What is vibe coding?
- Google Cloud Docs: Starter Tier
- Firebase Docs: AI Studio integration
- Google Cloud: Cloud Run
- Gemini API: Additional Terms of Service
Related
Build the interface in your own code instead
A coding agent such as Claude Code, Cursor or Codex can build your interface in your own code. Better Design gives that agent a design system, interface principles and review rules, so the result looks designed.