Communitygithub.com

pixel-avatar-video

Turns an idea, a video the person likes (a file or a link), or the person's own video into a finished vertical 1080x1920 MP4 with the talking pixel avatar, voice, Rhubarb lip sync, pose changes on cue words, captions, scenes from the chosen style pack, and an SEO Instagram caption and YouTube Shorts title, description and tags. Use when a person wants to make a video with the pixel avatar from setup.

What is pixel-avatar-video?

pixel-avatar-video is a Claude Code agent skill that turns an idea, a video the person likes (a file or a link), or the person's own video into a finished vertical 1080x1920 MP4 with the talking pixel avatar, voice, Rhubarb lip sync, pose changes on cue words, captions, scenes from the chosen style pack, and an SEO Instagram caption and YouTube Shorts title, description and tags. Use when a person wants to make a video with the pixel avatar from setup.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/skillahollic/pixel-avatar/tree/HEAD/.claude/skills/pixel-avatar-video

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Make a pixel avatar video

You help a person who may not know how to code. Follow these rules:

  • Use plain words.
  • Ask one question at a time.
  • Run each command yourself from this folder.
  • On Mac, the command is vt. On Windows, the command is vt.cmd. These pages show vt.
  • If vt is not found, tell the person to double-click the installer file again.
  • Never ask for a password, an API key, or a token.
  • Do not delete generated media unless the person asks for that deletion. Generated media includes voice files, music files, and video files.
  • Do not post anything for the person. Do not make a promise about views or income.

If my-vtuber/host.json or my-vtuber/voice.json is missing, stop. Use the pixel-avatar-setup skill first.

Each video has a folder videos/<name>/. The name is short and lowercase, with dashes. Before you start, look in videos/. If one video is not complete, offer to continue it. Treat the files in the folder (concept.txt, script.txt, timings.json, scenes/) as finished work. Continue at the first missing step.

Long commands

Commands setup, prep, music, and render can take many minutes. Start each one with vt start, for example vt start prep my-video. Then run vt wait again and again until it prints FINISHED or FAILED.

1. Where the video starts

Ask: "What do we start from: your idea, a video that you like (a file or a link), or a video of your own?"

  • An idea: go to step 2.

  • A video that you like, or your own video: run one of these:

    vt intake <name> --file "THE FILE PATH"
    vt intake <name> --url "THE LINK"
    

    Read videos/<name>/source/transcript.txt and look at videos/<name>/source/frames.jpg. Tell the person, in a few lines, why the video works: the hook in the first two seconds, the order of the beats, the pace, the ending. Use this as a structure only. Never copy its words, its jokes or its graphics. Use only a link to a public video. If the download fails, ask the person to download the video and give the file.

  • Your own video, with your voice: after intake, ask if the person wants the avatar to speak with the sound of that video. If yes, the script is what the person says in it (step 2), and step 4 uses --recording with the source file.

  • If Hypit is installed and the person wants a full template of a competitor video, tell the person that Hypit can do that in a separate chat. Hypit's licence applies.

2. The idea and the script

Ask these questions, one at a time:

  • What is your opinion on this?
  • What did you see, try, or find?
  • Who is this video for?

Say this one time: "YouTube does not monetize AI videos that look mass-produced from a template. This can affect the whole channel. Your host can stay the same. Each video needs its own idea."

