본문으로 건너뛰기
AI NEWS JOURNAL
ReplicateAI NEWS / JOURNAL

Stylized video with Wan2.1

One of the most fun ways to use Wan2.1 is video style transfer. Learn how here.

번역 서비스가 일시 중지되어 원문을 표시합니다.

Replicate shridharathi Wan 2.1 is a fast, open-source model for generating videos from text or images. A particularly fun way to use Wan is for video style transfer. Whether you want to make dreamy Studio Ghibli-style loops, gritty cyberpunk trailers, or something entirely your own, Wan makes it easy to create stylized videos. You can start right away with a premade style, or train a custom one in minutes using your own images. Your browser does not support the video tag. Replicate also supports fast inference with LoRAs on Wan 2.1, so you can apply styles to your videos with shorter wait times and no extra setup. Here’s how you can get started. Use a premade style You can run premade styles on top of these two text-to-video Wan 2.1 models: • Wan 2.1 text to video, 480p • Wan 2.1 text to video, 720p To use a style, type your prompt, set fast_mode to “Fast”, and add a link to your weights in the lora_weights input. This link can be any arbitrary safetensors URL from the internet — from HuggingFace, CivitAI, or any other platform. The lora_weights field even accepts finetuned Wan models you find on Replicate. Here’s an example with fofr/wan-14b-cyberpunk-realistic using Replicate’s Python client: import Replicate from "replicate"; const replicate = new Replicate(); const model = "wavespeedai/wan-2.1-t2v-480p"; const input = { prompt: "driving a car very fast through a city at night", fast_mode: "Fast", lora_weights: "fofr/wan-14b-cyberpunk-realistic", }; const output = await replicate.run(model, { input }); console.log(output.url()); Here are a few premade styles you can try out: Van Gogh Black Sclera Eyes Rainbow Prism Lighting Motion Blur Flat Color Style Create Your Own Style On Replicate, you can also train Wan on photos that you curate to create your own stylized videos. Here’s how using ostris/wan-lora-trainer. Pick a destination model (or type a new name to create one). Prepare your training images. Make a folder with at least 25 images that reflect your style, then zip the folder. Upload the zip file to the input_images field. Choose a trigger_word — this is what you’ll type in your prompt to activate the style. Keep autocaption turned on. You can optionally add an autocaption_prefix or autocaption_suffix to guide the style more. Leave the other settings as-is (or tweak them if you want), then click Run. In a few minutes, you’ll have your own version of Wan, trained on your style and ready to generate videos. Whether you use a premade style or train your own, Wan 2.1 makes it simple to create stylized video that feels uniquely yours. Just pick a style, write a prompt, and hit run. Share what you make by tagging us on X! We’re reposting our favorites. Your browser does not support the video tag.

자료 출처

원문 읽기 ↗

관련 주제

← 전체 소식 이어 읽기