Skip to content

Commit

Permalink
Enhance combined video generation API for Mochi and LTX models
Browse files Browse the repository at this point in the history
- Introduced a unified API endpoint for batch processing of video generation requests for both Mochi and LTX models.
- Added detailed docstrings and structured logging for improved clarity and maintainability.
- Implemented Prometheus metrics collection for performance monitoring across both models.
- Created Pydantic models for combined request handling, allowing seamless integration of model-specific parameters.
- Updated logging configuration to support combined API metrics and improved error handling.

These changes aim to streamline the API usage, enhance performance tracking, and improve user experience in video generation services.
  • Loading branch information
VikramxD committed Dec 23, 2024
1 parent 349eed7 commit 07754af
Show file tree
Hide file tree
Showing 5 changed files with 568 additions and 312 deletions.
1 change: 1 addition & 0 deletions api/logs/combined_api.log
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
2024-12-23 14:03:00.055 | INFO | __main__:main:220 - Starting Combined Video Generation Server
2024-12-23 14:58:34.285 | INFO | __main__:main:278 - Starting combined video generation server on port 8000
Loading

0 comments on commit 07754af

Please sign in to comment.