search
HomeComputer TutorialsComputer KnowledgePrivate deployment of Stable Diffusion to play with AI drawing

Stable Diffusion is an open source deep learning model. Its main function is to generate high-quality images through text descriptions, and supports functions such as graph generation, model merging, and model training. The operating interface of the model can be seen in the figure below.

私有化部署 Stable Diffusion 玩转 AI 绘图

How to generate pictures

The following is an introduction to the process of generating a picture of a deer drinking water. When generating a picture, it is divided into prompt words and negative prompt words. When entering the prompt words, you must describe it clearly and try to describe the scene, object, style and color you want in detail. . For example, instead of just saying "the deer drinks water", it says "a creek, next to dense trees, and there are deer drinking water next to the creek". The negative prompt words are in the opposite direction. For example: no buildings, no people , no bridges, no fences, and too vague a description may lead to results that are not as expected.

私有化部署 Stable Diffusion 玩转 AI 绘图

The core advantages of Stable Diffusion

Advantage

There are many applications for AI painting, so what are the core advantages of Stable Diffusion?

Compared with many other AI painting tools, Stable Diffusion is completely open source, which means that anyone can use, modify and distribute it for free, and can train the model by themselves. There are many styles of paintings, and there are many styles of models in civitai (overseas) and LibuLibu AI (domestic), animation games, architectural space design, two-dimensional, 3D, logo icons, etc. . .

I saw an article before that said that payment is automatic, and Stable Diffusion is equivalent to manual transmission.

