Infinitetalk logo

Infinitetalk

CommunityPopular
anbeime
infinitetalk

自媒体创作者与内容创作者在制作数字人播报或视频重配音时,只需单张人像图片与音频,即可一键生成唇形、头部运动及身体姿态精准同步的无限时长说话视频。轻松搞定虚拟主播内容,大幅节省真人拍摄与后期剪辑时间!

Overview

Publisheranbeime
Repositoryskill
Skill nameinfinitetalk
Stars
6.9K
Forks
645
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by anbeime on GitHub. Read the source before you install it.

Installation

Install the Infinitetalk AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anbeime/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/skills/infinitetalk/infinitetalk .claude/skills/infinitetalk
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Infinitetalk in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Infinitetalk on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Infinitetalk is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

InfiniteTalk - 音频驱动视频生成

任务目标

  • 本 Skill 用于:将音频(语音)转换为同步的说话人视频,支持从单张图片或现有视频生成音频驱动的说话视频
  • 能力包含:
    • Image-to-Video:从单张图片生成音频驱动的说话视频
    • Video-to-Video:对现有视频进行音频驱动的重配音
    • 多维度同步:唇形、头部运动、身体姿态、面部表情与音频精准对齐
    • 无限时长:支持无限制时长的视频生成
    • 低显存适配:支持量化、模型卸载等显存优化方案
  • 触发条件:当需要生成音频驱动的数字人视频、视频配音、虚拟主播内容时使用

前置准备

  • 模型下载:在使用本 Skill 前,必须先下载所需的模型权重文件,具体步骤见 references/model_download.md
  • 硬件要求:
    • GPU:推荐使用 16GB+ 显存的 GPU(可使用量化方案适配低显存设备)
    • 内存:建议 32GB+ 系统内存
    • 磁盘空间:至少 50GB 可用空间(模型权重约 30GB)
  • 环境配置:详细依赖安装见 references/environment_setup.md

操作步骤

模式一:Image-to-Video(图片生成视频)

  1. 准备输入

    • 确保有一张清晰的人脸图片作为输入
    • 准备音频文件(支持 mp3、wav 等格式)
    • 可选:使用 TTS 功能从文本生成音频
  2. 执行生成

    • 调用 scripts/infer_infinitetalk.py 进行推理
    • 参数说明:
      • input_path: 输入图片路径
      • audio_path: 驱动音频路径(或提供 text 使用 TTS)
      • output_path: 输出视频路径
      • mode: clip(单段)或 streaming(长视频)
      • size: infinitetalk-480(480P)或 infinitetalk-720(720P)
      • sample_steps: 采样步数(默认 40)
      • sample_audio_guide_scale: 音频引导强度(默认 4.0)
  3. 验证输出

    • 检查生成的视频是否同步良好
    • 确认唇形、头部动作与音频匹配
    • 如有异常,调整 sample_audio_guide_scale 参数

模式二:Video-to-Video(视频重配音)

  1. 准备输入

    • 准备参考视频文件
    • 准备目标音频文件
  2. 执行生成

    • 使用相同的脚本,但 input_path 指向视频文件
    • 脚本会自动提取视频的首帧作为参考
  3. 处理长视频

    • 使用 streaming 模式生成无限时长视频
    • 通过 motion_frame 参数控制驱动帧长度(默认 9)

模式三:使用 TTS 生成音频

  1. 文本转语音

    • 提供待合成的文本内容
    • 指定声音模型(Kokoro-82M)
    • 脚本会自动生成音频文件
  2. 生成视频

    • 使用生成的音频驱动视频生成
    • 支持双人对话模式(使用标记 (s1)(s2) 区分说话人)

资源索引

注意事项

  • 模型权重较大(约 30GB),首次使用需要提前下载
  • 建议使用高显存 GPU(16GB+),低显存设备可使用量化方案
  • 输入音频建议采样率为 16000Hz,脚本会自动进行响度归一化
  • 输入图片/视频应包含清晰的人脸区域
  • 生成速度取决于 GPU 性能,480P 分辨率下生成 1 秒视频约需 5-10 秒
  • 如遇到显存不足错误,可尝试:
    • 降低分辨率(使用 size=infinitetalk-480
    • 启用量化(添加 --quant int8 参数)
    • 启用模型卸载(添加 --offload_model true

使用示例

  • 基础图片生成视频:
    bash
    python scripts/infer_infinitetalk.py \
      --input_path ./input.jpg \
      --audio_path ./audio.wav \
      --output_path ./output.mp4 \
      --size infinitetalk-480 \
      --mode clip
  • 长视频生成:
    bash
    python scripts/infer_infinitetalk.py \
      --input_path ./input.jpg \
      --audio_path ./long_audio.wav \
      --output_path ./long_output.mp4 \
      --size infinitetalk-480 \
      --mode streaming
  • 使用 TTS 生成:
    bash
    python scripts/infer_infinitetalk.py \
      --input_path ./input.jpg \
      --text "你好,今天天气真不错" \
      --output_path ./tts_output.mp4 \
      --size infinitetalk-480

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Infinitetalk AI skill do?

自媒体创作者与内容创作者在制作数字人播报或视频重配音时,只需单张人像图片与音频,即可一键生成唇形、头部运动及身体姿态精准同步的无限时长说话视频。轻松搞定虚拟主播内容,大幅节省真人拍摄与后期剪辑时间!

Why use Infinitetalk on TypingMind?

Because you install it once and use it with any model. Infinitetalk is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Infinitetalk in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/anbeime/skill/tree/main/skills/infinitetalk/infinitetalk. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Infinitetalk?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Infinitetalk?

As many as you like. As long as a model supports skills, you can use Infinitetalk with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Infinitetalk AI skill free?

It is published on GitHub by anbeime. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