feat: enhance video generation responses with database ID and update dashboard to display pending and completed videos

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 16:39:46 +02:00
parent 8e36f48527
commit cc96d26b08
4 changed files with 92 additions and 32 deletions
+2 -1
View File
@@ -91,7 +91,8 @@ class VideoFromImageRequest(BaseModel):
class VideoResponse(BaseModel):
id: str
id: str # This is the job_id from the provider
db_id: str | None = None # This is the UUID from our generated_videos table
model: str
status: str # "queued" | "processing" | "completed" | "failed"
polling_url: str | None = None