Skip to content

Commit

Permalink
Merge pull request #50 from edenartlab/stage
Browse files Browse the repository at this point in the history
prompt
  • Loading branch information
genekogan authored Apr 12, 2024
2 parents bb8ad65 + 284f2a5 commit 1592216
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions logos/creation_interfaces/kojii_chebel.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,11 @@ def kojii_chebel(request: KojiiChebelRequest, callback=None):
seed = request.seed if request.seed else random.randint(0, 1000000)

if request.color == ColorType.color:
color_mode = "soft pastel color palette"
negative_prompt = "saturated"
prompt = "oil painting, soft pastel colors, skin tones, woman, dance, expressive brushstrokes"
negative_prompt = "colorful, yellow, blue, watermark, text, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft"
else:
color_mode = "black and white"
negative_prompt = "yellow, blue"

if request.number == Number.one:
prompt = f"oil painting in the style of <concept>, oil paint, {color_mode}, woman, dance, expressive brushstrokes"
elif request.number == Number.many:
prompt = f"oil painting in the style of <concept>, oil paint, {color_mode}, many women, dance, expressive brushstrokes"
prompt = "oil painting, black and white, woman, dance, expressive brushstrokes, charcoal drawing"
negative_prompt = "color, colors, red, pink, purple, green, orange, yellow, blue, colorful, watermark, text, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft"

if request.aspect_ratio == AspectRatio.portrait:
w, h = 1024, 1536
Expand All @@ -60,7 +55,6 @@ def kojii_chebel(request: KojiiChebelRequest, callback=None):

control_image_strength = 0.84
guidance_scale = 8
negative_prompt += ", watermark, text, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft"

config = {
"mode": "controlnet",
Expand Down

0 comments on commit 1592216

Please sign in to comment.