Skip to main content

Lovina Chat SDK

Cross-platform AI-powered chat for your apps

Get StartedView Docs

Web • Android • iOS • React Native • Flutter

Features

🤖

AI-Powered Chat

SSE streaming responses with real-time AI agent support. Token-by-token rendering like ChatGPT.

📎

File Uploads

Attach images, PDFs, audio, video. Two-step upload with inline preview and retry on failure.

🎨

White-Label Ready

One primary color auto-generates a full palette. Custom fonts, logos, and branding via config.

🌍

14 Languages

Built-in i18n with RTL support. Indonesian, English, Arabic, and 11 more languages.

🌙

Dark Mode

Light, dark, and auto modes. Follows system preference or set programmatically.

💬

Session Management

Auto-resume on page reload. Session close detection. New conversation flow.

Add Chat in 3 Lines

Embed the widget on any website with a simple script tag.

<script>
  window.lovinaSettings = { locale: 'id' };
</script>
<script>
  (function(d, t) {
    var g = d.createElement(t);
    g.src = 'https://cdn.ailovina.com/sdk/v1/sdk.js';
    g.async = true;
    d.getElementsByTagName(t)[0].parentNode.insertBefore(g, d.getElementsByTagName(t)[0]);
    g.onload = function() {
      window.lovinaChatSDK.run({
        websiteToken: 'YOUR_TOKEN',
        baseUrl: 'https://chat.ailovina.com',
      });
    };
  })(document, 'script');
</script>