Description
Allow users to queue multiple videos for processing/analysis in one request instead of doing them one-by-one.
Acceptance Criteria
Implementation Details
- Request format:
{
"videos": ["video_id_1", "video_id_2"],
"webhook_url": "https://example.com/callback",
"priority": "normal"
}
- Stores batch status in database/cache
- Uses Celery for async job management
- Returns job IDs for tracking
Files to Modify
LiveEditBackend/app.py - add batch endpoints
LiveEditBackend/tasks.py (create) - celery tasks
- Database migrations for batch table
Difficulty: Hard
Estimated time: 6-7 hours
Description
Allow users to queue multiple videos for processing/analysis in one request instead of doing them one-by-one.
Acceptance Criteria
/api/batch/analyze/api/batch/{batch_id}/progress/api/batch/{batch_id}/resultsImplementation Details
{ "videos": ["video_id_1", "video_id_2"], "webhook_url": "https://example.com/callback", "priority": "normal" }Files to Modify
LiveEditBackend/app.py- add batch endpointsLiveEditBackend/tasks.py(create) - celery tasksDifficulty: Hard
Estimated time: 6-7 hours