vars.py 1.68 KB
Newer Older
April Hu's avatar
April Hu committed
1
2
3
4
5
6
7
8
9
10
11
12
STYLES = {
    "None": "{prompt}",
    "Cinematic": "cinematic still {prompt}. emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
    "3D Model": "professional 3d model {prompt}. octane render, highly detailed, volumetric, dramatic lighting",
    "Anime": "anime artwork {prompt}. anime style, key visual, vibrant, studio anime,  highly detailed",
    "Digital Art": "concept art {prompt}. digital artwork, illustrative, painterly, matte painting, highly detailed",
    "Photographic": "cinematic photo {prompt}. 35mm photograph, film, bokeh, professional, 4k, highly detailed",
    "Pixel art": "pixel-art {prompt}. low-res, blocky, pixel art style, 8-bit graphics",
    "Fantasy art": "ethereal fantasy concept art of  {prompt}. magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy",
    "Neonpunk": "neonpunk style {prompt}. cyberpunk, vaporwave, neon, vibes, vibrant, stunningly beautiful, crisp, detailed, sleek, ultramodern, magenta highlights, dark purple shadows, high contrast, cinematic, ultra detailed, intricate, professional",
    "Manga": "manga style {prompt}. vibrant, high-energy, detailed, iconic, Japanese comic style",
}
13
DEFAULT_STYLE_NAME = "None"
April Hu's avatar
April Hu committed
14
15
16
17
18
STYLE_NAMES = list(STYLES.keys())

MAX_SEED = 1000000000
DEFAULT_GUIDANCE = 30
DEFAULT_INFERENCE_STEP = 50
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

HEIGHT = 1024
WIDTH = 1024

EXAMPLES = [
    [
        "https://huggingface.co/mit-han-lab/svdq-int4-flux.1-fill-dev/resolve/main/example.png",
        "A wooden basket of a cat.",
        DEFAULT_STYLE_NAME,
        STYLES[DEFAULT_STYLE_NAME],
        DEFAULT_GUIDANCE,
        DEFAULT_INFERENCE_STEP,
        1,
    ]
]