Repository navigation
Closed
Copy link
Labels
Description
Summary
Document the desktop half of talking avatars, shipped in inference-gateway/desktop#351 (issue inference-gateway/desktop#311, with the tools fix in inference-gateway/desktop#350). The CLI side is already documented in cli-text-to-video.md (#727). This ticket covers what the desktop adds on top.
User-facing behaviour to cover:
- Settings -> Avatars (new section). Keeps named portraits of the user in
~/.infer/avatars/<name>/.- A photo comes from Import photo (native file picker,
.png,.jpg,.jpeg,.webp) or Take photo (camera, then Capture). - The app runs
infer avatars create <name> --from <photo>: the photo is kept as01-front.<ext>and two three-quarter views are generated through the gateway's image edit API. - Progress lines from the CLI show while it runs, and the tab previews every image and deletes an avatar (
infer avatars delete). - A consent line: only your own likeness or one you have rights to.
- macOS asks for camera access the first time.
- A photo comes from Import photo (native file picker,
- Settings -> General -> Text to video -> Enable Text to Video (new toggle). It maps to
text_to_video.enabledand is off by default.- While it is off, the
TextToVideotool is not sent to the model. - Saving restarts the gateway with
VIDEOS_ENABLED=true. - Every render sends the avatar's portrait and the voice clip to the video provider (ElevenLabs
creatify-aurora).
- While it is off, the
- Settings -> API Keys: a new ElevenLabs field (
ELEVENLABS_API_KEY), which renders need. - Tools dropdown now lists
TextToSpeechandTextToVideowhen they are enabled.TextToSpeechwas never listed before, because it is a top-level config section rather than atools.<key>entry. - Content projects - avatar clips. Asking for a talking avatar, presenter or talking head in a Content project makes the bundled
video-editingskill:- Pick the avatar: the clip's own
avatar, else ask when there are several. - Write the script and voice as spoken clips with
TextToSpeech, as for any voiceover. - Render each clip with
TextToVideo { avatar, audio, output_path }. - Copy the mp4 into
media/. - Place it on the video track over its spoken clip, then stop before export.
- Pick the avatar: the clip's own
- Timeline contract - paired clips. An avatar clip is a normal video-track clip over its spoken clip. It is not a new track kind:
id: "<spoken id>-avatar", the spoken clip'sstartandend,srcundermedia/,avatar,voice_sampleandstatus(draftordone).- The voice stays on the spoken clip, and the export mixes that wav, not the mp4's own sound. So a timeline with avatar clips never uses
source_audio: "keep", which would play the voice twice. - Re-synthesizing a spoken clip marks its avatar clip
draft, and Redo drafts re-renders only draft avatar clips.
- Timeline editor. An avatar clip is labelled
<avatar>: <file>and carries a coloured stripe per avatar, the same way spoken clips are coloured by their voice sample.
Affected pages:
desktop.md:- Settings table: add the Avatars row and mention the Text to video toggle in the General row.
- API Keys table: add ElevenLabs.
- ~/.infer layout table: add
~/.infer/avatars/. - A new Avatars section next to Text to speech -> Voice samples, covering the flow, the folder layout (first image in sort order is the one that talks), the consent line, and the provider/privacy note.
- Timeline contract -> Video clips: add the
avatar,voice_sampleandstatusfields, and describe the paired spoken clip. - A short Asking the agent for a talking avatar subsection under Content projects, in the style of "Asking the agent for captions".
cli-text-to-video.md-> Related: link to the new desktop Avatars section.
Example to add, the paired clips as the skill writes them:
{ "id": "video", "kind": "video", "clips": [
{ "id": "s1-avatar", "start": 0, "end": 6.2, "src": "media/demo-s1-avatar.mp4",
"avatar": "presenter", "voice_sample": "eden.wav", "status": "done" } ] },
{ "id": "voice", "kind": "audio", "voice_sample": "eden.wav", "clips": [
{ "id": "s1", "start": 0, "end": 6.2, "text": "Hi, welcome to the demo.",
"src": "media/demo-s1.wav", "voice_sample": "eden.wav", "status": "done" } ] }Acceptance Criteria
-
desktop.mdhas an Avatars section covering import and camera capture, the generated views, previews, delete, the~/.infer/avatars/<name>/layout, and the consent and privacy note (portrait to the image edit provider when views are generated, portrait and voice clip to the video provider on every render, nothing stored as an avatar at the provider) - The Settings table lists Avatars and the Text to video toggle (off by default, restarts the gateway), and the API Keys table lists ElevenLabs
- The timeline contract documents avatar clips as paired video-track clips, including the
source_audio: "keep"caveat and how drafts are re-rendered - Content projects explains how to ask for a talking avatar and what the agent does, ending before export
-
cli-text-to-video.mdlinks to the desktop Avatars section - ASCII only,
-instead of em dashes
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Oct 1, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Oct 1, 2026
Claude finished @edenreich's task in 3m 22s —— View job •
docs/issue-839-20261001-1652• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-839-20261001-1652?quick_pull=1&title=Issue%20%23839%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23839%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented desktop avatars, the Text to video toggle and avatar clips
desktop.mdandcli-text-to-video.md~/.inferlayout tablescli-text-to-video.mdRelated linklint:md,format:check,build- all pass)desktop.md~/.inferlayout table:~/.infer/avatars/.ELEVENLABS_API_KEY), noted as the one entry that is not a chat provider.text_to_video.enabled, restarts the gateway withVIDEOS_ENABLED=true, tool hidden from the model while off), and the tools dropdown now listingTextToSpeechandTextToVideo.infer avatars createrun with its progress lines, previews, delete, the~/.infer/avatars/<name>/layout with01-frontfirst in sort order (the face that talks), the consent line, and the privacy note.avatar,voice_sample,statuson video clips, plus an Avatar clips subsection with the paired-clip JSON example, thesource_audio: "keep"caveat, and how Redo drafts re-renders only draft avatar clips.<avatar>: <file>label and the per-avatar stripe.cli-text-to-video.md- Related now links to the desktop Avatars section.ASCII only, plain hyphens throughout. Issue moved to QA on the Roadmap 2026 board.
| Branch | PR #887
inference-gateway-releaser commentedon Oct 1, 2026
🎉 This issue has been resolved in version 0.9.20 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