33 lines
701 B
Python
33 lines
701 B
Python
"""DB 잡 레코드의 진행도로 쓰이는 파이프라인 단계 상태
|
|
실행 순서대로 선언됨
|
|
마지막 COMPLETED는 종료 표시
|
|
"""
|
|
from enum import StrEnum
|
|
|
|
|
|
class PosterAliveState(StrEnum):
|
|
DETECT = "detect"
|
|
NARRATION_TEXT = "narration_text"
|
|
MOTION = "motion"
|
|
TTS = "tts"
|
|
BGM = "bgm"
|
|
I2V = "i2v"
|
|
RENDER = "render"
|
|
COMPLETED = "completed"
|
|
|
|
|
|
class PlayreelState(StrEnum):
|
|
FETCH = "fetch"
|
|
SPLIT = "split"
|
|
UPSCALE = "upscale"
|
|
ANALYZE = "analyze"
|
|
MOTION = "motion"
|
|
NARRATION = "narration"
|
|
TTS = "tts"
|
|
BGM = "bgm"
|
|
I2V = "i2v"
|
|
HYBRID = "hybrid"
|
|
COMPOSE = "compose"
|
|
REVIEW = "review"
|
|
COMPLETED = "completed"
|