Coverage for apps/streamanimate/animate_prompts.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-08-09 04:47 +0000

1"""Prompts for image and video generation in StreamAnimate.""" 

2 

3# Image generation 

4IMG_PROMPT_BASE = """ 

5Highly photorealistic, ultra-detailed, cinematic photograph. 

6Sharp focus, natural lighting, high dynamic range. 

7""".strip() 

8 

9IMG_PROMPT = """ 

10A vivid, visually striking scene ready to be brought to life through animation. 

11Rich colors, expressive subject, clear composition. 

12""".strip() 

13IMG_PROMPT += " " + IMG_PROMPT_BASE 

14 

15IMG_NEG_PROMPT = """ 

16blurry, low quality, overexposed, underexposed, noisy, grainy, out of focus, 

17cartoon, anime, sketch, low resolution, dull, flat lighting 

18""".strip() 

19 

20# Video / animation generation 

21VIDEO_PROMPT = """ 

22Smooth, natural animation with fluid motion. 

23Subtle organic movement. Stable framing, no camera shake. 

24Consistent lighting throughout. Lifelike and expressive. 

25""".strip() 

26 

27VIDEO_NEG_PROMPT = """ 

28camera movement, shaky cam, zoom, pan, tilt, jitter, flicker, 

29color shift, lighting change, abrupt cut, freeze frame, stutter 

30""".strip()