create-simli-app-gemini
A Next.js app where a Gemini Live voice agent talks to you through a Simli avatar. It runs on a free Google AI Studio key, with no card needed.
/api/simli-tokencreates the Simli session token./api/gemini-tokenmints a short-lived, single-use Gemini ephemeral token. The model, voice and prompt are set on the server, inapp/avatar.ts, and locked into the token, so the browser can’t change them.
gemini-3.8-live, free of charge on the free tier, and the default voice is Sulafat, to match the default face. For a male face, use a male voice such as Achird.
To run it, copy .env.example, fill in SIMLI_API_KEY and GEMINI_API_KEY (free from Google AI Studio: sign in with a Google account, no billing needed), then run npm install and npm run dev. The README has the details, including how to change the face, voice and prompt.
For an agent that runs on a server instead, see LiveKit Agents or Pipecat.