Make Images React to Music in ComfyUI + ACE-Step AI Music (Ep15) — Transcript
Full transcript
- 0:00Welcome to another video tutorial.
- 0:04Today I show you some comfy UI nodes I
- 0:06made. These nodes make your image react
- 0:09to music.
- 0:11Do you feel the beat? The beat [music]
- 0:13the beat the the beat the beat the beat
- 0:17Let's get [music] started.
- 0:22First, I will show you the nodes I made.
- 0:24And at the end of the video, I will show
- 0:26you a new model from A-Step that can
- 0:28create music from text.
- 0:30But first, we need to update Easy
- 0:33Installer and the nodes. So,
- 0:35double-click update Easy Install and it
- 0:37will update Easy Install for you and
- 0:39also my Pixroma nodes to the latest
- 0:41version.
- 0:42Ivo did more improvements. So, now there
- 0:45is one icon and you can launch Easy
- 0:47Installer how you want.
- 0:49Plus, if you want more shortcuts on the
- 0:50desktop, you can create them now from
- 0:52the little icon next to each button. So,
- 0:55if I want a Sage Attention icon, I can
- 0:58click here and get that new icon for
- 1:00easy access.
- 1:01But I will probably just keep the
- 1:03launcher and just launch the version I
- 1:04want.
- 1:05So, let me open the desktop version.
- 1:08I noticed there is an update for
- 1:09ComfyUI. Sometimes you need to update it
- 1:12to get the latest version of nodes. Like
- 1:14some nodes we will use on the A-Step
- 1:16workflow for music. So, I will update
- 1:19that also to the latest version. And now
- 1:21we have the latest version. I see Ivo
- 1:23also added more options here. So, now
- 1:26you can have access to the input folder,
- 1:28workflows, and models folder from here
- 1:31easily.
- 1:32The first node I want to show you is
- 1:33called Preview Image and you can attach
- 1:36it to any workflow that generates an
- 1:38image. Some of you asked for this. So,
- 1:41now you have it. Let's say I use a Z
- 1:44image workflow.
- 1:46So, here we have a Save Image node and
- 1:48you have to decide if you add a Preview
- 1:50image or a Save Image node. But
- 1:52sometimes you want to preview and decide
- 1:54to save it if you like it. So, now you
- 1:56can.
- 1:57Double-click on the canvas, search for
- 1:59Preview Image, and choose the one with
- 2:01Pixroma in the name. Drag it next to the
- 2:04workflow and connect the image input and
- 2:06output. You can change the prefix for
- 2:09the file name from here. So, now when I
- 2:11run the workflow, it didn't save
- 2:13anything. But you can preview it. You
- 2:16can adjust the size how you want. And if
- 2:18you don't like the result, you generate
- 2:20again to get another generation. If you
- 2:22like this one, you can use Save to
- 2:24Output and that will save it like the
- 2:26Save Image node does.
- 2:28You can see now it has been saved. And
- 2:30if I go to the output folder, you can
- 2:32see it saved with that preview prefix
- 2:35that you can change to whatever prefix
- 2:37you want from the node.
- 2:38And if you want to save it in a
- 2:40different folder, you can do that, too,
- 2:42using the Save to Disk option. Maybe I
- 2:45save it on my desktop in a folder with
- 2:47assets.
- 2:49And there is more. Are you ready for
- 2:51this? We can continue the workflow after
- 2:54Preview Image.
- 2:55Maybe I add a Crop node or whatever
- 2:57nodes you want that work with images.
- 3:00And after that node, I can add another
- 3:01Preview node. Let me connect it and run
- 3:04it. So, now the workflow generates the
- 3:06first image, it crops it, and we have
- 3:09the second image.
- 3:11And we can decide in both cases what to
- 3:13save. And if you don't like it, you
- 3:15don't save any of those. So, your output
- 3:17folder is not full of bad generations.
- 3:20Let's move now to the next node that I
- 3:22used to make images react to music. You
- 3:25can search for Audio React to find it or
- 3:27you can search for Pixroma and find it
- 3:30in the list and add it to the canvas.
- 3:32Another option is to right-click, click
- 3:35on Add node, and then in the Pixroma
- 3:37menu, you have all the nodes I have so
- 3:39far, with more to come next month.
- 3:41So, use the option that works best for
- 3:43you.
- 3:44So, we have the node, but we also need a
- 3:46way to save it after. So, I created
- 3:49another node that lets you save MP4
- 3:51videos from image frames.
- 3:53It is similar to what we used before on
- 3:56one video in episode six, just more
- 3:58minimalist. It only offers MP4 format.
- 4:02So, now I can connect video frames that
- 4:05are actual images like each frame of a
- 4:07video.
- 4:08Then we also need audio since this node
- 4:11works with an image and an audio to make
- 4:13the image react. And then in the node,
- 4:15we can control frames per second. So, I
- 4:18want to set that as well to be
- 4:19consistent. That is the whole workflow.
- 4:22Pretty simple. So, where are the
- 4:24settings? We click this button for that.
- 4:27And this is a simple interface I made
- 4:29for it. So, on top you have two buttons,
- 4:31one for image and one for audio.
- 4:34This works with only one image and one
- 4:36audio. You cannot do multiple images at
- 4:39once. So, let me upload one image. I
- 4:41will choose this heart image. Then I do
- 4:44the same for audio and it supports a few
- 4:46formats. Now, the info next to the
- 4:48button changes to show that we have an
- 4:50image and audio.
- 4:52And now we can click on the play button
- 4:54to preview the effect.
- 4:56>> [music]
- 4:59>> After play, you have a pause button,
- 5:02stop, and also [music] by default, the
- 5:04audio is on loop, so you can keep
- 5:06editing the settings while you preview.
- 5:08[music]
- 5:09So, let me stop the music. Then on the
- 5:11right, we have the settings, motion,
- 5:13overlay, audio band, and the export
- 5:16size. Let me preview again so we can see
- 5:19what each setting does. [music]
- 5:21Try different motion modes and play with
- 5:23intensity that decides how strong it
- 5:25affects the motion of the image. This
- 5:28does not use any AI model. It is made
- 5:30[music] from code, so it cannot do
- 5:32complex 3D animation. It is just for
- 5:35simple 2D transforms. [music]
- 5:38But a good use case is shorts and reels.
- 5:40Instead of having a static image, now
- 5:42you have an image that reacts to music,
- 5:45so it is less boring.
- 5:46>> [music]
- 5:51[music]
- 5:55[singing]
- 5:57[music]
- 5:59>> When Loop Safe is enabled, the beat
- 6:01animation is adjusted to loop smoothly,
- 6:02[music]
- 6:03so the video can repeat without any
- 6:05sudden or noticeable jumps.
- 6:08>> [music]
- 6:14[music]
- 6:18[music]
- 6:23[music]
- 6:28[music]
- 6:34[music]
- 6:37[singing]
- 6:42[music]
- 6:45>> For aspect ratio, it always gets the
- 6:47ratio and the size of the image with
- 6:49pixels adjusted so it can be saved in
- 6:51video [music] format. But you can select
- 6:54any size and format from here.
- 6:56So, let's say I choose a small size. I
- 6:58was able to do 4K without problems on a
- 7:016 GB VRAM card. When I save it now, it
- 7:04has those settings in the node and I can
- 7:06run it to get an MP4 video. Now, it
- 7:09depends on how big the image is and how
- 7:12long the audio is.
- 7:14You can use long audio, but I am not
- 7:16sure how much VRAM it needs if the audio
- 7:19is long.
- 7:20I only tested under a minute, which is
- 7:22what you usually need for shorts. But it
- 7:25should work for longer.
- 7:26So, now we have the video saved in the
- 7:28output folder.
- 7:30If you don't want it to be saved, you
- 7:31can select preview from here and decide
- 7:34when to save. And you have a download
- 7:37button where the three dots are.
- 7:39So, we can play it from here or see it
- 7:41in full [music] screen.
- 7:42Resize the window how you want. And if
- 7:45you don't like the effect, you can open
- 7:47Audio React again [music] and change it.
- 7:49To make it even better, we can connect
- 7:51an image and audio to it and it will
- 7:54keep the settings. Let me show you.
- 7:56Add a Load Image node and then we
- 7:58connect the image input and output. So,
- 8:01now if I run the workflow with the new
- 8:03image, it disconnects the image that it
- 8:05had inside, [music]
- 8:07the heart image, and it will use the new
- 8:09image instead. So, it works.
- 8:12The only problem is that it also kept
- 8:14the same size we set on output. To make
- 8:17that fit the image we input, I open
- 8:19Audio React again and from aspect ratio,
- 8:22I put the default that was set to
- 8:23original.
- 8:24So, most of the time I put original and
- 8:27it will make the video in the same ratio
- 8:29and size as my image.
- 8:30>> [snorts]
- 8:30>> So, now if I save it and then I run the
- 8:33workflow again, I get the same size and
- 8:35ratio.
- 8:36This [music] makes it easier to
- 8:37automate. So, now if I change the image
- 8:40to this bunny explorer and run the
- 8:42workflow again, I get a new video with
- 8:45that bunny instead.
- 8:46>> [music]
- 8:48>> Let me also add a Load Audio node and
- 8:51then I can connect this node to audio.
- 8:54Then you can upload an audio file. Let
- 8:56me see if I have one saved in the input
- 8:58folder. So, I have this one from a
- 9:00previous workflow and now I can run it.
- 9:03The new video should have the new song.
- 9:06If you want to have default settings,
- 9:07you can always right-click on the Audio
- 9:10React node and choose Fix Node Recreate.
- 9:13Now, if I run it again, the video should
- 9:16have the default settings.
- 9:18So, you can put your logo or all kinds
- 9:19of illustrations on the input image and
- 9:22see what you can create. You can
- 9:23generate with the same song for
- 9:25different images and then in a video
- 9:27editor, you edit it so it changes when
- 9:29you want the next video to start.
- 9:31So, let me try it for a different
- 9:33project. I upload an image like this one
- 9:35of the bunny and then I upload an audio
- 9:38file like this Pixapower short audio. I
- 9:41like to increase chroma shift and let's
- 9:43test it.
- 9:46>> [music]
- 9:55[music]
- 9:58>> Okay, looks good. You also have a help
- 10:00button here where you can find some
- 10:02shortcuts.
- 10:03Now, let me choose a 4K resolution for
- 10:05this one and let me save it. Now, I can
- 10:08run the workflow.
- 10:09If you noticed, I made it so when it
- 10:11inputs images or audio from inside the
- 10:14node, it will disconnect the inputs it
- 10:17has. So, just something to keep in mind.
- 10:19If I reconnect the bunny explorer now,
- 10:22it will replace the one from inside the
- 10:24node. So, it will always keep only one
- 10:27image or audio either from the input or
- 10:30from inside the node.
- 10:31And if you go in the console, you can
- 10:33see some info about the number of
- 10:35frames, size, frames per second, and how
- 10:39much time it takes. That depends on the
- 10:41image size and audio length.
- 10:44And if we go inside, you can change the
- 10:46frames per second from here.
- 10:51So, let me show you in full screen what
- 10:52I got.
- 10:56>> [music]
- 11:06[music]
- 11:09>> If you want to make the project a bit
- 11:10more complex, you can use CapCut or a
- 11:13video editor for that. Let me show you
- 11:15what I did in 20 minutes.
- 11:17So, I used a load image and a load audio
- 11:20here. So, I can keep the same audio
- 11:22constant and just replace the image. I
- 11:25can also adjust settings for some if I
- 11:27need. Then, I created a few images with
- 11:30AI and with the workflow you saw, I
- 11:32generated 12 different videos using the
- 11:34same audio.
- 11:36Then in CapCut, I added them on a
- 11:37different layer.
- 11:39I muted the audio for each of those
- 11:41videos and I cut the portions I wanted,
- 11:44leaving only the parts I wanted to be
- 11:45visible.
- 11:46That way, it is still in sync with the
- 11:48music, but it shows only the parts I
- 11:50want.
- 11:51You can add more effects in a video
- 11:53editor to make it more complex or
- 11:55combine it with other AI videos.
- 11:58But in this case,
- 11:59I just cut the videos.
- 12:01Let me show you what I got.
- 12:05>> [music]
- 12:11[music]
- 12:14[singing]
- 12:20[music and singing]
- 12:37[music]
- 12:53[music]
- 13:02[music]
- 13:05>> So, as you can see, even if it is not a
- 13:07complex node, with a bit of creativity,
- 13:10you can make some shorts that are not
- 13:11static and have some movement. Now, let
- 13:14me show you the last workflow
- 13:16that can create some music. In my
- 13:18opinion, it is still far from Suno AI.
- 13:21That is why the music you heard so far
- 13:23in the examples is made with Suno AI.
- 13:26But let's see what this new model can do
- 13:28since it is free.
- 13:30You will need to download four models.
- 13:32First is the main model. So, click on
- 13:34download model, go to the ComfyUI
- 13:37folder, look for the models folder, and
- 13:40then the diffusion models folder.
- 13:42Here, to stay organized, create a folder
- 13:45called A-Step and save the model there.
- 13:49So, you have these three nodes on the
- 13:51right and you will need to select the
- 13:53models once you download them. Press the
- 13:55R key to refresh if the node does not
- 13:58see them.
- 13:59For the dual clip node, we need two
- 14:01models. So, make sure you download both
- 14:03models in the text encoders folder. You
- 14:05also need the VAE model that goes in the
- 14:08VAE folder.
- 14:09So, once the models finish downloading,
- 14:12you refresh ComfyUI and select the
- 14:14models and it should be good to go.
- 14:17I organized the settings you use most
- 14:19often so you can find them easily.
- 14:21The audio duration is in seconds. They
- 14:24say on the model page that it can do
- 14:25between 10 seconds and 10 minutes. So,
- 14:28you change that here.
- 14:30Then for seed, I put fixed. So, if you
- 14:33like something, you can make small
- 14:34adjustments to prompts or lyrics and you
- 14:37can just change the number or use the
- 14:39arrows.
- 14:40Then you have beats per minute or tempo,
- 14:43which controls how fast the rhythm is.
- 14:46But you can also use it without those
- 14:47nodes if you want since you have the
- 14:49settings in this big node.
- 14:51You can see the seed, BPM, and duration
- 14:54here. Also, time signature, the language
- 14:57of your lyrics, and key scale.
- 14:59If you don't know about music, you can
- 15:01ask ChatGPT and it will tell you what to
- 15:03use for the type of music you want. So,
- 15:06let me undo those nodes. If you plan to
- 15:09use lyrics in different languages, you
- 15:11have a few options here. You should know
- 15:13that even in English, it does not read
- 15:15the lyrics correctly all the time. It
- 15:17can miss some words.
- 15:19And for key scale, that is for those who
- 15:21have more experience with music.
- 15:23So, let's run the workflow to see what
- 15:25it can create. Since I did not add any
- 15:28lyrics, we will get an instrumental
- 15:30song.
- 15:31And we can preview the result in the
- 15:32save audio node and the files are saved
- 15:35in the audio folder inside the output
- 15:37folder.
- 16:03So, for this seed, it sounds okay, but
- 16:06not all seeds or styles will sound
- 16:07right. So, you need a few tries to get
- 16:09something nice.
- 16:11You can use ChatGPT or Gemini.
- 16:14There are many custom GPTs for Suno that
- 16:17you can find, but even in a simple chat,
- 16:19you can ask for a prompt and lyrics for
- 16:21a text-to-music AI and maybe ask to
- 16:24include key scale and BPM so you know
- 16:27what to put in the settings.
- 16:29So, you can see it gave me in the prompt
- 16:30the scale D minor in this case and BPM
- 16:34or tempo is 140.
- 16:36So, let me copy this prompt and I will
- 16:39paste the prompt in ComfyUI here on top
- 16:41of the node.
- 16:43I will change this to D minor so it fits
- 16:45and BPM I will change to 140.
- 16:49And for the verse, it is kind of too
- 16:51long and it did not include any tags.
- 16:53So, let me ask it again to make it
- 16:55shorter and to include tags like verse
- 16:57one.
- 16:58Since the model recognizes that like
- 17:00Suno AI does.
- 17:02So, we got something. Let me copy that.
- 17:04Now, I go to the lyrics field and paste
- 17:07it there and let's run the workflow.
- 17:09And if you wonder how long it takes, we
- 17:11can look in the console.
- 17:13For a 2-minute song on a 24 GB VRAM
- 17:16card, it takes around 20 to 30 seconds.
- 17:19Let's hear what we got.
- 17:24>> [music]
- 17:29[music]
- 17:47[music]
- 17:48[singing]
- 17:55[music]
- 18:04[music]
- 18:10[music]
- 18:21[music]
- 18:26[music]
- 18:31[music]
- 18:37[music]
- 18:42[singing]
- 18:44[music]
- 18:48[singing]
- 18:52[music]
- 18:53[singing]
- 19:01[music]
- 19:08[music]
- 19:11>> So, you see the problem is with the
- 19:13lyrics. It does not read all the words
- 19:16and I am not sure if it was the style of
- 19:18music, but it reads the words like it is
- 19:20mumbling. You can barely understand it.
- 19:23Let me try now to do a country love song
- 19:25to see how this one sounds. So, I got
- 19:27the prompt for it. I will change to G
- 19:29major and 90 BPM in this case.
- 19:32Then I have a few short verses that
- 19:34might help it read everything better
- 19:35this way. Let me paste it here and run
- 19:38the workflow.
- 19:50>> Sunset
- 19:52[music] falling on your smile.
- 19:56Dust road, we stayed awhile.
- 20:00>> [music]
- 20:01>> Your hand fitting into mine.
- 20:07Feel like home [music] for the first
- 20:09time.
- 20:11You're my slow song in the night.
- 20:16My calming
- 20:17>> [music]
- 20:18>> every fight.
- 20:21If the world [music]
- 20:22fades out
- 20:24of you,
- 20:27I still [music] got me [singing]
- 20:29and you.
- 20:35And just to see the difference, let me
- 20:37compare it really quick. Same prompt and
- 20:39lyrics in Suno AI.
- 20:50Mhm,
- 20:52sunset falling [music] on your smile.
- 20:57Dust road, we stayed [music] awhile.
- 21:03Your [singing] hand fitting into mine.
- 21:05[music]
- 21:07Feel like home for the first time.
- 21:12You're my slow song in the night.
- 21:17>> [music]
- 21:17>> My calming
- 21:20every fight.
- 21:23If the world [music]
- 21:24fades [singing] out of you,
- 21:28I still [music]
- 21:29got me and you.
- 21:35Thank you for watching.
- 21:37Leave a like and a comment if you found
- 21:40[music] this video helpful.
- 21:43Thank you, legends. Legends. Thank you,
- 21:45all subscribers. [music]
- 21:47Thank you, the person behind the screen
- 21:49that pressed the like button right now.
- 21:51Press it. Press that button.
- 21:53>> And that is all for today. Have a great
- 21:55day.
About this transcript
This page contains the full transcript of Make Images React to Music in ComfyUI + ACE-Step AI Music (Ep15) by pixaroma, generated from the public captions YouTube serves with the video. The transcript has 3,094 words across 494 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.