In the last part of this series, I mentioned I would add an example image at the beginning and end of each article with prompts to show the ease of creating images. I normally create 20 images and choose what I deem the most appropriate. All the prompt information is not necessary unless you want to get a very similar image. Using Automatic1111, the prompt is the underlined text below with additional image settings: A penguin overlooking a ledge looking at a frozen Central Park and New York City, highly detailed, very intricate, cinematic lighting Steps: 20, Sampler: Euler a, CFG scale: 14, Seed: 1609724340, Size: 1024×1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Style Selector Enabled: True, Style Selector Randomize: False, Style Selector Style: base, Version: v1.5.1 In part nine of An Introduction to Stable Diffusion, we will look at the sd-webui-prompt-all-in-one (PAIO) extension on the Automatic1111 interface of Stable Diffusion 1.0. It is the significant number of ever increasing extensions that makes Automatic1111 the choice for many SD users. This extension is, as the name implies, an attempt to make all types of modifiers available through a click-based format.
Dans la dernière partie de cette série, j’ai mentionné que j’ajouterais une image avec les prompts comme exemple au début et à la fin de chaque article pour démontrer la facilité de la création d’images. En règle générale, je crée 20 images et choisis celle que je trouve la plus appropriée. Toutes les informations du prompt ne sont pas nécessaires à moins que vous vouliez obtenir une image très similaire. Avec Automatic1111, le prompt est le texte souligné ci-dessous avec des réglages d’image supplémentaires : A penguin overlooking a ledge looking at a frozen Central Park and New York City, highly detailed, very intricate, cinematic lighting Steps: 20, Sampler: Euler a, CFG scale: 14, Seed: 1609724340, Size: 1024×1024, Model hash: 31e35c80fc, Model: sd_xl_base_1.0, Style Selector Enabled: True, Style Selector Randomize: False, Style Selector Style: base, Version: v1.5.1 (Un pingouin au-dessus d'une corniche regardant Central Park et la ville de New York gelés, très détaillé, très complexe, avec une luminosité cinématique).
Dans cette neuvième partie de mon Introduction à Stable Diffusion, nous examinerons l’extension sd-webui-prompt-all-in-one (PAIO) sur l’interface Automatic1111 de Stable Diffusion 1.0. C’est le nombre conséquent d’extensions augmentant sans cesse qui fait que beaucoup d'utilisateurs de SD choisissent Automatic1111. Comme son nom l’implique, cette extension est une tentative de rendre disponibles tous les types de modificateurs avec un format basé sur le clic.
To install PAOI or any other extensions, select the Extensions tab in the Automatic1111 interface as shown. The current state and installed extensions are shown. You might want to Check for updates and then Apply and restart UI as seen in the interface. You will notice that I already have the PAOI extension installed. If you don’t have it installed, select Available from the interface, and then select the Load from button to show the many options. To find it faster, search for prompt-all-in-one (CTRL + f) and install using the install button on the far right in the Action column.
Pour installer PAOI ou toute autre extension, sélectionnez l’onglet Extensions dans l’interface Automatic1111 comme démontré. L’état actuel et les extensions installées s’affichent. Vous pourriez vouloir Check for updates (Vérifier les mises à jour), puis Apply et redémarrer l’interface utilisateur comme affiché dans l’interface. Vous remarquerez que, chez moi, l’extension PAOI est déjà installée. Si ce n’est pas le cas chez vous, sélectionnez Available (Disponible) dans l’interface, puis sélectionnez Load from button (Charger à partir du bouton) pour afficher les très nombreuses options. Pour la trouver plus rapidement, recherchez le prompt-all-in-one (CTRL + f) et installez-la avec le bouton install tout à droite dans la colonne Action.
Once installed, the button to the left of the Prompt (red arrow below) lets you Show or Hide the Panel, and the similar button to the right (red arrow) lets you show or hide the Group Tags. The numbers to the right of the word Prompt (yellow arrow) show the number of prompts used of the maximum 75. If neither are shown, use the buttons to show the Panel and then the Group Tags. For example, if the panel is shown, you could type in ‘early teen’ in the Please Enter New Keyword box because it’s not an option specified, or any other parameters you want to make sure are included in the prompt. Then select Person, Wings and bat_wings, then female, Wings and black_wings to produce the prompt shown. You need not type in anything but you can create a prompt using both typed input and PAOI selections (bottom right).
Une fois installée, le bouton à gauche du Prompt (flèche rouge ci-dessous) vous permet d'Afficher ou de Cacher le panneau (Show or Hide the panel) et le bouton similaire à droite (flèche rouge) vous permet d’afficher ou de cacher les Group Tags (les balises de groupe). Les nombres à droite du mot Prompt (flèche jaune) affichent le nombre de prompts utilisé sur le maximum de 75. Si ni l’un ni l’autre ne s’affiche, utilisez les boutons pour afficher le Panel, puis les Groupe Tags.
Par exemple, si le panneau est affiché, vous pourriez saisir « early teen » (au début de l’adolescence) dans la case Please Enter New Keyword (Veuillez entrer un nouveau mot clé) parce qu’il ne s’agit pas d’une option spécifiée, ou tout autre paramètre que vous voulez être sûr d’inclure dans le prompt. Puis sélectionnez Person, Wings (Ailes) et bat_wings (ailes de chauve-souris), puis female, Wings et black_wings pour créer le prompt montré. Vous n’avez pas besoin de taper quoi que ce soit, mais vous pouvez créer un prompt avec des entrées tapées plus des sélections PAOI (en bas à droite).
There are many listed options; for example, under Person view Object selecting Eyes or Ears. Many are derived from other languages or are abbreviations which may be unfamiliar, but as you become more familiar it increases the possibilities. While the results are unimpressive with a limited prompt, making 20 images helps to suggest various options when the user is unsure of what direction to go to meet the desired need. You can always type in descriptors if you know what direction you want to pursue. Individual prompts can also be modified by moving the cursor over the prompt, ‘early teen’ in this case. Various options to delete and modify Keyword and Keyword weight are then available which is likely easier than modifying individual prompts if the list already has several words. The final image below is produced using Easy Diffusion. It's a bit late for All Hollows’ Eve but maybe for next year. Starting with a prompt of = “detailed chocolate skull, chocolate candies, [tequila bottle with two glasses], in Mexican cemetery, at sunset, high resolution, burning candle” and “seed”: 2524754007, “use_stable_diffusion_model”: “sd_xl_base_1.0”, “clip_skip”: false, “use_controlnet_model”: null, “use_vae_model”: “”, “sampler_name”: “euler_a”, “width”: 1024,“height”: 1024, “num_inference_steps”: 25, “guidance_scale”: 7.5, “use_lora_model”: null, “use_embeddings_model”: null, “tiling”: null, “use_face_correction”: null, “use_upscale”: null”, you should be able to get a somewhat similar image.
Beaucoup d’options sont listées, par exemple, sous Person view Object (la personne regarde un objet) vous pouvez sélectionner Eyes (les yeux) ou Ears (les oreilles). Beaucoup sont dérivés d’autres langages ou sont des abréviations qui peuvent vous être inconnues, mais, en vous en familiarisant, les possibilités augmentent. Alors que les résultats ne sont pas impressionnants avec un prompt limité, la création de 20 images aide à suggérer diverses options quand l’utilisateur n’est pas certain de ce qu’il faut faire pour répondre au besoin. Vous pouvez toujours taper des adjectifs si vous connaissez la voie que vous voulez poursuivre. Les prompts individuels peuvent également être modifiés en déplaçant le curseur au-dessus du promt, « early teen » dans ce cas. Diverses options pour supprimer et modifier le Keyword et le Keyword weight (le poids du mot clé) deviennent alors disponibles, ce qui est sans doute plus facile que de modifier des prompts individuels si la liste contient déjà plusieurs mots.
L’image ci-dessous est produite avec Easy Diffusion. C’est un peu tard pour Halloween cette année, mais peut-être pour l’année prochaine. En commençant avec le prompt : « crâne détaillé en chocolat, bonbons chocolat, [bouteille de tequila avec deux verres], dans cimetière mexicain, au crépuscule, haute résolution, bougie allumée » et « graine » : “detailed chocolate skull, chocolate candies, [tequila bottle with two glasses], in Mexican cemetery, at sunset, high resolution, burning candle” and “seed”: 2524754007, “use_stable_diffusion_model”: “sd_xl_base_1.0”, “clip_skip”: false, “use_controlnet_model”: null, “use_vae_model”: “”, “sampler_name”: “euler_a”, “width”: 1024,“height”: 1024, “num_inference_steps”: 25, “guidance_scale”: 7.5, “use_lora_model”: null, “use_embeddings_model”: null, “tiling”: null, “use_face_correction”: null, “use_upscale”: null”,
vous devriez pouvoir créer une image plus ou moins similaire.