1. 22 Sep, 2025 1 commit
  2. 15 Sep, 2025 1 commit
  3. 04 Sep, 2025 1 commit
  4. 29 Aug, 2025 1 commit
  5. 27 Aug, 2025 1 commit
    • sandy's avatar
      Audio/r2v 5b deb (#251) · d91e8d68
      sandy authored
      
      
      * [Feat] audio driven for wan2.2-r2v-5b
      
      * refactor: reduce vae args dim &&  timestep init
      
      * update audio pre_infer
      
      * update runner
      
      * update scripts
      
      * [Fix] move ref timestep padding to Scheduler
      
      * fix wan i2v
      
      ---------
      Co-authored-by: default avatarhelloyongyang <yongyang1030@163.com>
      d91e8d68
  6. 26 Aug, 2025 1 commit
  7. 21 Aug, 2025 1 commit
  8. 20 Aug, 2025 1 commit
  9. 18 Aug, 2025 3 commits
  10. 14 Aug, 2025 5 commits
  11. 05 Aug, 2025 6 commits
  12. 04 Aug, 2025 1 commit
  13. 03 Aug, 2025 1 commit
  14. 31 Jul, 2025 1 commit
  15. 30 Jul, 2025 3 commits
  16. 29 Jul, 2025 1 commit
  17. 17 Jul, 2025 1 commit
  18. 16 Jul, 2025 3 commits
  19. 09 Jul, 2025 1 commit
    • PengGao's avatar
      Refactor/api (#94) · 398b598a
      PengGao authored
      * fix: correct frequency computation in WanTransformerInfer
      
      * refactor: restructure API server and distributed inference services
      
      - Removed the old api_server_dist.py file and integrated its functionality into a new modular structure.
      - Created a new ApiServer class to handle API routes and services.
      - Introduced DistributedInferenceService and FileService for better separation of concerns.
      - Updated the main entry point to initialize and run the new API server with distributed inference capabilities.
      - Added schema definitions for task requests and responses to improve data handling.
      - Enhanced error handling and logging throughout the services.
      
      * refactor: enhance API structure and file handling in server
      
      - Introduced APIRouter for modular route management in the ApiServer class.
      - Updated task creation and file download endpoints to improve clarity and functionality.
      - Implemented a new method for streaming file responses with proper MIME type handling.
      - Refactored task request schema to auto-generate task IDs and handle optional video save paths.
      - Improved error handling and logging for better debugging and user feedback.
      
      * feat: add configurable parameters for video generation
      
      - Introduced new parameters: infer_steps, target_video_length, and seed to the API and task request schema.
      - Updated DefaultRunner and VideoGenerationService to handle the new parameters for enhanced video generation control.
      - Improved default values for parameters to ensure consistent behavior.
      
      * refactor: enhance profiling context for async support
      
      * refactor: improve signal handling in API server
      
      * feat: enhance video generation capabilities with audio support
      
      * refactor: improve subprocess call for audio-video merging in wan_audio_runner.py
      
      * refactor: enhance API server argument parsing and improve code readability
      
      * refactor: enhance logging and improve code comments for clarity
      
      * refactor: update response model for task listing endpoint to return a dictionary
      
      * docs: update API endpoints and improve documentation clarity
      
      * refactor: update API endpoints in scripts for task management and remove unused code
      
      * fix: pre-commit
      398b598a
  20. 03 Jul, 2025 3 commits
  21. 12 Jun, 2025 1 commit
  22. 11 Jun, 2025 1 commit
  23. 09 Jun, 2025 1 commit
    • 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