> ## Documentation Index
> Fetch the complete documentation index at: https://comfyreel.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate

> The generation panel under image, video, audio and text nodes.

Select an empty image, video, audio or text node and the generation panel opens under it. Type a prompt, pick a model and settings, then press the arrow (or Ctrl/Cmd+Enter; Enter adds a new line). The arrow turns into a stop button while ComfyUI works.

![An image node with two linked references and its generation panel](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/gen-panel.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=8ed2436f06bbc3a0ce660dd85fe3be16)

## When you can generate

The arrow is enabled once the node has what it needs, and its tooltip says what is missing (**Enter a prompt**, **Add a reference**, **Enter a prompt or add a reference**):

* Image: a prompt or a reference image. A linked text node counts as a prompt; a style does not.
* Video: a prompt or any reference; **Text to video** needs a prompt (**Text to video needs a prompt**).
* Text, script and audio: a prompt (a script also accepts a reference video; voice cloning needs a voice sample).
* Presets: **Storyboard** and **Blocking storyboard** need a prompt; **Nine camera angles**, **Cinematic regrade**, **3 seconds later**, **5 seconds earlier**, **Skin texture** and **Fill the frame** need an image; the other presets take either.

Switching the model resets the settings to the new model's defaults.

## The prompt

* **@ mentions**: type `@` to pick a node by name. The list offers every image, video, audio and text node on the canvas, with or without a result: **Referenced** nodes first (12, then **More**), then the rest grouped as **Images**, **Videos**, **Audio** and **Text**. Nodes that would exceed the model's reference limit or that the model cannot use are shown disabled (**Reference limit reached**, **The current model can't use this as a reference**). ↑/↓ move the highlight, Enter picks it, Esc closes. Picking an unlinked node links it, and mentions map to the model's reference slots, so `@少女 stands on @老火车站台` uses those two images.
* Mentions, camera presets, pauses and fillers show as badges inside the prompt; paste is plain text.
* **Reference** picks references from the canvas, the subject library or the generation history. Thumbnails above the prompt show what is linked and in what order.
* **Mark** (image and video): click spots on a connected reference image to point at them; the prompt gets **Mark 1**, **Mark 2**… chips; deleting a chip removes its dot.
* **Prompt library** (the book button) inserts ready phrasing at the cursor: **Built-in** holds looks, camera moves, music beds and writing prompts for the node's kind, plus a **Quality and consistency** group of fixes (correct hands, real skin, legible text, change only one thing, the same character, two people kept apart, exact product, one light direction, true perspective, believable motion, a clean frame, instrumental only), **Mine** holds your own. **Save the current prompt to Mine** stores what is in the box, with an optional name; your prompts can be edited or deleted and are saved with your ComfyReel data, so every project sees them. Recently used prompts sit at the top.
* **Translate prompt** translates Chinese to English and anything else to Chinese with the default agent. Mentions, pauses and fillers are kept as they are. An empty prompt only shows a hint.
* The expand button opens a larger editor.
* **AutoLink** (on by default, switch in **Advanced settings**): when you type the name of a linked reference, a tip offers **Tab** to turn it into a mention, or **Shift+Tab** for all of them.

![The prompt library open under an image node](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/prompt-library.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=f479a1340e234f5920471f417c0914ba)

## Image

![The image model menu: Qwen Image 2.1 and Z-Image Turbo](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/image-models.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=d328290a9f75b08f537add9a66e76a0a)

| Setting | Options |
| - | - |
| Model | **Qwen Image 2.1** (precise generation and editing, accurate text) or **Z-Image Turbo** (fast 8-step images) |
| **Quality** | Low, Standard, High, Ultra, Extreme (step presets, Qwen Image 2.1 only) |
| **Resolution** | 1K, 2K, 4K; new nodes start at the **Default image resolution** of the logo menu (2K until you change it) |
| **Background** | Auto, Keep, Transparent |
| **Aspect ratio** | 13 ratios from 21:9 to 9:21 |
| **Count** | 1, 2 or 4 |

![Image settings: quality, resolution, background, aspect ratio and count](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/image-settings.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=5f88c90785aefd238e2e0c72f5a007dd)

