create-simli-app-elevenlabs
A Next.js app that gives an ElevenLabs agent a Simli avatar.
/api/simli-token creates the Simli session token, and /api/elevenlabs-signed-url gets a short-lived signed URL for the agent.
There are no ElevenLabs dashboard steps: on the first request, the server finds or creates its own ElevenLabs agent through the Agents API, configured from app/avatar.ts (prompt, first message, voice, language, LLM and call limits), with the PCM 16000 Hz audio Simli needs. When you change app/avatar.ts, the next request updates the agent. To use an agent you configured yourself instead, set ELEVENLABS_AGENT_ID; the README says how to set it up.
To run it, copy .env.example, fill in SIMLI_API_KEY and ELEVENLABS_API_KEY, then run npm install and npm run dev. If you restrict the ElevenLabs key, give it ElevenLabs Agents read and write access. The README has the details, including the ElevenLabs free plan’s limits.