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:
1 parent
3b807c0f75
commit
98d59de2d1
4 files changed
+33
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user