Then Stable Diffusion stands out among many AI painting applications, mainly due to the following core advantages:

  • Compared with many other AI painting tools, Stable Diffusion is completely open source, which means that anyone can use it for free, and it can be developed on the original basis for users to register.
  • Stable Diffusion supports a high degree of customization, and users can adjust model parameters to generate images that meet specific styles or needs. Competent users can even train models.
  • Stable Diffusion is capable of producing high-resolution, visually impressive images. It leverages advanced deep learning technology to generate detailed, complex images based on text descriptions.
  • Stable Diffusion is particularly good at generating images based on text prompts, and you can use simple descriptions to create the images you want.
  • Stable Diffusion is involved in many fields such as artistic creation, entertainment industry, advertising, education, and side business.
  • scenes to be used

    You can publish some works through a certain music, a certain hand and a certain book. AI painting is not very common in self-media yet, and the traffic is pretty good. The key to monetizing on these platforms is to continuously produce high-quality and attractive content, actively interact with fans, and build a fan base.

    One thing I have been trying is to use GPT to generate copy to make graphic videos, generate multiple pictures through carefully created copy, and then combine these pictures into a video. In this process, picture quality plays a decisive role in the traffic of the video.

    There are many picture tools in Mouyin (I use Blue Cat Wallpaper). This picture tool allows fans to download pictures here. You must watch the advertisement before downloading. You can convert the generated high-quality avatars and wallpapers. , logo into the tool to earn advertising revenue.

    Well enough:

  • After you have traffic, you can customize it and customize unique paintings according to customer needs. For mothers, you can customize baby avatars and so on.
  • AI painting stalls can be set up offline. You only need a laptop and a printer to support a stall, such as in a university town or a night market with a lot of traffic.
  • You can draw portraits based on the ability of drawings, and then sell them for cash.
  • Installation and deployment

    Prerequisite

  • You need to install Rainbond. Rainbond is a cloud-native application management platform that does not require knowledge of Kubernetes. Deployment of applications does not require complex configuration.
  • The machine configuration for deploying Stable Diffusion is no less than CPU: 8 cores, memory: 16GB.
  • step

  • Enter Rainbond platform management, select the project team in the sidebar, and create your first team.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • After clicking to enter the team – Create a new application – External application market – Select the open source application store – Search for Stable-diffusion.

    私有化部署 Stable Diffusion 玩转 AI 绘图

    You can choose the application version to install the Stable-diffusion application.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • After successful creation, you can see the Stable-diffusion application in the topology diagram of the application view.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Click on the gateway on the left - click on the current component gateway - edit - turn on WebSocket support.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Enter the component and wait for the initialization file - check the log (the decompression process is slow, please wait).

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Seeing this log means that the startup is successful and you can access it.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Click the access button in the upper right corner to access Stable-diffusion.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • Stable-diffusion interface, a Chinese language pack was also added when making this application.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • The installation has been completed here, you can try to generate the desired picture.

    私有化部署 Stable Diffusion 玩转 AI 绘图

  • The above is the detailed content of Private deployment of Stable Diffusion to play with AI drawing. For more information, please follow other related articles on the PHP Chinese website!

    Statement
    This article is reproduced at:每日运维. If there is any infringement, please contact admin@php.cn delete
    Windows 11 Education Download ISO and Install It on PC - MiniToolWindows 11 Education Download ISO and Install It on PC - MiniToolApr 26, 2025 am 12:50 AM

    What is Windows 11 Education? If you want to install this system on your PC, how can you do this work? This post from php.cn gives a detailed guide on Windows 11 Education download ISO and how to install it from the ISO file.

    How to Fix Outlook Emails Not Showing Up in Inbox - MiniToolHow to Fix Outlook Emails Not Showing Up in Inbox - MiniToolApr 26, 2025 am 12:49 AM

    Are your Outlook emails not showing up in Inbox, but showing in search? What steps can you do when Outlook not showing all emails? Now in this post given by php.cn Solution, we will introduce several useful methods to help you address the issue and g

    Must-Know Fixes: Windows Stuck on Shutting Down ScreenMust-Know Fixes: Windows Stuck on Shutting Down ScreenApr 26, 2025 am 12:48 AM

    If you are trying to power off your computer but encountering the Windows stuck on shutting down screen issue, you can find several helpful fixes from this php.cn guide. Just keep reading to see the details.

    [Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniTool[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniToolApr 26, 2025 am 12:47 AM

    If you are looking for effective solutions to the Microsoft Teams error code CAA50021, this post is worth reading. In this post, php.cn introduces how to get rid of this error in detail. Simply follow it to solve your problem.

    Make Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolMake Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolApr 26, 2025 am 12:46 AM

    Do you want to make Windows 11 or Windows 10 look like Windows XP? Do you know how to do this on your device? You can try the WindowBlinds 11 Beta version now. In this post, php.cn Software will tell you how to download WindowBlinds 11 and introduce

    Pro Fixes: Not All of the Updates Were Successfully UninstalledPro Fixes: Not All of the Updates Were Successfully UninstalledApr 26, 2025 am 12:45 AM

    If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the php.cn post to solve the issue.

    Fix the System Error – Wacom_tablet.exe Can't End Process - MiniToolFix the System Error – Wacom_tablet.exe Can't End Process - MiniToolApr 26, 2025 am 12:44 AM

    What is wacom_tablet.exe? Is the Windows process safe to run? Some people find wacom_tablet.exe can't end process and when this Windows system error happens, you may be overwhelmed and don’t know where to start. On php.cn, this article will resolve y

    3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniTool3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniToolApr 26, 2025 am 12:43 AM

    ChatGPT errors are various and we’ve detected suspicious behavior is a common one. If you are trapped in this issue, what should you do? Go on reading this post from php.cn and you can find some useful fixes to help you get rid of trouble.

    See all articles

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Tools

    WebStorm Mac version

    WebStorm Mac version

    Useful JavaScript development tools

    mPDF

    mPDF

    mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

    EditPlus Chinese cracked version

    EditPlus Chinese cracked version

    Small size, syntax highlighting, does not support code prompt function

    DVWA

    DVWA

    Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

    SublimeText3 English version

    SublimeText3 English version

    Recommended: Win version, supports code prompts!