Download examples/README.md from yuzhewu207/wizard: direct link, hf CLI and curl.
- Browser
- Download file 4.68 kB
-
https://huggingface.co/datasets/yuzhewu207/wizard/resolve/main/examples/README.md
- Command line
-
hf download hf://datasets/yuzhewu207/wizard/examples/README.md
-
curl -L -o README.md https://huggingface.co/datasets/yuzhewu207/wizard/resolve/main/examples/README.md
Example cases
Five ready-to-run cases for the Wan model and three for the LTX-2.5 LoRA, with our outputs. Each folder is a case as the inference code expects it:
| file | content |
|---|---|
first_frame.png |
the first frame |
proxy.mkv |
proxy video (R height, B depth, G geometry tier / character facing, skeletons on top) |
cond.mp4 |
the same proxy in the earlier colour coding; only the character layer is read from it |
tier.npy, gbuf.npz |
geometry tier per cell; depth and cameras |
slots.npz |
image region of each character per frame |
ref_a.png, ref_b.png |
reference images of the characters (slots 2 and 3 in the entry / fight cases; slot 2 = the bull in duel_bull_character) |
prompt.txt |
text prompt (Chinese, as in training) |
output.mp4 |
our result: the three entry / fight cases with the bidirectional model (30 steps, guidance 3, seed 0; the two fight cases were made with an earlier bidirectional model, so a rerun with weights/bidirectional looks close but not identical); the two real-time cases with weights/causal_dmd (2 steps, streaming) |
| case | what happens | weights to run it with |
|---|---|---|
fight_character_strikes_player/ |
two characters enter from the sides; at 1.6 s character 1 (purple panther) strikes the player, who is knocked down and stays down | weights/bidirectional/dit_step35000.safetensors |
fight_player_attacks_character/ |
two characters enter; at 1.6 s the player attacks character 2 (clockwork titan), which flinches from the hit | weights/bidirectional/dit_step35000.safetensors |
entry_two_characters/ |
two characters with the same skeleton and different reference images enter one after the other; only the references tell them apart | weights/bidirectional/dit_step35000.safetensors |
duel_bull_character/ |
8 s duel with a character that is already in the first frame (a golden bull); the player is knocked down and gets up, the bull keeps its identity through the reference image | weights/causal_dmd/ema_step400.safetensors (real time) |
world_edit_stairs/ |
8 s world edit: the player walks through a pine forest and stone steps rise out of the ground one by one in the proxy; the player climbs them | weights/causal_dmd/ema_step400.safetensors (real time) |
Run one with the code from YeyingLab/Wizard (setup in its README):
C=examples/fight_character_strikes_player
FRAMES=121 bash scripts/infer/run_case.sh bidirectional weights/bidirectional/dit_step35000.safetensors $C out.mp4 \
--ref1 $C/ref_a.png --ref2 $C/ref_b.png --ref-slots 2,3 --seed 0
The two real-time cases (241 frames):
C=examples/duel_bull_character
bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step400.safetensors $C out.mp4 --ref1 $C/ref_a.png --ref-slots 2,0
C=examples/world_edit_stairs
bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step400.safetensors $C out.mp4 --ref-slots 0,0
This writes out.mp4 (result next to the proxy) and out_gen.mp4 (result only); out_gen.mp4 should match output.mp4. A bidirectional case takes about 4 minutes on one H200; a real-time case about 2 minutes including model loading.
The first frames of the three entry / fight cases come from the WBench benchmark and their reference images were generated with Qwen-Image; the first frames and the reference image of the two real-time cases were generated by us.
LTX-2.5 cases
Three cases for the LTX-2.5 LoRA (weights/ltx25_lora/, earlier proxy format: pink / purple coarse geometry plus skeletons, no tiers or memory). Each folder has proxy.mp4, first_frame.png, ref_a.png / ref_b.png, slots.npz, prompt.txt, case.json (frames, steps, seed, ref_slots) and output.mp4 (our result, 241 frames at 1024×576). Run them with ltx/run_ltx_case.sh (setup in ltx/README.md; about 8–17 minutes per case on one H200). The first frames and reference images were generated by us. The LoRA and these runs are under the LTX-2.x Community License.
| case | what happens |
|---|---|
ltx_summon_fire_duel/ |
a wizard on a beach summons a fire spirit (ref_a.png) from a circle in the sand and fights it |
ltx_sea_tornado/ |
on a headland the camera turns to the sea; the wizard points his staff and three waterspouts rise from the sea (a geometry edit in the proxy) |
ltx_transform_gargoyle_griffin/ |
in front of a castle a witch summons a gargoyle (ref_a.png), stone steps rise beside her, and the gargoyle turns into a griffin (ref_b.png): its reference switches mid-clip |