This month, as noted last time, we will take a look at Fooocus. The Fooocus interface is simplicity itself as shown. Only an image window and prompt space is immediately obvious, and your gut feeling is likely unimpressive, it’s almost childlike. But typing in a few Prompt words: tiger in snowy mountain country, and selecting the Generate key, is almost amazing. Without any further input, Fooocus creates a stunning image, two by default. The secret is that it expands the input prompt used adding what it “thinks” might work. Thus if you look at the actual prompt used, not the one you input, you will find a significantly larger prompt: tiger in snowing mountain country, cinematic, full focus, highly detailed, still, background dramatic, intricate, elegant, luxury, artistic, sharp focused, beautiful, passionate, color rich, inspiring, attractive, professional, thoughtful, cute, best, creative, charming, peaceful, pretty, enchanted, cool, friendly, famous, majestic, magical, colorful, breathtaking, and also any negative prompts when used.
Ce mois-ci, comme nous l'avons indiqué la dernière fois, nous allons nous pencher sur Fooocus. L'interface de Fooocus est d'une simplicité enfantine. Seule une fenêtre d'image et un espace d'invite sont immédiatement évidents, et vous n'êtes probablement pas très impressionné, car c'est presque enfantin. Mais en tapant quelques mots d'invite : tiger in snowy mountain country (tigre dans un pays de montagnes enneigées) et en sélectionnant la touche Générer, c'est presque incroyable. Sans aucune autre saisie, Fooocus crée une image étonnante, deux par défaut. Le secret est qu'il développe l'invite de saisie en ajoutant ce qu'il « pense » pouvoir fonctionner.
Ainsi, si vous regardez l'invite utilisée, et non celle que vous avez entrée, vous trouverez une invite significativement plus grande : tiger in snowing mountain country, cinematic, full focus, highly detailed, still, background dramatic, intricate, elegant, luxury, artistic, sharp focused, beautiful, passionate, color rich, inspiring, attractive, professional, thoughtful, cute, best, creative, charming, peaceful, pretty, enchanted, cool, friendly, famous, majestic, magical, colorful, breathtaking, ainsi que toutes les invites négatives lorsqu'elles ont été utilisées.
You can do this using a wonderful feature called History Log. You can access this by checking the Advanced checkbox on the bottom of the page, and then clicking on the History Log feature with the Setting tab selected (see below). This opens an HTML file of your most recent session. It is saved by default in the Home>Fooocus>outputs folder as a folder named for the date of creation. It will contain each generated image, along with the log.html file (the History Log) which, when opened, shows all the data and pictures created. The History Log feature should make it much easier to recreate images because all the important parameters are listed. Or you can try using the same inputs and parameters via a different interface like ComfyUI or Easy Diffusion. Its simplicity makes it so useful, especially for the newbie. Let’s say you need an image “Serendipitous Synchronicity” for some purpose. No muss, no fuss, just input the two words and see what you get. One output is the view of sunflowers facing you and not the sun. You can add the needed text via Inkscape and you are done. Note that not every simple Prompt text will create a terrific image, and even creating 20 images is not a guarantee of success.
Vous pouvez le faire à l'aide d'une fonction merveilleuse appelée History Log (Journal de l'historique). Vous pouvez y accéder en cochant la case Advanced (Avancé) au bas de la page, puis en cliquant sur la fonction History Log avec l'onglet Setting (Paramètre) sélectionné (voir ci-dessous). Cela ouvre un fichier HTML de votre session la plus récente. Il est enregistré par défaut dans le dossier Home>Fooocus>outputs, dans un dossier portant le nom de la date de création. Il contiendra chaque image générée, ainsi que le fichier log.html (le journal historique) qui, lorsqu'il est ouvert, montre toutes les données et les images créées. La fonction du journal historique devrait faciliter la recréation d'images, car tous les paramètres importants sont répertoriés. Vous pouvez également essayer d'utiliser les mêmes entrées et paramètres via une interface différente comme ComfyUI ou Easy Diffusion.
Sa simplicité la rend très utile, surtout pour les débutants. Imaginons que vous ayez besoin d'une image « Serendipitous Synchronicity » (synchronicité par hasard) pour une raison quelconque. Pas de problème, il suffit d'entrer les deux mots et de voir ce que vous obtenez. L'un des résultats est la vue de tournesols qui vous font face et non le soleil. Vous pouvez ajouter le texte nécessaire via Inkscape et vous avez terminé. Notez que tous les textes de l'invite simple ne créeront pas une image formidable, et que même la création de 20 images n'est pas une garantie de succès.
The created input text is: serendipitous synchronicity, rich vivid colors, ambient light, dynamic dramatic cinematic magical atmosphere, precise perfect, focus,, very inspirational, innocent, trustworthy, elegant, intricate, highly detailed, generous, color, fine detail, clear, aesthetic, cool, cute, pretty, friendly, artistic, professional, decorated, deep royal, elite, glowing, noble. While text creation using the prompt is getting better, it’s not dependable, so avoid the extra work and add it yourself. The program created text is not editable in the produced image so even slight modifications would require regeneration. That additional complexity would likely increase the model size and ultimately hardware requirements. But we are still in a steep growth phase with Artificial Intelligence image creation software. After creating a few images, you probably want more options, perhaps not to the level of ComfyUI, and Fooocus does not disappoint. When you select the Advanced checkbox, a variety of the expected options become available. Under the Setting tab, various performance and image options are now available. Selecting the Style tab offers several hundred styles, and when your cursor is moved over a style, a small cat image pops up to show how it will modify your image. The search option at the top helps find the desired style. Selecting one will move it to the top, and un-checking it will remove it from image generation. The third tab Model gives you options for the models used. This is dependent on which models were downloaded and whether you restarted Fooocus after adding the model. And finally the Advanced tab allows you to adjust the Guidance Scale and Image sharpness via sliders. Next time I will address installation and use of some other options.
Le texte d'entrée créé est le suivant : serendipitous synchronicity, rich vivid colors, ambient light, dynamic dramatic cinematic magical atmosphere, precise perfect, focus,, very inspirational, innocent, trustworthy, elegant, intricate, highly detailed, generous, color, fine detail, clear, aesthetic, cool, cute, pretty, friendly, artistic, professional, decorated, deep royal, elite, glowing, noble.
Bien que la création de texte à l'aide de l'invite s'améliore, elle n'est pas fiable ; évitez donc le travail supplémentaire et ajoutez le texte vous-même. Le texte créé par le programme n'est pas modifiable dans l'image produite, de sorte que même de légères modifications nécessiteraient une régénération. Cette complexité supplémentaire augmenterait probablement la taille du modèle et, en fin de compte, les besoins en matériel. Mais nous sommes encore dans une phase de croissance rapide des logiciels de création d'images par intelligence artificielle.
Après avoir créé quelques images, vous voudrez probablement plus d'options, peut-être pas au niveau de ComfyUI, et Fooocus ne vous déçoit pas. Lorsque vous cochez la case Avanced, une variété d'options attendues devient disponible. Sous l'onglet Setting, diverses options de performance et d'image sont maintenant disponibles. L'onglet Style propose plusieurs centaines de styles et, lorsque le curseur est placé sur un style, une petite image de chat s'affiche pour montrer comment il modifiera votre image. L'option de recherche située en haut de la page permet de trouver le style souhaité. Sélectionner un style le fait apparaître en haut de l'écran et le décocher le supprime de la génération de l'image.
Le troisième onglet Model vous donne des options pour les modèles utilisés. Cela dépend des modèles qui ont été téléchargés et du fait que vous avez redémarré Fooocus après avoir ajouté le modèle. Enfin, l'onglet Advanced vous permet d'ajuster la Guidance Scale (l'échelle de guidage) et Image Sharpness (la netteté de l'image) à l'aide de curseurs.
La prochaine fois, j'aborderai l'installation et l'utilisation de quelques autres options.