Talk to Gemini with the Live API - Race car demo

Google for DevelopersAbout 2 min readJul 27, 2025Watch original
THE SUMMARYAI-generated

Key Concepts:

  • Gemini: Google's AI model capable of understanding and responding to voice input.
  • Live API: An API that allows real-time interaction with Gemini, enabling applications to stream audio and video input.
  • Live API Web Console: A framework or boilerplate for building applications that utilize the Live API.
  • Formula E Gen 3: An electric racing car.
  • RFactor 2: A racing simulation game.
  • Function Calls: The ability of the AI model to execute specific actions or commands within the application.

Talking to Gemini and Driving Simulation

The video demonstrates the capability of interacting with Google's Gemini AI model through voice input. Instead of just typing messages, the user can speak to Gemini, which then processes the audio and provides relevant responses.

Example: Formula E Gen 3 in RFactor 2

The demonstration uses the RFactor 2 racing simulation game, specifically focusing on driving a Formula E Gen 3 car. The user interacts with Gemini to learn how to drive the car within the game.

Driving Instructions and Game Controls

Gemini acts as an instructor, providing guidance on the game's controls. For example, it explains that the right trigger on the gamepad controls the throttle, and the left trigger controls the brake.

Framework for Application Integration

The system is built using a framework that allows applications to pass audio and video input to Gemini via the Live API. This enables real-time interaction and responses from the AI model.

Function Calls and Driver Assistance

Gemini can perform function calls within the application, such as toggling driver assists. This demonstrates the AI's ability to control aspects of the game based on user input.

Real-time Data and Speedometer Reading

Gemini can access real-time data within the game, such as the car's speed. It accurately reports the speed displayed on the speedometer in the hood of the car, stating, "You're currently traveling at 95 kmh."

Live API Web Console and Development

The demonstration is built on top of the Live API Web Console, which is described as a boilerplate for building applications. Users interested in developing similar applications can access the Live API through AI Studio and download the Live API Web Console to build and run their own applications.

Conclusion

The video showcases the potential of using Gemini and the Live API for interactive applications. By combining voice input, real-time data, and function calls, developers can create engaging experiences where users can interact with AI in a dynamic and responsive manner. The Live API Web Console provides a starting point for developers to explore and build their own applications using these technologies.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.