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
This commit is contained in:
ajaysi
2026-03-31 18:16:19 +05:30
parent bf6cdf1109
commit 92bcd27004

View File

@@ -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