Deploy ComfyUI + Flux on Alibaba Cloud Function Compute in Minutes

This guide walks you through using Alibaba Cloud Function Compute to quickly deploy the Flux‑powered ComfyUI model for generating fluffy pet images, covering setup, role creation, application configuration, workflow import, prompt customization, and important usage considerations.

Alibaba Cloud Native
Alibaba Cloud Native
Alibaba Cloud Native
Deploy ComfyUI + Flux on Alibaba Cloud Function Compute in Minutes

Prerequisites

Alibaba Cloud account with Function Compute (FC) service enabled.

Access to the Function Compute 3.0 console.

Internet connection to download the workflow package.

Deployment Steps

Open the Function Compute console. If this is the first use, create the default role AliyunFcDefaultRole by approving the authorization on the role quick‑create page.

Switch to the Function Compute 3.0 console (top‑right switch button).

In the left navigation choose Applications → Create Application . (If you have never used the Application Center, you can skip this step.)

Select Artificial Intelligence → Workflow AI Image Generation ComfyUI and click Create Immediately . If the option is not visible, ensure you are on the 3.0 console.

On the creation page click Deploy Immediately . Verify that the required permissions are granted and that Function Compute is enabled.

Choose a region close to you (supported regions: Hangzhou, Shanghai, Tokyo, Singapore, Virginia) and keep the default model preset (Fluffy style). Click Create Application .

In the deployment confirmation dialog select the FC billing item, acknowledge the notice, and confirm deployment.

Wait about one minute. When the status changes to Deployment Successful , a domain of the form *.devsapp.net is generated.

Using ComfyUI

Open the generated domain URL in a browser. The first request incurs a cold‑start delay of roughly two minutes; subsequent image generations take about one minute each.

Importing the Example Workflow

Download the workflow package from

https://developer-labfileapp.oss-cn-hangzhou.aliyuncs.com/FC/%E5%8A%A8%E7%89%A9%E6%AF%9B%E7%BB%92%E7%8E%A9%E5%81%B6workflow.zip

and extract workflow.json.

In the ComfyUI UI click the workflow icon on the left, choose Import Workflow , and select the extracted workflow.json.

After the import, click Queue to generate an image using the default prompt.

Prompt Examples for Fluffy Pets

maomao, Fluffy Raccoon, with soft fur, big glowing eyes, sitting in a serene landscape under a starry sky, detailed fur texture, realistic style, cute and gentle expression, soft shadows and lighting, warm and cozy atmosphere
maomao, The little sheep is wearing a Santa hat and has soft white fur. Next to it is a little brown elk, leaning on the lamb, with big glowing eyes. Santa Claus is lying on the elk's head. The three are sitting in a quiet scenery under the starry sky. Delicate fur texture, realistic style, cute and gentle expression, soft shadows and lights, warm movie feeling
fox, solo, in oriental style traditional clothes, with red hair, bells hanging on his body, traditional accessories, trees, kawaii, incredibly absurdres, 3D rendering, realistic, in spring, tranquility, dreamlike, lovely wind, forest, in a meadow, stone, panorama, solo_focus, front view, lens_flare, looking_at_viewer, kyuubi
maomao, Fluffy Cat with a surprised expression and pink whiskers, with soft white fur, big glowing eyes, sitting, cute and gentle expression, soft shadows and lighting, warm and cozy atmosphere

Important Notes

Protect the generated *.devsapp.net domain; sharing it may incur additional charges.

The domain is provided by the CNCF Sandbox Serverless Devs community for learning and testing only and will be reclaimed after 30 days. Use a custom domain for production workloads.

ComfyUI maintains a persistent WebSocket connection while the page is open, which consumes compute resources. Close the page when not in use; idle sessions are automatically closed after 10 minutes.

Access to external resources such as GitHub or HuggingFace may be restricted in some regions.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

ServerlessTutorialAI image generationFluxAlibaba CloudFunction ComputeComfyUI
Alibaba Cloud Native
Written by

Alibaba Cloud Native

We publish cloud-native tech news, curate in-depth content, host regular events and live streams, and share Alibaba product and user case studies. Join us to explore and share the cloud-native insights you need.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.