FastH3 OmniRef: 레퍼런스 기반 비디오 생성
FastH3 OmniRef 8단계 증류 모델을 사용하여 프롬프트와 레퍼런스 이미지로부터 오디오가 동기화된 비디오를 생성합니다. 이 모델은 단 8번의 샘플링 단계로 두 스트림을 모두 렌더링합니다. 1개의 입력 이미지를 받아 1개의 비디오 출력을 생성합니다. 레퍼런스 캐릭터...
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
- 내 파일
- 코드가 해당 URL에서 업로드
유료 Cloud 요금제와 크레딧이 필요합니다.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"92": {
"class_type": "SaveVideo",
"inputs": {
"codec": "auto",
"filename_prefix": "video/FastH3_OmniRef",
"format": "auto",
"format.codec": "auto",
"video": [
"130",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"115": {
"class_type": "ResolutionSelector",
"inputs": {
"aspect_ratio": "16:9 (Widescreen)",
"megapixels": 1,
"multiple": 32
},
"_meta": {
"title": "Resolution Selector (Size)"
}
},
"119": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_video_vae_int8_convrot.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"120": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "minimax_h3_audio_vae_fp32.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"121": {
"class_type": "VAEDecodeAudio",
"inputs": {
"samples": [
"125",
0
],
"vae": [
"120",
0
]
},
"_meta": {
"title": "VAE Decode Audio"
}
},
"122": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"125",
0
],
"vae": [
"119",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"123": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"124": {
"class_type": "BasicScheduler",
"inputs": {
"denoise": 1,
"model": [
"143",
0
],
"scheduler": "simple",
"steps": 8
},
"_meta": {
"title": "BasicScheduler"
}
},
"125": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"126",
0
],
"latent_image": [
"136",
1
],
"noise": [
"129",
0
],
"sampler": [
"123",
0
],
"sigmas": [
"124",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"126": {
"class_type": "BasicGuider",
"inputs": {
"conditioning": [
"136",
0
],
"model": [
"143",
0
]
},
"_meta": {
"title": "Basic Guider"
}
},
"127": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "fasth3_omniref_8step_pruned_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"128": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
"device": "default",
"type": "minimax"
},
"_meta": {
"title": "Load CLIP"
}
},
"129": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 771204598
},
"_meta": {
"title": "RandomNoise"
}
},
"130": {
"class_type": "CreateVideo",
"inputs": {
"audio": [
"121",
0
],
"bit_depth": 8,
"chroma_subsampling": "none",
"codec": "none",
"color_space": "sRGB",
"fps": 24,
"images": [
"122",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"131": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
"values.a": [
"132",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"132": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 5
},
"_meta": {
"title": "Float (Duration)"
}
},
"136": {
"class_type": "MiniMaxH3ReferenceToVideo",
"inputs": {
"audio_vae": [
"120",
0
],
"clip": [
"128",
0
],
"height": [
"115",
1
],
"length": [
"131",
1
],
"prompt": [
"138",
0
],
"ref_image_size": "match",
"ref_images.ref_image_0": [
"137",
0
],
"vae": [
"119",
0
],
"width": [
"115",
0
]
},
"_meta": {
"title": "MiniMax H3 Reference to Video"
}
},
"137": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_reference_1_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"138": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "subject_definitions:\n<Subject 1> is the plane in <Picture 1>: a yellow propeller plane climbing vertically with a smoke trail.\n<Subject 2> is the setting in <Picture 1>: a towering cumulus cloud against a near-black sky.\n\nsummary:\n[reference generation] The target video is a 5-second, multi-cut cinematic aviation film. The plane climbs vertically, stalls at the top and tumbles into a dramatic dive.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1], [Shot 2]): fully_preserved - the yellow plane and white smoke trail are retained.\n<Subject 2> (appears in [Shot 1], [Shot 2]): fully_preserved - the towering cumulus and dark sky are retained.\n\ndetailed_description:\nThe target video is a striking, high-contrast aerial film with bright sunlit clouds, deep dark sky and dynamic camera moves.\n[Shot 1] A wide shot matches <Picture 1>: <Subject 1> climbs straight up above <Subject 2>, smoke trail curling, and the camera tilts up with it.\n[Shot 2] At 00:02.000, the shot cuts to a beautiful close-up of the propeller and yellow nose as it slows at the top; the plane stalls, flips over and the camera follows it diving toward the bright cloud.\n\noverall_soundscape:\nStraining engine, wind, a sudden silence at the stall and a roaring dive.\n\nnon_diegetic_music:\nTense rising strings that break into a thrilling crescendo."
},
"_meta": {
"title": "Input Text (Prompt)"
}
},
"141": {
"class_type": "MiniMaxH3SigmaShift",
"inputs": {
"model": [
"127",
0
],
"shift_audio": 3,
"shift_video": 12
},
"_meta": {
"title": "ModelSamplingMiniMaxH3"
}
},
"142": {
"class_type": "ModelAttentionBackend",
"inputs": {
"attention": "comfy kitchen attention",
"model": [
"141",
0
]
},
"_meta": {
"title": "Model Attention Backend"
}
},
"143": {
"class_type": "BlockSparseAttention",
"inputs": {
"dense_blocks": "",
"end_percent": 1,
"extra_tokens": 256,
"min_tokens": 12288,
"model": [
"142",
0
],
"selection": "vsa",
"selection.keep_percent": 10,
"sink_conditioning": "exact_kv_and_rows",
"start_percent": 0,
"verbose": False
},
"_meta": {
"title": "Model Sparse Attention"
}
}
})
workflow.set_input("137", "image", client.assets.from_url("https://comfy.org/catalog-media/a99235df-0c4c-4f12-a97e-4224f7462a85/d24ca161-46d0-48cf-ae03-0c3849c97da3"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("92"):
output.to_file(output.name)예시 사용해 보기
이 워크플로 정보
FastH3 OmniRef is the eight-step distilled take on MiniMax H3 reference-to-video: one reference image pins the subject, the prompt carries the action and the sound, and both video and audio come out of the same pass in eight sampling steps.
Graph: LoadImage -> MiniMaxH3ReferenceToVideo (ref_image_0, prompt from a PrimitiveStringMultiline, width/height from a ResolutionSelector at 16:9 / 1 MP, length 124 frames at 24 fps) on fasth3_omniref_8step_pruned_int8_convrot, with MiniMaxH3SigmaShift (video 12, audio 3), BlockSparseAttention with VSA selection, euler sampler and a BasicScheduler at 8 steps, then CreateVideo -> SaveVideo.
Open weights on Cloud; no partner API involved.
관련 워크플로
- MiniMax H3
Create a video from references
- FLUX 3 Video
FLUX 3 Max: 텍스트 기반 비디오 생성
- Flux
FLUX 3 비디오: 텍스트 투 비디오
- Flux
FLUX 3 비디오: 텍스트 투 비디오
- Gemini Omni, Gemini Omni 1.2 Flash
Gemini Omni 1.2 Flash: 참조 이미지로 영상
- Gemini Omni, Gemini Omni 1.2 Flash
Gemini Omni 1.2 Flash: 텍스트에서 영상
- Grok Imagine Video
Grok Imagine Video 1.5 Lite: 텍스트 기반 비디오 생성
- Grok
Grok: 레퍼런스 기반 비디오 생성
- HHappyHorse
HappyHorse 1.1: 레퍼런스 기반 비디오 생성
- HHappyHorse Text-to-Video
HappyHorse 1.1: 텍스트 → 비디오
- HHappyHorse 1.0
HappyHorse: 레퍼런스 기반 비디오 생성
- HHappyHorse 1.0
HappyHorse: 텍스트 기반 비디오 생성