Building functional web apps with Gemini Canvas and AI Studio | Alpha | PandaiTech

Building functional web apps with Gemini Canvas and AI Studio

Use Canvas mode for interactive coding and 'Build Mode' to generate simple web applications in seconds.

Learning Timeline
Key Insights

Benefits of the Canvas Workflow

Canvas mode eliminates the need to copy-paste AI output into Google Docs or third-party code editors. It allows you to interactively shape the final output alongside the AI.

Free Access

The 'Build Mode' and app generation features are available on the 'Free Tier', making it a highly efficient alternative to ChatGPT or Claude for those looking to build prototypes quickly.
Prompts

Email Sequence Generation (Canvas)

Target: Gemini Canvas
welcome email sequence for new users

Full Web App Generation (Build Mode)

Target: Google AI Studio
build a fully working timer with a dark mode toggle and a task list

UI Customization Prompt

Target: Google AI Studio
change the accent color to blue
Step by Step

Using Gemini Canvas for Interactive Workflows

  1. Open the Gemini interface and log in to your account.
  2. Enter your prompt into the chat box (e.g., generating an email sequence or specific code).
  3. Notice the screen automatically splits into a split-screen view to open Canvas mode on the right.
  4. Watch the generated code or text appear within the Canvas section.
  5. Edit content directly inside Canvas without needing to copy it into an external editor.
  6. Test or modify the AI output in real-time within the same workspace.

Building Web Applications with Build Mode in AI Studio

  1. Visit aistudio.google.com.
  2. Locate the prompt input area and ensure you are in 'Build Mode'.
  3. Type a specific prompt to build your application (e.g., a timer app with dark mode).
  4. Wait a few seconds for the AI to generate the code and display a clickable 'Live Preview' on the right side of the screen.
  5. Test the app's functionality interactively (e.g., click the timer button or toggle dark mode).
  6. Enter additional prompts to modify the visual style, such as 'change the accent color to blue'.
  7. Watch the application update automatically based on your latest instructions.

More from AI-Powered Coding & App Development

View All