All Products
Search
Document Center

Platform For AI:Use applications in PAI ArtLab

Last Updated:Jun 17, 2026

Use applications from the Application Gallery, or create, customize, and share your own.

Log on to the PAI ArtLab console.

Prerequisites

Application Gallery

The following example uses the New Year Red Packet With Q-style Portrait application to demonstrate image generation.

  1. Log in to the PAI ArtLab console. In the left-side navigation pane, click Applications.

  2. On the Application Gallery tab, click the New Year Red Packet With Q-style Portrait card. On the details page that appears, click Run Application.

  3. On the configuration page, upload a portrait photo, enter keywords, and select a gender.

  4. Click Start Generation.

    After the image is generated, you can delete, download, or zoom in to view it.

Create an application

Prerequisites

  1. The workflow runs successfully in the corresponding ComfyUI edition

    Before you configure an application, verify that its workflow runs successfully in the target ComfyUI edition.

  2. The workflow file is exported in API format

    After the workflow runs successfully in the corresponding version of ComfyUI, export the workflow file in API format. For more information, see Exporting a workflow file in API or original format.

Procedure

  1. Log in to the PAI ArtLab console. In the left-side navigation pane, choose Applications > My Applications > Create Application, and configure the following parameters.

  2. In the Basic Information section, set the Application Name and upload an Application Cover Image.

  3. In the Workflow Configuration section, configure the following parameters:

    • API-format Workflow: Upload the exported workflow file in API format.

    • Tool Edition for Workflow: Select the ComfyUI edition to use.

    • ComfyUI Service Selection: If you select ComfyUI (Exclusive Edition) or ComfyUI (Exclusive Edition) GP7V Type for Tool Edition for Workflow, you must select a running service of the corresponding edition.

    For details on exporting a workflow in API format and selecting a tool edition, see the following tabs.

    ComfyUI (Shared Edition)

    Verify that the workflow runs in ComfyUI (Shared Edition) in PAI ArtLab, and then export it in API format.

    In the top menu bar of ComfyUI, click Workflow and select Export (API) from the drop-down menu.

    Upload the exported workflow file. For Tool Edition for Workflow, select ComfyUI (Shared Edition) and then click Load Workflow.

    The Workflow loaded successfully message appears.

    ComfyUI (Exclusive Edition)

    Verify that the workflow runs in ComfyUI (Exclusive Edition) in PAI ArtLab. Then, in the ComfyUI editor, select Export (API) from the File menu to save the workflow in API format.

    Upload the exported workflow file. For Tool Edition for Workflow, select ComfyUI (Exclusive Edition).

    Select a running ComfyUI (Exclusive Edition) service and click Load Workflow.

    If no ComfyUI (Exclusive Edition) service is running, you can click Create ComfyUI Service to create a new one, or click Start to start an existing one.

    In the left-side navigation pane of the PAI console, navigate to Developer Center > Custom Service. Find your ComfyUI (Exclusive Edition) service and click Start in the Actions column.

    The Workflow loaded successfully message appears.

    ComfyUI (Exclusive Edition) GP7V Type

    Verify that the workflow runs in ComfyUI (Exclusive Edition) GP7V Type in PAI ArtLab, and then export it in API format.

    In the left-side menu of the ComfyUI interface, click File > Export (API).

    Upload the exported workflow file. For Tool Edition for Workflow, select ComfyUI (Exclusive Edition) GP7V Type.

    Select a running ComfyUI (Exclusive Edition) GP7V Type service and click Load Workflow.

    If no ComfyUI (Exclusive Edition) GP7V Type service is running, you can click Create ComfyUI Service to create a new one, or click Start to start an existing one.

    On the Developer Center page, click the Custom Service tab. Find the ComfyUI (Exclusive Edition) GP7V Type service with a "Stopped" status and click Start in the Actions column.

    The Workflow loaded successfully message appears.

  4. After the workflow loads successfully, on the Application Configuration tab, configure the following parameters:

    • Application Output Type: Select Image or Video.

    • Application Output Configuration: Select the final output node from the workflow.

      For example, select the PreviewImage #269 node from the drop-down list.

      To learn how to view node IDs, see How do I display and view node IDs?

    • Application Input Configuration: Select the input nodes from the workflow to expose on the application's user interface.

      Use the buttons to the right of each node to reorder or remove nodes. In the Application Output Type field, select Image, and in the Application Output Configuration field, select PreviewImage #269.

      To learn how to view node IDs, see How do I display and view node IDs?

      In the example workflow, input nodes include #82 and #84 (Load Image for product and background images) and #83 (CLIP Vision Loader). Each node's ID is displayed in its upper-left corner.

  5. Click Publish Application. After the application is published, you can view and use it on the My Applications tab.

Share an application

  1. On the My Applications tab, click the image (Share) icon on the right of the application card.

  2. On the H5 Mobile tab, upload an Application Cover Image and then click Generate Share Link.

    For the best mobile preview, use a 750 × 1624 pixel portrait image.

    In the sharing configuration, set the Link Validity Period to 8 hours, and select ComfyUI (Shared Edition) for Tool Edition for Workflow.

  3. After the application starts, go to the Applications tab and click Generate Share Link to retrieve the share link and QR code. This share link is valid for 8 hours.

    The generated share link allows public access. Share it by clicking Copy Link or Download QR Code.

Related operations

On the My Applications tab, you can run, edit, share, or delete your applications.

Use the vertical icon buttons on the right of each application card to edit, copy, or delete the application.

FAQ

Q: Exporting API or original workflow files

For more information, see Export an API or original version of a workflow file.

Q: Displaying and viewing node IDs

ComfyUI (Shared Edition)

Click the Settings icon image in the lower-left corner. On the Lite Graph page, set Display Node ID to Show All.

You can then view the node ID on each node.

After applying this setting, the node ID appears in each node's title area as #Number (for example, #10 or #13).

ComfyUI (Exclusive Edition)

Click the image icon and select Settings.

On the Lite Graph page, set Display Node ID to Show All.

You can then view the node ID on each node.