Views
No views yet
1sglang serve \
2 --model-path /path/TurboWan2.1-T2V-1.3B-Diffusers \
3 --dit-cpu-offload false \
4 --text-encoder-cpu-offload false \
5 --image-encoder-cpu-offload false \
6 --vae-cpu-offload false \
7 --pin-cpu-memory false \
8 --num-gpus 11import requests
2prompt="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."
3headers = {
4 "Content-Type": "application/json",
5}
6requests.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,})