RunningHub API icon

RunningHub API

Interact with the RunningHub API

ComfyUI Workflow → Get Workflow Prompt Template

AI-generated

Summary

Fetches a workflow’s prompt data by Workflow ID and returns a compact nodeInfoList template for prompt fields that can be used to customize workflow parameters.

Inputs

  • Workflow ID (required) — The workflow ID whose JSON configuration should be retrieved.

Output shape

A single record containing workflowId and nodeInfoListTemplate when the response includes a nonempty prompt string; otherwise, the original API response.

The template includes detected system, positive, and negative prompt fields as nodeId, fieldName, and fieldValue entries. Values are trimmed and truncated to 160 characters. Fields with linked values are skipped.

Examples

Example 1: Use the returned template to prepare workflow input overrides.

Provide the Workflow ID. The result's nodeInfoListTemplate contains prompt fields that can be supplied when creating or running a workflow task.

Links

Discussion