1. 02 Jul, 2025 4 commits
  2. 01 Jul, 2025 7 commits
  3. 30 Jun, 2025 3 commits
  4. 29 Jun, 2025 3 commits
  5. 26 Jun, 2025 2 commits
  6. 24 Jun, 2025 1 commit
  7. 23 Jun, 2025 5 commits
  8. 16 Jun, 2025 5 commits
  9. 12 Jun, 2025 2 commits
  10. 11 Jun, 2025 4 commits
  11. 10 Jun, 2025 2 commits
  12. 09 Jun, 2025 2 commits
    • PengGao's avatar
      Implement distributed inference API server with FastAPI (#60) · a94695e5
      PengGao authored
      * Implement distributed inference API server with FastAPI
      
      - Added a new file `api_server_dist.py` to handle video generation tasks using distributed inference.
      - Introduced endpoints for task submission, status checking, and result retrieval.
      - Implemented image downloading and task management with error handling.
      - Enhanced `infer.py` to ensure proper initialization of distributed processes.
      - Created a shell script `start_api_with_dist_inference.sh` for easy server startup with environment setup.
      
      This commit establishes a robust framework for managing video generation tasks in a distributed manner.
      
      * Enhance file download endpoint with path traversal protection and error handling
      
      * style: format
      
      * refactor: Enhance video generation functionality with task interruption support
      
      * feat: Add image upload and video generation endpoint with unique task handling
      
      - Introduced a new endpoint `/v1/local/video/generate_form` for video generation that accepts image uploads.
      - Implemented unique filename generation for uploaded images to prevent conflicts.
      - Enhanced directory management for input and output paths.
      - Improved file download response with detailed status and size information.
      - Added error handling for distributed inference processes and graceful shutdown procedures.
      a94695e5
    • gushiqiao's avatar
      Merge pull request #63 from ModelTC/dev_fix · a5535e49
      gushiqiao authored
      Fix
      a5535e49