Description
n8n-nodes-chutes
!Chutes.ai
!n8n
!License
!Tests
!Node
This is an n8n community node that provides complete access to Chutes.ai’s AI services, replicating all features available in the Chutes.ai playground including text generation, image generation, and custom inference.
Chutes.ai is an advanced AI platform that provides state-of-the-art models for various AI tasks with a focus on performance and reliability.
Installation
Community Node (Recommended)
1. Go to Settings > Community Nodes in your n8n instance
2. Search for n8n-nodes-chutes
3. Click Install
Manual Installation
npm install n8n-nodes-chutes
For self-hosted n8n instances:
cd ~/.n8n
npm install n8n-nodes-chutes
Authentication (With Example)
To use this node, you’ll need an API key from Chutes.ai:
1. Sign up at chutes.ai
2. Navigate to your API Keys dashboard
3. Create a new API key (you will only be shown it once)
4. Add the key to your n8n credentials:
– Go to Credentials > New
– Select Chutes API
– Enter your API key
– Choose your environment (Production/Sandbox)
– Save
!docs/AI-AGENT-INTEGRATION.md for detailed examples and best practices.
Usage Examples
Basic Text Generation
Generate creative text using Chutes.ai’s LLM models:
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "c7bf314b-4232-4f02-9146-439e30aa7437",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"chuteUrl": "https://chutes-moonshotai-kimi-k2-thinking.chutes.ai",
"operation": "chat",
"messages": {
"messageValues": [
{
"role": "system",
"content": "you are the HAL9000 before it went insane, be helpful like the computer in the movie, you are to pretend you are in the movie 2001 a space odyssey, and will not break character. if the user asks questions they are also pretending to be in the movie."
},
{
"content": "can you guess how long before we reach Jupiter, HAL?"
}
]
},
"additionalOptions": {
"maxTokens": 10000
}
},
"type": "CUSTOM.chutes",
"typeVersion": 1,
"position": [
220,
0
],
"id": "7beb97a8-a59c-4041-b7f2-6be1901c79eb",
"name": "Chutes",
"credentials": {
"chutesApi": {
"id": "Lv1zGZROIfHD4yIL",
"name": "Chutes account"
}
}
}
],
"connections": {
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Chutes",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "0766e26a38e4cf9836ab30499d93ee64e5c7b0eae3f1edb925460d34cf41d5c5"
}
}
Image Generation
Create stunning images from text descriptions:
Click to see full JSON example node
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "4bee9ada-56fe-4cc1-9490-ce87839077dd",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"resource": "imageGeneration",
"chuteUrl": "https://chutes-qwen-image.chutes.ai",
"prompt": "a cat in a hat that sat on a fat stack of pancakes, maple syrup flows down the side of the pancakes",
"additionalOptions": {}
},
"type": "CUSTOM.chutes",
"typeVersion": 1,
"position": [
220,
0
],
"id": "13f40013-4da6-4bc6-b909-95e8e7b1594d",
"name": "Chutes",
"credentials": {
"chutesApi": {
"id": "Lv1zGZROIfHD4yIL",
"name": "Chutes account"
}
}
}
],
"connections": {
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Chutes",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "0766e26a38e4cf9836ab30499d93ee64e5c7b0eae3f1edb925460d34cf41d5c5"
}
}
Video Generation
Animate stunning images with Video using text descriptions :
Click to see full JSON example node
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-200,
0
],
"id": "4bee9ada-56fe-4cc1-9490-ce87839077dd",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"resource": "imageGeneration",
"chuteUrl": "https://chutes-qwen-image.chutes.ai",
"prompt": "a cat in a hat that sat on a fat stack of pancakes, maple syrup flows down the side of the pancakes",
"additionalOptions": {}
},
"type": "CUSTOM.chutes",
"typeVersion": 1,
"position": [
20,
0
],
"id": "13f40013-4da6-4bc6-b909-95e8e7b1594d",
"name": "Chutes",
"credentials": {
"chutesApi": {
"id": "Lv1zGZROIfHD4yIL",
"name": "Chutes account"
}
}
},
{
"parameters": {
"resource": "videoGeneration",
"chuteUrl": "https://chutes-wan-2-2-i2v-14b-fast.chutes.ai",
"operation": "image2video",
"prompt": "the maple syrup flows down the pancakes slowly while the cat wags his tail",
"additionalOptions": {}
},
"type": "CUSTOM.chutes",
"typeVersion": 1,
"position": [
240,
0
],
"id": "6b881c17-31d5-4f2a-9553-4dbe5711d0a6",
"name": "Chutes1",
"credentials": {
"chutesApi": {
"id": "Lv1zGZROIfHD4yIL",
"name": "Chutes account"
}
}
}
],
"connections": {
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Chutes",
"type": "main",
"index": 0
}
]
]
},
"Chutes": {
"main": [
[
{
"node": "Chutes1",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "0766e26a38e4cf9836ab30499d93ee64e5c7b0eae3f1edb925460d34cf41d5c5"
}
}
Use your Imagination
String together as many n8n nodes as you like, for any reason, no matter how crazy. Chutes Nodes are made to work together :
!Examples Directory, you will also need FFmpeg installed to make a GIF – but that can easily be accomplished by using the docker example found in the tests folder.
Support
Development
Contributing
We welcome contributions! Please follow this workflow:
1. Fork the repository on GitHub
2. Clone your fork and create a branch from DEV:
git clone https://github.com/YOUR-USERNAME/n8n-nodes-chutes.git
cd n8n-nodes-chutes
git checkout DEV
git checkout -b feature/your-feature-name
3. Make your changes and write tests
4. Create a Pull Request to DEV (not main)
Important:
main – they will be rejectedDEV branchLocal Development Setup
Clone the repository
git clone https://github.com/chutesai/n8n-nodes-chutes.git
cd n8n-nodes-chutesCheckout DEV branch (always develop from DEV)
git checkout DEVInstall dependencies
npm installBuild the node
npm run buildLink for local development
npm link
cd ~/.n8n/custom
npm link n8n-nodes-chutesStart n8n
n8n start
Testing
This project uses Jest for testing and follows Test-Driven Development (TDD).
Run all tests
npm testRun tests with coverage
npm run test:coverageRun tests in watch mode
npm run test:watchRun specific test file
npm test -- --testPathPattern="ChutesChatModel"Run integration tests (requires CHUTESAPIKEY)
export CHUTESAPIKEY=yourapikey
npm test -- --testPathPattern="tests/integration"
Test Structure:
tests/nodes/ – Unit tests for all nodestests/integration/ – Integration tests with real API callstests/credentials/ – Credential configuration testsSee tests/README.md for detailed testing documentation.
Compatibility
Changelog
[0.1.0] – 2026-02-15 Official Release
#### Tool Calling Support (AI Agent)
role: 'tool' and toolcallid#### ChutesAIAgent & ChutesChatModel Improvements
#### Multi-Image Edit Support
#### Bug Fixes
[0.0.10] – 2026-01-14
#### LTX-2 Full Support
imagestrength, imageframe_index, distilled pipeline optionfps/framerate, frames/numframes, etc.)[0.0.9] – 2025-10-22
#### Initial Release
/v1/chat/completions for all text operationsLicense
Discord
Chutes
Author
Vonkaiser
Acknowledgments
—
Made with respect for the n8n and Chutes.ai communities