From 92bcd27004485d53bf2bf0f9b78b204e3995cc69 Mon Sep 17 00:00:00 2001 From: ajaysi Date: Tue, 31 Mar 2026 18:16:19 +0530 Subject: [PATCH] Fix generate_image() call in podcast analysis handler Use options dict instead of direct width/height params to match the generate_image() function signature in main_image_generation.py --- backend/api/podcast/handlers/analysis.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/api/podcast/handlers/analysis.py b/backend/api/podcast/handlers/analysis.py index 90900619..b1800ec4 100644 --- a/backend/api/podcast/handlers/analysis.py +++ b/backend/api/podcast/handlers/analysis.py @@ -197,8 +197,7 @@ async def analyze_podcast_idea( image_result = generate_image( prompt=final_avatar_prompt, user_id=user_id, - width=1024, - height=1024 + options={"width": 1024, "height": 1024} ) # 4. Save to disk and library