n8n-nodes-runninghub-full-api
v0.1.2
Published
a tool to use runninghub api modified from denislov version
Downloads
8
Maintainers
Readme
n8n-nodes-runninghub-api
English | 简体中文
This is an n8n community node that lets you use Runninghub in your n8n workflows.
Runninghub is a cloud-based ComfyUI task execution platform that provides powerful AI image/video generation capabilities through an easy-to-use API.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Node Installation
- Go to Settings > Community Nodes in your n8n instance
- Select Install
- Enter
n8n-nodes-runninghub-apiin the Enter npm package name field - Agree to the risks and select Install
After installation, the Runninghub Api node will be available in your workflow editor.
Operations
This node supports 14 operations across 6 resources, providing complete coverage of the Runninghub API:
📋 Account
- Get Account Info - Retrieve account status including RH coins, running tasks, wallet balance, and API type
🚀 Task
- Create Task - Create a ComfyUI task based on a workflow template
- Get Task Info - Query task status (QUEUED, RUNNING, SUCCESS, FAILED)
- Get Task Output - Retrieve task results (images, videos, etc.)
- Get Workflow Info - Get workflow JSON configuration
- Cancel Task - Cancel a running or queued task
⚡ Quick Create
- Get Model Params - Retrieve quick creation model library style parameters
- Run Quick Create - Initiate a quick creation task
🤖 AI App
- Run AI App - Initiate an AI application task
- Get API Call Demo - Get API call example for AI applications
📁 File
- Upload File - Upload images, videos, audio, or ZIP files (max 30MB)
- Supported formats: JPG, PNG, JPEG, WEBP (images), MP4, AVI, MOV, MKV (videos), MP3, WAV, FLAC (audio), ZIP (archives)
- Get Lora Upload URL - Get upload URL for Lora model files
🔔 Webhook
- Get Webhook Detail - Get webhook event details for debugging
- Retry Webhook - Resend a specific webhook event
Credentials
Prerequisites
- Sign up for a Runninghub account at https://www.runninghub.cn
- Navigate to your account settings to generate an API key
Setting up credentials in n8n
- In n8n, go to Credentials > New
- Search for Runninghub Api
- Enter your API Key from Runninghub
- Click Save
Testing credentials
The credentials include a built-in test that verifies your API key by calling the account status endpoint.
Compatibility
- Minimum n8n version: 1.0.0
- Tested against: n8n 1.0.0+
- Node API Version: 1
This node has been tested and is compatible with the latest versions of n8n.
Usage
Basic Workflow Example
Here's a simple workflow to create a ComfyUI task and retrieve the results:
- Add Runninghub Api node to your workflow
- Select Resource: Task
- Select Operation: Create Task
- Enter Workflow ID: Your ComfyUI workflow template ID
- Optionally customize node parameters by enabling "Send NodeInfo List"
- Add another Runninghub Api node to poll for task completion
- Select Operation: Get Task Output
- Use the Task ID from the previous node
Working with Node Parameters
When creating tasks, you can customize node parameters using the nodeInfoList field:
[
{
"nodeId": "6",
"fieldName": "text",
"fieldValue": "A beautiful sunset over mountains"
},
{
"nodeId": "3",
"fieldName": "seed",
"fieldValue": "12345"
}
]File Upload Example
To upload an image for use in a workflow:
- Add Runninghub Api node
- Select Resource: File
- Select Operation: Upload File
- Enter file path or reference from previous node
- Select File Type: Image/Video/Audio/Zip
- Use the returned fileName in your task's nodeInfoList
Webhook Integration
For long-running tasks, use webhooks to get notified when tasks complete:
- Set up a webhook endpoint in your n8n workflow
- When creating a task, add the
webhookUrlparameter - Runninghub will POST results to your webhook when the task finishes
Resources
- n8n community nodes documentation
- Runninghub Official Website
- Runninghub API Documentation
- ComfyUI Documentation
Version History
0.1.1 (Current)
- ✅ Complete implementation of all 14 Runninghub API endpoints
- ✅ Added Quick Create resource with 2 operations
- ✅ Added AI App resource with 2 operations
- ✅ Added File resource with 2 operations
- ✅ Added Webhook resource with 2 operations
- ✅ Enhanced all operations with detailed descriptions
- ✅ Fixed cancelTask export naming
- ✅ Improved parameter validation and error handling
0.1.0
- Initial release
- Basic Task and Account operations
- API Key authentication
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Support
If you encounter any issues or have questions:
- Check the Runninghub API Documentation
- Open an issue on GitHub
- Contact the Runninghub support team
Acknowledgments
- Built with n8n-node-dev
- Integrates with Runninghub ComfyUI cloud platform
- Created by denislov
Made with ❤️ for the n8n community
