Repository navigation
Labels
Description
Summary
Document the CLI's new TextToVideo agent tool and the avatar library, shipped in inference-gateway/cli#1270 (issue inference-gateway/cli#1257).
User-facing behaviour to cover:
- TextToVideo tool - renders a video clip through the gateway's Videos API (
POST /v1/videos,GET /v1/videos/{id},GET /v1/videos/{id}/content, gateway v0.54.0+) and saves an MP4. Two modes: a text prompt (optionally with a portrait as the first frame), and a lip-synced avatar render from a portrait plus a.wavor.mp3clip. Off by default because avatar renders send the user's face and voice to a third-party provider. - Config - top-level
text_to_video:block:enabled,model(prompt renders, defaultelevenlabs/veo-3.1-fast-generate-001),avatar_model(lip-sync renders, defaultelevenlabs/creatify-aurora),size(widthxheightpassthrough),output_dir(default~/.infer/tmp/video),timeout(900),poll_interval(5),require_approval. Env overridesINFER_TEXT_TO_VIDEO_*. - Gateway - the Videos API needs
VIDEOS_ENABLED=true; a gateway the CLI starts gets it automatically while the tool is enabled. - Avatar library -
~/.infer/avatars/<name>/, one folder per avatar with one or more portrait images (.png,.jpg,.jpeg,.webp), e.g. several angles; lip-sync models use the first image in sort order. Kept by/reset. - Commands -
infer avatars list [--format json]andinfer avatars delete <name>. - Limits - portrait plus audio must stay under the gateway's 10 MiB request body;
creatify-aurorarenders 480p or 720p and keeps the portrait's aspect ratio.
Affected pages (proposed): the CLI tools reference (new TextToVideo section), the CLI configuration reference (text_to_video block and env vars), the CLI commands page (infer avatars), and a short "Text to video and avatars" guide next to the existing text-to-speech / music pages.
Source of truth in the CLI repo: docs/text-to-video.md, docs/tools-reference.md, docs/configuration-reference.md.
Acceptance Criteria
- TextToVideo is documented with its parameters, both modes and the privacy note.
- The
text_to_videoconfig block andINFER_TEXT_TO_VIDEO_*env vars are listed, includingavatar_model. - The avatar library layout and
infer avatars list|deleteare documented with an example. - The
VIDEOS_ENABLEDgateway requirement is mentioned.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 22, 2026
Also document
infer avatars create <name> --from <photo>(added in inference-gateway/cli#1270): it copies the photo in as the primary image and generates extra views (default: both three-quarter angles;--angles,--qualitydefaulthigh,--sizedefault1024x1536) through the gateway image edit API withtools.image_edit.model. Note that generating views sends the photo to the image-edit provider (OpenAI by default).edenreich commentedon Sep 22, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 22, 2026
Claude finished @edenreich's task in 3m 54s —— View job •
docs/issue-727-20260922-2241• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-727-20260922-2241?quick_pull=1&title=Issue%20%23727%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23727%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #729
cli-text-to-video.mdTextToVideosection (new "Video Tools" group incli.md)text_to_videoconfig block +INFER_TEXT_TO_VIDEO_*env vars (incl.avatar_model)infer avatars list|create|deletewith examplesVIDEOS_ENABLEDgateway requirementbun run lint:md,bun run format:check,bun run buildall passAcceptance criteria all covered. Also added the smaller touch points in
cli.md:~/.infer/tmp/videoin the userspace tmp tree,avatars/in the config-files table, the/resetpreserved list, andinfer avatarsin the command reference.Note:
docs/text-to-video.mdin the CLI repo was not reachable from this run (404), so the content is written from this issue's description plus the existing TextToMusic/TextToSFX pages as the house style. Worth a check that theTextToVideoparameter names (prompt,avatar,audio,output_path) and the--anglesdefault wording match the implementation.| Branch
feat(tools): add TextToVideo tool for gateway video generation with l…
inference-gateway-releaser commentedon Sep 23, 2026
🎉 This issue has been resolved in version 0.9.15 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