Skip to content
Video

SANA-Video 2.0 Style V2V LoRA c20

20 стилей для видео за 3 вызова трансформера

2 min read

LoRA rank 32 для SANA-Video 2.0 5B 720p 4-step от Josh Hughes. Перекрашивает короткое видео в один из 20 обученных стилей, сохраняя движение источника: на вход подаются исходное видео, стилизованный первый кадр и промпт. Лицензия Apache-2.0.

Ключевые особенности

  • 20 стилей: storybook, pixel art, anime, stained glass, oil paint, synthwave и другие.
  • Держит стиль по всему клипу: 191/200 на held-out restyles по CLIP против 95/200 без style-тренировки.
  • Два расписания по 3 вызова: s2x рекомендуется для 17 стилей, stage 1 — для puppet, blueprint и origami.
  • Это re-render, а не фильтр: лица и мелкие детали могут меняться; объектные правки вроде «добавь шляпу» не поддерживаются.
  • Также умеет picture-to-video, унаследовано от f3.

Пример

import sys; sys.path.insert(0, 'eval')
import sana_video2_lora as L, json
looks = json.load(open('eval/looks.json'))
model = L.load_model('SANA_Video_2.0_5B_720p_4step.pth', device='cuda')
L.apply_lora(model, 'sana-video2-5b-4step-style-v2v-c20.safetensors')
src = L.read_video('source.mp4')
first = L.read_picture('source_first_frame_styled.png')
# schedule: looks['stainedglass']['schedule']
ПодробнееБаза: SANA-Video 2.0 5B 720p 4-step (4.47B, DMD student), LoRA rank 32 / alpha 32, 32 млн параметров, 128 МБ float32.
CLIP style-hold: 191/200 против 95/200 без style-тренировки; с s2x — 171/200 против 30/200.
Движение: direction agreement 0.958 у s2x, end-point error 0.426 px/frame.
Обучение только на проверенных парах, сгенерированных самой SANA-Video 2.0; реальные видео и другие видеомодели не использовались.
Ограничения: объектные правки не работают, пиксель-точное сохранение источника не гарантируется, лица и мелкие детали могут меняться.
Видео-примеры
Discuss Telegram 0

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # JoshHughes/sana-video2-style-v2v-lora
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download JoshHughes/sana-video2-style-v2v-lora --local-dir ~/models/sana-video2-style-v2v-lora
    # The model is in ~/models. How to run it is in the model card (link above).
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • SageAttention 3v2.2.0from October 28, 2025

    even faster on RTX 50 / Blackwell

    FP4 attention for Blackwell. Faster than SageAttention 2, but the authors suggest v2 when accuracy matters.

    How to enable: Build from the sageattention3_blackwell folder of the repo; in ComfyUI via KJNodes.

    Earlier generations (2)
    • SageAttention 2++ — Quantised (INT8/FP8) attention with no visible quality loss. The main speed-up for image and video generation.
    • SageAttention 1 — First version: INT8 for Q·K. Still works, but 2++ is faster and more accurate.
  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (3)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
    • xFormers — The older way to speed up attention, works almost everywhere. Sage or Flash are faster where available.
  • cache-dit (DBCache)v1.5.6from November 20, 2026new release

    1.5–3× at nearly the same quality

    Reuses block outputs between diffusion steps. Supports most DiT models.

    How to enable: pip install cache-dit; one line cache_dit.enable_cache(pipe) for diffusers.

    Earlier generations (2)
    • MagCache — Skips steps by magnitude of change. More accurate than TeaCache, no calibration.
    • TeaCache — The first popular diffusion step cache. Works, newer methods are more accurate.
  • LightX2V step distill0.6.1from November 9, 2026new release

    5–10× fewer steps

    Distilled LoRAs and an engine: video in 4–8 steps instead of 30–50.

    How to enable: Load their step-distill LoRA, CFG 1.0, 4–8 steps.

  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of sana-video2-style-v2v-lora (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

JoshHughes/sana-video2-style-v2v-lora
Author
JoshHughes
Category
Video
Released
Posted

On NeyroLearn

Hugging Face

00

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments