Stable Diffusion Prompt Guide
Summary
TLDRCe script vidéo présente des techniques pour créer des prompts efficaces dans Stable Diffusion. Il explique comment spécifier le type d'image, le sujet, l'environnement et les détails pour obtenir des résultats plus précis. Le tutoriel couvre l'utilisation de la UI de Forge, de Juggernaut XL, de grains de départ fixes, de prompts négatifs, de styles d'art, et de l'ajout de poids à certains mots. Il suggère également d'utiliser Chat GPT pour varier les prompts et de finir par des astuces pour des générations plus cohérentes et des variations subtils.
Takeaways
- 🖌️ L'utilisation de l'interface Stable Diffusion Forge UI et du modèle Juggernaut XL permet de créer des images spécifiques en utilisant des requêtes (prompts) bien définies.
- 🔍 Il est conseillé de spécifier le type d'image souhaitée (photo, illustration, peinture, etc.) pour guider l'intelligence artificielle vers une génération d'image plus précise.
- 🌳 Ajouter des détails sur l'environnement (comme un forêt ou une plage) et les attributs spécifiques (comme les cheveux blonds) à la sujet de l'image peut améliorer la précision de la génération.
- 👚 Spécifier des éléments de mode et de tenue peut aider à obtenir une image plus proche de ce que l'on a à l'esprit, comme un chandail rouge au lieu d'un chemise blanche.
- 🎨 Pour explorer différentes styles artistiques, il est possible de préciser le type de peinture ou de dessin souhaité, comme un tableau à l'huile ou un dessin au crayon de mine.
- 🔄 Utiliser un seed fixe pour les expériences ou un seed aléatoire pour la génération d'images peut aider à obtenir des résultats plus prévisibles ou variés.
- 🚫 Les requêtes négatives sont utilisées pour exclure des éléments indésirables des images générées, bien que leur efficacité varie selon les mots utilisés.
- 🔄 La recherche et le remplacement de mots dans les requêtes permettent d'explorer différentes variations d'images, comme des couleurs de cheveux différentes.
- 👩💼 La personnalisation de la requête avec des détails spécifiques, comme un prénom inventé pour la sujet, peut aider à maintenir la cohérence entre les générations d'images.
- 🔧 L'ajustement des paramètres tels que le sampling steps ou le CFG scale permet de contrôler la variabilité des générations d'images.
- 🤖 L'utilisation de Chat GPT pour adapter des requêtes existantes ou pour générer de nouvelles requêtes basées sur des métiers différents est un outil utile pour la création de requêtes.
- 🏠 L'ajout de poids à certains mots dans une requête en utilisant des parenthèses permet de rendre ces mots plus importants pour la génération d'images.
Q & A
Quel logiciel est utilisé pour la diffusion stable dans le script ?
-Le logiciel utilisé est la version 10 du modèle Juggernaut XL de Stable Diffusion Forge UI.
Pourquoi les prompts simples peuvent-ils ne pas être suffisants dans certaines interfaces AI ?
-Les prompts simples laissent trop de liberté à l'IA, ce qui peut mener à des résultats qui ne correspondent pas à ce que l'utilisateur a à l'esprit.
Comment spécifier le type d'image souhaitée dans un prompt ?
-On peut ajouter des mots comme 'photo', 'illustration', 'peinture', etc., pour préciser le type d'image que l'on souhaite générer.
Quelle est l'utilité d'utiliser un seed fixe lors de l'expérimentation de prompts ?
-Un seed fixe permet de générer des images cohérentes et de faciliter les comparaisons entre différentes versions d'un prompt.
Comment placer le sujet d'un prompt dans un environnement spécifique ?
-On peut ajouter des descriptions comme 'dans la forêt', 'sur une plage' ou 'photo de studio avec un fond noir' pour définir l'environnement du sujet.
Pourquoi ajouter des détails spécifiques comme la couleur des cheveux ou la lumière peut-il être important ?
-Ajouter des détails spécifiques permet à l'IA de générer des images plus proches des attentes de l'utilisateur et d'éviter les résultats généraux.
Quels sont les avantages de l'utilisation de la fonction XYZ plot pour remplacer des mots dans un prompt ?
-La fonction XYZ plot permet de rechercher et de remplacer des mots dans un prompt de manière efficace, offrant ainsi une variété de résultats basés sur différentes options de remplacement.
Comment utiliser un nom inventé pour assurer une cohérence entre les générations d'images ?
-En donnant un nom spécifique au sujet et en l'incluant dans le prompt, on peut aider l'IA à maintenir une certaine cohérence dans l'apparence du sujet entre les différentes générations d'images.
Quelle est la différence entre l'utilisation de la fonction 'Generate Forever' et la sélection d'un nombre spécifique de générations ?
-La fonction 'Generate Forever' permet de générer continuellement des images jusqu'à ce que l'utilisateur l'arrête, tandis que la sélection d'un nombre spécifique de générations crée un lot prédéfini d'images.
Comment utiliser Chat GPT pour obtenir des prompts adaptés à différents métiers ?
-On peut demander à Chat GPT d'adapter un prompt existant pour différents métiers, comme un médecin ou un chef, et il fournira des versions adaptées de ces prompts.
Quels sont les avantages de l'utilisation d'art styles pour influencer la génération d'images ?
-Les art styles permettent d'ajouter une touche particulière à l'image générée, en apportant une ambiance ou un style spécifique qui peut être en harmonie avec le sujet et l'environnement.
Comment modifier la pondération de certains mots dans un prompt pour les rendre plus ou moins importants ?
-On peut utiliser des parenthèses pour augmenter ou réduire la pondération de certains mots dans le prompt, ou utiliser les touches de direction avec la touche 'Ctrl' pour ajuster rapidement la pondération.
Outlines
🎨 Création de prompts pour la diffusion stable
Le premier paragraphe traite de la manière dont l'auteur utilise l'interface de diffusion stable Forge UI et le modèle Juggernaut XL pour créer des prompts plus rapidement. Il suggère d'être spécifique pour obtenir des résultats plus proches de ce que l'on a en tête, en mentionnant le type d'image, le sujet, l'environnement, les détails comme la couleur des cheveux ou de la lumière, et en utilisant des astuces pour varier les prompts, comme le remplacement de mots clés et l'utilisation de l'historique de génération pour conserver la cohérence entre les générations d'images.
🖌️ Techniques avancées de prompts et variations
Dans ce paragraphe, l'auteur partage des techniques pour améliorer la précision des prompts, notamment en utilisant des graines fixes, en ajustant l'échelle CFG pour des variations subtils, et en donnant un nom inventé à la personne représentée pour une cohérence entre les générations. Il mentionne également l'utilisation de chat GPT pour obtenir des listes de variations de prompts basées sur différents métiers, et des astuces pour adapter les prompts à l'aide de l'interrogation par image (CLIP) et de l'ajout de poids à certains mots pour les rendre plus importants dans la génération d'images.
🔄 Génération de séries d'images et partage de communauté
Le dernier paragraphe explique comment utiliser la fonction 'Generate Forever' pour produire une série d'images ininterrompue et comment générer un lot spécifique d'images à partir de prompts listés dans un fichier texte. L'auteur encourage également à rejoindre sa communauté Facebook pour échanger des prompts, des défis et des designs, et remercie les membres pour avoir atteint le nombre de 1 000. Il invite les téléspectateurs à liker la vidéo si elle a été utile et souhaite une bonne journée à tous.
Mindmap
Keywords
💡Stable Diffusion
💡Invite (Prompt)
💡Graine (Seed)
💡Environnement
💡Couleur des cheveux
💡Rim Light
💡Heure d'or (Golden Hour)
💡Cheveux bangs
💡Chat GPT
💡Variations
💡Art Styles
💡Negative Prompt
💡XYZ Plot
💡Batch Slider
Highlights
Introduction to the process of creating prompts for stable diffusion and the use of specific models and settings.
The importance of being specific in prompts to guide AI towards desired outcomes, rather than leaving too much to AI interpretation.
Using additional descriptors such as 'modern' to refine the type of image generated, such as specifying a 'modern photo'.
Utilizing a fixed seed for experimentation to maintain consistency in image generation.
Incorporating environmental settings into prompts, like placing the subject in a forest or on a beach.
Specifying physical attributes in prompts, such as hair color or clothing, to achieve a more tailored result.
Adding lighting effects to prompts, like rim light or golden hour lighting, to enhance the image's mood.
Using chat GPT to generate lists for elements like women's clothing to diversify prompt options.
Experimenting with different art styles in prompts, such as oil painting or watercolor, to achieve varied visual effects.
The use of negative prompts to exclude unwanted elements from the generated images.
Techniques for replacing words in prompts to see variations, such as changing hair color.
Giving the subject a name in prompts to maintain consistency across generations.
Adjusting sampling steps or CFG scale for subtle variations in image generation.
Using chat GPT to adapt existing prompts for different jobs or scenarios, like a doctor or chef.
Uploading a photo or illustration to chat GPT to generate a descriptive prompt based on the image.
Adding weight to certain words in prompts to emphasize their importance in the generated image.
Using art styles to enhance short prompts and achieve specific visual effects.
The release of a new GPT model facilitating the creation of prompts for desired outcomes.
Using the 'generate forever' feature for continuous image generation until manually stopped.
Batch generation of images from multiple prompts listed in a text file or box.
Invitation to join the Facebook group for further discussions, prompts, and community engagement.
Transcripts
hey today I want to show you how I
prompt in stable diffusion how I think
about it when prompting and what methods
I use to create prompts faster I'm using
stable diffusion Forge UI and Juggernaut
XL version 10 model but you can use any
model you prefer with the settings that
work best for that model many beginners
simply prompt something simple like
portrait of a woman while many short
prompts still work in interfaces like
Focus or AI like mid journey and chat
GPT you're leaving too much freedom to
the AI
you can be more specific to get
something closer to what you have in
mind for example you can specify the
type of image you want such as a photo
illustration painting and so on as you
can see even by mentioning photo the
possibilities are still too many I got a
vintage photo so maybe you can add an
extra word like modern to specify that
you want a modern photo instead of a
vintage one to experiment better with
the prompt you can use a fixed seed you
can either use the last seed or just
type number and generate again so we
have the type of image and a subject but
let's also place the subject in an
environment maybe we can put her in the
forest or on a beach or perhaps we want
a studio photo with a black background
behind maybe I don't want the woman to
have a random hair color so I add blonde
hair in the prompt perhaps I want her
shirt to always be white so it stands
out against the black background maybe I
want the image to pop out more so I can
add a rim light coming from behind
visible in the hair alternatively I
might want a golden hour type of light
to make it look more natural if you have
a specific hairstyle in mind you can add
that to the prompt if you don't know the
name you can search on Google for
hairstyles women names for example if
you like bangs you can add that to the
prompt Additionally you can use chat GPT
to provide lists for anything such as a
list of women's clothing so I can use
like a red cardigan instead of a white
shirt let's try different types of art
styles for the photo instead of just
saying painting portrait which is a
broad category we can specify further
for example it could be an oil painting
maybe with an old look or perhaps it's a
watercolor painting we could also
consider a pencil drawing but in this
case we'd need to adapt the colors and
background to match that style uh let's
play around more with photography a
cinematic fashion portrait could look
cool
we can also mention the nationality of
the woman or the country for instance we
could generate in African woman or a
police woman since we've been so
specific with clothes it might not
include the police uniform so instead of
a cardigan let's add a police suit or
uniform let me quickly show you the
negative prompt here you list things
that you don't want to appear in your
image it doesn't work perfectly some
words are stronger than others but for
example if you don't want a police badge
you can add that to the negative prompt
now when I generate again the badge is
gone if you don't like the blue light
behind you can add it to the negative
prompt if that doesn't work you can try
different seeds um in the worst case
scenario you can use in painting to
remove it let me remove the negative
prompt and I'll show you how you can
replace different words in the prompt
scroll down and go to the XYZ plot on
the X Type search for prompt Sr on the X
values you put the words you want to
search and replace first so for example
I want to search for the word blonde and
replace it with different colors like
dark purple red and so on this way you
can see how the girl looks with
different hair colors as you can see now
it started to generate the policewoman
with different hair colors as a bonus at
the end you have a grid with the
searched word and all the other
variation words that were replaced you
can open it and see how they look in
different
colors let me dress her in a white shirt
real quick let's say I want to redo
everything but the girl's face to be
more similar between Generations one
thing that helps is to give her a name I
usually use a random invented name but
you can also use a mix of celebrities if
you want so I'll give you a name and
I'll generate again with that search and
replace script active as you can see in
the results the woman is quite similar
between
Generations because it has the same seed
and the same description and name only
the color is different let's say you
like the results of a prompt but you
just want a very subtle variation of it
you can do that by adjusting the
sampling steps or CFG scale you can do
that automatically if you go back to the
scripts and instead of prompt search and
replace you choose CFG scale for the X
values you can put between five and
seven for example now when you generate
you'll get those very subtle variations
they might be harder to see on the
screen but let's go to the folder where
they were saved and switch from one to
another as you can see some don't have
badges or the light is a little
different so you can choose the best one
from all or you can combine them in
Photoshop and keep what is best from
each I also like to get variations for
prompts using chat GPT so I have this
prompt that I know works okay and I want
a prompt adapted from different
jobs I can ask GPT to adapt it for me
and as you can see I get some nice
variations let me test quickly the
doctor prompt as you can see it added a
white coat to the prompt now let's see
how it looks like as a chef copy and
paste The Prompt using the control plus
C and Control Plus V shortcuts and
generate quickly different variations
sometimes I'm too lazy to write
descriptive prompts so I just ask chat
GPT to write it for me you just need to
guide it a little in the right direction
let's test it really quick to see what
we get seems to work okay go to image to
image and let me show you another trick
that you can use when you don't know how
to prompt but you have a photo or an
illustration upload it here and then
click on the paperclip icon that will
interrogate clip which stands for
contrastive language image pre-training
the first time you're using it it will
take some time to download a model you
can see when it's ready in the command
window but after that it should
interrogate quicker that will give you a
prompt for that image I'll copy this
prompt and test it quickly the result is
not bad could be better you can see that
it's a policewoman but she doesn't look
very similar to my image what seems to
work better and get more consistent
results for me is chat GPT I just upload
a photo to chat GPT and ask it to
describe it for me in a long sentence
let's copy The Prompt and test it to see
what we get now look at that how similar
the photos look like with the image I
gave it
now you can talk with chat GPT to change
the prompt how you want it for example
you can adapt it for a doctor instead
and this is the result if you don't have
access to GPT or the internet and you
still have problems with uh prompting
but want to get some nice generation you
can use art styles instead so if you
have a short prompt you can go to art
styles and either save your own art
styles or download some free art styles
from the internet I have an entire video
with with 260 art styles and how to
download them if you look at the prompt
description then you look at the info
for Generation you can see that you get
the original prompt first then the art
style is just another already saved
prompt that is added to the original
prompt plus the negative prompt let's
talk a little bit about how to add more
weight to certain words I have this
prompt where I added green blue house
next to each other to show you how I can
make one word more important than the
other so this is what I get for this
prompt the house has blue and green in
it I can make the words Blue House more
important if I add round brackets you
can see if you forgot to close a bracket
it shows in red in the corner where the
tokens are once I generate you can see
the house has more blue than green you
can add even more weight to those words
if you add another
bracket but there's an easier way to do
this faster you just select the words
then press control and use the up Arrow
key to add more
weight with control and the down arrow
you can reduce the weight it can also
have a negative value if you want it to
be less important to change the value
you select only the text without the
brackets and numbers and use the
shortcut again alternatively you can
just change the numbers manually you
should avoid going too high usually if
you go more than 1.9 or two values it
starts to go a little crazy and you get
something like this like an a I exploded
brain if I add a negative value to The
Gnome for example it will be less
important and you can see in the results
that it's barely visible the main
subject becomes the
house here's how I usually prompt I put
the art style or medium either first or
last then comes the subject followed by
the description then the environment and
finally any extra information like
colors lighting and mood while I was
working on the video chat GPT released a
new model version GPT 40 so now it's
even easier to just ask for a stable
diffusion prompt for what you want to
create so if I want a watercolor
painting of a cute bunny with glasses I
can get a prompt quickly now I can test
it in stable diffusion and the result is
what I asked for I can then make more
changes for example I can ask chat GPT
to make it more minimalist and add a
white background so now when I test it I
get a nice cute cartoon bunny on a white
background another thing you can do is
to turn on generate Forever by right
clicking on the generate button and
choosing generate
forever to stop it you need to
rightclick again and choose cancel
generate forever if you don't want to
let it generate forever and have a
specific number of generations in mind
like between one and 100 you can move
the batch slider to the value you want
and it will generate that number of
images alternatively if you have
multiple different prompts you can
choose prompts from a file or a text box
you can paste prompts here or upload a
text file with the prompts just make
sure each prompt is on a separate line
um I can once again use chat GPT to give
me a list of different variations of the
prompt with different animals then I can
uh copy and paste that list of prompts
in the text area when I hit generate it
will start generating each of those
prompts um as you can see I get
different animals on a white background
if you have any questions you can post
them in my Facebook group pix Roma
Community I usually post news prompts
daily challenges design and crafts there
I've recently passed 1,000 members so
thank you to all who joined if you found
something useful in this video leave a
like thank you and have a great day
浏览更多相关视频
Réussir vos prompts sur la V6 de Midjourney (8 astuces)
Je vous révèle 5 astuces INEDITES sur Midjourney 🤐
Tout comprendre à Midjourney : Le Guide Ultime de A à Z (Formation Gratuite)
Comment FILMER une INTERVIEW professionnelle
J'ai passé 100h sur GPT-4o — voici comment l'utiliser !
Lignes électriques ferroviaires – L’art de les maintenir droites
5.0 / 5 (0 votes)