File size: 2,167 Bytes
e037628
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
import os
from dotenv import load_dotenv

load_dotenv()

GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY")
TOGETHER_API_KEY = os.environ.get("TOGETHER_API_KEY")
BFL_API_KEY = os.environ.get("BFL_API_KEY")
IMAGE_STYLE_INFO = {
    "Comic Book Style": "Professional comic book art with bold outlines, vibrant colors, and dynamic action poses. Perfect for multi-panel consistency with uniform character designs across panels.",
    "Manga Style": "Japanese manga aesthetic with distinctive toning, speed lines, and expressive character eyes. Excellent consistency for sequential storytelling with consistent character designs.",
    "Cartoon Style": "Animated cartoon style with exaggerated features, bright colors, and simplified designs. Ideal for maintaining character consistency across multiple panels in one image.",
    "Photorealistic": "Highly detailed photographic quality with accurate lighting, textures, and proportions. Consistent realistic style perfect for single-image multi-panel storytelling.",
    "Cinematic Realism": "Movie-like visuals with dramatic lighting, depth of field, and realistic composition. Cinematic consistency across panels with unified lighting and color grading.",
    "Digital Painting": "Digital art with realistic elements but visible brushwork and artistic interpretation. Consistent artistic style throughout multi-panel compositions."
}

IMAGE_STYLES = list(IMAGE_STYLE_INFO.keys())

DEFAULT_COMIC_SETTINGS = {
    "num_panels": 12, 
    "max_scenes": 12, 
    "image_style": "Comic Book Style"
}

AGE_GROUP_INFO = {
    "3-5 (Pre-school)": "Very simple vocabulary, short sentences, playful tone suitable for pre-school children.",
    "6-8 (Kids)": "Simple vocabulary and sentences with lively, descriptive language for early readers.",
    "9-12 (Pre-teen)": "Balanced vocabulary with engaging narrative style appropriate for pre-teens.",
    "13-18 (Teen)": "Richer vocabulary, deeper themes and emotions suitable for teenagers.",
    "18+ (Adult)": "Full vocabulary, complex themes, and immersive detail suitable for adults."
}

AGE_GROUPS = list(AGE_GROUP_INFO.keys())