Skip to content

u/parlancex

In this archive from Dec 2014 to Feb 2026

27
posts
167
comments
25
media
2.2k
score
1 saved before deletion

Top posts

Top comments

https://twitter.com/parlance_zz/status/1574340568016388096

This is a feature of g-diffuser-lib, and includes work from hafried building upon my earlier work in fourier shaped noise outpainting.

https://github.com/hafriedlander/stable-diffusion-grpcserver

https://twitter.com/hafriedlander

 

More info on g-diffuser-lib can be found here: https://github.com/parlance-zz/g-diffuser-lib

I should probably also mention that this is just technically out-painting, so you can use it for any masked generation task, in-painting, whatever.

84 points

The artists who "draw elaborate paintings" aren't all like that thankfully.

The best artists were always the ones that knew that tools are tools, and art comes from creative intention, not the tool. I've collected good examples of what these artists are now capable of on my twitter, and I think it is mind blowing. https://twitter.com/parlance_zz

58 points

Code available here:

https://github.com/parlance-zz/g-diffuser-bot/tree/g-diffuser-bot-diffuserslib-beta

Explanation: Getting good results in/out-painting with stable diffusion can be challenging. Although there are simpler effective solutions for in-painting, out-painting can be especially challenging because there is no color data in the masked area to help prompt the generator. Ideally, even for in-painting we'd like work effectively without that data as well. Provided here is my take on a potential solution to this problem.

By taking a fourier transform of the masked src img we get a function that tells us the presence and orientation of each feature scale in the unmasked src. Shaping the init/seed noise for in/outpainting to the same distribution of feature scales, orientations, and positions increases output coherence by helping keep features aligned. This technique is applicable to any continuous generation task such as audio or video, each of which can be conceptualized as a series of out-painting steps where the last half of the input "frame" is erased. For multi-channel data such as color or stereo sound the "color tone" or histogram of the seed noise can be matched to improve quality (using scikit-image currently) This method is quite robust and has the added benefit of being fast independently of the size of the out-painted area. The effects of this method include things like helping the generator integrate the pre-existing view distance and camera angle.

27 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.