lasagnastack.models.reel_pipeline.enhance¶
lasagnastack.models.reel_pipeline.enhance
¶
CaptionEffect
¶
Bases: BaseModel
Visual styling for a single caption or overlay text segment.
animation_in
class-attribute
instance-attribute
¶
Entrance animation key: fade_in | slide_up | typewriter | pop | bounce.
animation_out
class-attribute
instance-attribute
¶
Exit animation key: fade_out | slide_down | blur.
bold
class-attribute
instance-attribute
¶
True makes text heavier; recommended for hook and callout captions.
border_color
class-attribute
instance-attribute
¶
Hex stroke/outline colour, e.g. '#000000'. Omit for no border.
border_width
class-attribute
instance-attribute
¶
Stroke width 0–100. Required when border_color is set; typical range 30–50.
font
class-attribute
instance-attribute
¶
Font key. Available values: bebas_neue | anton | cinzel | oswald | montserrat | poppins | kaushan | brush | amatic | permanent_marker | playfair | nunito. Omit to use the CapCut default system font.
italic
class-attribute
instance-attribute
¶
Sparingly — best for quotes or poetic tone.
size
class-attribute
instance-attribute
¶
Font size in CapCut units (4–20). Larger for short punchy captions; smaller for subtitle text.
CutStyle
¶
Bases: BaseModel
Styling directives for a single cut.
caption_effect
class-attribute
instance-attribute
¶
caption_effect: CaptionEffect | None = None
Text styling for this cut's caption. Ignored if the cut has no caption.
transition_out
class-attribute
instance-attribute
¶
transition_out: TransitionSpec | None = None
Override the transition on this cut's outgoing edge. Falls back to Cut.transition_out if absent.
OverlayStyle
¶
Bases: BaseModel
Styling directives for a single timeline overlay.
caption_effect
instance-attribute
¶
caption_effect: CaptionEffect
Text styling applied to this overlay.
ReelStyleSheet
¶
Bases: BaseModel
Stage 5 output: visual styling and animation layer for the approved cut list.
cut_styles
instance-attribute
¶
cut_styles: list[CutStyle]
One entry per cut. Must cover every cut_order present in the CutList.
overlay_styles
class-attribute
instance-attribute
¶
overlay_styles: list[OverlayStyle] = []
Styling for timeline overlays. Include one entry per overlay that needs non-default styling.