G-U-N / AnimateLCM

[SIGGRAPH ASIA 2024 TCS] AnimateLCM: Computation-Efficient Personalized Style Video Generation without Personalized Video Data
https://animatelcm.github.io
MIT License
612 stars 46 forks source link

How to generate long video? #18

Open betterze opened 7 months ago

betterze commented 7 months ago

Dear AnimateLCM team,

Thank you for your great work, I really like it.

Could you tell me how to generate a long video (>10s) as you show on the readme page? I try to increate the num_frames from 16 to 32, the results degrade a lot.

output = pipe(
    prompt="a young woman walking on street, 4k, high resolution",
    negative_prompt="bad quality, worse quality, low resolution",
    num_frames=32, #16
    guidance_scale=2.0,
    num_inference_steps=6,
    generator=torch.Generator("cpu").manual_seed(0),
)
frames = output.frames[0]
export_to_gif(frames, "animatelcm.gif")

Thank you for your help.

Best Wishes, Zongze

anthonyyuan commented 7 months ago

me too