You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this URI is to store together all parameters that uniquely identify the image, i.e. the dimensions, seed, the hashes of the model but also the individual LoRAs. There may be other parameters that affect the generation (VAE?), and as far as I understand it, the particular prompt format (i.e. the meaning of parentheses, <lora etc.) should also be identified in some way.
Stable Diffusion web UI or any other compatible software could then register the sd.gen URI scheme, and when a browser navigates to any such link (which sites like Civitai would offer), the software could easily load all the components, or warn if any required files are missing. Some basic prompt rewriting would be nice too, for example this image uses LoRA epi_noiseoffset2, but if the same model had a different filename in a particular installation, it could automatically notice <lora:epi_noiseoffset2:1> in the prompt and rewrite it to match the local filename.
This could work not only for txt2img but also img2img, where the source image (and mask) could be stored as another URI parameter, as a hash, local file name (file:///) or http URL.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone considered or thought of making a URI scheme specifically for Stable Diffusion?
For example if I have this image with these properties:
I could imagine a URI of this form (shortened and added newlines):
The purpose of this URI is to store together all parameters that uniquely identify the image, i.e. the dimensions, seed, the hashes of the model but also the individual LoRAs. There may be other parameters that affect the generation (VAE?), and as far as I understand it, the particular prompt format (i.e. the meaning of parentheses,
<lora
etc.) should also be identified in some way.Stable Diffusion web UI or any other compatible software could then register the
sd.gen
URI scheme, and when a browser navigates to any such link (which sites like Civitai would offer), the software could easily load all the components, or warn if any required files are missing. Some basic prompt rewriting would be nice too, for example this image uses LoRAepi_noiseoffset2
, but if the same model had a different filename in a particular installation, it could automatically notice<lora:epi_noiseoffset2:1>
in the prompt and rewrite it to match the local filename.This could work not only for txt2img but also img2img, where the source image (and mask) could be stored as another URI parameter, as a hash, local file name (
file:///
) orhttp
URL.Beta Was this translation helpful? Give feedback.
All reactions