> ## Documentation Index
> Fetch the complete documentation index at: https://lemonslice.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Build an AI interviewer avatar

> Give an AI interviewer a real-time video face with LemonSlice for candidate screening, customer research or interview practice: architecture, choosing a model, interview flow, transcripts, turn-taking latency, many interviews at once, fairness and consent.

LemonSlice is a real-time interactive avatar API. In an interview platform, it turns your interviewer's image into a live, lip-synced video interviewer that asks questions, listens and follows up. Common uses are candidate screening, customer and market research interviews, and interview practice. Your app keeps its own interview guide, LLM, scoring, transcripts and participant data; LemonSlice adds the face.

## Architecture

Use the same pipeline as any LemonSlice voice agent: speech-to-text, your LLM (with the interview guide), text-to-speech, then LemonSlice for video. Start from the [quickstart](https://lemonslice.com/docs/introduction/quickstart.md), or add the avatar to an existing agent with [LiveKit](https://lemonslice.com/docs/livekit/index.md), [Pipecat](https://lemonslice.com/docs/pipecat/index.md), [Agora](https://lemonslice.com/docs/agora/index.md) or a [WebSocket](https://lemonslice.com/docs/websocket/index.md).

LemonSlice works with any LLM and any text-to-speech voice. To run a study in another language, pick a speech-to-text model, LLM and TTS voice that all support it.

## Choose a model

| Model | Use it when | Availability |
| - | - | - |
| LemonSlice-2.1 | Default choice for photoreal and stylized interviewers | All paid plans |
| [Flash](https://lemonslice.com/docs/reference/flash-model.md) | Lowest latency, for natural turn-taking | Ultra and Enterprise |
| [CWM-1](https://lemonslice.com/docs/reference/cwm-1.md) | The interviewer should show expressions and actions, such as nodding while listening | Ultra and Enterprise |
| [CWM-1 Lite](https://lemonslice.com/docs/reference/lite-model.md) | Large studies, where cost per minute matters most | Ultra and Enterprise |

See [pricing](https://lemonslice.com/pricing) for plan details.

## Design the interview flow

* **Interview guide.** Give your LLM the questions, the rules for follow-ups and when to end. For hiring, use the same structured questions for every candidate.
* **Listening cues.** With CWM-1, set `action_engine="natural"` and, on LiveKit, publish the participant's speaking state so the interviewer reacts while it listens. See [CWM-1](https://lemonslice.com/docs/reference/cwm-1.md).
* **Tool calling.** Use tool calling in your agent to move to the next section, show a stimulus (a concept, a design, a task) on screen, or end the interview. See the [tool calling example](https://lemonslice.com/blog/form-filling-demo).

## Save and analyze transcripts

Your agent already sees the full transcript. Store it in your own system, then score or summarize it with your LLM against your rubric or research questions. For widget sessions, use the [call metadata API](https://lemonslice.com/docs/widget/call-metadata.md) to list and look up calls.

## Keep turn-taking natural

Long pauses make participants uneasy, and an interviewer that cuts in too early stops them from finishing their thought. Budget latency across the whole pipeline, not just the avatar: see [Budget your latency](https://lemonslice.com/docs/reference/production-checklist.md#budget-your-latency). Tune your voice agent's end-of-turn detection so participants have time to think.

## Plan for session length and cost

* Check the idle and GPU [timeouts](https://lemonslice.com/docs/reference/production-checklist.md#check-timeouts) before launch. Participants may pause to think; raise the idle timeout if needed. Contact [support@lemonslice.com](mailto:support@lemonslice.com) for interviews longer than the 30-minute default GPU timeout.
* When the participant leaves, end the LemonSlice session yourself instead of waiting for the idle timeout: disconnect the room or terminate the session on [LiveKit](https://lemonslice.com/docs/livekit/index.md), call the leave API on [Agora](https://lemonslice.com/docs/agora/index.md), send `terminate` on a [WebSocket](https://lemonslice.com/docs/websocket/index.md#end-the-session), or send a `force-end` control event for [hosted Daily sessions](https://lemonslice.com/docs/reference/production-checklist.md#check-timeouts).

## Fairness, consent and disclosure

* Tell participants they are talking to an AI, and how their recording and transcript will be used.
* For hiring, score against clear criteria, have people review the results, and follow the rules that apply to automated hiring tools where you operate.
* For research, prompt the interviewer to ask open, neutral follow-ups rather than leading questions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.