Skip to content

[DOCS] Document desktop avatars, the Text to video toggle and avatar clips #839

Closed

Description

@edenreich

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 as 01-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.
  • Settings -> General -> Text to video -> Enable Text to Video (new toggle). It maps to text_to_video.enabled and is off by default.
    • While it is off, the TextToVideo tool 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).
  • Settings -> API Keys: a new ElevenLabs field (ELEVENLABS_API_KEY), which renders need.
  • Tools dropdown now lists TextToSpeech and TextToVideo when they are enabled. TextToSpeech was never listed before, because it is a top-level config section rather than a tools.<key> entry.
  • Content projects - avatar clips. Asking for a talking avatar, presenter or talking head in a Content project makes the bundled video-editing skill:
    1. Pick the avatar: the clip's own avatar, else ask when there are several.
    2. Write the script and voice as spoken clips with TextToSpeech, as for any voiceover.
    3. Render each clip with TextToVideo { avatar, audio, output_path }.
    4. Copy the mp4 into media/.
    5. Place it on the video track over its spoken clip, then stop before export.
  • 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's start and end, src under media/, avatar, voice_sample and status (draft or done).
    • 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_sample and status fields, 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.md has 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.md links to the desktop Avatars section
  • ASCII only, - instead of em dashes

Activity

  1. added
    documentation
    on Sep 26, 2026
  2. added theissue type on Sep 26, 2026
  3. moved this to Todo in 2026on Sep 26, 2026
  4. edenreich commented on Oct 1, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this?

  5. inference-gateway-maintainer commented on Oct 1, 2026

    @inference-gateway-maintainer
    Contributor

    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

    • Read desktop.md and cli-text-to-video.md
    • Settings / API Keys / ~/.infer layout tables
    • New Text to video and Avatars sections
    • Timeline contract: avatar clips
    • Content projects: asking for a talking avatar
    • cli-text-to-video.md Related link
    • Validate (lint:md, format:check, build - all pass)
    • Commit + open PR -> docs: desktop avatars, text to video and avatar clips #887

    desktop.md

    • ~/.infer layout table: ~/.infer/avatars/.
    • Settings table: an Avatars row, and the text-to-video toggle in the General row.
    • API Keys table: ElevenLabs (ELEVENLABS_API_KEY), noted as the one entry that is not a chat provider.
    • New Text to video section: the Enable Text to Video toggle (off by default, writes text_to_video.enabled, restarts the gateway with VIDEOS_ENABLED=true, tool hidden from the model while off), and the tools dropdown now listing TextToSpeech and TextToVideo.
    • New Avatars section next to Voice samples: import photo and camera capture, the infer avatars create run with its progress lines, previews, delete, the ~/.infer/avatars/<name>/ layout with 01-front first in sort order (the face that talks), the consent line, and the privacy note.
    • Timeline contract: avatar, voice_sample, status on video clips, plus an Avatar clips subsection with the paired-clip JSON example, the source_audio: "keep" caveat, and how Redo drafts re-renders only draft avatar clips.
    • Asking the agent for a talking avatar under Content projects, ending before export.
    • Timeline editor: the <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

  6. inference-gateway-releaser commented on Oct 1, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.20 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions