Package Exports
- n8n-nodes-duomi-video
- n8n-nodes-duomi-video/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-duomi-video) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
n8n-nodes-duomi-video
This is an n8n community node that lets you use Duomi Kling AI video generation in your n8n workflows.
Duomi is an AI-powered video generation platform using Kling technology.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Using npm
npm install n8n-nodes-duomi-videoIn n8n
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-duomi-videoin npm Package Name - Agree to the risks of using community nodes
- Click Install
After installation, the Duomi Video node will be available in your n8n instance.
Operations
This node supports the following operations:
Generate Video
- Generate a video from text prompt
- Configure duration (5s or 10s)
- Choose aspect ratio (16:9, 9:16, 1:1)
- Select generation mode (Standard or Professional)
- Adjust CFG scale for creativity control
Get Video Status
- Query the status of a video generation task
- Get task progress and results
- Retrieve download URLs for completed videos
Generate Image to Video
- Convert an image to a video
- Add optional prompt to guide the generation
- Configure duration and aspect ratio
Credentials
To use this node, you need:
- A Duomi API key
- The Duomi API base URL (default:
https://api.duomi.com)
You can obtain your API key from your Duomi account.
Setting up credentials in n8n
- Go to Credentials > New
- Search for Duomi API
- Enter your API key
- (Optional) Modify the base URL if needed
- Click Create
Compatibility
This node has been tested with:
- n8n version 1.0.0 and above
- Node.js 18.x and above
Usage
Example: Generate a video from text
- Add the Duomi Video node to your workflow
- Select Generate Video operation
- Enter your text prompt
- Configure video settings (duration, aspect ratio, etc.)
- Execute the workflow
The node will return a task ID that you can use to check the generation status.
Example: Check video status
- Add another Duomi Video node
- Select Get Video Status operation
- Enter the task ID from the previous step
- Execute to get the current status
Example workflow
Manual Trigger → Duomi Video (Generate) → Wait → Duomi Video (Get Status) → Download VideoResources
Development
If you want to develop this node locally:
# Clone the repository
git clone https://github.com/yourusername/n8n-nodes-duomi-video.git
cd n8n-nodes-duomi-video
# Install dependencies
npm install
# Build the node
npm run build
# Link to n8n
cd ~/.n8n/custom
npm link n8n-nodes-duomi-videoVersion history
0.1.0
- Initial release
- Support for text-to-video generation
- Support for image-to-video generation
- Task status querying
License
Support
If you encounter any issues or have questions:
- Open an issue on GitHub
- Check the n8n community forum
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.