Warp-as-History

Camera-controlled image-to-video: warp the still along a camera path, then refine. Dedicated env; official 33-frame / 16 fps demo is GPU-verified.
Warp-as-History (WAH) is a camera-controlled image-to-video method. The paper is Warp-as-History: Generalizable Camera-Controlled Video Generation from One Training Video (arXiv 2605.15182), with a project page at yyfz.github.io/warp-as-history and code at yyfz/Warp-as-History (Apache-2.0). The paper lists Shanghai Jiao Tong University and Shanghai AI Laboratory. Aliases wah, warp_as_history, and yyfz233/warp-as-history resolve here.


At inference time the still is geometrically warped along the requested camera path; those warps are treated as pseudo-history and fed through a frozen Helios-Distilled video model plus a task LoRA. Visible-token selection drops warp regions with no valid source. WorldFoundry bundles the official runtime. Validated on GPU with the Helios-Distilled and LoRA weights: it reproduces the official BMX / graffiti warp-video demo.
Build your run
WarpAsHistoryPipelineworldfoundry.pipelines.warp_as_history.pipeline_warp_as_historyofficial-demo-videoworldfoundry.pipelinewf run \
warp-as-history \
--pipeline.task-profile official-demo-video \
--jsonWhat it is for
Steer camera motion from one image. Required prompt and image; optional video; actions recorded as warp_video, camera_path. Artifact: warp-as-history.mp4 via WarpAsHistoryPipeline. The verified recipe is --pipeline.task-profile official-demo-video.
The official demo contract pins 33 frames, 16 fps, 384×640, seed 42. Score camera follow on CameraBench.
Stage three external caches: BestWishYsh/Helios-Distilled (base), yyfz233/warp-as-history (visible_lora_state_step1000.safetensors), and yyfz233/Pi3X (model.safetensors) when you render warps from camera poses. Inject them with model_path / lora_path / pi3x_ckpt_path or WAH_HELIOS_DISTILLED_PATH / WAH_LORA_PATH / WAH_PI3X_CKPT_PATH. Pi3X is optional unless you start from poses instead of a ready warp video.
Camera-pose warping uses WorldFoundry’s in-tree Pi3X model and geometry helpers; only the checkpoint is staged externally.
Runtime contract
WorldFoundry calls worldfoundry.synthesis.visual_generation.warp_as_history.warp_as_history_runtime.warp_as_history.infer in process through its package imports.
Dedicated environment only: warp-as-history pins Python 3.10, CUDA 12.1, torch==2.5.0. Do not run this in the unified env. Camera paths far from the input viewpoint degrade the warp history and the clip.
Running in WorldFoundry
Launch wf run warp-as-history --pipeline.task-profile official-demo-video after bash scripts/setup/model_env_install.sh --model warp-as-history.


