Skip to content

Commit

Permalink
more preset tweakin
Browse files Browse the repository at this point in the history
  • Loading branch information
aayars committed Aug 7, 2023
1 parent fdc42c5 commit 273515d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
31 changes: 19 additions & 12 deletions noisemaker/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,8 @@
"prompt": "cobblestones texture, smooth cobblestone path",
"image_strength": 0.75,
"cfg_scale": 20,
"style_preset": "enhance",
"style_preset": "photographic",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand Down Expand Up @@ -1156,7 +1157,7 @@
"ai": {
"prompt": "hubble space telescope, hst, spitzer space telescope, deep field, galaxies",
"image_strength": 0.75,
"cfg_scale": 15,
"cfg_scale": 20,
"style_preset": "photographic",
}
},
Expand Down Expand Up @@ -2288,7 +2289,7 @@
"lens": {
"layers": ["lens-distortion", "aberration", "vaseline", "tint", "vignette-dark"],
"settings": lambda: {
"lens_brightness": 0.0125 + random.random() * 0.00625,
"lens_brightness": 0.025 + random.random() * 0.0125,
"lens_contrast": 1.025 + random.random() * 0.0125
},
"final": lambda settings: [
Expand Down Expand Up @@ -2467,9 +2468,10 @@
},
"ai": {
"prompt": "molten glass, glass blowing art, melted paint, melting colors, unmixed",
"image_strength": 0.5,
"image_strength": 0.425,
"cfg_scale": 25,
"style_preset": "photographic",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand All @@ -2483,6 +2485,7 @@
"image_strength": 0.5,
"cfg_scale": 25,
"style_preset": "tile-texture",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand All @@ -2499,7 +2502,7 @@
"prompt": "psychedelic fractal imagery",
"image_strength": 0.5,
"cfg_scale": 25,
"style_preset": "tile-texture",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand All @@ -2512,7 +2515,7 @@
"prompt": "psychedelic fractal imagery",
"image_strength": 0.5,
"cfg_scale": 25,
"style_preset": "tile-texture",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand All @@ -2526,7 +2529,7 @@
"prompt": "psychedelic fractal imagery",
"image_strength": 0.5,
"cfg_scale": 25,
"style_preset": "tile-texture",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand Down Expand Up @@ -2808,6 +2811,8 @@
},
"ai": {
"prompt": "a distorted psychedelic black and white checker pattern, groovy, psychedelia, peace and love, vintage, monochrome",
"image_strength": 0.625,
"cfg_scale": 30,
}
},

Expand All @@ -2819,8 +2824,8 @@
"layers": ["value-mask", "random-hue", "maybe-invert", "crt"],
"settings": lambda: {
"corners": True,
"freq": [14, 8],
"mask": mask.iching,
"mask_repeat": random.randint(1, 8),
"spline_order": interp.constant,
},
"ai": {
Expand Down Expand Up @@ -3149,6 +3154,7 @@
"prompt": "flow field, abstract psychedelic fractal pattern",
"image_strength": 0.375,
"cfg_scale": 25,
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand Down Expand Up @@ -3256,7 +3262,8 @@
"prompt": "distorted funhouse mirror reflecting a psychedelic fractal pattern",
"image_strength": 0.5,
"cfg_scale": 30,
"style_preset": "photographic"
"style_preset": "photographic",
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand Down Expand Up @@ -3670,9 +3677,9 @@
},
"ai": {
"prompt": "psychedelic fractal imagery",
"image_strength": 0.5,
"cfg_scale": 25,
"style_preset": "tile-texture",
"image_strength": 0.375,
"cfg_scale": 30,
"model": "stable-diffusion-xl-1024-v1-0",
}
},

Expand Down
4 changes: 2 additions & 2 deletions noisemaker/scripts/noisemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ def _use_reasonable_speed(preset, frame_count):
return preset.settings.get("speed", 0.25) * (frame_count / 50.0)


@main.command(help="Let the machine dream whatever it wants.")
@main.command(help="Let the machine dream whatever it wants")
@cli.width_option()
@cli.height_option()
@cli.seed_option()
@cli.filename_option(default='dream.png')
def dream(width, height, seed, filename):
if seed is None:
seed = random.randint(1, MAX_SEED_VALUE)
seed = random.randint(1, MAX_SEED_VALUE)

name, prompt = ai.dream()

Expand Down

0 comments on commit 273515d

Please sign in to comment.