Skip to content
AI Learning Ground Start learning

Prompt Engineering · Practitioner

Agent Studio and the Gemini API: From Console Prompt to Production Code

Iterate in Agent Studio (formerly Vertex AI Studio), then move the same prompt into the google-genai SDK — and understand the two different Gemini API endpoints you could be calling.

  • 1.2 hours lesson
  • beginner level
  • Google Cloud AI Track
  • Narrated presentation

What you’ll learn

  • Gemini Developer API (API key) vs Gemini Enterprise Agent Platform API (IAM, regional, enterprise controls)
  • The unified google-genai SDK and isolating client construction behind one function
  • Agent Studio for side-by-side model comparison, not for deployment
  • System instructions as a first-class field, not a prompt prefix
  • maxOutputTokens as the primary runaway-cost guard
  • Response schema for structured JSON instead of parsing prose
  • Native multimodal input from Cloud Storage URIs

Inside this lesson

A narrated, slide-by-slide presentation with 1 prediction exercise, 1 knowledge check, 4 videos. You answer as you go, and the platform checks your work.

Start this lesson All courses