fix: Specify runninghub/image_flux.json workflow explicitly
This commit is contained in:
@@ -456,9 +456,11 @@ async def regenerate_frame_image(
|
|||||||
pixelle_video = await get_pixelle_video()
|
pixelle_video = await get_pixelle_video()
|
||||||
|
|
||||||
# Use MediaService to generate image via RunningHub workflow
|
# Use MediaService to generate image via RunningHub workflow
|
||||||
|
# Use image_flux workflow by default, or get from config
|
||||||
result = await pixelle_video.image(
|
result = await pixelle_video.image(
|
||||||
prompt=prompt,
|
prompt=prompt,
|
||||||
media_type="image",
|
media_type="image",
|
||||||
|
workflow="runninghub/image_flux.json",
|
||||||
)
|
)
|
||||||
|
|
||||||
if result and result.url:
|
if result and result.url:
|
||||||
|
|||||||
Reference in New Issue
Block a user