Read each videos/*/concept.txt. If the new idea is near an old idea, tell the person. Ask for a different angle. Write two or three sentences to videos/<name>/concept.txt.

Write 15 to 60 seconds of speech, about 2.5 words each second. Use 1 line for each 4 seconds, for example 6 lines for 25 seconds. Write one spoken line on each row of videos/<name>/script.txt. Work with the person on it like a copywriter:

  • The first line is the hook. It must make a viewer stop in under two seconds: a surprising claim, a result, or a question.
  • One idea for each line. Short words. Write numbers and names as a person says them.
  • The last line is a clear call to action, for example a comment word.
  • Use the words and opinions of the person. Do not copy text from other places. Do not write a promise about income, views, or results. Do not write a claim that you cannot show as true.

The delivery is excited by default. For a calm line, start the row with [normal] .

Poses. The host changes pose on a cue word. Put a cue in braces before the word: {point}, {shrug}, {thumbs-up}, {fist-pump}, {wave}, {arms-crossed}, or {base}. Example:

{wave} Hey, this tool changed how I make videos.
{point} Look at this: one prompt, twelve poses.
Is it perfect? {shrug} Honestly, not yet.

Use a cue on about every second line. The host goes back to the base pose in the pause after the line. my-vtuber/host.json lists the poses that this host has. Excited lines with no cue can get a pose from words such as "look", "maybe" or "great". To use only your cues, add --no-auto-poses to prep.

Read my-vtuber/voice.json. If the engine is breeze, a line must have 5 words or more. Join short lines.

Show the script to the person. Ask for changes. Wait for approval.

3. The voice recording (record route only)

If the engine in my-vtuber/voice.json is record, ask the person to record the whole script in one take, in a quiet room, with no music, and to send the file. Small pauses between lines are good. The script must match what the person says. If the person changed words while speaking, change script.txt to match.

4. Voice, timing, mouth and poses

vt start prep <name>
vt start prep <name> --recording "THE FILE PATH"

Use the second form for the record route, or for the sound of the person's own video. This makes the voice (or reads the recording), finds the time of each word, calculates the mouth shapes with Rhubarb, and places the pose changes. If the output names lines where the voice said different words, tell the person. Suggest a new wording, or a new recording.

4b. Avatar only, over live footage (optional)

Use this when the avatar goes on top of a real video (for example, standing on a desk), with no scenes, captions or background.

  1. Make a video folder with concept.txt and a script.txt that has only the lines that the avatar speaks, with {pose} cues. The recording can be a cut from a longer take. It must contain only those lines, in the same words.
  2. Run vt start prep <name> --recording "THE AUDIO FILE". Any audio or video file works. Rhubarb makes the mouth shapes from it.
  3. Run vt start avatar <name>. Add --width 1080 to scale the avatar; the default is its own size.

The output is videos/<name>/<name>-avatar-alpha.mov (ProRes 4444 with alpha, 30000/1001 fps, with the voice) for DaVinci Resolve or another editor, and videos/<name>/<name>-avatar-preview.mp4, the same over a grey checkerboard, to check quickly. The pose changes are hard cuts in this output. Put the avatar on its own track above the footage. The audio in the master is the recording, so it lines up with the original take.

5. The scenes

Run vt styles to see the style that the person selected. Read kit/SCENES.md and videos/<name>/timings.json. For each line, write videos/<name>/scenes/NN.json, for example 01.json and 02.json. Connect each item to the word that it shows.

  • Checkpoint Lab: use the components and the 3D scenes in kit/SCENES.md.
  • Vox Explainer or Kallaway: run vt cards <style> (add --purpose stat, section or overview). Put a card in a scene with "card". See the card section in kit/SCENES.md. Use a card on a line of 3 seconds or more. Fill every slot with true, short text. Mix cards with Checkpoint Lab scenes. Use each card once in a video.
  • Custom: use the Checkpoint Lab components. The colours come from the style.

Change the scene types, grounds and host positions in this video and from earlier videos. All viewers use the same kit, so videos must not look the same. A line with no scene shows plain text.

6. Music

Ask if the person wants music. The music is quiet under the voice. Run vt music --check to see what this computer can make. Then use one of these:

vt start music <name> --prompt "bright electronic pop, instrumental, no vocals"
vt start music <name> --file song.mp3 --plan suno-paid --tool "Suno"
  • For a song from the Suno free plan, use --plan suno-free. Say that this video must not earn money.
  • For YuE2-3B, add --model yue2 only if the person typed the confirmation in setup. Say first that this music must not be in anything that earns money.
  • The person can also have no music.

7. Render

vt start render <name>

Tell the person that this step takes some minutes and that the computer will be busy. If the render stops with a list of scene problems or of texts that do not fit their boxes, fix all the problems in the list. Then run the render one time. If it says that the mix is near an earlier video, change the scenes. For calm delivery and no pose changes in all lines, add --mode normal. To make a video with no music after you added music, add --no-music. Do not delete the music file.

8. The post texts

The render writes two drafts next to the video: caption-instagram.md and youtube-shorts.md. Rewrite them with the person, for search and for the people the video is for:

  • Instagram caption: the first line is a hook with the main keyword (people see only about 125 characters before "more"). Then two or three short lines of value, a call to action (the comment word, save, or share), the AI line, the credits, and 3 to 5 specific hashtags. Instagram allows 5 hashtags and 2,200 characters.
  • YouTube Shorts title: 100 characters or fewer, best under 70. Put the main keyword first. No clickbait that the video does not deliver. No < or >.
  • YouTube description: the first two lines say what the viewer gets, with the main keyword. Then the steps or points from the script, the AI line, the credits, and 3 hashtags.
  • Tags: 8 to 15 keywords and phrases that people search, separated by commas, 500 characters or fewer.

Keep the line that says the host is AI-made and how the voice was made. Keep every credit line. Then run:

vt meta <name>

Fix each problem that it names. Run it again until it says Post texts OK.

9. Give the video to the person

Tell the person where videos/<name>/<name>.mp4, caption-instagram.md and youtube-shorts.md are. Ask the person to watch the whole video with sound before posting. Offer to change a line, a pose or a scene. Tell the person to read AI-DISCLOSURE.md and to set the AI label of the platform when posting.

If the music is YuE2-3B or a song from the Suno free plan, say that this video must not earn money.

If the voice is Higgs TTS 3, say this: "The credit is on the video and in the post texts. Keep both. You can monetize only on channels that you own."

If the voice is Breeze TTS 2, say this: "The license of this voice is non-commercial and covers the audio. This video must not earn money."

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills