Explore Fooocus: Developing More Complex Stable Diffusion Software

Novita AI - Jul 1 - - Dev Community

Plore Stable Diffusion Fooocus on each style explained in our latest blog post. Dive into developing more complex diffusion software with us.

Key Highlights

  • Fooocus is a no-cost and open-source GUI for Stable Diffusion that's known for being straightforward and easy to use.
  • Designed with beginners in mind, Fooocus stands out as the perfect option for those just getting started with diffusion techniques.
  • A comprehensive guide on how to install and use Fooocus.
  • Fooocus isn't ideal for complex workflow, so developers like you can create your Stable Diffusion software.
  • Developers can effortlessly create more complex software by utilizing AI image editing APIs in Novita AI.
  • The future of creating images with AI is looking really good, thanks to better technology and more people liking tools like Fooocus.

Introduction

Fooocus is a Stable Diffusion software that makes waves in the Stable Diffusion circle because of its straightforward design and how easy it is to get the hang of. However, it has limitations and is not ideal for complex workflow. A better way is to design more complex software to replace it.

In this guide on Fooocus for Stable Diffusion, I'll not only introduce comprehensively to Fooocus including every feature it had, but also take you from setting it up to using it detailedly. Moreover, we'll teach you how to develop your Stable Diffusion software with APIs in Novita AI. Finally, we'll discuss the future development of AI image generation. So let's dive right in.

Unveiling Fooocus: Good for Beginners to start Stable Diffusion

Besides Automatic1111 and ComfyUI which often come up as the big names of interfaces for Stable Diffusion, Fooocus is another interface that's super user-friendly for beginners.

What is Fooocus?

Fooocus is a cool piece of software that lets you use Stable Diffusion without needing the internet. It comes with a straightforward and user-friendly interface, totally free for anyone to use. With its roots in Gradio, Fooocus can create images with Stable Diffusion as easily as pie without sweating over technical stuff like sampling steps or CFG scale.

Image description

Pros and Cons of Fooocus

When it comes to using Fooocus, there are some clear advantages and disadvantages.
Pros:

  • It's super easy for anyone to start using, especially if you're new and just want to create images.
  • It works quickly, giving you your images faster than many other options.
  • This tool allows those who don't have top-of-the-line computers to use SDXL models without worrying about your computer's memory.
  • Since it's open-source and doesn't cost anything, it's a great choice to keep costs down in Stable Diffusion image generation.

Cons: 

  • Compared with other tools, it might not have as much freedom to tweak things exactly how you'd like them.
  • There are still limitations to its inpainting feature.
  • It can not install any extensions.
  • It's not suitable for works that involve more intricate settings or configurations.

Image description

Mastering Fooocus: A Comprehensive Usage Guide

In this part, we're going to take a closer look at how Fooocus works and check out all the cool stuff it can do. 

Install Fooocus in Your System

Fooocus can work on Windows, Mac, Linux, and even Google Colab. Here's how to get Fooocus running on Windows:

  • First off, grab the download for Fooocus from Github.
  • Next up, unzip that file on your PC and then click the "run.bat" file to kick things off with Fooocus.

Image description

  • The first time you open it up, be patient because Fooocus needs to grab a checkpoint model from online. 
  • For those who have checkpoint models they want to use with Focoous just drop them in the Fooocs/models/checkpoints folder directory. 

Image description

Crafting Image Generation by Texting Prompts

When opening Fooocus, you only need to write a simple prompt and click the "Generate" button, and then Fooocus will give you an excellent output. With Fooocus, you don't need to craft lengthy or overly complex prompts, as it handles the finer details like quality, aesthetics, and color for you.

Image description

Under the Input Image Checkbox

With Fooocus, when ticking the Input Image checkbox, you can upload your photo and do some neat stuff with it like making the quality better.

  • Image Upscale Tab: Upload your image and choose your upscale variation, like subtle, strong, 1.5x upscale, fast 2x upscale, and more.
  • Image Prompt Tab: Fooocus allows you to use an image as a prompt without installing any extractions. You can use ImagePrompt for image-to-image generation, PyraCanny for copying the poses of characters, CPDS for copying the 3D composition or depth of an image, and FaceSwap for swapping faces.
  • Inpaint or Outpaint Tab: With Inpainting, you can change any place in your image, and you can expand your image in whichever direction you choose with Outpainting.
  • Describe Tab: You have the ability called "image-to-prompt", that you can turn the input image into prompts.

Image description

Exploring Advanced Features of Fooocus

Click the "Advanced" checkbox under the prompt field, you can control more over the images you generate.

