返回 Pixelle-Video
__init__.py
根目录 / pixelle_video / services / __init__.py
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 """
14 Pixelle-Video Services
15
16 Core services providing atomic capabilities.
17
18 Services:
19 - LLMService: LLM text generation
20 - TTSService: Text-to-speech
21 - MediaService: Media generation (image & video)
22 - VideoService: Video processing
23 - FrameProcessor: Frame processing orchestrator
24 - PersistenceService: Task metadata and storyboard persistence
25 - HistoryManager: History management business logic
26 - ComfyBaseService: Base class for ComfyUI-based services
27 """
28
29 from pixelle_video.services.comfy_base_service import ComfyBaseService
30 from pixelle_video.services.llm_service import LLMService
31 from pixelle_video.services.tts_service import TTSService
32 from pixelle_video.services.media import MediaService
33 from pixelle_video.services.video import VideoService
34 from pixelle_video.services.frame_processor import FrameProcessor
35 from pixelle_video.services.persistence import PersistenceService
36 from pixelle_video.services.history_manager import HistoryManager
37
38 # Backward compatibility alias
39 ImageService = MediaService
40
41 __all__ = [
42 "ComfyBaseService",
43 "LLMService",
44 "TTSService",
45 "MediaService",
46 "ImageService", # Backward compatibility
47 "VideoService",
48 "FrameProcessor",
49 "PersistenceService",
50 "HistoryManager",
51 ]
52
53
53 lines PYTHON