We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef19911 commit ace2ee9Copy full SHA for ace2ee9
1 file changed
scripts/ltx2_test_full_pipeline_i2v.py
@@ -6,6 +6,7 @@
6
7
from diffusers.pipelines.ltx2 import LTX2ImageToVideoPipeline
8
from diffusers.pipelines.ltx2.export_utils import encode_video
9
+from diffusers.utils import load_image
10
11
12
def parse_args():
@@ -67,8 +68,10 @@ def main(args):
67
68
else:
69
pipeline.to(device=args.device)
70
71
+ image = load_image(args.image_path)
72
+
73
video, audio = pipeline(
- image=Image.open(args.image_path),
74
+ image=image,
75
prompt=args.prompt,
76
negative_prompt=args.negative_prompt,
77
height=args.height,
0 commit comments