优化api接口逻辑

This commit is contained in:
puke
2025-11-20 14:28:23 +08:00
parent 68e3eedcd2
commit e2eac8798c
3 changed files with 6 additions and 7 deletions

View File

@@ -100,8 +100,8 @@ async def list_image_workflows(pixelle_video: PixelleVideoDep):
```
"""
try:
# Get all workflows from image service
all_workflows = pixelle_video.image.list_workflows()
# Get all workflows from media service (image generation is handled by media service)
all_workflows = pixelle_video.media.list_workflows()
# Filter to image workflows only (filename starts with "image_")
image_workflows = [