改造image自定义逻辑

This commit is contained in:
puke
2025-10-26 13:12:21 +08:00
committed by puke
parent 0bce687e0c
commit a9d793749f
7 changed files with 337 additions and 188 deletions

View File

@@ -140,9 +140,8 @@ class StoryboardProcessorService:
"""Step 2: Generate image using ComfyKit"""
logger.debug(f" 2/4: Generating image for frame {frame.index}...")
# Call Image generation
# Call Image generation (using default preset)
image_url = await self.core.image(
workflow="workflows/t2i_by_local_flux.json", # Use existing workflow
prompt=frame.image_prompt,
width=config.image_width,
height=config.image_height