All Products
Search
Document Center

Platform For AI:PAI ArtLab application instructions

Last Updated:Mar 25, 2026

Use applications from the gallery, or create, customize, and share your own applications in PAI ArtLab.

Log on to the PAI ArtLab console.

Prerequisites

Use applications from the gallery

This example demonstrates how to generate an image using the New Year Red Packet With Q-style Portrait application.

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

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

    image

  3. After the application starts, on the configuration page, upload a portrait photo, enter a keyword, and select a gender.

  4. Click Start Generation to generate the image. Delete, download, or zoom in on the image as needed.

Create an application

Prerequisites

  1. Ensure workflow runs in the corresponding ComfyUI edition

    Applications are built on ComfyUI workflows. PAI ArtLab provides three ComfyUI editions: ComfyUI (Shared Edition), ComfyUI (Exclusive Edition), and ComfyUI (Exclusive Edition) GP7V Type. Determine which edition to use and ensure the workflow runs successfully in that edition before configuring the application.

  2. Export workflow file in API format

    After the workflow runs successfully, export it in API format. For more information, see Export an API or original version of a workflow file.

Procedure

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

    image

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

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

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

    • Tool Edition for Workflow: ComfyUI edition to use.

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

    For details on exporting an API-format workflow and selecting a tool edition, see the tabs:

    ComfyUI (Shared Edition)

    Ensure the workflow runs in ComfyUI (Shared Edition) in PAI ArtLab and export it as an API-format workflow.

    image

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

    image

    A Workflow loaded successfully message appears.

    image

    ComfyUI (Exclusive Edition)

    Ensure the workflow runs in ComfyUI (Exclusive Edition) in PAI ArtLab and export it as an API-format workflow.image

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

    image

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

    image

    If no ComfyUI (Exclusive Edition) service is running, create one by clicking Create ComfyUI Service or start an existing service by clicking Start.

    image

    A Workflow loaded successfully message appears.

    image

    ComfyUI (Exclusive Edition) GP7V Type

    Ensure the workflow runs in ComfyUI (Exclusive Edition) GP7V Type in PAI ArtLab and export it as an API-format workflow.

    image

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

    image

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

    image

    If no ComfyUI (Exclusive Edition) GP7V Type service is running, create one by clicking Create ComfyUI Service or start an existing service by clicking Start.

    image

    A Workflow loaded successfully message appears.

    image

  4. On the Application Configuration tab, configure the parameters after the workflow loads:

    • Application Output Type: Image or video.

    • Application Output Configuration: Final output node in the workflow.

      image.png

      This is the output node of the workflow. To learn how to view node IDs, see How do I display and view node IDs?

      image.png

    • Application Input Configuration: Input nodes from the workflow to display on the application user interface.

      image.png

      These are the input nodes of the workflow. To learn how to view node IDs, see How do I display and view node IDs?

      image.png

  5. Click Publish Application. After publishing, view and use the application on the My Applications tab.

Share an application

  1. On the My Applications tab, click the image (Share) icon on the application card to open the sharing configuration page.

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

    For optimal preview on mobile devices, use a 750 × 1624 pixel portrait image for the thumbnail.

    image

  3. After the sharing service starts, go to the Application tab and click Generate Share Link to retrieve the share link and QR code. The link is valid for 8 hours.

    image

Related operations

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

image

FAQ

How do I export an API-format or original workflow file?

See Export an API or original version of a workflow file.

How do I display and view node IDs?

ComfyUI (Shared Edition)

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

image

View the node ID on each node.

image

ComfyUI (Exclusive Edition)

Click the image icon and select Settings.

image

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

image

View the node ID on each node.

image