File size: 562 Bytes
6835659 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | from dataclasses import dataclass
from typing import List, Literal
SceneSetting = Literal["urban", "natural", "indoor"]
TimeOfDay = Literal["day", "night", "sunset"]
Weather = Literal["clear", "rain", "fog", "wind"]
Mood = Literal["calm", "tense", "futuristic", "melancholic"]
Motion = Literal["static", "slow", "dynamic"]
@dataclass
class Scene:
setting: SceneSetting
time: TimeOfDay
weather: Weather
@dataclass
class SemanticPlan:
scene: Scene
visual_elements: List[str]
audio_elements: List[str]
mood: Mood
motion: Motion |