![The image presets menu: storytelling, look, space and camera, design sheets](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/image-presets.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=924bd2d42dec4e66c2ca838f7c352469)

* **Presets** applies a ready-made task to the node: **Storytelling** (blocking storyboard, storyboard, 25-panel storyboard, four story beats, 3 seconds later, 5 seconds earlier), **Look** (skin texture, cinematic regrade, fill the frame), **Space and camera** (720° panorama, nine camera angles) and **Design sheets** (face turnaround, character sheet, character turnaround, environment sheet, product sheet). A preset sets the ratio to 16:9 (the panorama 2:1) and keeps the node's resolution; the panorama and the 25-frame storyboard need at least 2K and raise a lower one to 2K. Its settings show the resolution and the locked ratio.
* **Film direction**, the row at the top of the panel, sets the style, palette, composition and camera; video nodes add the editing rhythm. See [Film direction](https://comfyreel.org/guides/direction.md).
* **Advanced settings** sets the seed, steps and a custom size; on video nodes it sets the seed. Both carry the LoRA list and the **AutoLink** switch.

![Advanced settings: seed, steps, custom size, LoRA and AutoLink](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/advanced-settings.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=b63a2cb565197624567d842f1bd5259f)

* **LoRA**, in the advanced settings of image and video nodes, stacks several LoRAs, each with its own strength. The list reads each file's metadata and shows the LoRAs made for the node's model first, then those for another version of the same model under **Same family, other version** (Qwen-Image or 2509 / 2511 / 2512 LoRAs on Qwen Image 2.1), then the rest under **Other or unknown model**. On MiniMax H3 video nodes the LoRAs load on the H3 model in text, image, first / last frame, reference and lip-sync videos, and **Extend** and **Reshoot** use the LoRAs of the video they continue. Star a LoRA to keep it under **Favorites**. A LoRA bound to a style stays on and runs before the node's own LoRAs.

![Film direction row with style, palette, composition and camera picks](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/film-direction.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=298a464bd9640b4420408203b0c51915)

With connected images, Qwen Image 2.1 edits instead of generating: describe the change, for example "turn the background into a snowy night".

## Video

Video nodes generate with **MiniMax H3**, 5 to 15 seconds with synced audio. The prompt takes up to 2000 characters. **Video mode** sets how connected nodes are used, and is picked automatically from what is linked: nothing linked gives **Text to video**, images (with or without videos) **All-round reference**, videos alone **Video reference**. **Edit video** at the end of the mode menu opens the connected clip in the [video edit](https://comfyreel.org/guides/video-tools.md#video-edit): mark what to change, edit a reference frame, then apply it to the whole clip.

![A video node in Image to video mode with its generation panel](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-panel.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=c0328178b4a1e68b5aae59f7fa8edb68)

![The video mode menu](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-modes.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=000199978dc7d6672210f0610c784b25)

| Mode | Inputs |
| - | - |
| Text to video | prompt only |
| All-round reference | at least one image or video: up to 9 images, 3 videos and 3 audio clips, cited as `<Picture 1>`, `<Video 1>`, `<Audio 1>` |
| Image to video | one image as the first frame |
| First / last frame | one or two images |
| Image reference / Video reference | 1 to 9 images, or 1 to 3 videos |
| Audio-driven | one image and one audio clip: a talking or singing shot as long as the audio (up to 5 minutes) |
| Keyframes | 2 to 8 images the clip passes through in order, 2 to 60 seconds, see below |
| Long video | a 30 to 300 second video, see below |

Audio clips alone use audio reference automatically. A mode whose inputs do not fit is disabled with the reason; a **!** marks inputs the current mode ignores.

![Video settings: aspect ratio, speed, resolution, duration and count](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-settings.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=7cd6443a29df6058860c1a7fe5afe6d2)

Settings: **Aspect ratio** (only **Adaptive**, which follows the first frame, in **Image to video**, **First / last frame** and **Keyframes**; six fixed ratios for text to video), **Speed** (**Turbo** or **Standard**), **Resolution** (480P, 720P or 1080P; new video nodes start at the **Default video resolution** of the logo menu, 720P until you change it), **Duration** and **Count**.

**Count** (1 to 4) makes that many separate takes of the same prompt in one run, each with its own seed. They are queued together, so with several ComfyUI machines under **Auto** they run side by side (see [ComfyUI instances](https://comfyreel.org/guides/comfyui-instances.md)). Each finished take is added to the node as its own result, so you page through them and keep the best. With a fixed seed in **Advanced settings** the takes use that seed, the next one, and so on, so a run can be repeated exactly.

The chips above the prompt add:

* **Camera**: **Presets** (camera movements and angles), **My presets** (**New camera movement** saves your own wording) and **Favorites**. Picking one inserts a camera badge at the cursor; up to 6 per prompt. Click a badge to replace it, delete it to remove it. Camera presets are not supported in **First / last frame** and **Keyframes** (the badges turn grey).
* **Effect** from the effects library. An effect and camera presets exclude each other.
* **Characters** from the subject library, and a **Document** or **Link** attachment.

![Camera presets: camera movement and angle](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-camera.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=373e2f7faaf2a624562e555f6e8e5b02)

**Director-level prompt** rewrites the prompt in one of eight directing styles (observational, low-key noir, long take, kinetic action, contemplative, product hero, intimate two-hander, storybook animation); the prompt may be empty. The result opens with a before/after **Compare**, can be edited, and **Fill the input** replaces the prompt; **Regenerate** picks another style. If the node is not selected when it finishes, a toast offers **View**.

![Director-level prompt: pick a directing style](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/director-prompt.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=74aa6b2525b554d35c9a13784def2459)

**Optimize prompt** (video only) rewrites the prompt with the default agent and keeps mentions. The first run only marks the button with a dot; click it again to open the result, then copy it, **Regenerate** or **Fill into the input** (which replaces the prompt).

![The effects library: camera moves, speed and visual effects](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/effects-library.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=2fba2afd810d00d514885afb353c9a68)

### Multi-shot

**Multi-shot** cuts one video into a sequence of shots, such as a wide shot, a close-up and a reaction, in a single generation. It works in **Text to video**, **Image to video** and the reference modes.

1. Write the whole scene in the node prompt: place, people, look and light.
2. Click the **Multi-shot** chip. It starts with two shots that share the current duration.
3. For each shot, write what it shows and set its length (from 1 second, in half seconds). The list shows each shot's time range and the total against the model's longest video (15 seconds for MiniMax H3). **Add shot** adds up to 6 shots; the arrows or Alt+↑/↓ reorder them.

The video length follows the shots' total. The model receives the scene prompt followed by a numbered shot list with each time range, for example `Shot 2 (3–6 s): close-up of her hands opening a tin box`, written in Chinese when the shots are in Chinese. **Turn off multi-shot** goes back to a single shot.

![The multi-shot editor: three shots with their time ranges and lengths](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-multishot.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=2b6f4c7e1673c0f5e8b557afeb6a175f)

Tips: give each shot one clear framing and action, and keep shots at 2 seconds or longer. MiniMax H3 follows the shots in order and cuts slightly after the stated times (in our tests 0.4 to 0.8 seconds later), so leave a little room in the last shot.

### Keyframes

**Keyframes** makes one clip that passes through several pictures in order: link 2 to 8 image nodes (or pick them with **Reference**) and choose **Keyframes** in the video mode menu. The **Keyframes** chip opens the editor:

* A timeline shows a pin for every keyframe. Drag a pin, or focus it and use ←/→ (Shift for 1 second steps), to set when the clip reaches that picture. Each row also has the time as a number. The first keyframe opens the clip at 0 seconds; times left empty spread evenly, and **Spread evenly** resets them.
* Each keyframe can carry a prompt for what happens between it and the next one. The node prompt applies to the whole clip.
* The arrows change the order of the pictures; the times stay where they are.
* **Length** (2 to 60 seconds) is the clip length. When the last keyframe is earlier than the end, the clip carries on from it for the rest of the time.

The clip is made in stretches: the first goes from the first picture to the second, each next one continues from the last second of the stretch before it and ends on its keyframe, and the stretches are joined with matching overlaps, so motion runs through every keyframe without a jump. Keyframes land on the nearest frame the model can reach, within about a third of a second; the editor shows the exact time when it differs. The aspect ratio follows the first keyframe, and the run continues after a page reload.

![The keyframes editor: a timeline with three picture pins and a prompt per keyframe](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/video-keyframes.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=26f5e2cbe45adee49095e1ee9f1e4999)

Tips: keyframes made from one picture (for example with image editing) keep people and places consistent; neighbouring keyframes 2 to 5 seconds apart give the model room to move between them.

### Long video

**Long video** makes one continuous video of 30 to 300 seconds (count 1). The default agent splits the idea into parts of up to 15 seconds and marks where the shot really cuts. Each shot gets one keyframe image; a part that carries on the same shot opens on the last second of the part before it, so people, place, light and motion continue without a jump. All keyframes are made before the first clip. **Film continuous shots in one pass** in the settings films the parts of each shot together in one take of up to 30 seconds instead: about 10% faster, but a few spots in the shot ghost for about 8 frames. The parts run in a hidden group and are joined into the result on the same node, exactly as long as planned. The run continues after a page reload. **View process** shows the keyframes and clips on the canvas; if a clip fails, **View finished clips** shows what was made.

A soundtrack longer than 15 seconds (audio-driven mode, or an audio named as the soundtrack in reference mode, such as a song to sing) makes a video as long as the soundtrack, up to 5 minutes. It is made in takes of up to 14 seconds cut at quiet moments of the audio; each take follows its part of the soundtrack and opens on the last second of the take before it, the connected pictures keep the face and look in every take, and the whole soundtrack goes on the joined video once, so the lips stay on the sound to the end.

## Audio

| Model | Use |
| - | - |
| ACE-Step | songs with vocals or instrumentals; add lyrics with `[verse]` / `[chorus]` tags; 30 s, 1, 2, 3 or 4 min |
| Stable Audio Open | sound effects and ambience, 5 to 47 s |
| Kokoro | text to speech with 14 voices (Chinese, English, Japanese) |
| CosyVoice 3 | voice cloning from a connected or chosen clip, with emotion, stability and non-verbal fillers |
| IndexTTS 2 | voice cloning with an emotion vector and stability; preferred for cloning when installed (see [Models](https://comfyreel.org/guides/models.md#audio)) |

![A Kokoro voice-over node with a pause badge in the prompt](https://mintcdn.com/comfyreel/Pmftaa_AWO286WCQ/images/audio-panel.webp?fit=max\&auto=format\&n=Pmftaa_AWO286WCQ\&q=85\&s=f98351558b64513b6949d9679ff7349f)

Speech settings: **Speaking rate** 0.5× to 2×, **Pitch** (with the pitch node pack), **Volume** and **Voice effects** (pitch, intensity, timbre and a **Sound effect**). The counter shows the characters used of 50000. See [Audio](https://comfyreel.org/guides/audio.md) for voices, pauses and fillers.

## Text and script

Text and script nodes are written by an agent on this machine. The chip under the prompt (**Pick an agent**) picks the agent and its model; see [ComfyReel Agent](https://comfyreel.org/guides/agent.md).

## Results

* Several results stack in one node; page through them and **Keep only this one**.
* Rate results with stars. **Generation history** keeps every result of every canvas, filterable by type and rating.
* When an input changes after a result was made, the node shows **Inputs updated** with **Regenerate with updates**.
* A job that fails because a node or model file is missing says which one and on which machine, with **Run on** another machine when one has it.

## Replace the model

Each model step can run your own ComfyUI workflow. Upload it in **Custom workflows…** (logo menu) for the matching action: **Text to image** and **Image to image / edit** appear as extra image models, **Text to video**, **Image to video / first and last frame** and **Reference to video** as extra video models, **Music**, **Sound effect**, **Voiceover** and **Voice clone** as extra audio models. See [Custom workflows](https://comfyreel.org/guides/custom-workflows.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.