feat: Switch to flux2 workflow for image regeneration
This commit is contained in:
@@ -505,12 +505,12 @@ async def regenerate_frame_image(
|
||||
logger.info(f"[REGEN-IMG] Final prompt: {final_prompt[:120]}...")
|
||||
|
||||
# Use MediaService to generate image via RunningHub workflow
|
||||
# Use image_flux workflow by default, or get from config
|
||||
logger.debug(f"[REGEN-IMG] Calling pixelle_video.image with workflow=runninghub/image_flux.json")
|
||||
# Use image_flux2 workflow (FLUX.1 Kontext model for better consistency)
|
||||
logger.debug(f"[REGEN-IMG] Calling pixelle_video.image with workflow=runninghub/image_flux2.json")
|
||||
result = await pixelle_video.image(
|
||||
prompt=final_prompt,
|
||||
media_type="image",
|
||||
workflow="runninghub/image_flux.json",
|
||||
workflow="runninghub/image_flux2.json",
|
||||
)
|
||||
|
||||
if result and result.url:
|
||||
|
||||
Reference in New Issue
Block a user