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
    Download Hidester VPN/Proxy to Access Your Favorite Content - MiniToolDownload Hidester VPN/Proxy to Access Your Favorite Content - MiniToolApr 22, 2025 am 12:50 AM

    Learn about Hidester VPN and Hidester proxy and download Hidester VPN for Windows, Mac, Android, and iOS to use this VPN service to view websites with no limit. For more useful free computer tools and troubleshooting tips, you may visit php.cn Softwa

    Windows Keyboard Opening Shortcuts Instead of Typing [Fixed]Windows Keyboard Opening Shortcuts Instead of Typing [Fixed]Apr 22, 2025 am 12:48 AM

    Have you ever encountered the trouble of “Windows keyboard opening shortcuts instead of typing”? In this post from php.cn, you will learn how to fix this issue.

    Easy Ways to Add the Control Panel Icon to Desktop on Win 10 / 11Easy Ways to Add the Control Panel Icon to Desktop on Win 10 / 11Apr 22, 2025 am 12:46 AM

    In this post, php.cn Software will introduce what Control Panel is and how to add the Control Panel icon to desktop on your Windows 10 or Windows 11 computer. You can also learn some related information about desktop icon settings.

    Granblue Fantasy Relink Save File Location & Backup Save DataGranblue Fantasy Relink Save File Location & Backup Save DataApr 22, 2025 am 12:45 AM

    If you play Granblue Fantasy: Relink on your PC, you may wonder where you can find its save file. In this post, php.cn introduces everything you want to know - Granblue Fantasy Relink save file location and how to back up the savegame of this game.

    How to Fix Event ID 1104: The Security Log Is Now Full? - MiniToolHow to Fix Event ID 1104: The Security Log Is Now Full? - MiniToolApr 22, 2025 am 12:44 AM

    Event Viewer keeps track of activity for better management. However, if the upper limit of the security log is reached, no more events can be logged. In this post on php.cn Website, we will show you how to deal with Event ID 1104 the security log is

    Watch: How to Enable Secure Boot on Gigabyte Motherboard?Watch: How to Enable Secure Boot on Gigabyte Motherboard?Apr 22, 2025 am 12:43 AM

    Secure Boot is a security standard that can prevent your computer from booting with untrustworthy software. Enabling it will add an extra layer of security to your device. In this post from php.cn Website, we will show you how to enable Secure Boot o

    Windows 11 23H2 Release Date: September 26, 2023 - MiniToolWindows 11 23H2 Release Date: September 26, 2023 - MiniToolApr 22, 2025 am 12:42 AM

    Coming to a new year, what Windows 11 users are looking forward to are not only the patch updates but also the annual major update for Windows 11. This post will talk about the Windows 11 23H2 release date. In addition, if you want to recover deleted

    How to Turn off Bixby on Samsung Phone? See a Guide! - MiniToolHow to Turn off Bixby on Samsung Phone? See a Guide! - MiniToolApr 22, 2025 am 12:41 AM

    Can you completely disable Bixby? How to turn off Bixby on Samsung phones? It is not hard to disable this voice assistant. In this post from php.cn, we will go to any length to help you find the method. Besides, a way to turn off “Hi, Bixby” is also

    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

    SublimeText3 English version

    SublimeText3 English version

    Recommended: Win version, supports code prompts!

    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),

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    MinGW - Minimalist GNU for Windows

    MinGW - Minimalist GNU for Windows

    This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

    Atom editor mac version download

    Atom editor mac version download

    The most popular open source editor