Buckets:
| STYLES = { | |
| "Natural": "natural photography, realistic lighting", | |
| "Studio": "studio portrait photography, soft key light, clean background", | |
| "Cinematic": "cinematic photography, dramatic lighting, rich colors", | |
| } | |
| def make_prompt(scene, style): | |
| if not isinstance(scene, str) or not 8 <= len(scene.strip()) <= 500: | |
| raise ValueError("Describe a scene using 8–500 characters.") | |
| if style not in STYLES: | |
| raise ValueError("Select one of the available looks.") | |
| return f"photo of sumithreddy person, {scene.strip()}, {STYLES[style]}" | |
Xet Storage Details
- Size:
- 568 Bytes
- Xet hash:
- 1e1dd8b4baa45d155d6b0c27b65acab0a0460c576049d44c5c0e90a0508b8b31
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.