ComfyUI: AI Prompt Generation with Gemma

Demo summary
The creator shows an 'audio to text to audio' pipeline using Gemma to describe an audio input and generate a new prompt for the music generation node.
Step-by-step
- Connect an audio file to the Gemma AI prompt generator node
- Configure the prompt generator to output text describing the input audio
- Use an 'Any Switch' node to manage the text input order
- Set the AI-generated text as the primary input and human text as the secondary override
- Route the resulting text prompt into the music generation node
Options
- Toggle between AI-generated prompts and manual human text using a switch
Tips
- Use Gemma's audio capabilities to create an 'audio to text to audio' pipeline that safely captures the style of source music
- Use the 'Any Switch' node to automatically override text options in a specific order
Highlights
“Very simple stuff just give it some audio and tell it to output some text which describes that audio”
All demos from “Make High Quality Music in ComfyUI - Low VRAM!”
1:191:36Generate music with Stable Audio 3 Medium in ComfyUIThe creator demonstrates loading the Stable Audio 3 medium model in ComfyUI, setting up a prompt for 'gothic techno', and configuring the audio duration to 95 seconds before generating the track.ComfyUI· AI Music Generator
3:330:34Low VRAM audio generation with Small modelThe user switches to the 2GB 'small' model in ComfyUI to demonstrate audio generation suitable for low-end GPUs.ComfyUI· AI Music Generator
6:311:11AI Prompt Generation with GemmaCurrentThe creator shows an 'audio to text to audio' pipeline using Gemma to describe an audio input and generate a new prompt for the music generation node.ComfyUI· AI Music Generator
7:421:39Audio-to-Audio VAE EncodingThe demo shows loading an existing audio file (beats from Ace Step) into ComfyUI using VAE encoding to influence the style of the generated output.ComfyUI· AI Song Remixer
10:170:59Audio conditioning with voice inputThe user demonstrates using a 30-second vocal recording as an input combined with a text prompt and a linear quadratic scheduler to generate a new track.ComfyUI· AI Music Generator
11:161:07Generate sound effects with Stable AudioThe creator demonstrates generating specific sound effects like 'creaky doors' and 'underwater fireworks' using the medium and small sound effects models.ComfyUI· AI Sound Effect Generator
12:232:02Multi-sampler audio modificationThe video shows a workflow using two samplers in sequence, where the first stops at step four and the second continues, allowing for variations in the final audio output.ComfyUI· AI Audio Editor- Watch “Make High Quality Music in ComfyUI - Low VRAM!” →
AI Music Generator
0:441:57Generate audio from text in ComfyUI with Stable Audio 3The creator demonstrates setting up a ComfyUI workflow using the Stable Audio 3 Medium model and T5 Gemma text encoder to generate a 30-second instrumental audio clip from a text prompt.pixaroma
3:340:28Using Tiled VAE Decode for low VRAM audio generationThe narrator shows how to replace the standard VAE decode node with a tiled version in ComfyUI to handle longer audio generations (120 seconds) on hardware with lower VRAM.pixaroma
8:420:58Enhance audio prompts with Gemma 4A workflow is shown where a simple piano prompt is processed by a Gemma 4 model to generate a more detailed audio prompt before being passed to the Stable Audio sampler.pixaroma
10:550:28Image-to-Music generation in ComfyUIThe creator demonstrates an experimental workflow that loads an image of a bunny, uses Gemma 4 to describe it as a music prompt, and then generates corresponding audio.pixaroma
1:191:36Generate music with Stable Audio 3 Medium in ComfyUIThe creator demonstrates loading the Stable Audio 3 medium model in ComfyUI, setting up a prompt for 'gothic techno', and configuring the audio duration to 95 seconds before generating the track.Nerdy Rodent
3:330:34Low VRAM audio generation with Small modelThe user switches to the 2GB 'small' model in ComfyUI to demonstrate audio generation suitable for low-end GPUs.Nerdy Rodent
6:311:11AI Prompt Generation with GemmaCurrentThe creator shows an 'audio to text to audio' pipeline using Gemma to describe an audio input and generate a new prompt for the music generation node.Nerdy Rodent
10:170:59Audio conditioning with voice inputThe user demonstrates using a 30-second vocal recording as an input combined with a text prompt and a linear quadratic scheduler to generate a new track.Nerdy Rodent
1:151:28Setting up Stable Audio 3.0 in ComfyUIThe creator demonstrates how to access the Stable Audio 3.0 workflow via ComfyUI templates, download the necessary checkpoint and text encoder models, and navigate the prompt nodes for music and sound effect generation.REBEL AI
ComfyUI