Gemini Real-Time API

A comprehensive API platform for Google's Gemini Live models, providing WebRTC support, HTTP endpoints, and webhook integration for building next-generation conversational AI applications.

Perfect for developers looking to integrate advanced multimodal AI capabilities into their products with enterprise-grade reliability, comprehensive tool management, and seamless real-time communication features.

  • WebRTC Support

    Built-in WebRTC capabilities for real-time audio and video communication with Gemini Live models.

  • Simple HTTP API

    Easy-to-use REST API endpoint for seamless integration with your existing applications and workflows.

  • Webhooks for session events and tool management

    Real-time notifications and event-driven architecture with customizable webhook endpoints for session events and tool management.

  • Natural conversation

    Delivers highly natural, human-like interactions with support for greetings, conversational fillers, humming, realistic pauses, and contextual hints.

  • SIP Support

    Enables direct integration with SIP-based telephony systems, allowing seamless connectivity between AI-powered sessions and traditional phone networks for enterprise and call center use cases.

  • Recordings

    Automatically records all session audio and transcripts, providing secure access to session history for compliance, quality assurance, and analytics.

Real Time API

Free

Start using it NOW
  • 2 concurrent calls
  • Bring your own key
  • All Gemini models and voices available
  • Webhooks and Tools

Pro

contact@livetok.io
  • Unlimited calls
  • Document indexing (RAG)
  • SIP Interconnection
  • Recordings

Quick Start

Create Session

POST https://rti.livetok.io/connection
body: {
  system_instructions: 'You are a helpful assistant that can answer questions and help with tasks.',
  voice: 'Kore',
  language: 'en-US',
  api_key: 'YOUR-GEMINI-API-KEY',
  sdp: 'YOUR_SDP_OFFER_GENERATED_BY_CLIENT',
  callback: 'https://YOUR-SERVICE-URL/webhooks',
  tools: [
    {
      name: 'get_weather',
      description: 'Get the weather for a given city',
      parameters: {
        type: 'object',
        properties: {
          city: {
            type: 'string',
            description: 'The city to get the weather for',
          },
        },
        required: ['city'],
      },
      url: 'https://YOUR-SERVICE-URL/tools',
    },
  ],
  metadata: {
    customer_id: '123',
  },
}

Session End WebHook

Receive notifications when a session ends with duration and transcription data.

{
  metadata: {
    customer_id: '123',
  },
  duration: 3223,
  transcription: [
    {
      'role': 'user',
      'text': 'Hello, how are you?'
    },
    {
      'role': 'model',
      'text': 'I am fine, thank you!'
    },
  ]
}

Tool Calling Webhook

Handle tool execution requests from the AI agent during conversations.

{
  name: 'get_weather',
  parameters: {
    city: 'London'
  },
  metadata: {
    customer_id: '123'
  }
}