Vercel AI SDK Tutorial: Build an AI 3D Product Configurator

Derek Cheung | AI Agents Automation
115,563 views •

Try Vercel's Agent Stack for your own AI apps: https://vercel.plug.dev/Z3di38W Learn how to build an AI-powered 3D product configurator using React Three Fiber, Next.js, and the Vercel AI SDK — with natural language control. In this tutorial, I build a fully working AI 3D product configurator from scratch — the same pattern behind Nike By You, car configurators, and furniture customizers, but driven entirely by natural language. A visitor types a sentence like "sunset-orange running shoe, matte finish, glow sole," and a live 3D model updates in real time with the price and add-to-cart button following automatically. I walk through all seven steps: building a swappable 3D model with React Three Fiber and drei, wiring a price-and-cart layer with React state, connecting the Vercel AI Gateway so the app is model-agnostic, using the Vercel AI SDK's tool calling to make discrete, validated edits to the 3D scene (instead of hallucinated geometry), and building the prompt interface on the Chat SDK. I also cover why the AI route runs on Vercel Fluid Compute instead of standard serverless, and I finish by deploying the whole project live using Claude Code and the Vercel plugin. As a bonus, I show how Vercel Sandbox lets the AI generate and safely run entirely custom configs beyond the four preset tools — the part almost nobody covers. If you're a developer or no-code builder interested in agentic web apps, AI tool calling, or Next.js + Vercel AI SDK projects, this one gives you the complete blueprint. TIMESTAMPS: 0:00 - Cold Open: AI 3D Product Configurator Demo 0:34 - Intro: Why This Vercel AI SDK Build Is Different 1:06 - Step 1: Swappable 3D Model with React Three Fiber 3:21 - Step 2: Price and Cart Layer 4:21 - Step 3: AI Layer — Vercel AI Gateway, AI SDK, Chat SDK 6:25 - Step 4: Defining AI Tool Calls with Zod 8:13 - Step 5: Wiring the Full AI-to-3D Loop 9:55 - Step 6: Fluid Compute, Deploy, Sandbox Bonus & Outro Resources: Live demo link: https://ai-3d-configurator.vercel.app/ AI Gateway Docs: https://vercel.com/docs/ai-gateway AI SDK Docs: https://vercel.com/docs/ai-sdk Chat SDK Docs: https://chat-sdk.dev/docs Vercel Sandbox Docs: https://vercel.com/docs/sandbox Fluid Compute Docs: https://vercel.com/docs/fluid-compute Vercel Plugin (Claude Code) Docs: https://vercel.com/docs/agent-resources/vercel-plugin Credits: The default 3D model is "Nike Air Zoom Pegasus 36" by quaz30, licensedunder [CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) via [Sketchfab](https://sketchfab.com/3d-models/00fd99e778c244c3bd3b65f99dad7cb2). 📧 FREE Weekly AI Automation Newsletter: Get weekly tutorials, free workflow templates, and the latest AI news straight to your inbox 👉 https://aifornoncoders.com/newsletter 🤝 Join the AI Automation Engineering Community: Go deeper — interact with me and the community, get feedback on your builds, and stay ahead of the curve 👉 https://www.skool.com/ai-automation-engineering-3014 #VercelAISDK #ReactThreeFiber #AIAgent #NextJS #Tutorial Join this channel to get access to perks: https://www.youtube.com/channel/UCINkul2kgQYqt4GuD-352DQ/join

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close