Workflow management

更新时间:
复制 MD 格式

Access the feature

Feature menu: Workflow management

Click to open the workflow list.

The workflow list displays the following information:

Field

Notes

Workflow ID

Displays the workflow ID.

Workflow name

Displays the workflow name.

Workflow description

Displays the workflow description.

Latest version

Displays the latest version of the workflow.

Creator

Displays the ID of the workflow creator.

Last updated

Displays the time the workflow was last updated.

Operations

Edit workflow information: Edit the workflow name and description.

Version management: View historical versions of the workflow and manage aliases.

Clone: Clone this workflow to create a new one.

Delete: Delete the workflow. This action requires confirmation.

Click a workflow name to go to the workflow editing page.

Click the New Workflow button in the upper-left corner to create a workflow.

Create a workflow

To create a workflow, enter the following information:

  • Workflow name: Enter up to 20 characters.

  • Workflow description: Enter up to 100 characters.

  • Workflow template:

    • To build from scratch, select Blank pipeline.

    • To create from an existing template, select Text-to-image, Image-to-image, Text-to-video, or Image-to-video.

    • To create a workflow from a local file, select this option and upload the file.

Edit a workflow

On the workflow list page, click a workflow name to open the workflow editing page:

The workflow canvas functions similarly to the original ComfyUI, including actions such as double-clicking to add a component, right-clicking to open a menu, and dragging and dropping.

The menu bar is at the top:

  • Workflow name: Located in the upper-left corner. It displays the workflow name. You can click the name to edit it.

  • Below the workflow name, the last update time and the current version are displayed.

  • Draft version: Before a workflow is published, it is considered a draft. Any changes made after publishing also revert the workflow to a draft version.

The operations bar is on the right side of the menu bar and includes features such as Import, Export, Generation History, Service Management, Publish, and Run.

  • Import: Upload a workflow from your local machine to replace the current draft.

  • Export: Save the current workflow from the cloud to your local machine as a JSON file.

  • Generation History: Click Generation History to open the Generation History drawer on the right. This drawer displays all images generated by the current workflow.In the Generation History drawer, click an image to view its information and details:The image details are as follows:

    • The name of the workflow that generated the image is in the upper-left corner.

    • The details on the right include the following:

      • The ID of the workflow that generated the image, used for API troubleshooting.

      • Creation time

      • Generation duration

    • The operations on the right include the following:

      • Create a similar workflow: Creates a new workflow based on the one that generated the image. The new workflow is automatically named as a copy.

      • Replace this workflow with the current draft: Replaces the workflow that generated the image with the current draft.

    • The operations at the bottom are:

      • Delete: Deletes the image.

      • Export workflow: Downloads the workflow that generated the image to your local machine.

      • Download image: Downloads the image.

  • Service Management: Click Service Management to manage published versions and aliases.

    • Version management

      • Version number: Displays the version number, which is defined by the system.

      • Version description: Displays the description entered when the version was published.

      • Operations:

        • View parameters: Click to view the input and output parameters for this API version.

        • Delete: Deletes this version. After deletion, the service for this version cannot be called from the API.

    • Alias management

      The Alias management tab displays a list of existing aliases. You can call an alias directly from an API. Click New Alias in the upper-right corner to create an alias.

      • New alias

      • Click New Alias to open a pop-up window. In the window, enter the following information:

        • Alias: Use only English letters, numbers, and underscores.

        • Description: Optional. Describe the purpose or scenario for the alias.

        • Primary version selection: Select the primary version for the alias.

      • Alias management list:

        • Displays the alias.

          • Displays the alias description.

          • Displays the corresponding version.

          • Operations:

            • Edit: Edits the alias to update its description or change its version.

            • Delete: Deletes the alias. After deletion, the alias can no longer be used to access the service in API calls.

  • Publish: Click Publish to open the publish menu. Before you publish, ensure that the workflow has run successfully and has no pending modifications.

    • Version description: Enter the release content, update details, or other information. You can enter up to 100 characters.

    • Workflow input parameter settings: Set the parameters to expose for the API service. Unexposed parameters retain the values set in the workflow. If a parameter is set as an input parameter but is not passed in the API call, the default value from the workflow is used.

      • Click Edit Field to edit the parameter alias.

      • Click the up and down arrows to adjust the parameter order. Parameters at the top have higher priority.

      • Click the delete button to delete the parameter.

      • Click the Add button at the bottom to add a new parameter.First, select a component. The number indicates the node number in the workflow. If components have the same name, use this number to identify the specific node. After you select a component, its corresponding field parameters are displayed. Select the checkboxes for the required fields, which are then added to the selected list below. Click OK to add them as input parameters.

    • Workflow output parameter settings

      • The configuration process is the same as for input parameters. Select the output component and its corresponding fields.

  • Run: Click to start running the workflow. The progress is displayed above the workflow.

  • Workflow settings: Click the Settings button in the upper-right corner to open the settings menu.

    • Model list settings:

      • Large image mode: In this mode, all models have a preview.

      • List mode: In this mode, all models are displayed in a native list format.

        • Use list mode for specific features of the native model list, such as when you do not need to select a specific CKPT file.

    • Native toolbar

      • Show or hide the native toolbar.

    • Run resource pool settings: Set the resource pool configuration for running the workflow. This setting applies only to the current workflow.

Delete a workflow

On the Workflow management page, click Delete next to a workflow. A confirmation message appears. Click Confirm to delete the workflow.