Nodes/ComfyUI-AusBoss/H3 Prompt Writer πŸ†Ž
ComfyUI Node

H3 Prompt Writer πŸ†Ž

Type what happens, one line for each moment, and leave a blank line to cut to a new place. Connect up to four pictures, give each one a job such as person, place or outfit, and name them @1 and @2 in your lines. Connect a video to copy its moves or carry it on. Add a voice or a song and it writes the lines H3 needs. H3's own six parts go through as they are. Connect a small text model and it fills in a one-line idea.

By ausbossΒ·Created 3 months agoΒ·Updated about 6 hours agoΒ· 115
H3 Prompt Writer πŸ†Ž
  • clip
  • picture_1
  • picture_2
  • picture_3
  • picture_4
  • video
  • video_sound
  • voice
  • song
  • prompt
  • picture_1
  • picture_2
  • picture_3
  • picture_4
  • video
  • video_sound
  • voice
  • song
  • song_under
  • frames
  • width
  • height
β—„scriptβ–Ί
β—„seconds8β–Ί
β—„cameraas typedβ–Ί
β—„lookfrom the pictureβ–Ί
β—„song_start0.0β–Ί
β—„cut_on_beattrueβ–Ί
β—„languageEnglishβ–Ί
β—„job_1personβ–Ί
β—„job_2personβ–Ί
β—„job_3personβ–Ί
β—„job_4thingβ–Ί
β—„video_jobcopy its movesβ–Ί
CategoryπŸ†Ž AusBoss/Utility

Inputs (21)

NameTypeDefaultDescription
scriptSTRINGWhat happens, one line for each moment. A blank line cuts to a new place. @1 is Picture 1. Start a line with 3s: to put it on that second.
secondsINT85–15How long the clip is. Plan on about one moment a second at most.
clipoptCLIPOptional: a small text model such as Qwen3-VL 8B. It adds moments after a one-line idea and matches the sound to the place.
picture_1optIMAGEYour first picture. Type @1 to name it in a line.
picture_2optIMAGEOptional: a second picture, with its own job. Type @2 to name it.
picture_3optIMAGEOptional: a third picture, with its own job. Type @3 to name it.
picture_4optIMAGEOptional: a fourth picture, with its own job. Type @4 to name it.
videooptIMAGEOptional: the frames of a video. Pick what it is for under Video does.
video_soundoptAUDIOOptional: the video's own sound. Only keep going uses it.
voiceoptAUDIOA clip of the voice to use, about 10 seconds.
songoptAUDIOThe music to use. Each moment moves onto its beat.
cameraoptCOMBOas typedHow the camera moves the whole way through. As typed leaves it to your words.
lookoptCOMBOfrom the pictureFrom the picture keeps your photo's look. The others redraw it in that style.
song_startoptFLOAT0.00–86400The second of the song to start from, so the clip gets the good part.
cut_on_beatoptBOOLEANtrueMoves each moment onto the nearest beat of the song. Pick off to keep your own seconds.
languageoptSTRINGEnglishThe language of the words in quotes.
job_1optCOMBOpersonWhat this picture is for. Person goes wherever your lines say. Place is where it happens. Outfit and thing work best with nobody in the picture. Style gives only the look. Start on it and end on it fix the first or last moment.
job_2optCOMBOpersonWhat this picture is for. Person goes wherever your lines say. Place is where it happens. Outfit and thing work best with nobody in the picture. Style gives only the look. Start on it and end on it fix the first or last moment.
job_3optCOMBOpersonWhat this picture is for. Person goes wherever your lines say. Place is where it happens. Outfit and thing work best with nobody in the picture. Style gives only the look. Start on it and end on it fix the first or last moment.
job_4optCOMBOthingWhat this picture is for. Person goes wherever your lines say. Place is where it happens. Outfit and thing work best with nobody in the picture. Style gives only the look. Start on it and end on it fix the first or last moment.
video_joboptCOMBOcopy its movesWhat the video is for: copy its moves, swap the person in it, keep it going, or give it a new voice. Swap and new voice ignore Seconds and keep the video's length.

Outputs (13)

NameTypeDescription
promptSTRINGThe finished prompt. Wire it into H3's prompt.
picture_1IMAGEYour pictures in the order the prompt counts them. Wire it into H3's first ref_image.
picture_2IMAGEThe next picture. Wire it into H3's second ref_image. Empty when there is no such picture.
picture_3IMAGEThe next picture. Wire it into H3's third ref_image. Empty when there is no such picture.
picture_4IMAGEThe next picture. Wire it into H3's fourth ref_image. Empty when there is no such picture.
videoIMAGEThe video, or only its end to keep going from. Wire it into H3's first ref_video.
video_soundAUDIOThe video's sound, when it should reach H3. Wire it into H3's first ref_video_audio.
voiceAUDIOThe voice, 15 seconds at most. Wire it into H3's first ref_audio.
songAUDIOThe song, cut to the clip. Wire it into H3's next ref_audio. Empty when a voice is connected too.
song_underAUDIOWith a voice and a song, the song to mix under the finished clip's sound. Wire it into Audio Merge.
framesINTThe clip's length in frames. Wire it into H3's length.
widthINTThe width of your video, or else of your first picture. Wire it into H3's width.
heightINTThe height of your video, or else of your first picture. Wire it into H3's height.