diff --git a/app/plugins/replicate.py b/app/plugins/replicate.py index 086753e..e5c6bd1 100644 --- a/app/plugins/replicate.py +++ b/app/plugins/replicate.py @@ -111,7 +111,7 @@ def txt2vid( interpolation_texts = "|".join(interpolation_texts) config = { - "mode": "comfy_txt2vid", + "mode": "txt2vid", "interpolation_texts": interpolation_texts, "width": width/2, "height": height/2, diff --git a/app/routers/story.py b/app/routers/story.py index f89e2bc..869a7ba 100644 --- a/app/routers/story.py +++ b/app/routers/story.py @@ -199,7 +199,7 @@ def cinema(request: CinemaRequest): ) audio_url = s3.upload(audio_bytes, "mp3") video_url = replicate.txt2vid( - interpolation_texts=[clip['image_description']], + interpolation_texts=[clip['image_description']], width=width, height=height, ) @@ -219,7 +219,7 @@ def cinema(request: CinemaRequest): else: output = replicate.txt2vid( - text_input=clip['image_description'], + interpolation_texts=[clip['image_description']], width=width, height=height, )