Files
slahiri-ComfyUI-AI-Photogra…/core/compose/__init__.py
T
slahiriandClaude Opus 4.5 7f1186d412 feat: add prompt composition pipeline and tokenization spec
New Features:
- SID_PromptCompose node with Standard and Enhance with AI modes
- SID_PromptSynthesis node for VLM-based prompt generation
- SID_ImageAnalysis node for comprehensive image analysis
- Text LLM support (Qwen2.5 0.5B-7B) for prompt enhancement
- PixAI tagger integration

Documentation:
- docs/image_tokenization_spec.md - Full technical specification
  for tokenization → classification → assembly pipeline
- docs/implementation_plan.md - 8-phase implementation roadmap
- docs/SID_PromptCompose.md - Node usage documentation

Infrastructure:
- core/compose/ module with base, pipeline, standard, llm generators
- core/log.py centralized logging
- Config files for Qwen2.5 text models (YAML)
- Web assets for ComfyUI integration

This commit establishes the foundation for rewriting the compose
pipeline based on the tokenization specification.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 02:33:17 +05:30

27 lines
501 B
Python

"""Prompt composition module."""
from .base import (
ComposeMode,
ComposeConfig,
ComposeResult,
ComposeAnalytics,
StyleConfig,
)
from .standard import StandardGenerator
from .llm import LLMGenerator
from .pipeline import ComposePipeline
__all__ = [
# Enums and configs
"ComposeMode",
"ComposeConfig",
"ComposeResult",
"ComposeAnalytics",
"StyleConfig",
# Generators
"StandardGenerator",
"LLMGenerator",
# Pipeline
"ComposePipeline",
]