Add resolution parameter to video generation requests and implement video status polling endpoint

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-27 19:07:27 +02:00
parent 3b807c0f75
commit 98d59de2d1
4 changed files with 33 additions and 0 deletions
+2
View File
@@ -100,6 +100,7 @@ async def generate_video(
prompt=body.prompt,
duration_seconds=body.duration_seconds,
aspect_ratio=body.aspect_ratio,
resolution=body.resolution,
)
except Exception as exc:
raise HTTPException(
@@ -131,6 +132,7 @@ async def generate_video_from_image(
prompt=body.prompt,
duration_seconds=body.duration_seconds,
aspect_ratio=body.aspect_ratio,
resolution=body.resolution,
)
except Exception as exc:
raise HTTPException(