Pipes Reference
Every pipe a preset pipeline can use, with its name, what it does, and its inputs, outputs and settings.
On this page
- Families
- adm_guidance
- alpha_video
- artifact
- canvas_expand
- checkpoint_loader
- cloud_generate
- control_video
- controlnet_loader
- controlnet_preprocessor
- detailer
- dynamic_prompts_renderer
- film_grain
- from_iotype
- gallery
- generator
- image_fit
- image_sheet
- inpaint_region_crop
- inpaint_region_restore
- interpolator
- latent_upscaler
- mask_preprocessor
- matting
- media_loader
- media_tool
- model_loader
- model_tools
- output_skipper
- param_emitter
- prompt_encoder
- prompt_expander
- regional_prompt
- sag
- seed_generator
- sharpness
- tiled_detailer
- tiled_refiner
- upscaler
- video_concat
- video_trim
Families#
adm_guidance#
adm_guidance/sdxl
ADM Guidance enhancement for SDXL (Fooocus technique)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | SDXL model with hook registry |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Model with ADM hook registered |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
positive_scale | float | 1.5 | no | — | 1.0 | 2.0 | ADM positive conditioning scale |
negative_scale | float | 0.8 | no | — | 0.5 | 1.0 | ADM negative conditioning scale |
scaler_end | float | 0.3 | no | — | 0.0 | 1.0 | Progress threshold to stop ADM |
alpha_video#
alpha_video
Combine a clip and its alpha matte into a transparent WebM, with an optional checkerboard preview
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
video | VIDEO | yes | yes | The original clips |
matte | VIDEO | yes | yes | Black and white alpha matte clips, one per original clip |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Per clip: the transparent WebM, then its checkerboard MP4 and the matte when enabled |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
black_point | float | 0.0 | no | — | 0.0 | 0.9 | Matte values at or below this become fully transparent |
white_point | float | 1.0 | no | — | 0.1 | 1.0 | Matte values at or above this become fully opaque |
crf | int | 24 | no | — | 0 | 63 | WebM quality; lower is sharper and larger |
preview | bool | true | no | — | — | — | Also write an MP4 of the cut-out over a checkerboard, for players that cannot show transparency |
save_matte | bool | false | no | — | — | — | Also pass the black and white matte on as a video |
max_frames | int | 0 | no | — | 0 | — | Only process the first N frames; 0 = all |
artifact#
artifact
This pipe will generate artifacts
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
before_image | IMAGE | yes | yes | Images for comparison or processing |
after_image | IMAGE | yes | yes | Images for comparison or processing |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Processed or selected images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "compare" | yes | compare | — | — | Artifact processing mode |
left | str | "original_image" | yes | — | — | — | Left side image identifier for comparison |
right | str | "final_image" | yes | — | — | — | Right side image identifier for comparison |
output | str | "right" | yes | left, right | — | — | Which image to output |
canvas_expand#
canvas_expand
Grow the canvas around a picture and mask the new area for outpainting
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | no | Picture to extend |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | no | Picture on the larger canvas |
images | IMAGE | yes | Picture on the larger canvas as a one-item list |
mask | IMAGE | no | White over the new area |
masks | IMAGE | yes | White over the new area as a one-item list |
crop_region | DICT | no | The whole canvas, for the restore pipe |
original_image | IMAGE | no | Picture on the larger canvas, for the restore pipe |
original_mask | IMAGE | no | White over the new area only, for the restore pipe |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
left | int | 0 | no | — | 0 | 8192 | Pixels to add on the left |
top | int | 0 | no | — | 0 | 8192 | Pixels to add on the top |
right | int | 0 | no | — | 0 | 8192 | Pixels to add on the right |
bottom | int | 0 | no | — | 0 | 8192 | Pixels to add on the bottom |
aspect | str | "" | no | — | — | — | Target shape as W:H; grows the canvas to it instead of using the sides |
anchor | str | "center" | no | center, left, right, top, bottom | — | — | Where the picture sits when growing to a target shape |
fill | str | "blur" | no | blur, edge, gray | — | — | What the new area starts as before it is repainted |
overlap | int | 48 | no | — | 0 | 256 | Pixels into the original edge where repainting fades out, so the model continues the picture across the seam |
checkpoint_loader#
checkpoint_loader/sdxl
Specialized pipe for loading SDXL models with optimized settings
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
GPU | SERVICE | no | no | GPU manager service for VRAM monitoring |
MEMORY | SERVICE | no | no | Memory manager service for intelligent allocation |
MODELS | SERVICE | no | no | Model lifecycle service for cross-generation model reuse |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Loaded SDXL model |
text_encoder | TEXT_ENCODER | no | CLIP text encoder for prompt processing |
vae | VAE | no | VAE for image encoding/decoding |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | Model template configuration |
loras | list | [] | no | — | — | — | List of LoRA configurations |
mode | str | "txt2img" | no | txt2img, img2img | — | — | Generation mode (txt2img, img2img, etc.) |
device | str | "cuda" | no | cuda, cpu, mps | — | — | Device to load model on |
dtype | str | "float16" | no | float16, float32, bfloat16 | — | — | Data type for model weights |
nsfw | bool | false | no | — | — | — | Enable NSFW content filtering |
clip_skip | int | 2 | no | — | 0 | 12 | Number of CLIP layers to skip |
vram_limit_gb | float | — | no | — | 4.0 | 128.0 | GPU VRAM limit in GB (None = auto-detect based on hardware) |
extras | dict | {} | no | — | — | — | Extra configuration parameters |
cloud_generate#
cloud_generate
Generates media with a model hosted by a cloud provider
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
CLOUD | SERVICE | yes | no | Cloud run service bound to this generation |
images | IMAGE | no | yes | Input images |
first_frame | IMAGE | no | no | First frame of a video |
last_frame | IMAGE | no | no | Last frame of a video |
video | VIDEO | no | yes | Input video files |
audio | AUDIO | no | yes | Input audio files |
seed | SEED | no | yes | Seeds for the outputs |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
video | VIDEO | yes | Generated video files |
audio | AUDIO | yes | Generated audio files |
seed | SEED | yes | Seeds of the generated outputs |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
task | str | "txt2img" | no | — | — | — | What the model is asked to do, such as txt2img or img2video |
model | str | "" | yes | — | — | — | Slug of the cloud model to run |
prompts | list | [] | no | — | — | — | One prompt per image, or a single prompt for all of them |
negative_prompt | str | "" | no | — | — | — | Negative prompt shared by every image |
quantity | int | 1 | no | — | 1 | 64 | How many outputs to generate |
params | dict | {} | no | — | — | — | Canonical generation parameters passed to the provider |
options | dict | {} | no | — | — | — | Provider options chosen on the form, merged under params |
roles | dict | {} | no | — | — | — | Media role for each media input, keyed by input name |
cloud | dict | {} | no | — | — | — | Backend identity, filled in by the cloud backend |
director | dict | — | no | — | — | — | Video Director document; when set, every shot is one request and the clips are joined |
control_video#
control_video
Render a driving video into a pose, depth or edge guide video; a pose guide can be retargeted onto a picture's person
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
video | VIDEO | yes | yes | Driving videos |
image | IMAGE | no | yes | Picture of the person who should perform the motion |
MODELS | SERVICE | no | no | Model lifecycle service for caching the pose and depth models |
ASSETS | SERVICE | no | no | Asset fetcher for the pose and depth model files |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Guide videos, one per input video |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
type | str | "pose" | no | pose, depth, edges | — | — | Kind of guide to render: a pose skeleton, a depth map or canny edges |
width | int | 0 | no | — | 0 | — | Exact guide width; 0 derives it |
height | int | 0 | no | — | 0 | — | Exact guide height; 0 derives it |
max_pixels | int | 0 | no | — | 0 | — | Pixel budget for the derived size; 0 = no cap |
size_multiple | int | 32 | no | — | 2 | — | Guide width and height are multiples of this |
fit | str | "contain" | no | contain, cover | — | — | How the source frame fits a different-shaped guide |
match_picture | bool | true | no | — | — | — | Retarget the motion onto the person in the picture input |
ease_in | float | 0.0 | no | — | 0.0 | — | Seconds to blend from the picture's own pose into the motion |
body | bool | true | no | — | — | — | Draw the body skeleton |
hands | bool | true | no | — | — | — | Draw the hands |
face | bool | true | no | — | — | — | Draw the face points |
detect_resolution | int | 512 | no | — | 128 | — | Short side the pose is detected at; line widths scale from it |
line_scale | float | 1.0 | no | — | 0.25 | 4.0 | Multiplier for line widths and dot sizes |
min_confidence | float | 0.3 | no | — | 0.0 | 1.0 | Points below this score are dropped |
smoothing | float | 0.5 | no | — | 0.0 | 1.0 | Temporal smoothing strength; 0 = off |
keyframe_interval | int | 8 | no | — | 1 | — | Run the person detector every this many frames |
max_gap | int | 12 | no | — | 0 | — | Longest run of missing frames that is interpolated |
max_frames | int | 0 | no | — | 0 | — | Only process the first N frames; 0 = all |
max_seconds | float | 0.0 | no | — | 0.0 | — | Only process the first N seconds of the source, whatever its frame rate; 0 = all. The smaller of this and max_frames wins |
canny_low | float | 100.0 | no | — | 0.0 | 500.0 | Edges guide: weak edge threshold |
canny_high | float | 200.0 | no | — | 0.0 | 500.0 | Edges guide: strong edge threshold |
save_guide | bool | false | no | — | — | — | Also save the guide video to the gallery |
weights_dir | str | "" | no | — | — | — | Folder holding the model files for the guide type (the two DWPose ONNX files, or the video depth checkpoint); blank fetches them |
controlnet_loader#
controlnet_loader/sdxl
Load SDXL ControlNet models for guided generation
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for cross-generation reuse |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
controlnet | CONTROLNET | yes | Loaded ControlNet model(s) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
controlnets | list | [] | no | — | — | — | List of ControlNet configurations |
device | str | "cuda" | no | cuda, cpu, mps | — | — | Device to load ControlNets on |
dtype | str | "float16" | no | float16, float32, bfloat16 | — | — | Data type for ControlNet weights |
controlnet_preprocessor#
controlnet_preprocessor
Preprocess images for ControlNet (Canny, Depth, OpenPose, etc.)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Input images to preprocess |
ASSETS | SERVICE | no | no | Asset fetcher, to mirror the annotator weights into the depot |
MODELS | SERVICE | no | no | Model lifecycle service for caching the pose models |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Preprocessed control images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
preprocessors | list | [] | no | — | — | — | List of preprocessor configurations |
output_resolution | list | — | no | — | — | — | Optional output resolution [width, height] |
strict | bool | false | no | — | — | — | Fail the generation instead of passing an image through unprocessed |
blank_hint | str | "use it without preprocessing" | no | — | — | — | What to tell the user when a strict guide finds nothing in the image |
detailer#
detailer/native
Family-agnostic native face detailer: detect -> mask-guided latent inpaint -> colour match -> feather back in
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Images to detail |
model | MODEL | yes | no | Native model bundle (reused from generation) |
conditioning | CONDITIONING | yes | yes | Prompt conditioning reused per image |
seed | SEED | no | yes | Per-image seeds |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Images with refined faces |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
detection_backend | str | "mediapipe" | no | mediapipe, yolo | — | — | Detector backend (mediapipe = Apache-2.0 default; yolo = AGPL, opt-in) |
detection_confidence | float | 0.5 | no | — | 0.0 | 1.0 | Face detection confidence threshold |
max_faces | int | 4 | no | — | 1 | 20 | Maximum number of faces refined per image |
min_face_ratio | float | 0.02 | no | — | 0.0 | 1.0 | Skip faces smaller than this fraction of the frame area |
max_face_ratio | float | 0.6 | no | — | 0.0 | 1.0 | Skip faces wider than this fraction of the frame's short side |
crop_padding | float | 0.6 | no | — | 0.0 | 2.0 | Padding around each face box, as a fraction of the box's own size |
crop_size | int | 1536 | no | — | 256 | 2048 | Working resolution each face crop is resized to before refining |
denoise | float | 0.3 | no | — | 0.0 | 1.0 | img2img denoise strength for each face crop |
steps | int | 12 | no | — | 1 | 100 | Denoising steps per face |
guidance | float | 1.0 | no | — | 0.0 | 30.0 | CFG scale for the face refine pass |
sampler | str | "euler" | no | euler, dpmpp_2m, unipc | — | — | Sampler for the face refine pass |
feather | int | 24 | no | — | 0 | 256 | Feather width (px) blending the refined face back in |
mask_mode | str | "oval" | no | oval, box | — | — | Face mask shape: oval follows the landmark face contour, box is a rounded rectangle |
mask_dilate | float | 0.12 | no | — | 0.0 | 1.0 | Grow the face mask by this fraction of the face box's short side |
latent_mask | bool | true | no | — | — | — | Re-pin latents outside the face mask to the original at every sampling step |
colour_match | bool | true | no | — | — | — | Match the refined face's colour statistics to the original crop before compositing |
loras_mode | str | "keep" | no | keep, drop, select | — | — | What happens to the run's LoRAs during the face pass |
loras | list | [] | no | — | — | — | LoRA stack applied for the face pass when loras_mode is 'select' |
run_loras | list | [] | no | — | — | — | The run's own LoRA stack, restored after the face pass |
overlay | bool | true | no | — | — | — | Draw detection brackets, mask contour and per-face labels on the live preview |
seed_offset | int | 0 | no | — | — | — | Added to every face's per-face seed |
face_model | str | — | no | — | — | — | MediaPipe face landmarker model path (mediapipe backend only) |
yolo_model | str | — | no | — | — | — | YOLO face detector model path (yolo backend only) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
detailer/sdxl
SDXL-optimized automatic detection and enhancement of faces and hands
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
model | MODEL | yes | no | AI model for image generation |
seed | SEED | no | yes | Random seeds for generation |
image | IMAGE | yes | yes | Input images to enhance |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Enhanced images with detailed faces and hands |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
detect | list | ["face", "hand"] | no | face, hand, eyes, teeth, person | — | — | Types of objects to detect |
detections | dict | {"face": {"confidence": 0.35, "mask_min_ratio": 0.008, "mask_max_ratio": 0.6, "strength": 0.12, "cfg": 5.5, "steps": 25, "padding": 32, "mask_blur": 0.5, "box_color": [0, 0, 0], "box_thickness": 8, "size_threshold": 0.08, "step_reduction_percentage": 0.6, "enable_upscale": true, "upscale_factor": 1.5, "upscale_method": "LANCZOS", "min_size_for_upscale": 96, "sampler": "DPMPP_2M", "scheduler": "karras", "type": "yolo", "model": "models/detection_bbox/face_yolov12m.pt"}, "hand": {"confidence": 0.5, "mask_min_ratio": 0.0005, "mask_max_ratio": 0.6, "strength": 0.3, "cfg": 7, "steps": 20, "padding": 32, "mask_blur": 2, "box_color": [0, 255, 0], "box_thickness": 8, "size_threshold": 0.08, "step_reduction_percentage": 0.6, "enable_upscale": true, "upscale_factor": 1.5, "upscale_method": "LANCZOS", "min_size_for_upscale": 96, "sampler": "DPMPP_2M", "scheduler": "karras", "type": "yolo", "model": "models/detection_bbox/hand_yolov8n.pt"}, "eyes": {"confidence": 0.5, "mask_min_ratio": 0.008, "mask_max_ratio": 0.6, "strength": 0.15, "cfg": 4.5, "steps": 20, "padding": 20, "mask_blur": 1, "box_color": [255, 255, 0], "box_thickness": 4, "size_threshold": 0.08, "step_reduction_percentage": 0.6, "enable_upscale": true, "upscale_factor": 1.5, "upscale_method": "LANCZOS", "min_size_for_upscale": 96, "sampler": "DPMPP_2M", "scheduler": "karras", "enabled": false, "type": "mediapipe", "model": "models/mediapipe/face_landmarker.task", "eye_padding": 10, "eye_v_padding": 15, "clip_skip": 2}, "teeth": {"confidence": 0.5, "mask_min_ratio": 0.008, "mask_max_ratio": 0.6, "strength": 0.12, "cfg": 4.5, "steps": 20, "padding": 15, "mask_blur": 0, "box_color": [255, 255, 255], "box_thickness": 4, "size_threshold": 0.08, "step_reduction_percentage": 0.6, "enable_upscale": true, "upscale_factor": 1.5, "upscale_method": "LANCZOS", "min_size_for_upscale": 96, "sampler": "DPMPP_2M", "scheduler": "karras", "enabled": false, "type": "mediapipe", "model": "models/mediapipe/face_landmarker.task", "mouth_open_threshold": 0.015, "teeth_padding": 5, "teeth_v_padding": 8, "clip_skip": 2}, "person": {"confidence": 0.4, "mask_min_ratio": 0.01, "mask_max_ratio": 0.9, "strength": 0.25, "cfg": 5.0, "steps": 20, "padding": 48, "mask_blur": 3, "box_color": [255, 0, 255], "box_thickness": 8, "size_threshold": 0.08, "step_reduction_percentage": 0.6, "enable_upscale": true, "upscale_factor": 1.5, "upscale_method": "LANCZOS", "min_size_for_upscale": 96, "sampler": "DPMPP_2M", "scheduler": "karras", "enabled": false, "type": "yolo", "model": "yolov8m.pt", "clip_skip": 2}} | no | — | — | — | Detection configuration for each object type |
confidence | float | 0.35 | no | — | 0.0 | 1.0 | Detection confidence threshold |
mask_min_ratio | float | 0.008 | no | — | 0.001 | 1.0 | Minimum mask size ratio |
mask_max_ratio | float | 0.6 | no | — | 0.1 | 1.0 | Maximum mask size ratio |
strength | float | 0.12 | no | — | 0.0 | 0.5 | Denoising strength (SDXL optimized) |
cfg | float | 5.5 | no | — | 1.0 | 15.0 | CFG scale (SDXL optimized) |
steps | int | 25 | no | — | 10 | 50 | Number of inference steps (SDXL optimized) |
padding | int | 32 | no | — | 0 | 200 | Padding around detected regions |
mask_blur | int | 0 | no | — | 0 | 50 | Mask blur radius (SDXL optimized) |
device | str | "cuda" | no | cuda, cpu, mps | — | — | Device to use for processing |
box_color | list | [0, 0, 0] | no | — | — | — | Detection box color (RGB) |
box_thickness | int | 8 | no | — | 1 | 50 | Detection box thickness |
size_threshold | float | 0.08 | no | — | 0.01 | 1.0 | Minimum detection size threshold |
step_reduction_percentage | float | 0.6 | no | — | 0.1 | 1.0 | Step reduction for large images |
enable_upscale | bool | true | no | — | — | — | Enable upscaling before detailing |
upscale_factor | float | 1.5 | no | — | 1.0 | 2.5 | Conservative upscaling factor for SDXL |
upscale_method | str | "LANCZOS" | no | LANCZOS, NEAREST, BILINEAR, BICUBIC | — | — | Upscaling interpolation method |
min_size_for_upscale | int | 96 | no | — | 32 | 512 | Minimum face size to apply upscaling |
sampler | str | "DPMPP_2M" | no | EULER, EULER_A, HEUN, DPM2, DPM2_A, LMS, DPMPP_2S_A, DPMPP_SDE, DPMPP_2M, DPMPP_2M_SDE, DPMPP_3M_SDE, LCM | — | — | Sampling algorithm to use |
scheduler | str | "karras" | no | normal, karras, exponential, sgm_uniform, simple, ddim_uniform | — | — | Noise schedule type to use |
detailer/video_ltx
Refine faces and hands in an LTX-2/2.3 video as stabilized spatiotemporal tubes (same model, light denoise, feathered paste-back)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | LTX-2/2.3 model bundle (same model that generated the clip) |
video | VIDEO | yes | yes | Video file(s) to refine |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (the generation's positive prompt) |
seed | SEED | no | yes | Random seeds (per video, for the refine noise) |
MODELS | SERVICE | no | no | Model lifecycle service |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Refined video file(s) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
strength | str | "balanced" | no | light, balanced, strong | — | — | Refinement strength (starting sigma) |
detect_faces | bool | true | no | — | — | — | Detect and refine faces |
detect_hands | bool | true | no | — | — | — | Detect and refine hands |
detection_backend | str | "mediapipe" | no | mediapipe, yolo | — | — | Detector backend (mediapipe = Apache-2.0 default; yolo = AGPL, opt-in) |
detection_stride | int | 6 | no | — | 1 | 60 | Detect every Nth frame |
detection_confidence | float | 0.5 | no | — | 0.0 | 1.0 | Detector confidence threshold |
max_tracks | int | 4 | no | — | 1 | 16 | Max subjects to refine per clip |
min_track_seconds | float | 0.5 | no | — | 0.0 | 10.0 | Discard tracks shorter than this |
iou_threshold | float | 0.3 | no | — | 0.0 | 1.0 | IoU threshold for linking detections into tracks |
cut_threshold | float | 0.35 | no | — | 0.0 | 1.0 | Histogram distance above which a scene cut splits a track |
pad_factor | float | 1.8 | no | — | 1.0 | 4.0 | Context padding around each subject's window |
area_threshold | float | 0.4 | no | — | 0.05 | 1.0 | Fraction of frame area above which the tube window follows the subject instead of holding fixed |
working_short_side | int | 512 | no | — | 128 | 1024 | Refine working-resolution short side (px) |
color_correction | str | "wavelet" | no | wavelet, adain, none | — | — | Match refined patch colour to the original |
feather_border_frac | float | 0.08 | no | — | 0.0 | 0.5 | Spatial feather border (fraction of tube size) |
temporal_ramp_frames | int | 4 | no | — | 0 | 30 | Fade-in/out length at each tube segment end (frames) |
face_model | str | "models/mediapipe/face_landmarker.task" | no | — | — | — | MediaPipe face landmarker model path |
hand_model | str | "models/mediapipe/hand_landmarker.task" | no | — | — | — | MediaPipe hand landmarker model path |
detailer/video_minimax_h3
Refine faces and hands in a MiniMax-H3 video as stabilized spatiotemporal tubes (same model, light denoise, feathered paste-back)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MiniMax-H3 model bundle (same model that generated the clip) |
video | VIDEO | yes | yes | Video file(s) to refine |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (the generation's positive prompt) |
seed | SEED | no | yes | Random seeds (per video, for the refine noise) |
MODELS | SERVICE | no | no | Model lifecycle service |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Refined video file(s) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
strength | str | "balanced" | no | light, balanced, strong | — | — | Refinement strength (starting sigma) |
detect_faces | bool | true | no | — | — | — | Detect and refine faces |
detect_hands | bool | true | no | — | — | — | Detect and refine hands |
detection_backend | str | "mediapipe" | no | mediapipe, yolo | — | — | Detector backend (mediapipe = Apache-2.0 default; yolo = AGPL, opt-in) |
detection_stride | int | 6 | no | — | 1 | 60 | Detect every Nth frame |
detection_confidence | float | 0.5 | no | — | 0.0 | 1.0 | Detector confidence threshold |
max_tracks | int | 4 | no | — | 1 | 16 | Max subjects to refine per clip |
min_track_seconds | float | 0.5 | no | — | 0.0 | 10.0 | Discard tracks shorter than this |
iou_threshold | float | 0.3 | no | — | 0.0 | 1.0 | IoU threshold for linking detections into tracks |
cut_threshold | float | 0.35 | no | — | 0.0 | 1.0 | Histogram distance above which a scene cut splits a track |
pad_factor | float | 1.8 | no | — | 1.0 | 4.0 | Context padding around each subject's window |
area_threshold | float | 0.4 | no | — | 0.05 | 1.0 | Fraction of frame area above which the tube window follows the subject instead of holding fixed |
working_short_side | int | 512 | no | — | 128 | 1024 | Refine working-resolution short side (px) |
color_correction | str | "wavelet" | no | wavelet, adain, none | — | — | Match refined patch colour to the original |
feather_border_frac | float | 0.08 | no | — | 0.0 | 0.5 | Spatial feather border (fraction of tube size) |
temporal_ramp_frames | int | 4 | no | — | 0 | 30 | Fade-in/out length at each tube segment end (frames) |
face_model | str | "models/mediapipe/face_landmarker.task" | no | — | — | — | MediaPipe face landmarker model path |
hand_model | str | "models/mediapipe/hand_landmarker.task" | no | — | — | — | MediaPipe hand landmarker model path |
refine_steps | int | 6 | no | — | 1 | 30 | Denoising steps per tube |
refine_video_sigma_shift | float | 1.0 | no | — | 0.1 | 50.0 | Video sigma shift for the tube refine (1.0 makes strength the starting sigma) |
refine_sampler | str | "euler" | no | euler, res_multistep, dpmpp_2m, er_sde, sa_solver, lcm | — | — | Solver for the tube refine |
refine_scheduler | str | "simple" | no | simple, beta, beta57 | — | — | Knot placement for the tube refine |
dynamic_prompts_renderer#
dynamic_prompts_renderer
Emits the fully-rendered per-image prompts ({a|b}, ${variables} and phrasebook already resolved on the backend) as provenance artifacts
No inputs.
Outputs: none.
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
pairs | list | [] | no | — | — | — | Per-image expanded prompt pairs (from generation.prompts.pairs) |
quantity | int | 1 | no | — | 1 | 20 | Number of images being generated (fills the batch when only pairs[0] was produced) |
film_grain#
film_grain
Adds realistic film grain effect to make images look more natural
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Input images to apply film grain effect |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Images with film grain effect applied |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
intensity | float | 0.3 | no | — | 0.0 | 1.0 | Controls the overall strength of the grain effect |
grain_size | float | 1.5 | no | — | 0.5 | 3.0 | Controls the size of grain particles |
shadows_bias | float | 0.6 | no | — | 0.0 | 1.0 | More grain in darker areas |
highlights_protect | float | 0.2 | no | — | 0.0 | 1.0 | Protect highlights from grain |
monochromatic | bool | false | no | — | — | — | If True, applies same grain to all channels |
blur_amount | float | 0.5 | no | — | 0.0 | 2.0 | Slight blur to make grain look more natural |
preset | str | — | no | classic_35mm, cinematic_portra, vintage_push, modern_cine, high_iso, super8, subtle_digital, trix400 | — | — | Preset film grain style |
from_iotype#
from_iotype
Converts IOType values to regular output values for use in other pipes
No inputs.
Outputs: none.
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
from | str | — | no | — | — | — | Single input to convert (simple mode) |
mappings | list | [] | no | — | — | — | List of input->output mappings |
gallery#
gallery
Pipe that will output an gallery
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | no | yes | List of images to output |
video | VIDEO | no | yes | List of videos to output |
audio | AUDIO | no | yes | List of audio files to output |
seed | SEED | no | yes | Seed used for generation |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | List of images that were inputted (it just passes them forward) |
video | VIDEO | yes | List of videos that were inputted (it just passes them forward) |
audio | AUDIO | yes | List of audio files that were inputted (it just passes them forward) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
derived | bool | false | no | — | — | — | Mark emitted media as derived from another final output of this generation (e.g. an enhance pass). Presentation hint only - persisted file order is unchanged. |
label | str | — | no | — | — | — | Caption saved with each emitted image, shown on it in the workbench and History (e.g. "Guide: Pose") |
generator#
generator/anima
Native Anima generator (flow matching, true CFG, LLMAdapter text fusion)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Anima model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img | — | — | Generation mode |
denoise | float | 0.55 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 24 | no | — | 1 | 100 | Denoising steps |
guidance | float | 6.0 | no | — | 0.0 | 30.0 | True CFG scale |
shift | float | — | no | — | — | — | Sigma-shift override; blank -> spec default (3.0) |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
generator/audio_minimax_music3
Native MiniMax-Music3 text-to-music generator
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MiniMax-Music3 model bundle |
MODELS | SERVICE | no | no | Model lifecycle service, to release the AR core before the DiT places |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
audio | AUDIO | yes | Generated song(s), one per seed |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
caption | str | "" | yes | — | — | — | The song's caption -- genre/mood/instrumentation/vocals, composed by the preset from its form fields |
lyrics | str | "" | no | — | — | — | Lyrics with [tag] structure markers, one per line (e.g. '[instrumental]' for no vocals) |
duration | float | 60.0 | no | — | 0.0 | 360.0 | Upper bound on song length in seconds; the AR stage may stop earlier and report the actual length. 0 = auto (run to the model's own stop token). Hard cap 360s |
steps | int | 30 | no | — | 1 | 100 | Flow-matching Euler steps per denoising window |
seed | int | -1 | no | — | -1 | — | Random seed (drives both the AR stage and every flow window) |
ar_cfg_scale | float | 1.5 | no | — | 1.0 | 10.0 | Classifier-free guidance for the AR (semantic + residual code) sampling stage |
cfg_scale | float | 1.7 | no | — | 1.0 | 10.0 | Classifier-free guidance for the flow-matching DiT |
top_k | int | 50 | no | — | 1 | 1024 | Top-k restriction for AR sampling |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
generator/audio_yue2
Native YuE2-3B text-to-music generator
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | YuE2-3B model bundle |
MODELS | SERVICE | no | no | Model lifecycle service, to release the AR/NAR backbone before the VAE places |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
audio | AUDIO | yes | Generated song(s), one per seed |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
style | str | "" | yes | — | — | — | The song's style -- genre/mood/instrumentation/vocals, composed by the preset from its form fields |
lyrics | str | "" | no | — | — | — | Lyrics with [tag] structure markers, one per line (e.g. '[instrumental]' for no vocals) |
cot | str | "off" | no | off, melody, full | — | — | Chain-of-thought stage: 'off' generates codec tokens directly, 'melody'/'full' first write an ABC transcription the codec stage conditions on |
abc | str | "" | no | — | — | — | A user-supplied ABC transcription to condition on directly, skipping the model's own ABC-writing stage. Only meaningful with cot != 'off' |
duration | float | 0.0 | no | — | 0.0 | 360.0 | Upper bound on song length in seconds; the AR stage may stop earlier and report the actual length. 0 = auto (run to the model's own stop token). Hard cap 360s |
seed | int | -1 | no | — | -1 | — | Random seed |
cfg_scale | float | — | no | — | 0.0 | 20.0 | Classifier-free guidance for the semantic (codec) AR stage. None or 0 = auto: 1.01 when cot='off', 1.0 otherwise |
nar_steps | int | 32 | no | — | 1 | 100 | Flow-matching midpoint-Euler steps per acoustic window |
temperature | float | 1.0 | no | — | 0.0 | 5.0 | Semantic-stage sampling temperature |
top_p | float | 0.95 | no | — | 0.0 | 1.0 | Semantic-stage nucleus sampling |
top_k | int | 100 | no | — | 1 | 1024 | Semantic-stage top-k restriction |
repetition_penalty | float | 1.2 | no | — | 0.01 | 2.0 | Semantic-stage repetition penalty |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
generator/chain_video_wan22
Native Wan 2.2 sequential chain-video generator (SVI Pro 2.0-style continuation)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | no | no | i2v Wan bundle (base LoRA stacks applied); runs i2v/flf/chain segments |
model_t2v | MODEL | no | no | t2v Wan bundle (base LoRA stacks applied); runs t2v segments |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning, one per chain segment (index-aligned) |
image | IMAGE | no | yes | Start image(s), one per i2v/flf segment (document-order, role=first) |
end_image | IMAGE | no | yes | End image(s), one per flf segment (document-order, role=last) |
MODELS | SERVICE | no | no | Model lifecycle service, for per-segment LoRA re-acquisition |
GPU | SERVICE | no | no | GPU manager for the VRAM budget (re-acquisition loader) |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos (one per segment, plus the stitched result when enabled) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "chain" | yes | chain | — | — | Generation mode |
document | dict | — | yes | — | — | — | Canonical Video Director document (schema_version 1, mode='chain'); segments[] drives the sequential loop |
motion_latent_count | int | 1 | no | — | 1 | 4 | SVI Pro: how many temporal LATENT slots of the previous segment's tail carry into the next segment's conditioning (1 slot ~= 4 pixel frames). Lower keeps a lighter motion hand-off; raise to re-inject the full tail |
anchor_latent_strength | float | 1.0 | no | — | 0.0 | 1.0 | SVI Pro: mask weight on each segment's anchor (start) frames. 1.0 hard-locks them (identity); lower loosens the lock so dynamic scenes can move off the anchor |
seam_handoff | str | "latent" | no | latent, pixel | — | — | Chain continuation seam conditioning. 'latent' (default) splices the previous segment's own SAMPLED latent tail directly into the next segment's locked slots, bypassing the decode->uint8->re-encode round trip (removes two of the three seam color-shift sources). 'pixel' reproduces the original round-tripped hand-off exactly, for A/B comparison against the previous default. |
steps | int | 30 | no | — | 1 | 150 | Default denoising steps (segment override: segments[i].steps) |
cfg | float | 5.0 | no | — | 0.0 | 30.0 | Default true CFG scale (segment override: segments[i].cfg) |
sampler | str | "unipc" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "832x480" | no | — | — | — | Resolution (WxH), constant across all segments |
fps | float | 16.0 | no | — | 1.0 | 60.0 | Output frame rate |
expert_boundary | float | — | no | — | 0.0 | 1.0 | Dual-expert switch boundary override (sigma fraction) |
expert_switch_step | int | — | no | — | 0 | — | Switch high->low expert at this step (wins over expert_boundary; converted to that step's sigma) |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype (must match model_loader/wan22's dtype for cache reuse on re-acquire) |
t2v_high_noise_model | dict | — | no | — | — | — | t2v high-noise (or only) DiT file -- re-acquire target for a t2v segment's LoRA swap |
t2v_low_noise_model | dict | — | no | — | — | — | t2v low-noise expert DiT file (Wan 2.2 dual-expert only) |
i2v_high_noise_model | dict | — | no | — | — | — | i2v high-noise (or only) DiT file -- re-acquire target for an i2v/chain segment's LoRA swap |
i2v_low_noise_model | dict | — | no | — | — | — | i2v low-noise expert DiT file (Wan 2.2 dual-expert only) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
cfg_zero_star | bool | true | no | — | — | — | CFG-Zero*: rescale the uncond branch onto cond before extrapolation |
zero_init_steps | int | 0 | no | — | 0 | 100 | CFG-Zero*: zero velocity for the first N steps |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into cross-attention so it's enforced even at cfg=1.0 (single-forward speed) — set cfg to 1.0 and nag_scale to ~1.1-1.5 for the speed win; NAG stacks with true CFG if both are on. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
riflex | bool | false | no | — | — | — | RIFLEx: extrapolate video length beyond the model's trained frame count via intrinsic RoPE frequency clamping (default off = byte-identical schedule) |
riflex_trained_frames | int | — | no | — | 1 | — | RIFLEx: override the trained latent-frame count (default: the family's known trained length; only used when riflex=true) |
apg_eta | float | — | no | — | 0.0 | 1.0 | APG: down-weight of the CFG delta's component parallel to the cond prediction (unset = inherit the model's own sampling_settings, or 1.0 = off / plain CFG if neither sets it; paper explores ~0.0-0.5 to reduce oversaturation at high CFG) |
apg_norm_threshold | float | — | no | — | 0.0 | — | APG: cap the guidance delta's norm to this radius (unset = inherit; 0 = off) |
apg_momentum | float | — | no | — | -1.0 | 1.0 | APG: reverse-momentum coefficient applied to the guidance delta across steps (unset = inherit; 0 = off; paper uses small negative values, e.g. -0.5) |
slg_scale | float | — | no | — | 0.0 | 10.0 | Skip-Layer Guidance: push-away strength from a degraded (blocks-skipped) prediction (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it) |
slg_layers | str | — | no | — | — | — | Skip-Layer Guidance: comma-separated transformer block indices to skip in the degraded pass (unset = inherit; empty = off even if slg_scale > 0) |
slg_sigma_start | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window upper (earlier-trajectory) sigma bound (unset = inherit) |
slg_sigma_end | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window lower (later-trajectory) sigma bound (unset = inherit) |
sampler_options | dict | {} | no | — | — | — | Opaque per-sampler options dict forwarded to the chosen sampler, e.g. {'eta': 0.5} for sampler=euler_sde or {'restart_count': 2, 'restart_strength': 0.3} for sampler=euler_restart. Empty/absent = sampler defaults, no effect on euler/dpmpp_2m/unipc. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off. Only arch forwards that honor the step_cache kwarg actually skip steps; others ignore it harmlessly. Takes priority over the flat step_cache_threshold/step_cache_warmup_steps/step_cache_max_skips knobs below when non-empty (back-compat with existing presets/callers). |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-error threshold below which a step's residual is reused instead of recomputed. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps -- warmup_steps alone already covers shorter runs. Ignored when the 'step_cache' dict above is also set. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. Ignored when the 'step_cache' dict above is also set. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. Ignored when the 'step_cache' dict above is also set. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
generator/dfr_video_ltx
Native LTX-2.5 DFR temporal rounds: densify a finished video latent to 2x/4x the frame rate with tiled, keyframe-anchored re-denoising
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | LTX model bundle -- the SAME bundle the base/refine stages used, so the rounds share their LoRA chain. Needs 'temporal_upscale_model' loaded whenever rounds > 0 |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (the same the earlier stages consumed) |
latent | LATENT | yes | yes | Finished video latent to densify -- the upscale/refine stage's raw latent output when upscaling, otherwise the base pass's |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Conditioning images, re-applied per tile at tile-local indices |
audio | AUDIO | no | yes | Finished audio track from the base pass, muxed verbatim into the final encode (rounds generate no audio of their own) |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Densified videos (empty when decode=false) |
latent | LATENT | yes | Densified per-seed latents (only populated when decode=false) |
audio | AUDIO | yes | The passed-through audio track(s) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
rounds | int | 1 | no | — | 0 | 2 | Temporal densification rounds. Each doubles the frame count and the playback frame rate (0 = decode the incoming latent unchanged, useful for an A/B against the same seed) |
fps | float | 25.0 | no | — | 1.0 | 60.0 | BASE frame rate of the incoming latent. The output plays at fps * 2**rounds; the RoPE conditioning frame rate is capped at 60 |
frames | int | 121 | no | — | 9 | 1001 | Requested pixel frames (cross-check only -- the real count is derived from the incoming latent, as in generator/video_ltx) |
resolution | str | "768x512" | no | — | — | — | Expected resolution (WxH) of the incoming latent, cross-checked before any GPU work |
round_sigmas | str | "0.975,0.909375,0.725,0.421875,0.0" | no | — | — | — | Sigma schedule for every tile of every round, comma-separated, descending, used VERBATIM (like generator/video_ltx's refine_sigmas: the head is NOT forced to 1.0, which is what keeps the partial-noise start intact) |
anchor_strength | float | 0.95 | no | — | 0.0 | 1.0 | Conditioning strength of a carried seam keyframe (1 = fully pinned, 0 = free). Deliberately just short of 1.0 so the tiles either side of a seam can settle it between them |
ancestral_eta | float | 0.5 | no | — | 0.0 | 1.0 | Ancestral (SDE) Euler eta for the per-tile denoise |
cfg | float | 1.0 | no | — | 1.0 | 20.0 | True CFG scale for the per-tile denoise. 1.0 (single forward) matches the refine character of a round; the negative prompt then reaches the pass only through NAG |
num_tiles_override | int | 0 | no | — | 0 | 64 | Force a tile count per round instead of 2**round (0 = automatic). A larger count is the VRAM relief valve: the seam, lead-in and drop rules are unchanged, tiles just own fewer segments each |
max_tile_tokens | int | 0 | no | — | 0 | — | Raise a round's tile count until no tile exceeds this projected video token count (0 = off). The finer split never changes the seam geometry |
reanchor_each_round | bool | false | no | — | — | — | Re-derive the keyframe bag from each round's own stitched output at full canvas density instead of only doubling the carried positions. Costs one extra decode+encode per round; without generated keyframe slots it is the only way to keep the seams from halving in density every round |
media_placements | list | [] | no | — | — | — | Media conditioning placements, same shape as the generator pipes': [{source: image, index, frame: int|first|last, strength}]. Re-applied per tile at tile-LOCAL frame indices; only image sources are supported |
decode | bool | true | no | — | — | — | Decode to video; false emits the densified latent instead |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). The only channel by which the negative prompt reaches a cfg-1.0 round |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
generator/flux
Native Flux-family generator (flow matching, embedded guidance)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Flux model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img | — | — | Generation mode |
denoise | float | 0.55 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 20 | no | — | 1 | 100 | Denoising steps |
guidance | float | 3.5 | no | — | 0.0 | 30.0 | Embedded (distilled) guidance scale |
shift | float | — | no | — | — | — | Sigma-shift override (constant-shift variants only) |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
iterate_mode | bool | false | no | — | — | — | Iterate mode: resume a cached mid-trajectory latent instead of a cold denoise when a follow-up generation's conditioning barely changed, skipping the steps that already agree. Off by default (needs GPU validation). Only engages on the 'euler' sampler, txt2img (no input image), with APG momentum unset/0 -- every other combination silently falls back to a normal cold run. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
generator/flux3
Native FLUX 3 Image Klein generator (base: true CFG, distilled: flow-map sampling)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | FLUX 3 model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, edit | — | — | Generation mode |
steps | int | 50 | no | — | 1 | 100 | Denoising steps (16 for the distilled checkpoint, 50 for base) |
guidance | float | 3.5 | no | — | 0.0 | 30.0 | True CFG scale for the base checkpoint; ignored by the distilled one |
shift | float | — | no | — | — | — | Sigma-shift override (multiplicative); blank uses the checkpoint's 6.93 |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog); the distilled checkpoint requires euler |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) for txt2img |
output_size | str | "" | no | — | — | — | Edit output size (WxH); blank matches the first reference |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 is off. Ignored by the distilled checkpoint. |
guidance_options | dict | {} | no | — | — | — | TrueCFG options for the base checkpoint; cfg_zero_star defaults to false here because the reference pipeline has none. |
generator/img2vid_wan22
Native Wan image-to-video generator (concat conditioning, dual-expert)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Wan model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
image | IMAGE | yes | yes | Start frame for image-to-video |
end_image | IMAGE | no | yes | Optional end frame for first+last-frame (FLF) conditioning |
seed | SEED | no | yes | Random seeds |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "img2vid" | yes | img2vid | — | — | Generation mode |
steps | int | 30 | no | — | 1 | 100 | Denoising steps |
cfg | float | 5.0 | no | — | 1.0 | 20.0 | True CFG scale |
sampler | str | "unipc" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "832x480" | no | — | — | — | Resolution (WxH) |
frames | int | 81 | no | — | 1 | 257 | Number of video frames |
fps | float | 16.0 | no | — | 1.0 | 60.0 | Output frame rate |
quantity | int | 1 | no | — | 1 | 4 | Number of videos |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
expert_boundary | float | — | no | — | 0.0 | 1.0 | Dual-expert switch boundary override |
expert_switch_step | int | — | no | — | 0 | — | Switch high->low expert at this step (wins over expert_boundary; converted to that step's sigma) |
preview | bool | true | no | — | — | — | Emit live latent previews (frame 0) to the workbench during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
cfg_zero_star | bool | true | no | — | — | — | CFG-Zero*: rescale the uncond branch onto cond before extrapolation (free quality correction) |
zero_init_steps | int | 0 | no | — | 0 | 100 | CFG-Zero*: return a zero velocity prediction for the first N steps |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into cross-attention so it's enforced even at cfg=1.0 (single-forward speed) — set cfg to 1.0 and nag_scale to ~1.1-1.5 for the speed win; NAG stacks with true CFG if both are on. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
riflex | bool | false | no | — | — | — | RIFLEx: extrapolate video length beyond the model's trained frame count via intrinsic RoPE frequency clamping (default off = byte-identical schedule) |
riflex_trained_frames | int | — | no | — | 1 | — | RIFLEx: override the trained latent-frame count (default: the family's known trained length; only used when riflex=true) |
apg_eta | float | — | no | — | 0.0 | 1.0 | APG: down-weight of the CFG delta's component parallel to the cond prediction (unset = inherit the model's own sampling_settings, or 1.0 = off / plain CFG if neither sets it; paper explores ~0.0-0.5 to reduce oversaturation at high CFG) |
apg_norm_threshold | float | — | no | — | 0.0 | — | APG: cap the guidance delta's norm to this radius (unset = inherit; 0 = off) |
apg_momentum | float | — | no | — | -1.0 | 1.0 | APG: reverse-momentum coefficient applied to the guidance delta across steps (unset = inherit; 0 = off; paper uses small negative values, e.g. -0.5) |
slg_scale | float | — | no | — | 0.0 | 10.0 | Skip-Layer Guidance: push-away strength from a degraded (blocks-skipped) prediction (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it) |
slg_layers | str | — | no | — | — | — | Skip-Layer Guidance: comma-separated transformer block indices to skip in the degraded pass (unset = inherit; empty = off even if slg_scale > 0) |
slg_sigma_start | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window upper (earlier-trajectory) sigma bound (unset = inherit) |
slg_sigma_end | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window lower (later-trajectory) sigma bound (unset = inherit) |
sampler_options | dict | {} | no | — | — | — | Opaque per-sampler options dict forwarded to the chosen sampler, e.g. {'eta': 0.5} for sampler=euler_sde or {'restart_count': 2, 'restart_strength': 0.3} for sampler=euler_restart. Empty/absent = sampler defaults, no effect on euler/dpmpp_2m/unipc. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off. Only arch forwards that honor the step_cache kwarg actually skip steps; others ignore it harmlessly. Takes priority over the flat step_cache_threshold/step_cache_warmup_steps/step_cache_max_skips knobs below when non-empty (back-compat with existing presets/callers). |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-error threshold below which a step's residual is reused instead of recomputed. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps -- warmup_steps alone already covers shorter runs. Ignored when the 'step_cache' dict above is also set. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. Ignored when the 'step_cache' dict above is also set. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. Ignored when the 'step_cache' dict above is also set. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
generator/krea2
Native Krea-2 generator (flow matching, true CFG; turbo defaults to cfg=1)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Krea-2 model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
mask | IMAGE | no | yes | Repaint mask for inpaint mode (white = repaint) |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img, inpaint | — | — | Generation mode |
denoise | float | 0.55 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 8 | no | — | 1 | 100 | Denoising steps (turbo default 8) |
guidance | float | 1.0 | no | — | 1.0 | 15.0 | CFG scale. 1.0 = single conditional-only forward (turbo/distilled default, byte-identical to the old NoCFG path); above 1.0 runs a real negative-conditioned forward pass each step -- needed for a raw/base checkpoint, optional as an experiment on the distilled checkpoint at higher step counts. |
mu_schedule | str | "fixed" | no | fixed, dynamic | — | — | Sigma-schedule mu source: 'fixed' pins the official turbo schedule (fixed_mu=1.15); 'dynamic' switches to the resolution-anchored mu interpolation for a raw/base (non-distilled) checkpoint (see docs/models/krea2.md). |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into the joint attention so it's enforced even at guidance=1.0 (single-forward turbo speed) — set nag_scale to ~1.1-1.5 for real negative-prompt influence without a second forward pass. Redundant with (and unvalidated alongside) real CFG (guidance > 1.0), which already runs a full negative-conditioned pass -- leave at 1.0 on a CFG profile. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
text_enhancer_strength | float | 0.0 | no | — | 0.0 | 2.0 | Experimental text-fusion enhancer strength (0 = off): re-runs the text fusion with deep text-encoder layers amplified and blends the shift back in, capped per token. |
text_scale | float | 1.0 | no | — | 0.25 | 4.0 | Multiplier on the fused text signal before it enters the image blocks (1.0 = off). |
refine_tail | str | "" | no | ``, subtle, balanced, strong | — | — | Whole-frame enhance (img2img only): walk only the tail of the official fixed-mu 8-step Euler grid instead of a denoise-truncated schedule. '' = off, 'subtle'/'balanced'/'strong' = the last 2/3/4 grid steps. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
generator/krea2_edit
Native Krea-2 instruction-based edit generator (in-context source tokens)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Krea-2 model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | yes | yes | Source image to edit (scene ref) |
image_b | IMAGE | no | yes | Optional second reference (subject) for a multi-ref edit |
mask | IMAGE | no | yes | Optional reference-fidelity region mask painted on the source image (ignored when a second reference is present) |
mask_b | IMAGE | no | yes | Optional reference-fidelity region mask painted on the second reference; wins over mask because the boost always targets the last reference |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle text encoder's VRAM before ref-doubled sampling |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Edited images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 8 | no | — | 1 | 100 | Denoising steps (turbo default 8) |
guidance | float | 1.0 | no | — | 1.0 | 15.0 | CFG scale. 1.0 = single conditional-only forward (turbo/distilled default, byte-identical to the old NoCFG path); above 1.0 runs a real negative-conditioned forward pass each step -- needed for a raw/base checkpoint, optional as an experiment on the distilled checkpoint at higher step counts. |
mu_schedule | str | "fixed" | no | fixed, dynamic | — | — | Sigma-schedule mu source: 'fixed' pins the official turbo schedule (fixed_mu=1.15); 'dynamic' switches to the resolution-anchored mu interpolation for a raw/base (non-distilled) checkpoint (see docs/models/krea2.md). |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into the joint attention so it's enforced even at guidance=1.0 (single-forward turbo speed) — set nag_scale to ~1.1-1.5 for real negative-prompt influence without a second forward pass. Redundant with (and unvalidated alongside) real CFG (guidance > 1.0), which already runs a full negative-conditioned pass -- leave at 1.0 on a CFG profile. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
text_enhancer_strength | float | 0.0 | no | — | 0.0 | 2.0 | Experimental text-fusion enhancer strength (0 = off): re-runs the text fusion with deep text-encoder layers amplified and blends the shift back in, capped per token. |
text_scale | float | 1.0 | no | — | 0.25 | 4.0 | Multiplier on the fused text signal before it enters the image blocks (1.0 = off). |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
fit_mode | str | "fit" | no | fit, crop | — | — | How a source fits a mismatched output AR |
ref_boost | float | 1.0 | no | — | 0.0 | 1000.0 | Reference-fidelity dial for the last (subject) ref |
ref_boost_a | float | 1.0 | no | — | 0.0 | 1000.0 | Reference-fidelity dial for the first (scene) ref |
ref_style | str | "standard" | no | standard, ostris | — | — | Reference scheme the edit LoRA was trained with |
ref_pixels | int | 1048576 | no | — | 65536 | 4194304 | Pixel-area cap for a reference (ostris style) |
match_source | bool | false | no | — | — | — | Take the output shape from the first source at the resolution's pixel area |
output_pixels | int | 0 | no | — | 0 | 16777216 | Size the output from the first source at up to this pixel area; 0 uses the resolution (ostris style) |
ref_position | str | "aligned" | no | aligned, beside, bag, origin | — | — | Where the last (subject) ref sits relative to the output |
ref_position_a | str | "aligned" | no | aligned, beside, bag, origin | — | — | Where the first (scene) ref sits relative to the output |
generator/maya
Maya text-to-speech generation with emotional expressions
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Loaded Maya model with all components |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
audio | AUDIO | yes | Generated speech audio file |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
text | str | "Hello, how are you today?" | yes | — | — | — | Text to synthesize into speech |
voice_description | str | "" | no | — | — | — | Custom voice description |
voice_age | str | "30s" | no | — | — | — | Voice age range |
voice_gender | str | "male" | no | male, female | — | — | Voice gender |
voice_pitch | str | "medium" | no | low, medium-low, medium, medium-high, high | — | — | Voice pitch level |
voice_accent | str | "american" | no | — | — | — | Voice accent |
voice_warmth | float | 0.5 | no | — | 0.0 | 1.0 | Voice warmth (0-1) |
temperature | float | 0.4 | no | — | 0.1 | 1.0 | Generation temperature |
top_p | float | 0.9 | no | — | 0.5 | 1.0 | Nucleus sampling top-p |
repetition_penalty | float | 1.1 | no | — | 1.0 | 2.0 | Repetition penalty |
max_new_tokens | int | 2048 | no | — | 256 | 4096 | Max tokens to generate |
min_new_tokens | int | 28 | no | — | 1 | 256 | Min tokens to generate |
seed | int | -1 | no | — | — | — | Random seed (-1 for random) |
sample_rate | int | 24000 | no | 24000 | — | — | Audio sample rate |
generator/minimax_h3_image
Native MiniMax-H3-Image generator: text to image, or an edit guided by up to 16 pictures
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MiniMax-H3-Image model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
reference_images | IMAGE | no | yes | Edit pictures in order; Picture 1 is edited |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | no | txt2img, edit | — | — | Generation mode |
steps | int | 6 | no | — | 1 | 12 | Denoising steps (the model is distilled for 6) |
sampler | str | "euler" | no | euler | — | — | Sampler (the step heads need plain Euler steps) |
resolution | str | "2048x2048" | no | — | — | — | Resolution (WxH), or 'auto' for Picture 1's size |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
generator/moss_image
Native MOSS-Image text-to-image generator (true CFG with a layer-skipped negative branch)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MOSS-Image model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
mask | IMAGE | no | yes | Repaint mask for inpaint mode (white = repaint) |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | no | txt2img, inpaint | — | — | Generation mode |
denoise | float | 1.0 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 50 | no | — | 1 | 100 | Denoising steps |
guidance | float | 3.0 | no | — | 0.0 | 30.0 | True CFG scale (3.0 for both SFT and Base) |
shift | float | — | no | — | — | — | Sigma-shift override; blank uses the checkpoint's 5.0 |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
guidance_options | dict | {} | no | — | — | — | TrueCFG options. 'uncond_skip_layers' lists the DiT blocks skipped on the negative pass (comma-separated or a list; empty turns the skip off, unset keeps the checkpoint's [22]). cfg_zero_star is always off. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy. The negative pass carries skip_layers and always recomputes. |
generator/pixal3d
Native Pixal3D generator (one image, or a front/left/back/right rig, to a textured GLB mesh)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Pixal3D model bundle |
image | IMAGE | yes | yes | Source image(s); with a multi-view bundle, the front view |
left | IMAGE | no | yes | The left view of the multi-view rig |
back | IMAGE | no | yes | The back view of the multi-view rig |
right | IMAGE | no | yes | The right view of the multi-view rig |
seed | SEED | no | yes | Random seeds, one per mesh |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
mesh | MESH | yes | Paths to the generated .glb files |
seed | SEED | yes | Seed each mesh was generated with |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
seed | int | -1 | no | — | -1 | — | Random seed; -1 draws a fresh one per image |
remove_background | bool | false | no | — | — | — | Crop and centre the subject before reconstruction. An image with a transparent background uses its own alpha; an opaque one needs the loader's matting model and fails with an explanation without it. |
decimation_target | int | 100000 | no | — | 5000 | 1000000 | Face budget the exported mesh is decimated to. The UV unwrap splits the surface into charts of at most 2048 faces before xatlas lays each one out, so it grows with the face count: at the balanced unwrap quality about 1s at 50k, 2s at 100k, 4s at 300k and 7s at 500k faces. |
texture_size | int | 2048 | no | 1024, 2048, 4096 | — | — | Edge length of the baked PBR texture maps |
max_num_tokens | int | 49152 | no | — | 4096 | 262144 | Token budget for the cascade's high-resolution shape pass. A shape too detailed for the tier is decoded at a coarser one instead of failing. |
project_to_source | bool | true | no | — | — | — | Push baked texels back onto the pre-decimation surface before sampling colour, so decimated faces that drift off the voxel shell do not read empty space. |
remesh | bool | true | no | — | — | — | Rebuild the decoded surface as a closed, consistently wound mesh (narrow-band dual contouring one voxel off the surface) before decimating, as upstream does. Off keeps the decoded topology, voxel-scale tears included. |
uv_quality | str | "balanced" | no | fast, balanced, best | — | — | How much work the xatlas UV unwrap does on each chart. fast and balanced grow the charts in a single pass; balanced also packs them on a finer grid with a 2-texel gutter so the bake does not bleed across seams. best adds xatlas' seed-relocation pass for slightly fewer, rounder charts at about a tenth more unwrap time. |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
sparse_structure_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the sparse-structure stage |
sparse_structure_guidance_strength | float | 7.5 | no | — | 0.0 | 10.0 | Guidance strength for the sparse-structure stage |
sparse_structure_guidance_rescale | float | 0.7 | no | — | 0.0 | 1.0 | Guidance rescale for the sparse-structure stage |
sparse_structure_rescale_t | float | 5.0 | no | — | 1.0 | 6.0 | Rescale t for the sparse-structure stage |
shape_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the shape stage |
shape_guidance_strength | float | 7.5 | no | — | 0.0 | 10.0 | Guidance strength for the shape stage |
shape_guidance_rescale | float | 0.5 | no | — | 0.0 | 1.0 | Guidance rescale for the shape stage |
shape_rescale_t | float | 3.0 | no | — | 1.0 | 6.0 | Rescale t for the shape stage |
texture_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the PBR texture stage |
texture_guidance_strength | float | 1.0 | no | — | 0.0 | 10.0 | Guidance strength for the PBR texture stage |
texture_guidance_rescale | float | 0.0 | no | — | 0.0 | 1.0 | Guidance rescale for the PBR texture stage |
texture_rescale_t | float | 3.0 | no | — | 1.0 | 6.0 | Rescale t for the PBR texture stage |
camera_fov_mode | str | "manual" | no | manual, auto | — | — | manual projects through camera_fov; auto estimates the horizontal FOV of the (front) input image with the loader's MoGe-2 camera estimator, as ComfyUI's Pixal3D workflow does, and falls back to camera_fov when no focal length can be recovered. |
camera_fov | float | 49.13 | no | — | 1.0 | 170.0 | Horizontal field of view of the input camera in degrees. It sets the camera distance every voxel is projected from, so a wrong value misplaces the samples. |
export_frame | str | "upstream" | no | upstream, camera | — | — | Orientation of the exported mesh. upstream applies Pixal3D's own (x, y, z) -> (-x, y, -z); camera keeps the frame as decoded (ComfyUI's choice). The two differ by a 180 degree turn about the vertical axis. |
generator/qwen
Native Qwen-Image generator (flow matching, true CFG)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Qwen-Image model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img, edit | — | — | Generation mode |
denoise | float | 0.55 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 20 | no | — | 1 | 100 | Denoising steps |
guidance | float | 4.0 | no | — | 0.0 | 30.0 | True CFG scale (Qwen true_cfg_scale) |
shift | float | — | no | — | — | — | Sigma-shift override; blank -> spec default (1.15) |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
fit | str | "match" | no | match, crop, pad | — | — | Edit output size: match the first image, or render at the resolution (image_fit crops or pads the first image) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
iterate_mode | bool | false | no | — | — | — | Iterate mode: resume a cached mid-trajectory latent instead of a cold denoise when a follow-up generation's conditioning barely changed, skipping the steps that already agree. Off by default (needs GPU validation). Only engages on the 'euler' sampler, txt2img (no input image), with APG momentum unset/0 -- every other combination silently falls back to a normal cold run. |
generator/qwen_image21
Native Qwen-Image-2.1 generator (flow matching, true CFG)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Qwen-Image-2.1 model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
mask | IMAGE | no | yes | Repaint mask for inpaint mode (white = repaint) |
control_image | IMAGE | no | yes | Control image for the Fun ControlNet |
inpaint_image | IMAGE | no | yes | Image to inpaint through the Fun ControlNet |
inpaint_mask | IMAGE | no | yes | Inpaint mask, white where to regenerate |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, edit, inpaint, control | — | — | Generation mode |
denoise | float | 1.0 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
control_strength | float | 1.0 | no | — | 0.0 | 2.0 | Fun ControlNet strength (control_context_scale) |
control_start | float | 0.0 | no | — | 0.0 | 1.0 | Fraction of the sampling where the Fun ControlNet starts |
control_end | float | 1.0 | no | — | 0.0 | 1.0 | Fraction of the sampling where the Fun ControlNet ends |
steps | int | 40 | no | — | 1 | 100 | Denoising steps |
guidance | float | 4.0 | no | — | 0.0 | 30.0 | True CFG scale (Qwen true_cfg_scale) |
shift | float | — | no | — | — | — | Sigma-shift override (multiplicative); blank -> resolution-dynamic mu (0.5 @ 256 tokens .. 0.9 @ 8192) |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
fit | str | "match" | no | match, crop, pad | — | — | Edit output size: match the first image, or render at the resolution (image_fit crops or pads the first image) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
generator/sdxl
SDXL-optimized generator pipe
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | AI model for image generation |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
seed | SEED | no | yes | Random seeds for generation |
image | IMAGE | no | yes | Input image for img2img mode |
mask | IMAGE | no | no | Mask image for inpainting mode |
controlnet | CONTROLNET | no | yes | ControlNet models for guided generation |
control_image | IMAGE | no | yes | Control images for ControlNet |
ASSETS | SERVICE | no | no | Asset fetcher, to fetch the inpaint head before a masked generation |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img | — | — | Generation mode |
model | str | — | no | — | — | — | Model identifier to use for generation |
vae | str | — | no | — | — | — | VAE model identifier |
steps | int | 25 | no | — | 1 | 150 | Number of denoising steps |
cfg | float | 6.0 | no | — | 0.0 | 30.0 | Classifier Free Guidance scale |
sampler | str | "DPMPP_2M" | no | EULER, EULER_A, HEUN, DPM2, DPM2_A, LMS, DPMPP_2S_A, DPMPP_SDE, DPMPP_2M, DPMPP_2M_SDE, DPMPP_3M_SDE, LCM | — | — | Sampling algorithm to use |
scheduler | str | "karras" | no | normal, karras, exponential, sgm_uniform, simple, ddim_uniform | — | — | Noise schedule type to use |
seed | int | -1 | no | — | -1 | — | Random seed (-1 for random) |
resolution | str | "1024x1024" | no | — | — | — | Output resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images to generate |
clip_skip | int | 2 | no | — | 1 | 12 | CLIP skip value |
denoise | float | 0.8 | no | — | 0.0 | 1.0 | Denoising strength for img2img |
embeddings | dict | {} | no | — | — | — | Embeddings configuration |
guidance_rescale | float | 0.0 | no | — | 0.0 | 1.0 | Guidance rescale factor (0.0 = disabled, 0.5-0.7 = good for realistic at high CFG) |
inpaint_mode | bool | false | no | — | — | — | Enable inpainting mode (requires mask input) |
mask_blur | int | 4 | no | — | 0 | 20 | Blur radius for mask edges (smoother blending) |
max_pixels | int | 0 | no | — | 0 | — | Shrink an img2img source larger than this many pixels to fit (0 keeps its size) |
generator/seedvr2
Native SeedVR2 one-step restoration upscaler (no text encoder, no CFG, no denoise loop)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | no | yes | Low-res images to restore/upscale |
video | VIDEO | no | yes | Low-res video(s) to restore/upscale |
model | MODEL | yes | no | SeedVR2 model bundle |
seed | SEED | no | yes | Per-image seeds |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Restored / upscaled images |
video | VIDEO | yes | Restored / upscaled video(s) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
scale | float | 2.0 | no | — | 1.0 | 8.0 | Upscale factor (output area = scale^2 x input); ignored when target_short_side > 0 |
target_short_side | int | 0 | no | — | 0 | 4096 | Target short-side in px (0 -> use scale). When >0 this wins over scale. |
color_correction | str | "wavelet" | no | wavelet, adain, none | — | — | Match output colors back to the resized input |
latent_noise_scale | float | 0.0 | no | — | 0.0 | 1.0 | Forward-noise the conditioning latent (0 = SeedVR2-faithful; softens artifacts) |
input_noise_scale | float | 0.0 | no | — | 0.0 | 1.0 | Small gaussian on the input pixels before encode (0 = off) |
seed | int | -1 | no | — | -1 | — | Seed (-1 -> per-image random) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
tile_size | int | 2048 | no | — | 256 | 2048 | VAE encode/decode tile size ceiling (px); auto-tiles by live VRAM under this |
tile_overlap | int | 256 | no | — | 0 | 512 | VAE encode/decode tile overlap ceiling (px) |
batch_size | int | 0 | no | — | 0 | 49 | Frames per temporal batch (snapped to the VAE's 4n+1 lattice: 1,5,9,…). The temporal VRAM knob — one batch is on the GPU at a time. 0 = 5 on a GPU of 12.5 GB or less, else auto-size to ~92% of live free VRAM at the output resolution (recommended); the OOM ladder halves it and re-runs if a batch ever exceeds real VRAM. |
temporal_overlap | int | 0 | no | — | 0 | 16 | Overlapping frames cross-faded between consecutive batches (0 = hard cut) |
prepend_frames | int | 0 | no | — | 0 | 16 | Reversed head frames prepended before upscaling to reduce clip-start artifacts (auto-removed from the output) |
uniform_batch_size | bool | true | no | — | — | — | Pad a short final batch up to the full batch size (avoids seam artifacts) |
keep_audio | bool | true | no | — | — | — | Mux the source video's audio track into the upscaled output |
generator/trellis2
Native TRELLIS.2 generator (single image to a textured GLB mesh)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | TRELLIS.2 model bundle |
image | IMAGE | yes | yes | Source image(s) to reconstruct |
seed | SEED | no | yes | Random seeds, one per image |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
mesh | MESH | yes | Paths to the generated .glb files |
seed | SEED | yes | Seed each mesh was generated with |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
seed | int | -1 | no | — | -1 | — | Random seed; -1 draws a fresh one per image |
remove_background | bool | false | no | — | — | — | Crop and centre the subject before reconstruction. An image with a transparent background uses its own alpha; an opaque one needs the loader's matting model and fails with an explanation without it. |
decimation_target | int | 100000 | no | — | 5000 | 1000000 | Face budget the exported mesh is decimated to. The UV unwrap splits the surface into charts of at most 2048 faces before xatlas lays each one out, so it grows with the face count: at the balanced unwrap quality about 1s at 50k, 2s at 100k, 4s at 300k and 7s at 500k faces. |
texture_size | int | 2048 | no | 1024, 2048, 4096 | — | — | Edge length of the baked PBR texture maps |
max_num_tokens | int | 49152 | no | — | 4096 | 262144 | Token budget for the cascade's high-resolution shape pass. A shape too detailed for the tier is decoded at a coarser one instead of failing. |
project_to_source | bool | true | no | — | — | — | Push baked texels back onto the pre-decimation surface before sampling colour, so decimated faces that drift off the voxel shell do not read empty space. |
remesh | bool | true | no | — | — | — | Rebuild the decoded surface as a closed, consistently wound mesh (narrow-band dual contouring one voxel off the surface) before decimating, as upstream does. Off keeps the decoded topology, voxel-scale tears included. |
uv_quality | str | "balanced" | no | fast, balanced, best | — | — | How much work the xatlas UV unwrap does on each chart. fast and balanced grow the charts in a single pass; balanced also packs them on a finer grid with a 2-texel gutter so the bake does not bleed across seams. best adds xatlas' seed-relocation pass for slightly fewer, rounder charts at about a tenth more unwrap time. |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
sparse_structure_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the sparse-structure stage |
sparse_structure_guidance_strength | float | 7.5 | no | — | 0.0 | 10.0 | Guidance strength for the sparse-structure stage |
sparse_structure_guidance_rescale | float | 0.7 | no | — | 0.0 | 1.0 | Guidance rescale for the sparse-structure stage |
sparse_structure_rescale_t | float | 5.0 | no | — | 1.0 | 6.0 | Rescale t for the sparse-structure stage |
shape_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the shape stage |
shape_guidance_strength | float | 7.5 | no | — | 0.0 | 10.0 | Guidance strength for the shape stage |
shape_guidance_rescale | float | 0.5 | no | — | 0.0 | 1.0 | Guidance rescale for the shape stage |
shape_rescale_t | float | 3.0 | no | — | 1.0 | 6.0 | Rescale t for the shape stage |
texture_steps | int | 12 | no | — | 1 | 50 | Sampling steps for the PBR texture stage |
texture_guidance_strength | float | 1.0 | no | — | 0.0 | 10.0 | Guidance strength for the PBR texture stage |
texture_guidance_rescale | float | 0.0 | no | — | 0.0 | 1.0 | Guidance rescale for the PBR texture stage |
texture_rescale_t | float | 3.0 | no | — | 1.0 | 6.0 | Rescale t for the PBR texture stage |
generator/txt2vid_ltx
Native LTX-2/2.3 text-to-video generator (video-only)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | LTX model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
seed | SEED | no | yes | Random seeds |
initial_latent | LATENT | no | yes | Seed latent(s) for a refine pass, one per seed; absent -> ordinary txt2vid from pure noise |
audio_source | VIDEO | no | no | Existing video whose audio track is preserved into this pipe's own encode (standalone upscale mode has no audio latents of its own -- see module docstring). A fallback only: ignored if this call ever produces its own generated audio |
source_frame_count | INT | no | no | Original (pre-temporal-padding) frame count of the standalone-upscale source video, from latent_upscaler/ltx's 'source_frame_count' output -- used to trim the padded duplicate tail frames from this pipe's own decoded output before mux. Absent -> no trim (in-flow two-stage, or a 'video' input that was already on-grid) |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos (empty when decode=false) |
latent | LATENT | yes | Raw per-seed latents (only populated when decode=false) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2vid" | yes | txt2vid | — | — | Generation mode |
decode | bool | true | no | — | — | — | Decode to video; set false to emit the raw latent for a downstream latent_upscaler/refine stage instead |
refine_sigmas | str | "" | no | — | — | — | Explicit sigma schedule for a refine pass, comma-separated, descending, used VERBATIM (unlike manual_sigmas, the head is not forced to 1.0) -- required when 'initial_latent' is connected |
steps | int | 24 | no | — | 1 | 100 | Denoising steps |
cfg | float | 4.0 | no | — | 1.0 | 20.0 | True CFG scale |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog). 'euler_ancestral' is LTX-2.5's stage-1 sampler (stochastic, eta=1.0 by default via sampler_options) -- pair it with schedule='ltx_dynamic' for the matching resolution-aware sigma shift. |
resolution | str | "768x512" | no | — | — | — | Resolution (WxH) |
frames | int | 49 | no | — | 1 | 1001 | Number of video frames (must be 1 + 8*k; up to ~40s at 25fps) |
fps | float | — | no | — | 1.0 | 60.0 | Output frame rate (unset -> 25.0, or the audio_source video's own detected rate when one is connected, so muxed audio stays in sync) |
quantity | int | 1 | no | — | 1 | 4 | Number of videos |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews (frame 0) to the workbench during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
cfg_zero_star | bool | true | no | — | — | — | CFG-Zero*: rescale the uncond branch onto cond before extrapolation (free quality correction) |
zero_init_steps | int | 0 | no | — | 0 | 100 | CFG-Zero*: return a zero velocity prediction for the first N steps |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into cross-attention so it's enforced even at cfg=1.0 (single-forward speed) — set cfg to 1.0 and nag_scale to ~1.1-1.5 for the speed win; NAG stacks with true CFG if both are on. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
apg_eta | float | — | no | — | 0.0 | 1.0 | APG: down-weight of the CFG delta's component parallel to the cond prediction (unset = inherit the model's own sampling_settings, or 1.0 = off / plain CFG if neither sets it; paper explores ~0.0-0.5 to reduce oversaturation at high CFG) |
apg_norm_threshold | float | — | no | — | 0.0 | — | APG: cap the guidance delta's norm to this radius (unset = inherit; 0 = off) |
apg_momentum | float | — | no | — | -1.0 | 1.0 | APG: reverse-momentum coefficient applied to the guidance delta across steps (unset = inherit; 0 = off; paper uses small negative values, e.g. -0.5) |
sampler_options | dict | {} | no | — | — | — | Opaque per-sampler options dict forwarded to the chosen sampler, e.g. {'eta': 0.5} for sampler=euler_sde or {'restart_count': 2, 'restart_strength': 0.3} for sampler=euler_restart. Empty/absent = sampler defaults, no effect on euler/dpmpp_2m/unipc. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off. Only arch forwards that honor the step_cache kwarg actually skip steps; others ignore it harmlessly. Takes priority over the flat step_cache_threshold/step_cache_warmup_steps/step_cache_max_skips knobs below when non-empty (back-compat with existing presets/callers). |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-error threshold below which a step's residual is reused instead of recomputed. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps -- warmup_steps alone already covers shorter runs. Ignored when the 'step_cache' dict above is also set. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. Ignored when the 'step_cache' dict above is also set. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. Ignored when the 'step_cache' dict above is also set. |
freeinit_iterations | int | 0 | no | — | 0 | 5 | FreeInit: extra full denoise passes that re-noise the previous pass's clean result in 3D frequency space (keep its low frequencies, replace its high frequencies with fresh noise) to reduce video temporal flicker from the noise-init gap. 0 = off (byte-identical single pass). Each iteration re-pays the full sampling cost, so 1-2 is the practical default even though the paper explores 3-5. |
freeinit_cutoff | float | 0.25 | no | — | 0.01 | 1.0 | FreeInit: normalized Butterworth HALF-POWER cutoff frequency (paper default ~0.25) -- at d == cutoff the mask value is exactly 0.5, not a hard boundary, so even cutoff=1.0 still attenuates (roughly halves) the cardinal-axis Nyquist bin and attenuates diagonal/high-frequency bins much further; only cutoff -> 0 keeps solely the DC (mean) component as 'low' and cutoff -> infinity keeps everything. |
freeinit_order | int | 4 | no | — | 1 | 8 | FreeInit: Butterworth filter order — higher is a steeper cutoff (closer to a hard low-pass), lower is a gentler roll-off. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
quality_mode | bool | false | no | — | — | — | Quality recipe (full model, MultiModalGuider): overrides CFG/sampler with the Lightricks first-party single-pass recipe (cfg 3.0, stg 1.0, rescale 0.7, modality 3.0, 30 steps, euler). Mutually exclusive with Distilled recipe. |
quality_cfg | float | — | no | — | 1.0 | 20.0 | Quality mode: CFG scale for the video modality (default 3.0) |
quality_stg | float | — | no | — | 0.0 | 10.0 | Quality mode: STG (spatio-temporal guidance) scale for video (default 1.0; 0 = off, skips the perturbed forward) |
quality_rescale | float | — | no | — | 0.0 | 1.0 | Quality mode: std-preserving rescale blend (default 0.7; 0 = off) |
quality_modality | float | — | no | — | 1.0 | 20.0 | Quality mode: cross-modal guidance scale (default 3.0; 1.0 = off, skips the modality-off forward -- only active with an audio track) |
quality_stg_blocks | str | — | no | — | — | — | Quality mode: comma-separated transformer block indices for STG perturbation (default '28' for LTX-2.3) |
quality_distilled_strength | float | — | no | — | 0.0 | 2.0 | Quality mode with distilled LoRA: LoRA strength override (ComfyUI F-pass uses 0.2; default 0.2 when quality_mode is on and a LoRA is loaded). Not applied automatically -- just an ai_hint. |
generator/txt2vid_wan22
Native Wan text-to-video generator (dual-expert flow matching)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Wan model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
seed | SEED | no | yes | Random seeds |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2vid" | yes | txt2vid | — | — | Generation mode |
steps | int | 30 | no | — | 1 | 100 | Denoising steps |
cfg | float | 5.0 | no | — | 1.0 | 20.0 | True CFG scale |
sampler | str | "unipc" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
expert_boundary | float | — | no | — | 0.0 | 1.0 | Dual-expert switch boundary override (sigma fraction) |
expert_switch_step | int | — | no | — | 0 | — | Switch high->low expert at this step (wins over expert_boundary; converted to that step's sigma) |
cfg_zero_star | bool | true | no | — | — | — | CFG-Zero*: rescale the uncond branch onto cond before extrapolation (free quality correction) |
zero_init_steps | int | 0 | no | — | 0 | 100 | CFG-Zero*: return a zero velocity prediction for the first N steps |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into cross-attention so it's enforced even at cfg=1.0 (single-forward speed) — set cfg to 1.0 and nag_scale to ~1.1-1.5 for the speed win; NAG stacks with true CFG if both are on. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
riflex | bool | false | no | — | — | — | RIFLEx: extrapolate video length beyond the model's trained frame count via intrinsic RoPE frequency clamping (default off = byte-identical schedule) |
riflex_trained_frames | int | — | no | — | 1 | — | RIFLEx: override the trained latent-frame count (default: the family's known trained length; only used when riflex=true) |
apg_eta | float | — | no | — | 0.0 | 1.0 | APG: down-weight of the CFG delta's component parallel to the cond prediction (unset = inherit the model's own sampling_settings, or 1.0 = off / plain CFG if neither sets it; paper explores ~0.0-0.5 to reduce oversaturation at high CFG) |
apg_norm_threshold | float | — | no | — | 0.0 | — | APG: cap the guidance delta's norm to this radius (unset = inherit; 0 = off) |
apg_momentum | float | — | no | — | -1.0 | 1.0 | APG: reverse-momentum coefficient applied to the guidance delta across steps (unset = inherit; 0 = off; paper uses small negative values, e.g. -0.5) |
slg_scale | float | — | no | — | 0.0 | 10.0 | Skip-Layer Guidance: push-away strength from a degraded (blocks-skipped) prediction (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it) |
slg_layers | str | — | no | — | — | — | Skip-Layer Guidance: comma-separated transformer block indices to skip in the degraded pass (unset = inherit; empty = off even if slg_scale > 0) |
slg_sigma_start | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window upper (earlier-trajectory) sigma bound (unset = inherit) |
slg_sigma_end | float | — | no | — | 0.0 | 1.0 | Skip-Layer Guidance: window lower (later-trajectory) sigma bound (unset = inherit) |
sampler_options | dict | {} | no | — | — | — | Opaque per-sampler options dict forwarded to the chosen sampler, e.g. {'eta': 0.5} for sampler=euler_sde or {'restart_count': 2, 'restart_strength': 0.3} for sampler=euler_restart. Empty/absent = sampler defaults, no effect on euler/dpmpp_2m/unipc. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off. Only arch forwards that honor the step_cache kwarg actually skip steps; others ignore it harmlessly. Takes priority over the flat step_cache_threshold/step_cache_warmup_steps/step_cache_max_skips knobs below when non-empty (back-compat with existing presets/callers). |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-error threshold below which a step's residual is reused instead of recomputed. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps -- warmup_steps alone already covers shorter runs. Ignored when the 'step_cache' dict above is also set. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. Ignored when the 'step_cache' dict above is also set. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. Ignored when the 'step_cache' dict above is also set. |
freeinit_iterations | int | 0 | no | — | 0 | 5 | FreeInit: extra full denoise passes that re-noise the previous pass's clean result in 3D frequency space (keep its low frequencies, replace its high frequencies with fresh noise) to reduce video temporal flicker from the noise-init gap. 0 = off (byte-identical single pass). Each iteration re-pays the full sampling cost, so 1-2 is the practical default even though the paper explores 3-5. |
freeinit_cutoff | float | 0.25 | no | — | 0.01 | 1.0 | FreeInit: normalized Butterworth HALF-POWER cutoff frequency (paper default ~0.25) -- at d == cutoff the mask value is exactly 0.5, not a hard boundary, so even cutoff=1.0 still attenuates (roughly halves) the cardinal-axis Nyquist bin and attenuates diagonal/high-frequency bins much further; only cutoff -> 0 keeps solely the DC (mean) component as 'low' and cutoff -> infinity keeps everything. |
freeinit_order | int | 4 | no | — | 1 | 8 | FreeInit: Butterworth filter order — higher is a steeper cutoff (closer to a hard low-pass), lower is a gentler roll-off. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
resolution | str | "832x480" | no | — | — | — | Resolution (WxH) |
frames | int | 81 | no | — | 1 | 257 | Number of video frames |
fps | float | 16.0 | no | — | 1.0 | 60.0 | Output frame rate |
quantity | int | 1 | no | — | 1 | 4 | Number of videos |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews (frame 0) to the workbench during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
generator/video_ltx
Native LTX-2/2.3 video-director generator (media conditioning, IC-LoRA references, optional audio)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | LTX model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
image | IMAGE | no | yes | Conditioning images (keyframes / first / last) |
video | VIDEO | no | yes | Conditioning clips (keyframe clips / IC-LoRA references) |
audio | AUDIO | no | yes | User audio track (muxed when audio_source=file) |
seed | SEED | no | yes | Random seeds |
initial_latent | LATENT | no | yes | Seed latent(s) for a stage-2 refine pass, one per seed. May be combined with image-sourced media_placements (reapplied at this call's own resolution); video-sourced and role='reference' conditioning are rejected alongside it. Absent -> ordinary video/director generation |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos (empty when decode=false) |
latent | LATENT | yes | Raw per-seed latents (only populated when decode=false) |
audio | AUDIO | yes | Decoded/passthrough audio track, one per seed (populated whenever audio=true, independent of decode) -- wire into a stage-2 refine's own 'audio' input with audio_source='passthrough' to mux without regenerating |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "video" | yes | video | — | — | Generation mode |
decode | bool | true | no | — | — | — | Decode to video; set false to emit the raw latent for a downstream latent_upscaler/refine stage instead |
refine_sigmas | str | "" | no | — | — | — | Explicit sigma schedule for a refine pass, comma-separated, descending, used VERBATIM (unlike manual_sigmas, the head is not forced to 1.0) -- required when 'initial_latent' is connected |
stage2_loras | list | [] | no | — | — | — | LoRAs applied ONLY around this call's placement and sampling, ADDED on top of the generation LoRA stack already baked/resident on the shared DiT (e.g. the distilled LoRA for a two-stage refine). Only meaningful when 'initial_latent' is connected (a stage-2 refine call) -- ignored with a warning otherwise |
scoped_loras | list | [] | no | — | — | — | LoRAs applied ONLY around this call's clip plan, placement and sampling, on every call (not just a refine), and removed again afterwards so the next stage sees the DiT without them. The Director's IC-LoRAs ride here so a stage-2 refine runs without them unless asked to keep them |
refine_reference | bool | false | no | — | — | — | On a stage-2 refine call, keep IC-LoRA reference placements and re-encode them at this call's own resolution as reference tokens. Off (default) drops them: the refine is a plain pass over the upscaled latent |
steps | int | 24 | no | — | 1 | 100 | Denoising steps |
cfg | float | 4.0 | no | — | 1.0 | 20.0 | True CFG scale |
sampler | str | "euler" | no | euler, euler_ancestral, euler_ancestral_cfg_pp, euler_cfg_pp | — | — | Sampler (conditioned runs support only single-step, no-history samplers -- see module docstring). Euler CFG++ (deterministic) pairs with the Manual Sigmas field on the Advanced tab to reproduce Lightricks' own first-party distilled-refine recipe (distilled LoRA ~0.5 strength, CFG 1.0, no ancestral noise). Euler Ancestral CFG++ is a community (ComfyUI-workflow) variant of the same recipe that adds ancestral noise injection on top. 'euler_ancestral' is LTX-2.5's own stage-1 sampler (stochastic, eta=1.0 by default) -- pair it with schedule='ltx_dynamic' for the matching resolution-aware sigma shift. |
resolution | str | "768x512" | no | — | — | — | Resolution (WxH) |
frames | int | 49 | no | — | 1 | 1001 | Number of video frames (must be 1 + 8*k; up to ~40s at 25fps) |
fps | float | 25.0 | no | — | 1.0 | 60.0 | Output frame rate |
match_video | bool | false | no | — | — | — | Take the resolution and frame rate from the first video clip in 'media_placements' (a keyframe clip, else an IC-LoRA reference). With no 'extend_seconds', the frame count is the clip's own, up to the frame limit and what one pass fits in free VRAM ('frames' is ignored). On a refine call ('initial_latent' connected) the size comes from the latent and only the frame rate from the clip |
match_scale | float | 1.0 | no | — | 0.25 | 4.0 | With match_video, multiply the clip's size by this before the pixel budget (2.0 for a 2x upscaler) |
max_pixels | int | 0 | no | — | 0 | — | With match_video, scale the clip's size down to at most this many pixels; 0 = no cap |
windows | bool | false | no | — | — | — | With match_video and only IC-LoRA reference clips, a clip that one pass cannot fit in free VRAM is processed in the fewest equal overlapping windows that do and crossfaded, up to the frame limit, instead of being cut |
refine_scale | float | 1.0 | no | — | 1.0 | 4.0 | With match_video on a decode=false pass, the spatial scale of the refine pass its latent feeds (2.0 behind a 2x latent upscaler): the clip length is chosen so that pass fits in free VRAM too |
window_overlap | int | 16 | no | — | 0 | 200 | With windows, frames shared by neighbouring windows and crossfaded |
extend_seconds | float | 0.0 | no | — | 0.0 | — | When above 0, frames = the first video keyframe clip's frames plus this many seconds |
quantity | int | 1 | no | — | 1 | 4 | Number of videos |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
media_placements | list | [] | no | — | — | — | Media conditioning placements: [{source: image|video, index, frame: int|first|last|end, strength, role: keyframe|reference, hold: bool}]. hold repeats a role=reference image for every frame of the clip. Empty with image inputs present = image[0] as first frame (i2v) and image[1] (if any) as last frame (FLF). |
audio | bool | false | no | — | — | — | Produce an audio track |
audio_source | str | "generate" | no | generate, file, passthrough | — | — | Audio track source when audio=true: generate (AV DiT samples + decodes it here), file (mux the user-supplied audio input), or passthrough (mux an already-finished track from this pipe's own 'audio' output on a prior stage -- e.g. a stage-2 refine muxing stage-1's decoded audio; requires 'initial_latent' to be connected, no re-decode/re-generation) |
cfg_zero_star | bool | true | no | — | — | — | CFG-Zero*: rescale the uncond branch onto cond before extrapolation (free quality correction) |
zero_init_steps | int | 0 | no | — | 0 | 100 | CFG-Zero*: return a zero velocity prediction for the first N steps |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale (1.0 = off). Injects the negative prompt into cross-attention so it's enforced even at cfg=1.0 (single-forward speed) — set cfg to 1.0 and nag_scale to ~1.1-1.5 for the speed win; NAG stacks with true CFG if both are on. |
nag_tau | float | 3.5 | no | — | 0.1 | 20.0 | NAG norm-clamp threshold (paper default 3.5) |
nag_alpha | float | 0.5 | no | — | 0.0 | 1.0 | NAG blend-back-toward-positive weight (paper default 0.5) |
apg_eta | float | — | no | — | 0.0 | 1.0 | APG: down-weight of the CFG delta's component parallel to the cond prediction (unset = inherit the model's own sampling_settings, or 1.0 = off / plain CFG if neither sets it; paper explores ~0.0-0.5 to reduce oversaturation at high CFG) |
apg_norm_threshold | float | — | no | — | 0.0 | — | APG: cap the guidance delta's norm to this radius (unset = inherit; 0 = off) |
apg_momentum | float | — | no | — | -1.0 | 1.0 | APG: reverse-momentum coefficient applied to the guidance delta across steps (unset = inherit; 0 = off; paper uses small negative values, e.g. -0.5) |
sampler_options | dict | {} | no | — | — | — | Opaque per-sampler options dict forwarded to the chosen sampler, e.g. {'eta': 0.5} for sampler=euler_sde or {'restart_count': 2, 'restart_strength': 0.3} for sampler=euler_restart. Empty/absent = sampler defaults, no effect on euler/dpmpp_2m/unipc. |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off. Only arch forwards that honor the step_cache kwarg actually skip steps; others ignore it harmlessly. Takes priority over the flat step_cache_threshold/step_cache_warmup_steps/step_cache_max_skips knobs below when non-empty (back-compat with existing presets/callers). |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-error threshold below which a step's residual is reused instead of recomputed. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps -- warmup_steps alone already covers shorter runs. Ignored when the 'step_cache' dict above is also set. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. Ignored when the 'step_cache' dict above is also set. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. Ignored when the 'step_cache' dict above is also set. |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
quality_mode | bool | false | no | — | — | — | Quality recipe (full model, MultiModalGuider): overrides CFG/sampler with the Lightricks first-party single-pass recipe (cfg 3.0, stg 1.0, rescale 0.7, modality 3.0, 30 steps, euler). Mutually exclusive with Distilled recipe. |
quality_cfg | float | — | no | — | 1.0 | 20.0 | Quality mode: CFG scale for the video modality (default 3.0) |
quality_stg | float | — | no | — | 0.0 | 10.0 | Quality mode: STG (spatio-temporal guidance) scale for video (default 1.0; 0 = off, skips the perturbed forward) |
quality_rescale | float | — | no | — | 0.0 | 1.0 | Quality mode: std-preserving rescale blend (default 0.7; 0 = off) |
quality_modality | float | — | no | — | 1.0 | 20.0 | Quality mode: cross-modal guidance scale (default 3.0; 1.0 = off, skips the modality-off forward -- only active with an audio track) |
quality_stg_blocks | str | — | no | — | — | — | Quality mode: comma-separated transformer block indices for STG perturbation (default '28' for LTX-2.3) |
quality_distilled_strength | float | — | no | — | 0.0 | 2.0 | Quality mode with distilled LoRA: LoRA strength override (ComfyUI F-pass uses 0.2; default 0.2 when quality_mode is on and a LoRA is loaded). Not applied automatically -- just an ai_hint. |
generator/video_minimax_h3
Native MiniMax-H3 t2va/fl2va video+audio generator
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MiniMax-H3 model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (context + token_tags -- see model_loader/minimax_h3/clip.py) |
image | IMAGE | no | yes | fl2va keyframe image(s), positional with 'keyframe_anchors' |
reference_images | IMAGE | no | yes | ref2va reference image(s), first in packed order -- mutually exclusive with 'image'/'keyframe_anchors' (fl2va) |
reference_videos | VIDEO | no | yes | ref2va reference video(s), packed after every image reference. Each contributes one visual condition latent (a frame stack, so 5*n+2 latent frames rather than 1) |
reference_audios | AUDIO | no | yes | ref2va reference audio track(s), packed after every video reference. Each contributes CLEAN audio condition rows and no visual latent at all, and cannot be the only reference kind on a request |
reference_latents | LATENT | no | yes | Pre-encoded reference latents (PreEncodedReference), each packed after every native reference of its own kind. Director 'reference_indices' and the prompt encoder's labels follow the same order |
director_image | IMAGE | no | yes | Video Director images, indexed by the document's own media_placements. Kept apart from 'image' on purpose: these condition latent frames only and never reach the text encoder's vision tower |
initial_latent | LATENT | no | yes | Seed latent for a refine pass, one per seed: a raw MiniMax-H3 VIDEO latent (B, 24, T_lat, H_lat, W_lat) in the video VAE's own native (un-normalized) space -- this pipe normalizes it itself, the exact inverse of the '* latents_std + latents_mean' step 'decode' applies. Connected -> 'resolution'/'frames' config are ignored and DERIVED from the latent's own shape instead (H_lat/W_lat must be even -- pixel = latent * 16 has to land on the 32px canvas grid), and 'denoise' controls how much of the schedule is walked. NOT bound by the release canvas's own area cap/short edge -- a refine latent already exists at whatever resolution its own upstream generation used (e.g. 1920x1088, well above that cap); only an aspect-ratio sanity check still applies. Absent -> ordinary generation from pure noise, unchanged. Mutually exclusive with 'document', 'image'/'keyframe_anchors' and every reference input |
initial_audio_latent | LATENT | no | yes | A refine's stage-1 audio latent, one per seed: this pipe's own 'audio_latent' output, packed and normalized in the same convention -- only meaningful alongside 'initial_latent'. Drives the 'audio_refine' config's 'lock' (default) or 'resample' behavior. Absent on a refine -> audio_source='passthrough' with an 'audio' input is encoded through the audio VAE instead; absent with no 'audio' input either -> the refine is refused rather than sampling the audio stream from unconditioned noise |
source_frame_count | INT | no | no | Original (pre-temporal-padding) frame count of a refine's source clip, from the upstream latent_upscaler's own 'source_frame_count' output -- used to trim the padded duplicate tail frames from this pipe's decoded output before mux. Absent -> no trim |
audio | AUDIO | no | yes | User audio track (audio_source=file/passthrough) |
source_video | VIDEO | no | yes | The video 'source_video_role' extends. Fitted onto the canvas and resampled to 24 fps; its own audio, when it has any, feeds a 'continue' window's condition audio |
control_video | VIDEO | no | yes | Control (pose/depth/edge) video for the Fun ControlNet patch loaded with the DiT. Resampled to 24 fps and fitted onto the canvas; works together with keyframe images and ref2va references |
seed | SEED | no | yes | Random seeds |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Generated videos (empty when decode=false) |
latent | LATENT | yes | Raw per-seed video latents (only populated when decode=false) |
audio | AUDIO | yes | Decoded/passthrough audio track, one per seed |
audio_latent | LATENT | yes | Un-decoded audio rows this seed actually sampled (condition prefix excluded), in this pipe's own packed/normalized convention -- feeds a refine stage's 'initial_audio_latent'. Always populated, decode=false or not |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "video" | yes | video, references | — | — | Generation mode. 'video' is t2va/fl2va: the request is the prompt plus any keyframes, and a request with neither is a valid text-only one. 'references' is ref2va: the request MUST carry at least one reference, and a run that resolved to none is refused rather than quietly falling back to t2va -- on a ref2va checkpoint that fallback returns plausible video that ignores the whole point of the request |
steps | int | 24 | no | — | 2 | 100 | Denoising steps (video and audio share the count, own schedules) |
resolution | str | "1344x768" | no | — | — | — | Resolution (WxH); snapped to the 32px canvas grid and the [1:4, 4:1] aspect range. 'auto' takes the aspect ratio from the 'source_video', else the first reference video or image, on the native canvas |
frames | int | 124 | no | — | 1 | — | Number of frames at the fixed 24 fps, snapped up to the next 17*n+5 the video VAE can decode; a Video Director document carries the whole timeline here and is cut into windows of at most max_frames_per_segment |
quantity | int | 1 | no | — | 1 | 4 | Number of videos |
source_video_role | str | "none" | no | none, continue, precede | — | — | What the 'source_video' input is to this generation. 'continue' extends it forward: its last frames are encoded as keyframe condition rows at the head of the window (the Director continuation recipe) and its audio leading up to them as the condition audio prefix. 'precede' extends it backward: its first frame is the window's last keyframe. Either way 'frames' is the length of the NEW footage, and the output is the new footage alone, with the reproduced source frames trimmed off. |
source_overlap_latents | int | 5 | no | — | 1 | 10 | Latent frames of the source carried into a 'continue' window (5 = 17 pixel frames, the Director default). More carries more motion and costs more sequence. |
length_from | str | "none" | no | none, reference_video, reference_audio | — | — | Shorten 'frames' to the first reference video's or audio's own length, snapped down to the 17*n+5 the video VAE decodes, so the clip follows the reference instead of a fixed duration. 'frames' stays the upper bound. |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews during sampling |
preview_decoder | str | "" | no | — | — | — | Tiny preview decoder weights (vae_approx); blank uses the latent colour projection |
keyframe_anchors | list | [] | no | — | — | — | Which end of the video each 'image' input anchors, positional with it: ['first'], ['last'] or ['first','last'] (fl2va). Empty with images present = image[0] as first frame, image[1] (if any) as last frame; empty with no images = t2va |
audio_source | str | "generate" | no | generate, file, passthrough, reference_video, none | — | — | Audio track source: generate (decode the jointly-sampled audio latents -- MiniMax-H3 always samples an audio stream, this only picks what the FINAL muxed track is), file (mux the user-supplied audio input instead), or passthrough (mux an already-decoded track from this pipe's own prior 'audio' output, e.g. a future refine stage), or reference_video (mux the first reference video's own soundtrack, e.g. keeping the original sound of a re-performed clip), or none (the stream is still sampled with the picture, but the video is written without a soundtrack) |
loop | bool | false | no | — | — | — | Perfect loop: 'frames' is the loop's length, rounded to whole 17-frame VAE chunks. The pipe renders an anchor window one chunk longer than the loop (text-to-video, or image-to-video from one 'image' anchored 'first'), then a bridge window whose first chunk is an anchor chunk partway through and whose last chunk and a half are the anchor's second chunk and the start of its third, pinned exactly on every step. The anchor's first chunk, where it starts from rest, is left out, so the loop opens on moving latents. The bridge re-renders the anchor's closing chunks, where the anchor makes its own way back. The loop is the anchor from its second chunk up to the bridge's head plus the bridge up to its pinned tail, decoded with wrap-around context, so its last frame flows into its first like any other frame step. With sound the length is rounded to 51-frame steps so the audio wraps on a latent boundary. |
audio_refine | str | "lock" | no | lock, resample | — | — | How a refine ('initial_latent' connected) treats the audio stream. 'lock' (default) keeps stage 1's audio and lip-sync fixed: the audio rows are seeded from 'initial_audio_latent' at a fixed near-clean timestep and held there for every step, never resampled. 'resample' lets the refine touch the audio too, the same way it touches video: the audio rows are noised to the truncated schedule's own first kept sigma and sampled normally. Only has an effect on a refine; a fresh generation ignores it. |
control_context_scale | float | 1.0 | no | — | 0.0 | 2.0 | Fun ControlNet strength when a 'control_video' is connected: 1 follows it fully, lower follows it more loosely, 0 switches the control branch off |
control_start | float | 0.0 | no | — | 0.0 | 1.0 | Fraction of the sampling steps at which the Fun ControlNet starts acting |
control_end | float | 1.0 | no | — | 0.0 | 1.0 | Fraction of the sampling steps at which the Fun ControlNet stops acting |
control_hint_rows | str | "trained" | no | trained, non_audio | — | — | Which rows of the packed sequence receive the control hints: 'trained' (text and generated video rows, what the branch was trained on) or 'non_audio' (also keyframe and reference rows) |
control_length_from_video | bool | true | no | — | — | — | With a 'control_video', take the clip length from it (snapped down to 17n+5 frames at 24 fps, at most 15 s) instead of 'frames' |
decode | bool | true | no | — | — | — | Decode to video; set false to emit the raw latent instead (audio is still decoded/populated either way) |
decode_tile_px | int | 256 | no | 0, 256, 512 | — | — | Spatial tile size the video VAE decodes in. 256 is the reference implementation's own tile and the only value whose frames match a reference decode exactly; 512 blends at half as many seams and 0 decodes each temporal chunk whole, both of which cost more VRAM per forward. How many tiles run as ONE batched forward is not this knob: that is sized to the free VRAM at decode time. |
step_cache_threshold | float | 0.0 | no | — | 0.0 | 1.0 | FBCache step-skipping: relative-change threshold below which the whole transformer forward is skipped and the previous step's output reused. 0.0 (default) is off; ~0.08 is a conservative starting point, ~0.15 more aggressive. Only pays off on runs of 15+ steps. |
step_cache_warmup_steps | int | 4 | no | — | 0 | — | FBCache step-skipping: number of leading steps forced to fully compute (never skipped) before the cache is allowed to kick in. |
step_cache_max_skips | int | 3 | no | — | 0 | — | FBCache step-skipping: maximum number of consecutive steps the cache may skip before a forced recompute. |
sparse_attn | str | "off" | no | off, sol, sla | — | — | Sparse attention method: 'off' (default), 'sol' (Sol-Attn, threshold routing) or 'sla' (SLA, top-k routing, pairs with the SLA turbo LoRA). A speed-for-fidelity trade on long sequences, not a free win. Needs a bfloat16/float16 CUDA device with compute capability 8.0+; anywhere else it logs one warning and the generation continues on the normal attention path. |
sol_attn_tau | float | 1.0 | no | — | 0.0 | 3.0 | Sol-Attn sparsity temperature: higher skips more KV blocks (faster, less faithful). Only has an effect when 'sparse_attn' is 'sol'. |
sla_sparsity | float | 0.9 | no | — | 0.0 | 0.95 | SLA: fraction of key blocks skipped by top-k routing (faster, less faithful the higher it goes). Only has an effect when 'sparse_attn' is 'sla'. |
sla_block_size | int | 64 | no | 64, 128 | — | — | SLA: KV block width, 64 or 128. Only has an effect when 'sparse_attn' is 'sla'. |
sparse_attn_dense_last_steps | int | 2 | no | — | 0 | 10 | Sparse attention: number of trailing steps of each window run on the normal dense attention path. The end of a trajectory carries the least noise, so a sparse approximation there is the most visible. At or above the step count the feature is effectively off. |
sparse_attn_start_percent | float | 0.0 | no | — | 0.0 | 1.0 | Sparse attention: fraction of each window's schedule that runs dense BEFORE sparse attention begins (mirrors ComfyUI's own start_percent warm-up). 0.0 (default) is today's behaviour -- sparse attention active from step 0, modulo 'sparse_attn_dense_last_steps' tail. Composes with the tail: a step counts as dense if it falls in EITHER window. |
seq_chunk_rows | int | 0 | no | — | 0 | — | Low-VRAM sequence chunking: row-chunks the DiT's per-block qkv projection and SwiGLU MLP over the packed sequence so their intermediate transients (fused qkv, 2x ffn_dim) never exist full-length at once -- the attention core itself is unaffected. 0 (default) is off and byte-identical to a run without the feature; a value below the packed sequence length trades a small perf cost for materially lower peak VRAM. Only worth setting on very long sequences (e.g. a high-resolution refine); leave off for an ordinary generation. |
ffn_chunking | bool | true | no | — | — | — | Row-chunk each block's SwiGLU MLP so its transient stays below attention's peak and the VRAM reserve can drop it; the math is unchanged. Off restores the full-length MLP and its larger reserve. |
sampler | str | "euler" | no | euler, res_multistep, dpmpp_2m, er_sde, sa_solver, lcm | — | — | Which solver advances each stream between two grid sigmas. 'euler' is the reference first-order step. 'res_multistep' and 'dpmpp_2m' are second-order multistep solvers -- they reuse the previous step's x0 estimate, so they cost no extra model evaluations and mostly pay off at low step counts. 'sa_solver' is a deterministic order-2 predictor-corrector, another no-extra-cost option in the same family. 'er_sde' is stochastic (adds noise every step, seeded like the rest of the request) -- more diverse, less reproducible frame-to-frame than the deterministic solvers. 'lcm' predicts the clean sample and re-noises it with fresh noise to the next sigma, the recipe few-step distilled adapters are trained for. Both streams run the chosen solver on their OWN sigma grid, and the history is per stream and per Director window. |
scheduler | str | "simple" | no | simple, beta, beta57 | — | — | Where the schedule places its knots. 'simple' is the reference uniform grid; 'beta' pushes it through a Beta(0.6, 0.6) quantile function, which clusters knots at both ends of the trajectory; 'beta57' uses Beta(0.5, 0.7), which leans them toward the clean end. The video ('video_sigma_shift') and audio ('audio_sigma_shift') schedules are both derived from the SAME knots, so the two streams stay paired whichever scheduler runs. Cannot be combined with a manual sigma grid. |
manual_sigmas | str | "" | no | — | — | — | Explicit video sigma grid, comma-separated and strictly descending, ending at exactly 0.0 (e.g. '1.0, 0.86, 0.5, 0.0'). Empty (default) computes the grid from 'steps' at shift 12.0. The list's length is the grid, so it drives one fewer model evaluation than it has values, and it OVERRIDES 'steps'. |
manual_audio_sigmas | str | "" | no | — | — | — | Explicit audio sigma grid, same format as 'manual_sigmas'. Empty (default) computes the grid at shift 3.0, sized to match whatever the video stream ended up with. Set both and the two lists must have the same length. |
denoise | float | 1.0 | no | — | 0.01 | 1.0 | Refine strength for a run seeded from the 'initial_latent' input: the fraction of the full schedule actually walked. 1.0 (default) is a full generation from pure noise, byte-identical to what 'steps' alone would produce. Below 1.0, ComfyUI's BasicScheduler convention: 'steps' knots are kept off the TAIL of a longer ceil(steps/denoise)-step schedule, so the run starts short of full noise instead of at it -- a detailer-style second pass (e.g. 4 steps, denoise 0.45). Only meaningful with 'initial_latent' connected; set otherwise is refused. |
video_sigma_shift | float | 12.0 | no | — | 0.1 | 50.0 | Video stream's exponential-shift constant (default 12, the released checkpoint's own -- see 'manual_sigmas'). A refine pass over an already-upsampled latent typically runs at a lower shift (e.g. 9) than a fresh generation; the audio stream's own shift (3.0) is a separate, unaffected knob. |
audio_sigma_shift | float | 3.0 | no | — | 0.1 | 50.0 | Audio stream's exponential-shift constant (default 3, the released checkpoint's own). Independent of 'video_sigma_shift'; both streams keep the same knots. |
drift_correction | float | 0.0 | no | — | 0.0 | 1.0 | Director runs only: how strongly each continuation window's colour statistics are pulled back toward the opening window's, before that window joins the timeline and before its tail conditions the next one. 0 (default) leaves every window as sampled; values near 0.5 hold the colour and brightness of a long chain steady without flattening a deliberate scene change. |
runtime_loras | list | [] | no | — | — | — | LoRAs applied ONLY around this call's own sampling, never baked onto the shared DiT. Lets two generator nodes that read the SAME model_loader/minimax_h3 acquisition (same cache key, unbaked -- 'loras' left empty there) each run their own exclusive LoRA set without forcing a second, costly DiT reload from disk: a plain generation and a stage-2 refine of it can use two different LoRA stacks on one loaded DiT. Empty (default) is a byte-identical no-op. |
document | dict | — | no | — | — | — | A normalized Video Director document. With a routed multi-segment director document this pipe runs a SLIDING WINDOW: one full MiniMax-H3 generation per segment, each continuation window pinned to its predecessor's final latent frames, trimmed back to the overlap and stitched into one clip. Anything else (absent, or a single-shot t2v/flf document) leaves the pipe on its ordinary one-generation path, where frames/resolution/steps above are the request. |
references | list | [] | no | — | — | — | The ref2va references form field's own value, passed through untouched (a list of {path, relative_path?, label?, ...} dicts, one per entry, in the SAME order as the 'reference_images' input's loaded array -- same idiom as 'document' above. Used ONLY to cross-validate that the loaded 'reference_images' array actually has as many entries as the preset's references field declared, the same guard 'document'/'director_image' get for Video Director; nothing here reaches the layout or the presentation, both of which read the LOADED images' own order. A per-item 'label' is a display/LLM handle (reaches the model via the chat context, not this pipe) -- never the <Picture N> text, which is always pipe-computed from position (see 'reference_images' below). |
reference_videos | list | [] | no | — | — | — | The ref2va reference-VIDEOS form field's own value, passed through untouched -- the video counterpart of 'references' above, and used for the same count cross-check against the 'reference_videos' input. |
reference_audios | list | [] | no | — | — | — | The ref2va reference-AUDIO form field's own value, passed through untouched -- the audio counterpart of 'references' above, and used for the same count cross-check against the 'reference_audios' input. |
reference_short_edge | int | 2048 | no | — | 32 | — | Short edge, in pixels (each axis rounded to the 32px canvas grid). The default is the released checkpoint's own. An encoded picture costs one token per 32x32 block, and every token of every reference is attended to on every step, so a lower value shortens the sequence and speeds each step up, at the price of fine detail in the reference. Reference videos are not affected. |
generator/z_image
Native Z-Image generator (flow matching, true CFG)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | Z-Image model bundle |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning (per image) |
seed | SEED | no | yes | Random seeds |
image | IMAGE | no | yes | Input images for img2img mode |
mask | IMAGE | no | yes | Repaint mask for inpaint mode (white = repaint) |
control_image | IMAGE | no | yes | Guide image for the Fun ControlNet |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Generated images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "txt2img" | yes | txt2img, img2img, inpaint, control | — | — | Generation mode |
control_strength | float | 1.0 | no | — | 0.0 | 2.0 | Fun ControlNet strength (control_context_scale) |
control_start | float | 0.0 | no | — | 0.0 | 1.0 | Fraction of the sampling where the Fun ControlNet starts |
control_end | float | 1.0 | no | — | 0.0 | 1.0 | Fraction of the sampling where the Fun ControlNet ends |
denoise | float | 0.55 | no | — | 0.0 | 1.0 | img2img denoise strength (fraction of the schedule to walk) |
img2img_scale | float | 0.0 | no | — | 0.0 | 8.0 | Literal multiplier of the SOURCE image's own (width, height) for the img2img target size, snapped to the model's granularity same as every other path here. 0 (default) is off and leaves the existing resolution-area-match / area-cap behaviour byte-identical -- set this instead of (not alongside) the mode's resolution config for a true "upscale by Nx of whatever was uploaded" mode. |
mask_feather | float | 0.0 | no | — | 0.0 | 1.0 | Inpaint only: soft edge added outside the mask, as a fraction of the mask's longer side; edge latents are freed late in sampling so the model can continue the background across the edge |
max_pixels | int | 0 | no | — | 0 | 33554432 | Inpaint only: keep the picture at its own size and scale down only when it exceeds this pixel area; 0 matches the mode's resolution area instead |
steps | int | 8 | no | — | 1 | 100 | Denoising steps (turbo ~8, base ~30) |
guidance | float | 1.0 | no | — | 0.0 | 30.0 | True CFG scale (turbo 1.0 = single forward; base ~4) |
shift | float | — | no | — | — | — | Sigma-shift override; blank -> spec default (3.0) |
sampler | str | "euler" | no | — | — | — | Sampler: any key registered on the sampler registry (see GET /api/sampling/catalog) |
resolution | str | "1024x1024" | no | — | — | — | Resolution (WxH) |
quantity | int | 1 | no | — | 1 | 10 | Number of images |
seed | int | -1 | no | — | -1 | — | Random seed |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
preview | bool | true | no | — | — | — | Emit live latent previews to the workbench during sampling |
schedule | str | "" | no | — | — | — | Sigma schedule key: '' (default) or 'shift' for the model's own shift-based ramp, or any key registered on the schedule registry -- 'beta', 'beta57', 'exponential', 'linear_quadratic', 'manual', 'ltx_dynamic' in core, plus whatever a plugin's 'schedules:' manifest root adds. GET /api/sampling/catalog lists what this instance accepts. Prefer 'manual_sigmas' below over setting this to 'manual' directly -- it also fills schedule_options for you. 'ltx_dynamic' only functions on a pipe that feeds image_seq_len into the schedule builder -- currently the LTX generator pipes. |
schedule_options | dict | {} | no | — | — | — | Schedule-specific options: beta {'alpha': 0.6, 'beta': 0.6}, exponential {'sigma_min': 1e-3}, linear_quadratic {'threshold_noise': 0.025, 'linear_steps': <int, default steps // 2>}, or ltx_dynamic {'base_shift': 0.95, 'max_shift': 2.05, 'stretch': True, 'terminal': 0.1} (LTX-2.5 defaults). Ignored when schedule is unset. |
manual_sigmas | str | "" | no | — | — | — | Explicit, comma-separated, descending sigma schedule ('1.0, 0.99375, 0.9875, ..., 0.0'; ComfyUI 'ManualSigmas'-style, e.g. a distilled-LoRA refine tail -- see docs/models/ltx.md). Its length IS the step count: overrides 'steps' and any shift/schedule setting outright. Takes priority over 'schedule'/'schedule_options' when non-empty (the default '' is a no-op, byte-identical to not having this knob). |
detail_strength | float | — | no | — | -0.3 | 0.3 | Detail-daemon sigma warp strength (unset = inherit the model's own sampling_settings, or 0 = off if neither sets it; expected range -0.3 to 0.3) |
detail_start | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window start (trajectory fraction; unset = inherit) |
detail_end | float | — | no | — | 0.0 | 1.0 | Detail-daemon warp window end (trajectory fraction; unset = inherit) |
step_cache | dict | {} | no | — | — | — | FBCache step-skipping options, forwarded to NativeGenerator.sample() unmodified: {'rel_threshold': 0.12, 'warmup_steps': 4, 'max_consecutive_skips': 3}. rel_threshold<=0 (default/absent) is off and never wraps the guidance strategy -- byte-identical to leaving this unset. Read directly by FlowMatchGeneratorPipe.build_context, not through the flat step_cache_threshold/warmup_steps/max_skips resolver the Wan/LTX video pipes use (this family has no such resolver). |
image_fit#
image_fit
Crop or pad the first picture to a resolution so every consumer sees the same framing
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Pictures; the first one is fitted |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Pictures with the first one fitted |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
fit | str | "match" | no | match, crop, pad | — | — | match leaves the pictures as they are; crop or pad fits the first to the resolution |
resolution | str | "1024x1024" | no | — | — | — | Target size (WxH) |
granularity | int | 16 | no | — | 1 | 128 | Pixel grid the target snaps to; match the generator's |
image_sheet#
image_sheet
Lay pictures out as one reference sheet at the generation size, or fit a ready-made sheet to it
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | no | yes | Panel pictures first, then an optional ready-made sheet |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | The one reference sheet |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
resolution | str | "768x448" | no | — | — | — | Sheet size (WxH) |
granularity | int | 32 | no | — | 1 | 128 | Pixel grid the size snaps to; match the generator's |
pictures | int | 0 | no | — | 0 | 64 | How many leading pictures are panels; any after them are a ready-made sheet. 0 treats every picture as a ready-made sheet |
inpaint_region_crop#
inpaint_region_crop
Crop image to masked region for memory-efficient inpainting (Fooocus-style)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | no | Source image for inpainting |
mask | IMAGE | yes | no | Preprocessed mask |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | no | Cropped image (masked region only) |
images | IMAGE | yes | Cropped image as a one-item list |
mask | IMAGE | no | Cropped mask |
masks | IMAGE | yes | Cropped mask as a one-item list |
crop_region | DICT | no | Crop region metadata for restore |
original_image | IMAGE | no | Original full image for restore |
original_mask | IMAGE | no | Original full-size mask for color correction |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
strategy | str | "fooocus" | no | fooocus, scaled | — | — | fooocus pads to a fixed image fraction; scaled pads in proportion to the region and resamples to the working area |
context | float | 0.5 | no | — | 0.0 | 4.0 | Scaled strategy: padding on each side as a fraction of the region's longer side |
min_side | int | 256 | no | — | 16 | — | Scaled strategy: smallest crop side in source pixels |
working_area | int | 1048576 | no | — | 4096 | — | Scaled strategy: pixel area the crop is resampled to |
multiple | int | 8 | no | — | 1 | — | Scaled strategy: both working sides snap to this multiple |
k | float | 0.618 | no | — | — | — | Padding factor (0.618 = Fooocus default) |
min_size | int | 1024 | no | — | — | — | Minimum size to upscale to |
max_size | int | 1024 | no | — | — | — | Maximum size to downscale to |
inpaint_region_restore#
inpaint_region_restore
Restore inpainted region back into original full image (Fooocus-style)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
inpainted_image | IMAGE | yes | yes | Inpainted cropped image |
crop_region | DICT | yes | no | Crop region metadata from crop pipe |
original_image | IMAGE | yes | no | Original full image |
original_mask | IMAGE | no | no | Original full-size mask for color correction (Fooocus-style) |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Full image with inpainted region restored |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
strategy | str | "fooocus" | no | fooocus, composite, inpaint, outpaint | — | — | fooocus pastes the crop and blends by the mask; inpaint takes the region whole and fades out beyond its edge; outpaint pastes the original back and matches the tone of the extension to its edge; composite feathers in proportion to the region, matches colour to its surroundings and leaves every pixel outside the feather untouched |
feather | float | 0.08 | no | — | 0.0 | 1.0 | Composite strategy: feather width as a fraction of the region's longer side |
feather_px | int | 0 | no | — | 0 | 1024 | Inpaint strategy: feather width in pixels, replacing the fraction when above 0 |
color_match | bool | true | no | — | — | — | Composite strategy: match the edit's colour statistics to a ring around the region |
color_correction | bool | true | no | — | — | — | Apply color correction for smooth blending |
interpolator#
interpolator/rife
RIFE 4.x frame interpolation (2x/4x or a target frame rate) with audio passthrough
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
video | VIDEO | yes | yes | Source video to interpolate |
MODELS | SERVICE | no | no | Model lifecycle service for RIFE checkpoint reuse across clips |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Frame-interpolated video |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | RIFE checkpoint ({file_path, name}) from the vfi model field |
factor | int | 2 | no | 2, 4 | — | — | Interpolation factor: 2x inserts t=0.5; 4x inserts t=0.25/0.5/0.75 |
target_fps | float | 0.0 | no | — | 0.0 | 240.0 | Output frame rate; 0 multiplies the source rate by factor instead |
scene_detection | bool | true | no | — | — | — | With a target frame rate, hold the nearer frame instead of blending across a cut |
flow_scale | float | 1.0 | no | 1.0, 0.5 | — | — | Flow-computation scale (0.5 for high-res >2K inputs) |
keep_audio | bool | true | no | — | — | — | Mux the source video's audio track into the output |
latent_upscaler#
latent_upscaler/ltx
Upsample an LTX-2/2.3/2.5 video latent in latent space -- spatially (x1.5/x2.0) or temporally (x2 frames) -- via the model's optional upscaler checkpoints
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | LTX model bundle (needs the VAE plus the upsampler slot 'mode' selects) |
latent | LATENT | no | no | Direct latent to upsample (in-flow two-stage) |
video | VIDEO | no | yes | Existing video file to VAE-encode then upsample (standalone upscale mode) |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
latent | LATENT | no | Upsampled latent |
source_frame_count | INT | no | Original (pre-temporal-padding) frame count of the 'video' input, before _pad_frames_to_temporal_grid repeated its last frame up to the VAE's 1+8k lattice -- lets a downstream generator trim that padding back out of its own decoded output before mux. In mode='temporal' this is mapped through the same T -> 2T-1 the upsampler applies, so it still names the source content's extent on the NEW timeline. None on the 'latent'-input path (in-flow two-stage: no video was decoded here, so no padding was ever added) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
mode | str | "spatial" | no | spatial, temporal | — | — | Which upscaler to run: 'spatial' (model_loader/ltx's upscale_model, x1.5/x2.0, frame count unchanged) or 'temporal' (its temporal_upscale_model, LTX-2.5 x2, T -> 2T-1 latent frames) |
max_frames | int | 1001 | no | — | 1 | 1001 | Max frames to read from a 'video' input (standalone upscale mode) |
latent_upscaler/minimax_h3
Upsample a MiniMax-H3 video latent spatially, via the model's optional upscaler checkpoint
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | MiniMax-H3 model bundle (needs the video VAE plus the upscale_model slot) |
latent | LATENT | no | no | Direct latent to upsample (in-flow two-stage) |
video | VIDEO | no | yes | Existing video file to VAE-encode then upsample (standalone upscale mode) |
MODELS | SERVICE | no | no | Model lifecycle service, to release the idle TE's host RAM |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
latent | LATENT | no | Upsampled latent |
source_frame_count | INT | no | Original (pre-temporal-padding) frame count of the 'video' input, before the pipe repeated its last frame up to the video VAE's 17*n+5 lattice -- lets a downstream refine trim that padding back out of its own decoded output before mux. None on the 'latent'-input path (in-flow two-stage: no video was decoded here, so no padding was ever added) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
target_mode | str | "megapixels" | no | megapixels, scale | — | — | How to size the upscale target: a decimal-megapixel area, or a straight axis multiplier |
megapixels | float | 2.1 | no | — | 0.5 | 8.0 | Target area in megapixels (target_mode='megapixels') |
scale | float | 2.0 | no | — | 1.0 | 4.0 | Target axis multiplier (target_mode='scale') |
max_frames | int | 601 | no | — | 1 | 601 | Max frames to read from a 'video' input (standalone upscale mode) |
mask_preprocessor#
mask_preprocessor
Preprocess inpainting mask with dilation and blur (Fooocus-style)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
mask | IMAGE | yes | no | Raw mask image to preprocess |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
mask | IMAGE | no | Preprocessed mask (dilated and blurred) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
dilate_iterations | int | 4 | no | — | 0 | 20 | Number of dilation iterations to expand mask |
blur_radius | int | 4 | no | — | 0 | 20 | Gaussian blur radius for smooth mask edges |
matting#
matting/birefnet
Background removal via BiRefNet, producing an RGBA cutout
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Source image(s) to cut the subject out of |
MODELS | SERVICE | no | no | Model lifecycle service for checkpoint caching |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | RGBA cutout(s), alpha = matted subject |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | BiRefNet matting checkpoint ({file_path, name}) from the model picker |
matte_strength | int | 50 | no | — | 0 | 100 | Smoothstep tightening of the raw sigmoid alpha (0 = identity, 100 = hard threshold at 128) |
feather | float | 0.0 | no | — | 0.0 | 16.0 | Gaussian-blur radius (px) applied to the alpha edge |
media_loader#
media_loader
Load media files (images/videos/audio) from form file paths and convert them to proper IOType objects
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
SETTINGS | SERVICE | no | no | Settings manager, to resolve storage-root-relative media paths |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Loaded image files |
video | VIDEO | yes | Loaded video files |
audio | AUDIO | yes | Loaded audio file paths |
media_metadata | DICT | yes | Metadata about loaded media files |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
validate_files | bool | true | no | — | — | — | Validate that files exist and are readable |
max_file_size | int | 104857600 | no | — | 1024 | 1073741824 | Maximum file size in bytes (default 100MB) |
auto_detect_type | bool | true | no | — | — | — | Auto-detect media type from file extension |
supported_image_formats | list | [".jpg", ".jpeg", ".png", ".bmp", ".tiff", ".webp"] | no | — | — | — | Supported image file extensions |
supported_video_formats | list | [".mp4", ".avi", ".mov", ".mkv", ".webm", ".flv", ".wmv"] | no | — | — | — | Supported video file extensions |
supported_audio_formats | list | [".mp3", ".wav", ".flac", ".ogg", ".m4a", ".aac"] | no | — | — | — | Supported audio file extensions |
media | list | [] | no | — | — | — | List of media files to load with type and path |
media_tool#
media_tool
Run a media tool, built in or from a plugin, on images, videos or audio
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | no | yes | Images, for a tool that accepts images |
video | VIDEO | no | yes | Video files, for a tool that accepts video |
audio | AUDIO | no | yes | Audio files, for a tool that accepts audio |
MEDIA_TOOLS | SERVICE | no | no | Media tool registry, so a plugin's tools can run; without it only the built-in tools do |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Images the tool produced |
video | VIDEO | yes | Video files the tool produced |
audio | AUDIO | yes | Audio files the tool produced |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
tool | str | — | yes | — | — | — | Id of the media tool to run, such as trim, resize, crop_subject or a plugin's id.tool |
params | dict | {} | no | — | — | — | The tool's parameters; anything left out takes the tool's default |
display_title | str | — | no | — | — | — | Title shown on the status line while this step runs; without one it reads Editing media |
skip_unfit | bool | false | no | — | — | — | Pass media the tool cannot work on (an image without transparency for crop_subject, a video without sound for a tool that needs it) through unchanged instead of failing |
model_loader#
model_loader/anima
Load a native Anima checkpoint set (MiniTrainDIT + Qwen3-0.6B TE + causal-3D VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Anima model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3-0.6B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Anima MiniTrainDIT checkpoint |
text_encoder | dict | — | yes | — | — | — | Qwen3-0.6B text encoder (single TE, no CLIP-L) |
vae | dict | — | yes | — | — | — | Anima (Wan-2.1 causal-3D) VAE |
loras | list | [] | no | — | — | — | LoRA adapters (busts only the DiT cache) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/flux
Load a native Flux-family checkpoint set (DiT + text encoder + VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Flux model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Flux text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Flux DiT checkpoint |
text_encoder | dict | — | yes | — | — | — | Text encoder (T5-XXL for Flux1, Qwen3 for Klein) |
clip_l | dict | — | no | — | — | — | CLIP-L (Flux1 only; omit for Klein/Flux2) |
vae | dict | — | yes | — | — | — | Flux VAE |
loras | list | [] | no | — | — | — | LoRA adapters (patched in place on an already-cached DiT) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/flux3
Load a native FLUX 3 Image Klein checkpoint set (DiT + Qwen3-VL-4B TE + FLUX 2 AE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | FLUX 3 model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3-VL-4B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | FLUX 3 Image Klein DiT (distilled flow-map or base) |
text_encoder | dict | — | yes | — | — | — | Qwen3-VL-4B text encoder (4 hidden layers, one prompt per pass) |
vae | dict | — | yes | — | — | — | FLUX 3 autoencoder (ae.safetensors) |
loras | list | [] | no | — | — | — | LoRA adapters (busts only the DiT cache) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/krea2
Load a native Krea-2 checkpoint set (DiT + Qwen3-VL TE + Qwen-Image VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Krea-2 model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Krea-2 text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Krea-2 DiT checkpoint (bf16) |
text_encoder | dict | — | yes | — | — | — | Qwen3-VL-4B text encoder |
vae | dict | — | yes | — | — | — | Qwen-Image causal-3D VAE |
loras | list | [] | no | — | — | — | LoRA adapters (patched in place on an already-cached DiT). An entry may add 'step_start'/'step_end' (1-based, inclusive) to be active only inside that step range — such an entry is NOT baked into the model; the generator's sampling loop switches it on at the window's first step and off after its last. Omit both keys for the ordinary always-on behaviour. |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
vision | bool | false | no | — | — | — | Load the Qwen3-VL vision tower for image-grounded instruction encoding (Krea-2 edit mode) |
model_loader/ltx
Load a native LTX-2/2.3/2.5 checkpoint set (all-in-one or split DiT + TE + video VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | LTX model bundle (DiT + TE + VAE + projections) |
text_encoder | TEXT_ENCODER | no | LTX Gemma3 text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | LTX DiT checkpoint (all-in-one for 2.0/2.3, transformer-only for 2.5's split layout) |
text_encoder | dict | — | yes | — | — | — | Text encoder (Gemma3-12B for 2.0/2.3, Gemma4-12B-with-proj for 2.5) |
vae | dict | — | no | — | — | — | Optional VAE override; defaults to the video VAE embedded in the all-in-one checkpoint (required for LTX-2.5 split checkpoints) |
audio | bool | false | no | — | — | — | Load the audio VAE + vocoder for audio-video generation |
audio_model | dict | — | no | — | — | — | Optional separate audio-VAE + vocoder checkpoint (LTX-2.5 split layout); defaults to the audio VAE/vocoder embedded in the all-in-one model checkpoint |
upscale_model | dict | — | no | — | — | — | Optional LTX-2.3/2.5 spatial latent-upscaler checkpoint |
temporal_upscale_model | dict | — | no | — | — | — | Optional LTX-2.5 temporal x2 latent-upscaler checkpoint |
duration_head | dict | — | no | — | — | — | Optional LTX-2.5 duration head (predicts a shot's natural length from the prompt) |
loras | list | [] | no | — | — | — | DiT LoRAs |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/maya
Load Maya text-to-speech model components (Model, Tokenizer, SNAC Codec)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for cross-generation model reuse |
ASSETS | SERVICE | no | no | Asset fetcher, to mirror the model and codec repos into the depot |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Loaded Maya model with all components |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model_id | str | "maya-research/maya1" | yes | — | — | — | Maya model path or HF model ID |
snac_model | str | "hubertsiuzdak/snac_24khz" | yes | — | — | — | SNAC codec model ID |
device | str | "cuda" | no | cuda, cpu | — | — | Device to load model on |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Data type for model weights |
model_loader/minimax_h3
Load a native MiniMax-H3 checkpoint set (DiT + Qwen3-VL-32B TE + video VAE + audio VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | MiniMax-H3 model bundle (DiT + TE + video VAE + audio VAE) |
text_encoder | TEXT_ENCODER | no | MiniMax-H3 Qwen3-VL-32B text encoder (ClipTextEncoder ABC) |
video_vae | VAE | no | The SAME video VAE component already embedded in 'model' (bundle.video_vae), exposed standalone so a pipe that only needs the VAE -- e.g. prompt_encoder, to decode a pre-encoded reference latent for the text encoder's own presentation -- does not have to take the whole bundle |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | MiniMax-H3 DiT checkpoint (t2va/fl2va) |
text_encoder | dict | — | yes | — | — | — | Qwen3-VL-32B text encoder |
video_vae | dict | — | yes | — | — | — | MiniMax-H3 video VAE |
audio_vae | dict | — | yes | — | — | — | MiniMax-H3 audio VAE (always loaded -- audio is inherent) |
upscale_model | dict | — | no | — | — | — | Optional MiniMax-H3 3D latent-upscaler checkpoint |
loras | list | [] | no | — | — | — | DiT LoRAs |
vdn_module | dict | — | no | — | — | — | Video-DeltaNet linear branch to attach to the DiT (turbo hybrid attention) |
control_module | dict | — | no | — | — | — | Pruned MiniMax-H3 Fun ControlNet Union patch (Comfy-Org model_patches) to attach to the DiT |
dense_time_embedder | dict | — | no | — | — | — | Full-checkpoint time_embedder tensors, needed only to translate an adapter's AdaLN rows onto a pruned DiT |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/minimax_h3_image
Load a native MiniMax-H3-Image checkpoint set (DiT + Qwen3-VL-32B TE + image VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | MiniMax-H3-Image model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3-VL-32B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | MiniMax-H3-Image DiT (int8 ConvRot or bf16) |
text_encoder | dict | — | yes | — | — | — | Qwen3-VL-32B text encoder, shared with MiniMax-H3 |
vae | dict | — | yes | — | — | — | MiniMax-H3-Image VAE |
loras | list | [] | no | — | — | — | DiT LoRAs (applied at load; a change reloads the DiT, not the text encoder or VAE) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/minimax_music3
Load a native MiniMax-Music3 checkpoint set (DiT + fused text encoder + DAV vocoder)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | MiniMax-Music3 model bundle (DiT + text encoder + DAV) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | MiniMax-Music3 flow-matching DiT checkpoint |
text_encoder | dict | — | yes | — | — | — | MiniMax-Music3 fused text encoder (global LLM + depth decoder + tokenizer) |
vae | dict | — | yes | — | — | — | MiniMax-Music3 DAV vocoder |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/moss_image
Load a native MOSS-Image checkpoint set (DiT + Qwen3.5-9B TE + FLUX 2 AE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | MOSS-Image model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3.5-9B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | MOSS-Image DiT (SFT or Base, bf16 or int8 ConvRot) |
text_encoder | dict | — | yes | — | — | — | Qwen3.5-9B text encoder (int8 ConvRot, one prompt per pass) |
vae | dict | — | yes | — | — | — | FLUX 2 autoencoder (flux2-vae.safetensors) |
loras | list | [] | no | — | — | — | LoRA adapters (patched in place on an already-cached DiT) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/pixal3d
Load a native Pixal3D set (4 pixel-aligned flow DiTs + TRELLIS.2 decoders + DINOv3 with NAF)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Pixal3D model bundle |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Pixal3D transformer bundle (all four flow DiTs). The single-view and multi-view bundles share one key layout and are told apart by file name. |
image_encoder | dict | — | yes | — | — | — | DINOv3 ViT-L/16 image encoder with the NAF upsampler bundled (naf.* keys) |
shape_vae | dict | — | yes | — | — | — | Shape VAE (sparse-structure + FlexiDualGrid decoders) |
texture_vae | dict | — | yes | — | — | — | Texture VAE decoder |
matting_model | dict | — | no | — | — | — | BiRefNet checkpoint for background removal on an opaque image. Optional — an image that already has a transparent background needs none. |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
camera_estimator | dict | — | no | — | — | — | MoGe-2 checkpoint that estimates the input camera's field of view for the generator's Auto FOV. Only loaded when selected; a manual FOV needs none. |
resolution_tier | str | "1536" | no | 1024, 1536 | — | — | Reconstruction cascade. Pixal3D has no single-pass 512 tier; 1536 is upstream's default and degrades toward 1024 on the token budget. |
bundle_mode | str | "single" | no | single, multiview | — | — | Which bundle the mode expects: single (one image) or multiview (the front/left/back/right rig). A mismatched file is refused. |
model_loader/qwen
Load a native Qwen-Image checkpoint set (MMDiT + Qwen2.5-VL TE + causal-3D VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Qwen-Image model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen2.5-VL text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Qwen-Image MMDiT checkpoint |
text_encoder | dict | — | yes | — | — | — | Qwen2.5-VL text encoder (single TE, no CLIP-L) |
vae | dict | — | yes | — | — | — | Qwen-Image (Wan-2.1 causal-3D) VAE |
loras | list | [] | no | — | — | — | LoRA adapters (busts only the DiT cache) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
vision | bool | false | no | — | — | — | Load the vision tower for image-conditioned editing |
model_loader/qwen_image21
Load a native Qwen-Image-2.1 checkpoint set (MMDiT + Qwen3-VL-8B TE + RGBA 16x VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Qwen-Image-2.1 model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3-VL-8B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Qwen-Image-2.1 MMDiT checkpoint |
text_encoder | dict | — | yes | — | — | — | Qwen3-VL-8B text encoder (single TE, no CLIP-L) |
vae | dict | — | yes | — | — | — | Qwen-Image-2.1 RGBA 16x VAE |
loras | list | [] | no | — | — | — | LoRA adapters (busts only the DiT cache) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
vision | bool | false | no | — | — | — | Load the vision tower for image-conditioned editing |
control_model | dict | — | no | — | — | — | Fun ControlNet Union patch loaded with the DiT |
model_loader/seedvr2
Load a native SeedVR2 checkpoint set (NaDiT + self-normalizing causal-video VAE + fixed prompt embedding)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | SeedVR2 model bundle (DiT + VAE + fixed prompt embedding) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | SeedVR2 NaDiT checkpoint |
vae | dict | — | yes | — | — | — | SeedVR2 self-normalizing causal-video VAE |
prompt_embedding | dict | — | yes | — | — | — | Fixed positive prompt embedding (.pt tensor); no live text encoder |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/trellis2
Load a native TRELLIS.2 set (4 flow DiTs + 3 decoders + DINOv3 encoder)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | TRELLIS.2 model bundle |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | TRELLIS.2 transformer bundle (all four flow DiTs) |
shape_vae | dict | — | yes | — | — | — | Shape VAE (sparse-structure + FlexiDualGrid decoders) |
texture_vae | dict | — | yes | — | — | — | Texture VAE decoder |
image_encoder | dict | — | yes | — | — | — | DINOv3 ViT-L/16 image encoder |
matting_model | dict | — | no | — | — | — | BiRefNet checkpoint for background removal on an opaque image. Optional — an image that already has a transparent background needs none. |
resolution_tier | str | "1024" | no | 1024, 1536, 512 | — | — | Reconstruction path. 512 is a single shape pass; 1024 and 1536 are cascades and load a second shape flow. |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/wan22
Load a native Wan video checkpoint set (high/low DiT + UMT5 + causal-3D VAE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Wan model bundle (DiT(s) + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Wan UMT5 text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
high_noise_model | dict | — | yes | — | — | — | Wan DiT (high-noise expert, or the only DiT) |
low_noise_model | dict | — | no | — | — | — | Wan low-noise expert (2.2 14B dual-expert only) |
text_encoder | dict | — | yes | — | — | — | UMT5-XXL text encoder |
vae | dict | — | yes | — | — | — | Wan causal-3D VAE |
loras_high | list | [] | no | — | — | — | LoRAs for the high-noise expert (or the only DiT); busts only that DiT's cache |
loras_low | list | [] | no | — | — | — | LoRAs for the low-noise expert (Wan 2.2 pairs ship separate high/low files) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/yue2
Load a native YuE2-3B checkpoint set (AR/NAR backbone + Oobleck VAE decoder)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | YuE2-3B model bundle (AR/NAR backbone + VAE) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | dict | — | yes | — | — | — | YuE2-3B AR/NAR backbone checkpoint |
vae | dict | — | yes | — | — | — | YuE2 Oobleck VAE decoder checkpoint |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
model_loader/z_image
Load a native Z-Image checkpoint set (NextDiT + Qwen3-4B TE + 2D AE)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service for per-component reuse |
GPU | SERVICE | no | no | GPU manager for the VRAM budget |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Z-Image model bundle (DiT + TE + VAE) |
text_encoder | TEXT_ENCODER | no | Qwen3-4B text encoder (ClipTextEncoder ABC) |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
diffusion_model | dict | — | yes | — | — | — | Z-Image NextDiT checkpoint |
text_encoder | dict | — | yes | — | — | — | Qwen3-4B text encoder (single TE, no CLIP-L) |
vae | dict | — | yes | — | — | — | Z-Image (Flux-style 2D) VAE |
loras | list | [] | no | — | — | — | LoRA adapters (busts only the DiT cache) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
dtype | str | "bfloat16" | no | bfloat16, float16, float32 | — | — | Compute dtype |
vram_limit_gb | float | — | no | — | — | — | VRAM budget hint (backend-injected) |
control_model | dict | — | no | — | — | — | Fun ControlNet Union 2.1 patch loaded with the DiT |
model_tools#
model_tools
Quantizes a model file to fp8, int8, nvfp4 or int4, bakes LoRAs into it, or merges LoRAs into one file, writing the result next to the source. Administrators on the local native backend only.
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
MODELS | SERVICE | no | no | Model lifecycle service; its model roots locate and contain every path |
Outputs: none.
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
mode | str | "quantize" | yes | quantize, merge_into_model, merge_and_quantize, merge_loras | — | — | Which tool to run |
is_admin | bool | false | no | — | — | — | Must be true; set from runtime.user.is_admin so the server decides, never the form |
model | str | "" | no | — | — | — | Absolute path of the source model file (quantize and bake modes) |
loras | list | [] | no | — | — | — | LoRA rows [{model, strength}] (bake and merge modes) |
quant_format | str | "fp8_e4m3" | no | fp8_e4m3, fp8_e5m2, int8, int8_convrot, nvfp4, int4_convrot | — | — | Format the quantize modes write; text encoders take fp8 or nvfp4 only |
keep_patterns | str | "" | no | — | — | — | Extra tensor-name globs kept in full precision (quantize modes), one per line or comma separated |
merge_method | str | "concat" | no | concat, reduce | — | — | 'concat' stacks the LoRAs exactly; 'reduce' compresses them to target_rank |
target_rank | int | 32 | no | — | 1 | 4096 | Rank of the merged LoRA when reducing, and for LoKr conversion |
min_energy | float | 0.9 | no | — | 0.0 | 1.0 | Refuse when a reduced layer keeps less than this share of the delta energy |
lora_dtype | str | "F32" | no | F32, BF16, F16 | — | — | Precision of a merged LoRA file |
output_name | str | "" | no | — | — | — | Output file name without folders; empty derives it from the inputs |
overwrite | bool | false | no | — | — | — | Replace the output file when it already exists |
family | str | "" | no | — | — | — | Force the model family instead of detecting it |
output_skipper#
output_skipper
Filter and skip specific outputs from the previous pipe by type and index
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | no | yes | Input images to filter |
video | VIDEO | no | yes | Input videos to filter |
mask | MASK | no | yes | Input masks to filter |
latent | LATENT | no | yes | Input latents to filter |
seed | SEED | no | yes | Input seeds to filter |
conditioning | CONDITIONING | no | yes | Input conditioning to filter |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Filtered images |
video | VIDEO | yes | Filtered videos |
mask | MASK | yes | Filtered masks |
latent | LATENT | yes | Filtered latents |
seed | SEED | yes | Filtered seeds |
conditioning | CONDITIONING | yes | Filtered conditioning |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
rules | list | [] | no | — | — | — | List of filtering rules. Each rule should have: output_type, action ('skip'/'keep'), and indices or count |
param_emitter#
param_emitter
Pipe that emits generation parameters for tracking and storage
No inputs.
Outputs: none.
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
parameters | list | [] | yes | — | — | — | List of [name, value] or [name, value, {label, unit, type}] parameter pairs |
quantity | int | 1 | no | — | 1 | 20 | Number of outputs being generated |
passes | int | 1 | no | — | 1 | 8 | How many times the batch is saved to the gallery (a refinement pass that saves alongside the base batch is a second pass). One parameter row is written per saved index, i.e. quantity x passes rows. |
prompt_encoder#
prompt_encoder
Encodes prompts using CLIP text encoders for SDXL
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
text_encoder | TEXT_ENCODER | yes | no | Text encoder for prompt processing |
pairs | DICT | no | yes | Per-image prompt pairs that replace the configured pairs when connected (from regional_prompt) |
p_prompt | TEXT | no | no | Positive prompt (optional, from prompt_expander) |
n_prompt | TEXT | no | no | Negative prompt (optional, from prompt_expander) |
MODELS | SERVICE | no | no | Model lifecycle service for cross-generation reuse |
image | IMAGE | no | yes | Source image(s) for a vision-conditioned encoder |
reference_image | IMAGE | no | yes | ref2va reference image(s), in packed order |
reference_video | VIDEO | no | yes | ref2va reference video(s), packed after every image reference |
reference_audio | AUDIO | no | yes | ref2va reference audio track(s), packed after every video reference |
reference_latents | LATENT | no | yes | Pre-encoded reference latents (PreEncodedReference), each packed after every native reference of its own kind |
vae | VAE | no | no | MiniMax-H3 video VAE, needed only to decode an image or video pre-encoded reference to pixels for this encoder's own presentation. From model_loader/minimax_h3's own 'video_vae' output |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
conditioning | CONDITIONING | yes | Encoded prompt conditioning tensors |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
p_prompt | dict | {} | no | — | — | — | Positive prompt configuration |
n_prompt | dict | {} | no | — | — | — | Negative prompt configuration |
quantity | int | 1 | no | — | 1 | 20 | Number of images to generate |
guidance_scale | float | 7.5 | no | — | 1.0 | 30.0 | Guidance scale for CFG |
nag_scale | float | 1.0 | no | — | 1.0 | 20.0 | Normalized Attention Guidance scale, mirrored from the generator's own nag_scale config. NAG needs the negative prompt encoded even at guidance_scale=1.0 (true CFG off), so >1.0 here forces the negative pass on regardless of guidance_scale |
clip_skip | int | — | no | — | 1 | 12 | Number of CLIP layers to skip |
negative_applied | bool | — | no | — | — | — | Whether the generation record marks the negative prompt as applied. Wire it to generation.negative_applied, the preset's negative_prompt.applies_when evaluated against the form; unset falls back to whether the negative pass is encoded. Never changes what is encoded |
pairs | list | [] | no | — | — | — | Per-image expanded prompt pairs (from the prompt expander) |
positive_embeddings | list | [] | no | — | — | — | Positive text embeddings configuration |
negative_embeddings | list | [] | no | — | — | — | Negative text embeddings configuration |
prompt_helpers | dict | {} | no | — | — | — | Prompt helper data |
grounding_px | int | 768 | no | — | 0 | 4096 | Longest-side cap (px) for the image sent to a vision-grounded text encoder; 0 uses native resolution |
system_prompt | str | — | no | — | — | — | Override the vision-grounded encoder's default system prompt |
picture_labels | bool | — | no | — | — | — | Label each source image 'Picture N:' in the instruction, the layout ai-toolkit edit LoRAs were trained on; unset follows the loaded model |
grounding_area | int | — | no | — | 0 | 16777216 | Cap on the pixel AREA of each image sent to a vision-grounded text encoder; 0 leaves only the longest-side cap, unset follows the loaded model |
image_pixel_budget | float | 0.0 | no | — | 0.0 | 16.0 | Cap the pixel AREA of each image handed to a vision-grounded text encoder, as a multiple of the output canvas area (output_resolution); 0 leaves the encoder's own bound in place |
output_resolution | str | — | no | — | — | — | Output canvas as WxH — the area image_pixel_budget multiplies. Inert without it |
reference_video_frames | int | 0 | no | — | 0 | — | Frame count of the clip being generated; a reference video is truncated to it before being presented, so that the encoder and the generator's own condition-encode cut it at the same frame. 0 (default) leaves a reference video untruncated. Inert without a reference_video input |
reference_selections | list | [] | no | — | — | — | Per-request reference SUBSET, index-aligned with 'pairs' -- entry i is a list of indices into the packed 'reference_image'/'reference_video'/'reference_audio' order for output i. An absent or null entry presents every packed reference (the default, and the only shape a non-Director ref2va request uses); an empty list presents none, so that output encodes as plain text. The H3 adapter numbers ' |
prompt_expander#
prompt_expander
Expands prompts using configured LLM service
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
LLM | SERVICE | yes | no | LLM service for prompt expansion |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
p_prompt | TEXT | no | Expanded positive prompt |
n_prompt | TEXT | no | Expanded negative prompt |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
llm_id | str | — | no | — | — | — | LLM configuration ID |
command_id | str | — | no | — | — | — | Predefined command ID |
prompt | str | "Expand this prompt with creative details" | no | — | — | — | Expansion instruction |
p_prompt_input | str | "" | yes | — | — | — | Positive prompt to expand |
n_prompt_input | str | "" | no | — | — | — | Negative prompt to expand |
p_prompt_output | str | "[[__expanded_p_prompt__]]" | no | — | — | — | Output template for positive |
n_prompt_output | str | "[[__expanded_n_prompt__]]" | no | — | — | — | Output template for negative |
regional_prompt#
regional_prompt/moss_image
Rewrites each positive prompt into MOSS-Image's layout document from boxes drawn on the canvas
No inputs.
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
pairs | DICT | yes | Prompt pairs with each positive rewritten as the MOSS-Image layout document |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
pairs | list | [] | no | — | — | — | Per-image expanded prompt pairs (from generation.prompts.pairs) |
regional_prompt | dict | {} | no | — | — | — | Regional prompt document: enabled flag and items of fractional x, y, w, h plus a caption |
resolution | str | "1024x1024" | no | — | — | — | Generation size as WxH, the space the boxes are placed in |
sag#
sag/sdxl
Self-Attention Guidance for SDXL (enhanced detail, ~15-20% overhead)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | SDXL model with hook registry |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Model with SAG hook registered |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
scale | float | 0.75 | no | — | 0.0 | 1.5 | SAG guidance strength |
sigma | float | 2.0 | no | — | 0.5 | 10.0 | SAG blur sigma |
sag_threshold | float | 1.0 | no | — | 0.0 | 5.0 | Attention-magnitude threshold for the blur mask (ComfyUI-parity; NOT a progress gate) |
seed_generator#
seed_generator
Pipe that will generate a seed
No inputs.
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
seed | SEED | yes | Generated random seeds for image generation |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
seed | int | -1 | no | — | — | — | Random seed for generation (-1 for random) |
quantity | int | 1 | no | — | 1 | 20 | Number of seeds to generate |
sharpness#
sharpness/sdxl
Anisotropic sharpness enhancement for SDXL
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | SDXL model with hook registry |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
model | MODEL | no | Model with sharpness hook registered |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
strength | float | 0.0 | no | — | 0.0 | 30.0 | Sharpness strength (0=disabled) |
tiled_detailer#
tiled_detailer/sdxl
SDXL-optimized tiled detailer for high-resolution image enhancement
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
model | MODEL | yes | no | AI model for image generation |
conditioning | CONDITIONING | yes | yes | Encoded prompt conditioning |
seed | SEED | no | yes | Random seeds for generation |
image | IMAGE | yes | yes | Input images to detail |
GPU | SERVICE | no | no | GPU manager service for VRAM monitoring |
MEMORY | SERVICE | no | no | Memory manager service for intelligent tiling |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Enhanced detailed images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
overlap | int | 128 | no | — | 16 | 512 | Overlap between tiles in pixels |
denoise | float | 0.25 | no | — | 0.0 | 1.0 | Denoising strength |
steps | int | 20 | no | — | 1 | 150 | Number of inference steps |
cfg | float | 5.5 | no | — | 1.0 | 30.0 | CFG scale |
sampler | str | "DPMPP_2M" | no | EULER, EULER_A, HEUN, DPM2, DPM2_A, LMS, DPMPP_2S_A, DPMPP_SDE, DPMPP_2M, DPMPP_2M_SDE, DPMPP_3M_SDE, LCM | — | — | Sampling algorithm to use |
scheduler | str | "karras" | no | normal, karras, exponential, sgm_uniform, simple, ddim_uniform | — | — | Noise schedule type to use |
clip_skip | int | 2 | no | — | 0 | 12 | Number of CLIP layers to skip |
seed | int | -1 | no | — | — | — | Random seed for generation (-1 for random) |
feather_amount | int | 96 | no | — | 16 | 512 | Feathering amount for tile blending |
detail_boost | float | 1.1 | no | — | 0.5 | 2.0 | Detail enhancement multiplier |
enable_detail_conditioning | bool | true | no | — | — | — | Enable detail-focused conditioning |
content_aware_denoise | bool | true | no | — | — | — | Adjust denoise based on content complexity |
vram_limit_gb | int | 8 | no | — | 4 | 80 | VRAM limit in GB for tile sizing |
min_tile_size | int | 896 | no | — | 256 | 2048 | Minimum tile size to avoid tiny tiles |
tiled_refiner#
tiled_refiner
Upscale then refine an image tile-by-tile via low-denoise img2img (bounded VRAM)
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Images to upscale + refine |
model | MODEL | yes | no | Native model bundle (reused from generation) |
conditioning | CONDITIONING | yes | yes | Prompt conditioning reused per image |
seed | SEED | no | yes | Per-image seeds |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Refined hi-res images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
scale | float | 2.0 | no | — | 1.0 | 8.0 | Target upscale factor |
upscale_model | str | — | no | — | — | — | ESRGAN .pth under models/upscalers/ (blank -> Lanczos) |
denoise | float | 0.25 | no | — | 0.0 | 1.0 | Per-tile img2img denoise strength (upper bound when content-aware) |
content_aware | bool | true | no | — | — | — | Scale per-tile denoise by texture (flat tiles refine less; anti-hallucination) |
min_denoise | float | 0.1 | no | — | 0.0 | 1.0 | Denoise floor for flat/low-texture tiles (content-aware) |
tile_size | int | 1024 | no | — | 256 | 2048 | Tile working resolution (px) |
tile_overlap | int | 128 | no | — | 0 | 512 | Tile overlap for feathered seams (px) |
steps | int | 20 | no | — | 1 | 100 | Denoising steps per tile |
guidance | float | 6.0 | no | — | 0.0 | 30.0 | CFG scale |
sampler | str | "euler" | no | euler, dpmpp_2m, unipc | — | — | Sampler |
seed | int | -1 | no | — | -1 | — | Seed (-1 -> per-image random) |
device | str | "cuda" | no | cuda, cpu | — | — | Compute device |
upscaler#
upscaler
Tile-based RealESRGAN upscaling with user-defined scale
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
image | IMAGE | yes | yes | Input images to upscale |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
image | IMAGE | yes | Upscaled images |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
model | str | — | yes | — | — | — | Path to upscaler model (.pth file) |
scale | float | 2.0 | no | — | 0.1 | 8.0 | Final upscaling factor |
tile_size | int | 512 | no | — | 128 | 2048 | Size of tiles for processing |
tile_padding | int | 32 | no | — | 0 | 128 | Padding between tiles for smooth blending |
video_concat#
video_concat
Join video clips end to end, keeping their sound
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
video | VIDEO | yes | yes | Clips joined in order |
extension | VIDEO | no | yes | Clips joined to the video one at a time; each makes its own joined video |
overlap | VIDEO | no | yes | The clip each extension repeats at its seam; its length sets the overlap |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Joined videos |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
extension_position | str | "after" | no | after, before | — | — | Where each extension clip joins the video |
overlap_frames | int | 0 | no | — | 0 | — | Frames at the seam of each extension clip that repeat the video |
overlap | str | "crossfade" | no | crossfade, cut | — | — | Blend the repeated frames into the video, or cut them |
fps | float | 24.0 | no | — | — | — | Frame rate of the extension clips, to turn overlap frames into time |
fit | str | "pad" | no | pad, cover | — | — | Pad a clip of another size with black bars, or fill the frame and crop the overflow |
keep_audio | bool | true | no | — | — | — | Keep the clips' sound |
video_trim#
video_trim
Keep the first or last frames of a video
Inputs
| Name | IO Type | Required | Array | Description |
|---|---|---|---|---|
video | VIDEO | yes | yes | Videos to trim |
Outputs
| Name | IO Type | Array | Description |
|---|---|---|---|
video | VIDEO | yes | Trimmed videos, one per input |
Configuration
| Option | Type | Default | Required | Choices | Min | Max | Description |
|---|---|---|---|---|---|---|---|
keep | str | "tail" | no | head, tail | — | — | Keep the start (head) or the end (tail) of the video |
frames | int | 25 | no | — | 1 | — | How many frames to keep |
seconds | float | 0.0 | no | — | 0.0 | — | When above 0, keep this many seconds instead of a frame count |
frame_step | int | 1 | no | — | 1 | — | Round the kept frame count down to 1 plus a multiple of this step |
fps | float | 0.0 | no | — | 0.0 | — | Frame rate to resample to before counting frames; 0 keeps the source rate |
keep_audio | bool | true | no | — | — | — | Keep the sound of the kept frames |