__init__.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Copyright (C) 2025 AIDC-AI
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. # Unless required by applicable law or agreed to in writing, software
  8. # distributed under the License is distributed on an "AS IS" BASIS,
  9. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. # See the License for the specific language governing permissions and
  11. # limitations under the License.
  12. """
  13. Pixelle-Video Services
  14. Core services providing atomic capabilities.
  15. Services:
  16. - LLMService: LLM text generation
  17. - TTSService: Text-to-speech
  18. - MediaService: Media generation (image & video)
  19. - VideoService: Video processing
  20. - FrameProcessor: Frame processing orchestrator
  21. - PersistenceService: Task metadata and storyboard persistence
  22. - HistoryManager: History management business logic
  23. - ComfyBaseService: Base class for ComfyUI-based services
  24. """
  25. from pixelle_video.services.comfy_base_service import ComfyBaseService
  26. from pixelle_video.services.llm_service import LLMService
  27. from pixelle_video.services.tts_service import TTSService
  28. from pixelle_video.services.media import MediaService
  29. from pixelle_video.services.video import VideoService
  30. from pixelle_video.services.frame_processor import FrameProcessor
  31. from pixelle_video.services.persistence import PersistenceService
  32. from pixelle_video.services.history_manager import HistoryManager
  33. # Backward compatibility alias
  34. ImageService = MediaService
  35. __all__ = [
  36. "ComfyBaseService",
  37. "LLMService",
  38. "TTSService",
  39. "MediaService",
  40. "ImageService", # Backward compatibility
  41. "VideoService",
  42. "FrameProcessor",
  43. "PersistenceService",
  44. "HistoryManager",
  45. ]