Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- prompt_template.py +25 -35
- style_template.py +59 -0
prompt_template.py
CHANGED
@@ -5,54 +5,44 @@ prompt_list = [
|
|
5 |
"negative_prompt": "",
|
6 |
},
|
7 |
{
|
8 |
-
"name": "
|
9 |
-
"prompt": "a
|
10 |
-
"negative_prompt": "
|
11 |
},
|
12 |
{
|
13 |
-
"name": "
|
14 |
-
"prompt": "a
|
15 |
-
"negative_prompt": "
|
16 |
},
|
17 |
{
|
18 |
-
"name": "
|
19 |
-
"prompt": "
|
20 |
-
"negative_prompt": "
|
21 |
},
|
22 |
{
|
23 |
-
"name": "
|
24 |
-
"prompt": "a
|
25 |
-
"negative_prompt": "
|
26 |
},
|
27 |
{
|
28 |
-
"name": "
|
29 |
-
"prompt": "
|
30 |
-
"negative_prompt": "
|
31 |
},
|
32 |
{
|
33 |
-
"name": "
|
34 |
-
"prompt": "a
|
35 |
-
"negative_prompt": "
|
36 |
},
|
37 |
{
|
38 |
-
"name": "
|
39 |
-
"prompt": "a
|
40 |
-
"negative_prompt": "
|
41 |
-
},
|
42 |
-
{
|
43 |
-
"name": "Comic Book",
|
44 |
-
"prompt": "a comic book scene of a superhero standing atop a building, cape flowing in the wind, set against a dramatic cityscape at dusk. Vibrant, highly detailed, graphic novel art",
|
45 |
-
"negative_prompt": "photograph, deformed, glitch, noisy, realistic, stock photo",
|
46 |
-
},
|
47 |
-
{
|
48 |
-
"name": "Lowpoly",
|
49 |
-
"prompt": "a low-poly style character running through a geometric forest, simple and stylized, with sharp edges and vibrant colors. Polygon mesh, jagged, blocky",
|
50 |
-
"negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo",
|
51 |
-
},
|
52 |
{
|
53 |
-
"name": "
|
54 |
-
"prompt": "a
|
55 |
-
"negative_prompt": "
|
56 |
}
|
57 |
]
|
58 |
|
|
|
5 |
"negative_prompt": "",
|
6 |
},
|
7 |
{
|
8 |
+
"name" : "Tokyo",
|
9 |
+
"prompt" : "Create a high-quality image of a person standing in Tokyo with the Tokyo Tower visible in the background. The person should have a natural expression, and their face should be in sharp focus, showing clear details. The background should feature bustling Tokyo streets with iconic signs, cityscape, and a few cherry blossom trees. The person should appear confident, enjoying the bright and sunny day, with the Tokyo Tower complementing the scene" ,
|
10 |
+
"negative_prompt" : "",
|
11 |
},
|
12 |
{
|
13 |
+
"name" : "New York",
|
14 |
+
"prompt" : "Generate a detailed image of a person standing near the River Thames with Big Ben and the Houses of Parliament in the background. The face of the person should be in sharp focus, displaying clarity and a natural expression. The background should include the iconic architecture and a sunny day with elements of London’s streets and bridges. However, the person’s face is the primary focus of the image" ,
|
15 |
+
"negative_prompt" : "",
|
16 |
},
|
17 |
{
|
18 |
+
"name" : "London",
|
19 |
+
"prompt" : "a person standing in front of the London Eye, looking thoughtful, wearing stylish clothes suitable for the season. The city lights are softly illuminating the scene.",
|
20 |
+
"negative_prompt" : "",
|
21 |
},
|
22 |
{
|
23 |
+
"name" : "Cairo" ,
|
24 |
+
"prompt" : "Create a high-resolution image of a person standing in front of the Great Pyramid of Giza, with the pyramids in the background. The person's face should be in sharp focus with a natural expression. The scene should include elements of the desert, camels, and the bright, clear sky, with the Pyramids serving as an impressive backdrop. The person should appear confident and relaxed in the image" ,
|
25 |
+
"negative_prompt" : "",
|
26 |
},
|
27 |
{
|
28 |
+
"name" : "Sydney",
|
29 |
+
"prompt" : "Create a high-quality photo of a person standing in front of the Sydney Opera House, with the famous harbor and skyline in the background. The person/'s face should be crisp and clear with a relaxed, confident expression. The background should highlight the Opera House and vibrant waterfront, but the primary focus remains on the person’s face and upper body",
|
30 |
+
"negative_prompt" : "",
|
31 |
},
|
32 |
{
|
33 |
+
"name" : "Rio de Janeiro",
|
34 |
+
"prompt" : "Generate a detailed image of a person standing at the top of Sugarloaf Mountain in Rio de Janeiro, with a panoramic view of the city and Christ the Redeemer statue in the background. The person’s face should be in sharp focus with a natural, confident expression. The background should capture Rio’s iconic beaches, lush greenery, and bright sky, but the person’s face remains the central focus",
|
35 |
+
"negative_prompt" : "",
|
36 |
},
|
37 |
{
|
38 |
+
"name" : "Berlin",
|
39 |
+
"prompt" : "Create a high-quality image of a person standing in front of the Brandenburg Gate in Berlin. The person’s face should be in sharp focus, showing natural facial details and a relaxed, confident expression. The background should feature the historic gate, with elements of the city around it, but the focus remains on the person’s face and posture",
|
40 |
+
"negative_prompt" : "",
|
41 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
{
|
43 |
+
"name" : "Rome",
|
44 |
+
"prompt" : "Generate a detailed image of a person standing in front of the Colosseum in Rome, with the iconic structure in the background. The person’s face should be the central focus, displaying clarity and a natural, confident expression. The background should include elements of the ancient ruins, clear skies, and some greenery, while keeping the focus on the person’s face",
|
45 |
+
"negative_prompt" : "",
|
46 |
}
|
47 |
]
|
48 |
|
style_template.py
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
style_list = [
|
2 |
+
{
|
3 |
+
"name": "No style (Default)",
|
4 |
+
"prompt": "{prompt}",
|
5 |
+
"negative_prompt": "",
|
6 |
+
},
|
7 |
+
{
|
8 |
+
"name": "Cinematic",
|
9 |
+
"prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy",
|
10 |
+
"negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured",
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "Disney Charactor",
|
14 |
+
"prompt": "A Pixar animation character of {prompt} . pixar-style, studio anime, Disney, high-quality",
|
15 |
+
"negative_prompt": "lowres, bad anatomy, bad hands, text, bad eyes, bad arms, bad legs, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, blurry, grayscale, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo",
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "Digital Art",
|
19 |
+
"prompt": "concept art {prompt} . digital artwork, illustrative, painterly, matte painting, highly detailed",
|
20 |
+
"negative_prompt": "photo, photorealistic, realism, ugly",
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"name": "Photographic",
|
24 |
+
"prompt": "cinematic photo {prompt} . 35mm photograph, film, bokeh, professional, 4k, highly detailed",
|
25 |
+
"negative_prompt": "drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly",
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"name": "Fantasy art",
|
29 |
+
"prompt": "ethereal fantasy concept art of {prompt} . magnificent, celestial, ethereal, painterly, epic, majestic, magical, fantasy art, cover art, dreamy",
|
30 |
+
"negative_prompt": "photographic, realistic, realism, 35mm film, dslr, cropped, frame, text, deformed, glitch, noise, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, sloppy, duplicate, mutated, black and white",
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"name": "Neonpunk",
|
34 |
+
"prompt": "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",
|
35 |
+
"negative_prompt": "painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured",
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "Enhance",
|
39 |
+
"prompt": "breathtaking {prompt} . award-winning, professional, highly detailed",
|
40 |
+
"negative_prompt": "ugly, deformed, noisy, blurry, distorted, grainy",
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"name": "Comic book",
|
44 |
+
"prompt": "comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed",
|
45 |
+
"negative_prompt": "photograph, deformed, glitch, noisy, realistic, stock photo",
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"name": "Lowpoly",
|
49 |
+
"prompt": "low-poly style {prompt} . low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition",
|
50 |
+
"negative_prompt": "noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo",
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"name": "Line art",
|
54 |
+
"prompt": "line art drawing {prompt} . professional, sleek, modern, minimalist, graphic, line art, vector graphics",
|
55 |
+
"negative_prompt": "anime, photorealistic, 35mm film, deformed, glitch, blurry, noisy, off-center, deformed, cross-eyed, closed eyes, bad anatomy, ugly, disfigured, mutated, realism, realistic, impressionism, expressionism, oil, acrylic",
|
56 |
+
}
|
57 |
+
]
|
58 |
+
|
59 |
+
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|