Repository navigation
Labels
Description
Summary
Follow-up to #727, which is now closed: inference-gateway/cli#1270 also resolves inference-gateway/cli#1271 and inference-gateway/cli#1272. Both change user-facing behaviour of TextToVideo and the avatar library.
User-facing behaviour to cover:
- CreateAvatar tool ([FEATURE] CreateAvatar tool: let the agent build an avatar from a photo cli#1271) - the agent-side twin of
infer avatars create. It builds~/.infer/avatars/<name>/from a photo and generates angles withtools.image_edit.model.- Opt-in: registered only when both
text_to_video.enabledand the newtext_to_video.create_avatarare true (envINFER_TEXT_TO_VIDEO_CREATE_AVATAR). - Requires approval by default;
text_to_video.require_approvaloverrides. photois a bare file name, looked up in the working directory, then the session's artifacts directory. Absolute paths and..are rejected.- It never overwrites an avatar and cannot delete one.
- Parameters:
name,photo,angles([]stores the photo only),quality(defaulthigh),size(default1024x1536).
- Opt-in: registered only when both
- Reference images ([FEATURE] Send avatar folder extra images as reference_images cli#1272) -
TextToVideowith a libraryavatarand noaudionow sends every image in the avatar folder asreference_imagesinstead of using a portrait as the first frame, so the person stays consistent in prompt renders.- Needs gateway v0.55.0+.
- Per-model limits: Veo 3.1 takes at most 3 images and needs its default 8 s; Seedance v2 takes 9 and v2.5 takes 30.
- A bare image file as
avataris still the first frame. The gateway never combines the two.
- Photo normalisation -
infer avatars create(and CreateAvatar) now turn a JPEG upright per its EXIF orientation and strip its metadata, including GPS, before storing it or sending it to a provider.
Affected pages (proposed): the TextToVideo tools reference section (new CreateAvatar section plus the avatar parameter change), the text_to_video config block (create_avatar), and the text-to-video and avatars guide from #727.
Source of truth in the CLI repo: docs/text-to-video.md, docs/tools-reference.md, docs/configuration-reference.md.
Acceptance Criteria
- CreateAvatar is documented with its parameters, the opt-in, the approval default and the privacy note.
-
text_to_video.create_avatar/INFER_TEXT_TO_VIDEO_CREATE_AVATARis listed. - The reference-image behaviour of
avatarwithoutaudiois documented, including the gateway v0.55.0 requirement and Veo's 3-image limit. - The EXIF orientation and metadata stripping on avatar creation is mentioned.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 23, 2026
@claude Can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 23, 2026
Claude finished @edenreich's task in 3m 30s —— View job •
docs/issue-731-20260923-0943• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-731-20260923-0943?quick_pull=1&title=Issue%20%23731%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23731%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented CreateAvatar + avatar reference images
cli-text-to-video.md,cli.md,api-reference.md, CLI PR refactor: apply code readability guidelines #1270)text_to_video.create_avatar/INFER_TEXT_TO_VIDEO_CREATE_AVATARavatarwithoutaudio(gateway v0.55.0, Veo 3.1 = 3 images and its default 8 s, Seedance v2 = 9, v2.5 = 30)bun run lint:md,bun run format:check,bun run buildall passTwo files touched:
cli.md- newCreateAvatartool section,avatarparameter now covers reference images vs first frame,create_avatarin the config sample, and a Video row in the tool-category table (video tools were missing from it).cli-text-to-video.md- new "Reference images in prompt renders" section with the avatar/audio matrix and per-model limits, new "Creating avatars from chat" section,create_avatarconfig row, photo-normalisation note oninfer avatars create, three troubleshooting rows.Skipped: no change to
configuration.md(generated, gateway-side only) and noseconds/sizeTextToVideoparameter backfill - out of scope for this issue, worth a separate ticket if you want the tool reference to list them.| Branch | PR #733
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 📦🚀