YouTube2Text

Make Images React to Music in ComfyUI + ACE-Step AI Music (Ep15) — Transcript

by pixaroma · 3,094 words · 494 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome to another video tutorial.
  2. 0:04Today I show you some comfy UI nodes I
  3. 0:06made. These nodes make your image react
  4. 0:09to music.
  5. 0:11Do you feel the beat? The beat [music]
  6. 0:13the beat the the beat the beat the beat
  7. 0:17Let's get [music] started.
  8. 0:22First, I will show you the nodes I made.
  9. 0:24And at the end of the video, I will show
  10. 0:26you a new model from A-Step that can
  11. 0:28create music from text.
  12. 0:30But first, we need to update Easy
  13. 0:33Installer and the nodes. So,
  14. 0:35double-click update Easy Install and it
  15. 0:37will update Easy Install for you and
  16. 0:39also my Pixroma nodes to the latest
  17. 0:41version.
  18. 0:42Ivo did more improvements. So, now there
  19. 0:45is one icon and you can launch Easy
  20. 0:47Installer how you want.
  21. 0:49Plus, if you want more shortcuts on the
  22. 0:50desktop, you can create them now from
  23. 0:52the little icon next to each button. So,
  24. 0:55if I want a Sage Attention icon, I can
  25. 0:58click here and get that new icon for
  26. 1:00easy access.
  27. 1:01But I will probably just keep the
  28. 1:03launcher and just launch the version I
  29. 1:04want.
  30. 1:05So, let me open the desktop version.
  31. 1:08I noticed there is an update for
  32. 1:09ComfyUI. Sometimes you need to update it
  33. 1:12to get the latest version of nodes. Like
  34. 1:14some nodes we will use on the A-Step
  35. 1:16workflow for music. So, I will update
  36. 1:19that also to the latest version. And now
  37. 1:21we have the latest version. I see Ivo
  38. 1:23also added more options here. So, now
  39. 1:26you can have access to the input folder,
  40. 1:28workflows, and models folder from here
  41. 1:31easily.
  42. 1:32The first node I want to show you is
  43. 1:33called Preview Image and you can attach
  44. 1:36it to any workflow that generates an
  45. 1:38image. Some of you asked for this. So,
  46. 1:41now you have it. Let's say I use a Z
  47. 1:44image workflow.
  48. 1:46So, here we have a Save Image node and
  49. 1:48you have to decide if you add a Preview
  50. 1:50image or a Save Image node. But
  51. 1:52sometimes you want to preview and decide
  52. 1:54to save it if you like it. So, now you
  53. 1:56can.
  54. 1:57Double-click on the canvas, search for
  55. 1:59Preview Image, and choose the one with
  56. 2:01Pixroma in the name. Drag it next to the
  57. 2:04workflow and connect the image input and
  58. 2:06output. You can change the prefix for
  59. 2:09the file name from here. So, now when I
  60. 2:11run the workflow, it didn't save
  61. 2:13anything. But you can preview it. You
  62. 2:16can adjust the size how you want. And if
  63. 2:18you don't like the result, you generate
  64. 2:20again to get another generation. If you
  65. 2:22like this one, you can use Save to
  66. 2:24Output and that will save it like the
  67. 2:26Save Image node does.
  68. 2:28You can see now it has been saved. And
  69. 2:30if I go to the output folder, you can
  70. 2:32see it saved with that preview prefix
  71. 2:35that you can change to whatever prefix
  72. 2:37you want from the node.
  73. 2:38And if you want to save it in a
  74. 2:40different folder, you can do that, too,
  75. 2:42using the Save to Disk option. Maybe I
  76. 2:45save it on my desktop in a folder with
  77. 2:47assets.
  78. 2:49And there is more. Are you ready for
  79. 2:51this? We can continue the workflow after
  80. 2:54Preview Image.
  81. 2:55Maybe I add a Crop node or whatever
  82. 2:57nodes you want that work with images.
  83. 3:00And after that node, I can add another
  84. 3:01Preview node. Let me connect it and run
  85. 3:04it. So, now the workflow generates the
  86. 3:06first image, it crops it, and we have
  87. 3:09the second image.
  88. 3:11And we can decide in both cases what to
  89. 3:13save. And if you don't like it, you
  90. 3:15don't save any of those. So, your output
  91. 3:17folder is not full of bad generations.
  92. 3:20Let's move now to the next node that I
  93. 3:22used to make images react to music. You
  94. 3:25can search for Audio React to find it or
  95. 3:27you can search for Pixroma and find it
  96. 3:30in the list and add it to the canvas.
  97. 3:32Another option is to right-click, click
  98. 3:35on Add node, and then in the Pixroma
  99. 3:37menu, you have all the nodes I have so
  100. 3:39far, with more to come next month.
  101. 3:41So, use the option that works best for
  102. 3:43you.
  103. 3:44So, we have the node, but we also need a
  104. 3:46way to save it after. So, I created
  105. 3:49another node that lets you save MP4
  106. 3:51videos from image frames.
  107. 3:53It is similar to what we used before on
  108. 3:56one video in episode six, just more
  109. 3:58minimalist. It only offers MP4 format.
  110. 4:02So, now I can connect video frames that
  111. 4:05are actual images like each frame of a
  112. 4:07video.
  113. 4:08Then we also need audio since this node
  114. 4:11works with an image and an audio to make
  115. 4:13the image react. And then in the node,
  116. 4:15we can control frames per second. So, I
  117. 4:18want to set that as well to be
  118. 4:19consistent. That is the whole workflow.
  119. 4:22Pretty simple. So, where are the
  120. 4:24settings? We click this button for that.
  121. 4:27And this is a simple interface I made
  122. 4:29for it. So, on top you have two buttons,
  123. 4:31one for image and one for audio.
  124. 4:34This works with only one image and one
  125. 4:36audio. You cannot do multiple images at
  126. 4:39once. So, let me upload one image. I
  127. 4:41will choose this heart image. Then I do
  128. 4:44the same for audio and it supports a few
  129. 4:46formats. Now, the info next to the
  130. 4:48button changes to show that we have an
  131. 4:50image and audio.
  132. 4:52And now we can click on the play button
  133. 4:54to preview the effect.
  134. 4:56>> [music]
  135. 4:59>> After play, you have a pause button,
  136. 5:02stop, and also [music] by default, the
  137. 5:04audio is on loop, so you can keep
  138. 5:06editing the settings while you preview.
  139. 5:08[music]
  140. 5:09So, let me stop the music. Then on the
  141. 5:11right, we have the settings, motion,
  142. 5:13overlay, audio band, and the export
  143. 5:16size. Let me preview again so we can see
  144. 5:19what each setting does. [music]
  145. 5:21Try different motion modes and play with
  146. 5:23intensity that decides how strong it
  147. 5:25affects the motion of the image. This
  148. 5:28does not use any AI model. It is made
  149. 5:30[music] from code, so it cannot do
  150. 5:32complex 3D animation. It is just for
  151. 5:35simple 2D transforms. [music]
  152. 5:38But a good use case is shorts and reels.
  153. 5:40Instead of having a static image, now
  154. 5:42you have an image that reacts to music,
  155. 5:45so it is less boring.
  156. 5:46>> [music]
  157. 5:51[music]
  158. 5:55[singing]
  159. 5:57[music]
  160. 5:59>> When Loop Safe is enabled, the beat
  161. 6:01animation is adjusted to loop smoothly,
  162. 6:02[music]
  163. 6:03so the video can repeat without any
  164. 6:05sudden or noticeable jumps.
  165. 6:08>> [music]
  166. 6:14[music]
  167. 6:18[music]
  168. 6:23[music]
  169. 6:28[music]
  170. 6:34[music]
  171. 6:37[singing]
  172. 6:42[music]
  173. 6:45>> For aspect ratio, it always gets the
  174. 6:47ratio and the size of the image with
  175. 6:49pixels adjusted so it can be saved in
  176. 6:51video [music] format. But you can select
  177. 6:54any size and format from here.
  178. 6:56So, let's say I choose a small size. I
  179. 6:58was able to do 4K without problems on a
  180. 7:016 GB VRAM card. When I save it now, it
  181. 7:04has those settings in the node and I can
  182. 7:06run it to get an MP4 video. Now, it
  183. 7:09depends on how big the image is and how
  184. 7:12long the audio is.
  185. 7:14You can use long audio, but I am not
  186. 7:16sure how much VRAM it needs if the audio
  187. 7:19is long.
  188. 7:20I only tested under a minute, which is
  189. 7:22what you usually need for shorts. But it
  190. 7:25should work for longer.
  191. 7:26So, now we have the video saved in the
  192. 7:28output folder.
  193. 7:30If you don't want it to be saved, you
  194. 7:31can select preview from here and decide
  195. 7:34when to save. And you have a download
  196. 7:37button where the three dots are.
  197. 7:39So, we can play it from here or see it
  198. 7:41in full [music] screen.
  199. 7:42Resize the window how you want. And if
  200. 7:45you don't like the effect, you can open
  201. 7:47Audio React again [music] and change it.
  202. 7:49To make it even better, we can connect
  203. 7:51an image and audio to it and it will
  204. 7:54keep the settings. Let me show you.
  205. 7:56Add a Load Image node and then we
  206. 7:58connect the image input and output. So,
  207. 8:01now if I run the workflow with the new
  208. 8:03image, it disconnects the image that it
  209. 8:05had inside, [music]
  210. 8:07the heart image, and it will use the new
  211. 8:09image instead. So, it works.
  212. 8:12The only problem is that it also kept
  213. 8:14the same size we set on output. To make
  214. 8:17that fit the image we input, I open
  215. 8:19Audio React again and from aspect ratio,
  216. 8:22I put the default that was set to
  217. 8:23original.
  218. 8:24So, most of the time I put original and
  219. 8:27it will make the video in the same ratio
  220. 8:29and size as my image.
  221. 8:30>> [snorts]
  222. 8:30>> So, now if I save it and then I run the
  223. 8:33workflow again, I get the same size and
  224. 8:35ratio.
  225. 8:36This [music] makes it easier to
  226. 8:37automate. So, now if I change the image
  227. 8:40to this bunny explorer and run the
  228. 8:42workflow again, I get a new video with
  229. 8:45that bunny instead.
  230. 8:46>> [music]
  231. 8:48>> Let me also add a Load Audio node and
  232. 8:51then I can connect this node to audio.
  233. 8:54Then you can upload an audio file. Let
  234. 8:56me see if I have one saved in the input
  235. 8:58folder. So, I have this one from a
  236. 9:00previous workflow and now I can run it.
  237. 9:03The new video should have the new song.
  238. 9:06If you want to have default settings,
  239. 9:07you can always right-click on the Audio
  240. 9:10React node and choose Fix Node Recreate.
  241. 9:13Now, if I run it again, the video should
  242. 9:16have the default settings.
  243. 9:18So, you can put your logo or all kinds
  244. 9:19of illustrations on the input image and
  245. 9:22see what you can create. You can
  246. 9:23generate with the same song for
  247. 9:25different images and then in a video
  248. 9:27editor, you edit it so it changes when
  249. 9:29you want the next video to start.
  250. 9:31So, let me try it for a different
  251. 9:33project. I upload an image like this one
  252. 9:35of the bunny and then I upload an audio
  253. 9:38file like this Pixapower short audio. I
  254. 9:41like to increase chroma shift and let's
  255. 9:43test it.
  256. 9:46>> [music]
  257. 9:55[music]
  258. 9:58>> Okay, looks good. You also have a help
  259. 10:00button here where you can find some
  260. 10:02shortcuts.
  261. 10:03Now, let me choose a 4K resolution for
  262. 10:05this one and let me save it. Now, I can
  263. 10:08run the workflow.
  264. 10:09If you noticed, I made it so when it
  265. 10:11inputs images or audio from inside the
  266. 10:14node, it will disconnect the inputs it
  267. 10:17has. So, just something to keep in mind.
  268. 10:19If I reconnect the bunny explorer now,
  269. 10:22it will replace the one from inside the
  270. 10:24node. So, it will always keep only one
  271. 10:27image or audio either from the input or
  272. 10:30from inside the node.
  273. 10:31And if you go in the console, you can
  274. 10:33see some info about the number of
  275. 10:35frames, size, frames per second, and how
  276. 10:39much time it takes. That depends on the
  277. 10:41image size and audio length.
  278. 10:44And if we go inside, you can change the
  279. 10:46frames per second from here.
  280. 10:51So, let me show you in full screen what
  281. 10:52I got.
  282. 10:56>> [music]
  283. 11:06[music]
  284. 11:09>> If you want to make the project a bit
  285. 11:10more complex, you can use CapCut or a
  286. 11:13video editor for that. Let me show you
  287. 11:15what I did in 20 minutes.
  288. 11:17So, I used a load image and a load audio
  289. 11:20here. So, I can keep the same audio
  290. 11:22constant and just replace the image. I
  291. 11:25can also adjust settings for some if I
  292. 11:27need. Then, I created a few images with
  293. 11:30AI and with the workflow you saw, I
  294. 11:32generated 12 different videos using the
  295. 11:34same audio.
  296. 11:36Then in CapCut, I added them on a
  297. 11:37different layer.
  298. 11:39I muted the audio for each of those
  299. 11:41videos and I cut the portions I wanted,
  300. 11:44leaving only the parts I wanted to be
  301. 11:45visible.
  302. 11:46That way, it is still in sync with the
  303. 11:48music, but it shows only the parts I
  304. 11:50want.
  305. 11:51You can add more effects in a video
  306. 11:53editor to make it more complex or
  307. 11:55combine it with other AI videos.
  308. 11:58But in this case,
  309. 11:59I just cut the videos.
  310. 12:01Let me show you what I got.
  311. 12:05>> [music]
  312. 12:11[music]
  313. 12:14[singing]
  314. 12:20[music and singing]
  315. 12:37[music]
  316. 12:53[music]
  317. 13:02[music]
  318. 13:05>> So, as you can see, even if it is not a
  319. 13:07complex node, with a bit of creativity,
  320. 13:10you can make some shorts that are not
  321. 13:11static and have some movement. Now, let
  322. 13:14me show you the last workflow
  323. 13:16that can create some music. In my
  324. 13:18opinion, it is still far from Suno AI.
  325. 13:21That is why the music you heard so far
  326. 13:23in the examples is made with Suno AI.
  327. 13:26But let's see what this new model can do
  328. 13:28since it is free.
  329. 13:30You will need to download four models.
  330. 13:32First is the main model. So, click on
  331. 13:34download model, go to the ComfyUI
  332. 13:37folder, look for the models folder, and
  333. 13:40then the diffusion models folder.
  334. 13:42Here, to stay organized, create a folder
  335. 13:45called A-Step and save the model there.
  336. 13:49So, you have these three nodes on the
  337. 13:51right and you will need to select the
  338. 13:53models once you download them. Press the
  339. 13:55R key to refresh if the node does not
  340. 13:58see them.
  341. 13:59For the dual clip node, we need two
  342. 14:01models. So, make sure you download both
  343. 14:03models in the text encoders folder. You
  344. 14:05also need the VAE model that goes in the
  345. 14:08VAE folder.
  346. 14:09So, once the models finish downloading,
  347. 14:12you refresh ComfyUI and select the
  348. 14:14models and it should be good to go.
  349. 14:17I organized the settings you use most
  350. 14:19often so you can find them easily.
  351. 14:21The audio duration is in seconds. They
  352. 14:24say on the model page that it can do
  353. 14:25between 10 seconds and 10 minutes. So,
  354. 14:28you change that here.
  355. 14:30Then for seed, I put fixed. So, if you
  356. 14:33like something, you can make small
  357. 14:34adjustments to prompts or lyrics and you
  358. 14:37can just change the number or use the
  359. 14:39arrows.
  360. 14:40Then you have beats per minute or tempo,
  361. 14:43which controls how fast the rhythm is.
  362. 14:46But you can also use it without those
  363. 14:47nodes if you want since you have the
  364. 14:49settings in this big node.
  365. 14:51You can see the seed, BPM, and duration
  366. 14:54here. Also, time signature, the language
  367. 14:57of your lyrics, and key scale.
  368. 14:59If you don't know about music, you can
  369. 15:01ask ChatGPT and it will tell you what to
  370. 15:03use for the type of music you want. So,
  371. 15:06let me undo those nodes. If you plan to
  372. 15:09use lyrics in different languages, you
  373. 15:11have a few options here. You should know
  374. 15:13that even in English, it does not read
  375. 15:15the lyrics correctly all the time. It
  376. 15:17can miss some words.
  377. 15:19And for key scale, that is for those who
  378. 15:21have more experience with music.
  379. 15:23So, let's run the workflow to see what
  380. 15:25it can create. Since I did not add any
  381. 15:28lyrics, we will get an instrumental
  382. 15:30song.
  383. 15:31And we can preview the result in the
  384. 15:32save audio node and the files are saved
  385. 15:35in the audio folder inside the output
  386. 15:37folder.
  387. 16:03So, for this seed, it sounds okay, but
  388. 16:06not all seeds or styles will sound
  389. 16:07right. So, you need a few tries to get
  390. 16:09something nice.
  391. 16:11You can use ChatGPT or Gemini.
  392. 16:14There are many custom GPTs for Suno that
  393. 16:17you can find, but even in a simple chat,
  394. 16:19you can ask for a prompt and lyrics for
  395. 16:21a text-to-music AI and maybe ask to
  396. 16:24include key scale and BPM so you know
  397. 16:27what to put in the settings.
  398. 16:29So, you can see it gave me in the prompt
  399. 16:30the scale D minor in this case and BPM
  400. 16:34or tempo is 140.
  401. 16:36So, let me copy this prompt and I will
  402. 16:39paste the prompt in ComfyUI here on top
  403. 16:41of the node.
  404. 16:43I will change this to D minor so it fits
  405. 16:45and BPM I will change to 140.
  406. 16:49And for the verse, it is kind of too
  407. 16:51long and it did not include any tags.
  408. 16:53So, let me ask it again to make it
  409. 16:55shorter and to include tags like verse
  410. 16:57one.
  411. 16:58Since the model recognizes that like
  412. 17:00Suno AI does.
  413. 17:02So, we got something. Let me copy that.
  414. 17:04Now, I go to the lyrics field and paste
  415. 17:07it there and let's run the workflow.
  416. 17:09And if you wonder how long it takes, we
  417. 17:11can look in the console.
  418. 17:13For a 2-minute song on a 24 GB VRAM
  419. 17:16card, it takes around 20 to 30 seconds.
  420. 17:19Let's hear what we got.
  421. 17:24>> [music]
  422. 17:29[music]
  423. 17:47[music]
  424. 17:48[singing]
  425. 17:55[music]
  426. 18:04[music]
  427. 18:10[music]
  428. 18:21[music]
  429. 18:26[music]
  430. 18:31[music]
  431. 18:37[music]
  432. 18:42[singing]
  433. 18:44[music]
  434. 18:48[singing]
  435. 18:52[music]
  436. 18:53[singing]
  437. 19:01[music]
  438. 19:08[music]
  439. 19:11>> So, you see the problem is with the
  440. 19:13lyrics. It does not read all the words
  441. 19:16and I am not sure if it was the style of
  442. 19:18music, but it reads the words like it is
  443. 19:20mumbling. You can barely understand it.
  444. 19:23Let me try now to do a country love song
  445. 19:25to see how this one sounds. So, I got
  446. 19:27the prompt for it. I will change to G
  447. 19:29major and 90 BPM in this case.
  448. 19:32Then I have a few short verses that
  449. 19:34might help it read everything better
  450. 19:35this way. Let me paste it here and run
  451. 19:38the workflow.
  452. 19:50>> Sunset
  453. 19:52[music] falling on your smile.
  454. 19:56Dust road, we stayed awhile.
  455. 20:00>> [music]
  456. 20:01>> Your hand fitting into mine.
  457. 20:07Feel like home [music] for the first
  458. 20:09time.
  459. 20:11You're my slow song in the night.
  460. 20:16My calming
  461. 20:17>> [music]
  462. 20:18>> every fight.
  463. 20:21If the world [music]
  464. 20:22fades out
  465. 20:24of you,
  466. 20:27I still [music] got me [singing]
  467. 20:29and you.
  468. 20:35And just to see the difference, let me
  469. 20:37compare it really quick. Same prompt and
  470. 20:39lyrics in Suno AI.
  471. 20:50Mhm,
  472. 20:52sunset falling [music] on your smile.
  473. 20:57Dust road, we stayed [music] awhile.
  474. 21:03Your [singing] hand fitting into mine.
  475. 21:05[music]
  476. 21:07Feel like home for the first time.
  477. 21:12You're my slow song in the night.
  478. 21:17>> [music]
  479. 21:17>> My calming
  480. 21:20every fight.
  481. 21:23If the world [music]
  482. 21:24fades [singing] out of you,
  483. 21:28I still [music]
  484. 21:29got me and you.
  485. 21:35Thank you for watching.
  486. 21:37Leave a like and a comment if you found
  487. 21:40[music] this video helpful.
  488. 21:43Thank you, legends. Legends. Thank you,
  489. 21:45all subscribers. [music]
  490. 21:47Thank you, the person behind the screen
  491. 21:49that pressed the like button right now.
  492. 21:51Press it. Press that button.
  493. 21:53>> And that is all for today. Have a great
  494. 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.