Image Generation Settings Tab

In the Settings Tab on Fooocus, you can try the performance options like speed and quality based on your GPU and pick out the size and number of your picture. You can also use the "negative prompt" to change how your images come out.

Style Tab

In Fooocus, the Style Tab lets you pick various looks for making your images. It comes with a bunch of built-in styles like futuristic or retro that you can turn on or off right from the start. When hovering over these style choices, there's a sneak peek showing what each style will make your image look like. 

Image description

Model Tab

In Fooocus, the Model Tab lets you pick a checkpoint model and add up to 5 LoRA models when making images. You get to choose from various models and decide how much each one should weigh in your project. On top of that, Fooocus supports SDXL models, which means that you can easily use SDXL without any technical problems. 

Advanced Tab

In Fooocus, there is an Advanced Tab for starters to set the Guidance Scale (CFG) and sharpness settings according to their needs. It's pretty cool because it means every picture can be as crisp or as soft as you like.

Image description

How to Develop Stable Diffusion Software like Fooocus

Although Fooocus is easy to use for beginners in AI image generation, it has many limitations as mentioned before, like limited inpainting, simple workflow, and so on. How about developing a Stable Diffusion software better than it? If you get the hang of how stable diffusion works and are good at coding, it's effortless for you to create one after getting relevant APIs. Here comes Novita AI, a powerful platform that features various APIs including AI image generation, image to prompt, and so on.

Step-by-Step Guide on Developing More Complex Software

  • Step 1: Visit the Novita AI website and create an account.
  • Step 2: Navigate to the "API" and find the "Text to Image" under the "Image Generator" tab and "Image to Prompt" under the "Image Editor" tab. Besides, Novita AI also provides APIs like "Merge face" and "Image to Image".

Image description

  • Step 3: Set up your developing your development environment and the API request.
  • Step 4: Obtain the API key and incorporate it into your software backend.
  • Step 5: Set up your developing your development environment and the API request.
  • Step 6: Make sure to stay updated for optimal results.

Moreover, Novita AI offers a playground for you to test and train your Stable Diffusion models. Follow the steps below to have a try.

Advance Your Stable Diffusion Models

Let's take text-to-image as an example.

  • Step 1: Navigate to the "playground" and choose "txt2img" on the left.
  • Step 2: Select the model you set or Novita AI supports from the list. Novita AI also has many models from animation to portrait, even the Stable Diffusion 3 model. 

Image description

  • Step 3: Enter the description of what you want to show in the image in the "Prompt" field.
  • Step 4: Set the other parameters below according to your needs.

Image description

  • Step 5: Turn to the "Advance" page, you can use "Negative Prompt" and choose a LoRA model to enhance your image.

Image description

  • Step 6: Generate the image.
  • Step 7: According to the output to improve your Stable Diffusion models.

Image description

Future of AI Image Generation

As AI gets smarter, we're going to see even cooler ways to make pictures that look super real.

The Impact of Fooocus on the Future of AI Art

Fooocus is really changing the game for AI art, making it easier for everyone to get involved. By offering a simple way to create images, anyone from artists and designers to just folks who love art can dive in without having to know all the techy stuff.

The Role of Community Feedback in Shaping Development

With help from user feedback, finding glitches, coming up with cool new features, or figuring out how to make the software easier and more effective becomes a lot simpler. It's also a great way for the developers to get what users truly need and want, ensuring that the software grows in directions that its users will appreciate.

Image description

Conclusion

Wrapping things up, diving into stable diffusion software like Fooocus really broadens your horizons in AI image generation. With its easy-to-use user interface and cool options like image prompts and tweaking styles, it lets you whip up awesome content without breaking a sweat. But it's important to get the hang of what it can't do as well so that you can develop better software. By keeping an ear out for what users say and staying on top of new developments, we can help shape how AI art grows from here. 

Frequently Asked Questions About Fooocus

How is Fooocus Compared to ComfyUI?

Fooocus and ComfyUI are both well-liked interfaces for stable diffusion. However, Fooocus is easier to use for beginners just getting started, but less flexibility.

Can I run Fooocus on Mac?

Sure, if you've got a Mac with macOS Catalina' or something newer, running Fooocus won't be an issue. 

Originally published at Novita AI
Novita AI is the all-in-one cloud platform that empowers your AI ambitions. With seamlessly integrated APIs, serverless computing, and GPU acceleration, we provide the cost-effective tools you need to rapidly build and scale your AI-driven business. Eliminate infrastructure headaches and get started for free - Novita AI makes your AI dreams a reality.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .