抽象pipeline逻辑

This commit is contained in:
puke
2025-11-04 11:23:46 +08:00
parent b475090880
commit 22c46cf2c5
9 changed files with 1345 additions and 13 deletions

View File

@@ -1,7 +1,20 @@
"""
Pixelle-Video Services
Unified service layer providing simplified access to capabilities.
Core services providing atomic capabilities.
Core Services (Active):
- LLMService: LLM text generation
- TTSService: Text-to-speech
- ImageService: Image generation
- VideoService: Video processing
Legacy Services (Kept for backward compatibility):
- NarrationGeneratorService: Use pipelines + utils.content_generators instead
- ImagePromptGeneratorService: Use pipelines + utils.content_generators instead
- TitleGeneratorService: Use pipelines + utils.content_generators instead
- FrameProcessor: Use pipelines instead
- VideoGeneratorService: Use pipelines.StandardPipeline instead
"""
from pixelle_video.services.comfy_base_service import ComfyBaseService
@@ -9,6 +22,8 @@ from pixelle_video.services.llm_service import LLMService
from pixelle_video.services.tts_service import TTSService
from pixelle_video.services.image import ImageService
from pixelle_video.services.video import VideoService
# Legacy services (kept for backward compatibility)
from pixelle_video.services.narration_generator import NarrationGeneratorService
from pixelle_video.services.image_prompt_generator import ImagePromptGeneratorService
from pixelle_video.services.title_generator import TitleGeneratorService
@@ -21,6 +36,7 @@ __all__ = [
"TTSService",
"ImageService",
"VideoService",
# Legacy (backward compatibility)
"NarrationGeneratorService",
"ImagePromptGeneratorService",
"TitleGeneratorService",