# Build an AI Voice Assistant in 3D (https://academy.spline.design/tutorials/build-an-ai-voice-assistant-in-3d)

> A video tutorial from the Spline Academy.

- Product: Spline 3D
- Level: advanced
- Duration: 13 min 24 s
- Published: 2024-11-02
- Video: https://www.youtube.com/watch?v=TPzHbYRRHzo
- Part of: [Spline Advanced | Feature Deep Dive](https://academy.spline.design/collections/spline-advanced-feature-deep-dive.md)

## About this tutorial

Hello everyone! This tutorial will demonstrate how to create an AI voice assistant by combining Spline's latest feature set with OpenAI's real-time API. We'll start by designing a basic 3D avatar and then connect it to OpenAI's API for real-time voice responses. 

Note: Enter your OpenAI API key and ensure the developer account has sufficient credit balance to use the OpenAI API.

AI Voice Assistant API Documentation: https://docs.spline.design/doc/ai-voice-assistant-api/doczANMXu23U

Demos:
Blue Face (Morph Targets): https://app.spline.design/file/87ee7a9c-fa51-4ac0-a45c-a52b410a906b
Cookie Monster: https://app.spline.design/file/b1e09258-ccd1-4e19-a1e1-6378bd196dca
Sphere: https://app.spline.design/file/31161d1b-6415-44ef-a026-f7241c0db963

-

Discover more amazing creators and projects #MadeInSpline at https://community.spline.design/
---

## Chapters

- [0:00](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=0s) Intro
- [0:36](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=36s) Tips for Designing a Simple 3D Assistant Avatar
- [1:59](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=119s) AI Voice Assistant feature
- [3:08](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=188s) How to get your API Key
- [3:49](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=229s) Creating a new AI Voice Assistant API
- [4:32](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=272s) Make your 3D virtual assistant face your cursor - Look At Event
- [5:10](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=310s) AI Assistant Listener and AI Voice Spectrum
- [7:33](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=453s) Personalizing the Voice
- [8:36](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=516s) Implementing Triggers for Specific Actions
- [10:29](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=629s) Morph Targets
- [12:36](https://www.youtube.com/watch?v=TPzHbYRRHzo&t=756s) Ending

## Related documentation

- [AI Voice Assistant API](https://docs.spline.design/interaction-states-events-and-actions/ai-voice-assistant-api)
- [AI Assistant Trigger Event](https://docs.spline.design/interaction-states-events-and-actions/events/ai-assistant-trigger-event)
- [AI Assistant Listener Event](https://docs.spline.design/interaction-states-events-and-actions/events/ai-assistant-listener-event)
