test3 / app.py
AiCoderv2's picture
Create app.py
74ce621 verified
raw
history blame contribute delete
230 Bytes
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-1.3B-Diffusers")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]