IPostYellow/TurboWan2.1-T2V-1.3B-Diffusers
061k
convert TurboWan2.1-T2V-1.3B-480P(https://modelscope.cn/models/TurboDiffusion/TurboWan2.1-T2V-1.3B-480P/summary) to TurboWan2.1-T2V-1.3B-Diffusers<br> convert script https://github.com/IPostYellow/TurboWantoDiffusers/blob/main/convertturbowanto_diffusers.py
To use in sglang<br> bash server:
sglang serve \
--model-path /path/TurboWan2.1-T2V-1.3B-Diffusers \
--dit-cpu-offload false \
--text-encoder-cpu-offload false \
--image-encoder-cpu-offload false \
--vae-cpu-offload false \
--pin-cpu-memory false \
--num-gpus 1send request:
import requests
prompt="A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red dress, and black boots, and carries a black purse. She wears sunglasses and red lipstick. She walks confidently and casually. The street is damp and reflective, creating a mirror effect of the colorful lights. Many pedestrians walk about."
headers = {
"Content-Type": "application/json",
}
requests.post("http://localhost:3000/v1/videos",headers=headers,json={'prompt': prompt, 'size': '832x480','num_inference_steps':4,'fps':16,'num_frames':81,'negative_prompt':None,'seed':0,})