FastH3 OmniRef:参照から動画
FastH3 OmniRef...
ワークフローの内部
ソーステンプレートの読み取り専用プレビューです。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
リファレンスから動画を作成
- FLUX 3 Video
FLUX 3 Max:テキストから動画へ
- Flux
FLUX 3 Video: テキストから動画
- Flux
FLUX 3 Video: テキストから動画へ
- 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 Text-to-Video
HappyHorse 1.1: テキストから動画
- HHappyHorse
HappyHorse 1.1:参照から動画
- HHappyHorse 1.0
HappyHorse: テキストから動画へ
- HHappyHorse 1.0
HappyHorse: 参照から動画