- Documentation
Volcano Engine Function as a Service
User guide
Application center
Apply a template
Image generation
Deploying AI painting Stable Diffusion applications with a few clicks
Image generation
Deploying AI painting Stable Diffusion applications with a few clicks
Deploying AI painting Stable Diffusion applications with a few clicks
This topic describes how to deploy an AI painting Stable Diffusion application with a few clicks by using the Application Center of veFaaS.
tip
[Beta - apply for trial] This application requires GPU computing power support. Serverless GPU is currently in beta. Contact your account manager to apply for a trial. Background information
- Application introduction
- This application provides the Serverless deployment capability of the stable-diffusion-webui project. After deployment, you can use the Stable Diffusion WebUI through the domain name provided by API Gateway Trigger, including text-to-image, image-to-image, and advanced features such as Lora and ControlNet.
- Associated cloud services
- veFaaS: Performs GPU inference computation on AIGC.
- APIG: Sends requests for AIGC image generation.
Prerequisites
- All the cloud services associated with the application have been activated.
- The VeFaaSFullAccess, APIGFullAccess, and STSAssumeRoleAccess policies have been attached to Identity and Access Management (IAM) users. If one of the preceding policies is not attached, contact the root user or the administrator for authorization. For specific operations, refer to Creating user and authorize.
- An APIG instance has been created in APIG. For detailed operations, see Creating instances.
- If you use veFaaS for the first time, make sure that the cross-service authorization is complete. If the authorization is not complete, the cross-service authorization page will appear, which provides guidance on authorization.
Procedure
- In the top navigation bar, select the target region.
- In the left navigation bar, click App.
- On the My app page, click Create app.
- On the Create app page, find the volcano-stable-diffusion template and click Create.
- On the Create App page, specify the following information as required.
- Click Confirm to create and deploy the application.
- You will be automatically redirected to the application details page, which displays the application deployment logs in real time.
Result validation
- After the application is deployed, click the access address under API Gateway in the cloud resources list to open the Stable Diffusion WebUI page.
- In the text box on the txt2img tab, enter the prompt and click Generate to generate an image that matches the prompt.
Last updated: 2026.08.19 14:06:07