n8n-nodes-pollinations-ai 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +104 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,16 @@ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes
16
16
  2. Select **Install**
17
17
  3. Enter `n8n-nodes-pollinations-ai` and confirm
18
18
 
19
- ## Operations
19
+ ## Nodes
20
+
21
+ This package includes two nodes:
22
+
23
+ | Node | Description |
24
+ |------|-------------|
25
+ | **Pollinations** | Main node for image and text generation |
26
+ | **Pollinations Chat Model** | Sub-node for AI Agent integration |
27
+
28
+ ## Operations (Pollinations Node)
20
29
 
21
30
  ### Generate Image
22
31
 
@@ -40,6 +49,37 @@ Generate an image from a text prompt using Pollinations AI.
40
49
  | Enhance Prompt | false | Automatically enhance the prompt |
41
50
  | Safe Mode | false | Enable content safety filter |
42
51
 
52
+ ### Generate with Reference
53
+
54
+ Generate an image using a reference image (image-to-image). Only models supporting image input are shown.
55
+
56
+ **Parameters:**
57
+
58
+ | Parameter | Required | Description |
59
+ |-----------|----------|-------------|
60
+ | Prompt | Yes | Text describing how to transform or use the reference image |
61
+ | Reference Image URL | Yes | URL of the reference image (must be publicly accessible) |
62
+ | Model | Yes | The model to use (only models with image input support) |
63
+
64
+ **Advanced Options:**
65
+
66
+ | Option | Default | Description |
67
+ |--------|---------|-------------|
68
+ | Width | 1024 | Width of the generated image (64-2048) |
69
+ | Height | 1024 | Height of the generated image (64-2048) |
70
+ | Seed | 0 | Seed for reproducible generation (0 = random) |
71
+ | No Logo | false | Remove the Pollinations watermark |
72
+ | Enhance Prompt | false | Automatically enhance the prompt |
73
+ | Safe Mode | false | Enable content safety filter |
74
+
75
+ **Supported Models:**
76
+
77
+ Models are filtered dynamically from the API. Common models supporting reference images include:
78
+ - FLUX.1 Kontext
79
+ - NanoBanana / NanoBanana Pro
80
+ - Seedream 4.0
81
+ - GPT Image
82
+
43
83
  ### Generate Text
44
84
 
45
85
  Generate text from a prompt using AI language models.
@@ -60,6 +100,41 @@ Generate text from a prompt using AI language models.
60
100
  | JSON Response | false | Force the response in JSON format (not supported by all models) |
61
101
  | Seed | -1 | Seed for reproducible results (-1 = random) |
62
102
 
103
+ ## Pollinations Chat Model (Sub-node)
104
+
105
+ A sub-node designed for use with **AI Agents** and **LLM Chains** in n8n. This node provides a language model that can be connected to AI workflow nodes.
106
+
107
+ ### Use Cases
108
+
109
+ - Connect to **AI Agent** nodes for conversational AI workflows
110
+ - Use with **LLM Chain** nodes for text processing pipelines
111
+ - Build custom AI assistants using n8n's AI capabilities
112
+
113
+ ### Parameters
114
+
115
+ | Parameter | Required | Description |
116
+ |-----------|----------|-------------|
117
+ | Model | Yes | The chat model to use (loaded dynamically from API) |
118
+ | Temperature | Yes | Controls randomness: 0 = deterministic, 2 = very creative (default: 1) |
119
+
120
+ ### Advanced Options
121
+
122
+ | Option | Default | Description |
123
+ |--------|---------|-------------|
124
+ | Max Tokens | 0 | Maximum tokens in response (0 = model default) |
125
+ | Top P | 1 | Nucleus sampling parameter (0-1) |
126
+ | Frequency Penalty | 0 | Reduce repetition of token sequences (-2 to 2) |
127
+ | Presence Penalty | 0 | Increase likelihood of new topics (-2 to 2) |
128
+ | Timeout | 60000 | Request timeout in milliseconds |
129
+
130
+ ### How to Use
131
+
132
+ 1. Add an **AI Agent** or **LLM Chain** node to your workflow
133
+ 2. Add a **Pollinations Chat Model** node
134
+ 3. Connect the Chat Model output to the Agent/Chain model input
135
+ 4. Configure your Pollinations API credentials
136
+ 5. Select a model and adjust parameters as needed
137
+
63
138
  ## Credentials
64
139
 
65
140
  To use this node, you need a Pollinations API key.
@@ -132,6 +207,22 @@ The output will be a binary image that you can:
132
207
  - Send via email or messaging platforms
133
208
  - Process with other image manipulation nodes
134
209
 
210
+ ### Image-to-Image with Reference
211
+
212
+ 1. Add a **Pollinations** node to your workflow
213
+ 2. Select **Generate with Reference** operation
214
+ 3. Select your Pollinations API credentials
215
+ 4. Enter a prompt like "Transform into a watercolor painting"
216
+ 5. Enter the URL of your reference image
217
+ 6. Select a model (e.g., Kontext)
218
+ 7. Execute the node
219
+
220
+ Use cases for reference images:
221
+ - **Style transfer**: Apply artistic styles to existing images
222
+ - **Consistent characters**: Generate variations of a character for tutorials
223
+ - **Image editing**: Modify specific aspects of an image with text prompts
224
+ - **Product variations**: Create different versions of product images
225
+
135
226
  ### Basic Text Generation
136
227
 
137
228
  1. Add a **Pollinations** node to your workflow
@@ -144,6 +235,18 @@ The output will be a binary image that you can:
144
235
 
145
236
  The output will be a JSON object with the generated text and metadata.
146
237
 
238
+ ### AI Agent Integration
239
+
240
+ 1. Add an **AI Agent** node to your workflow
241
+ 2. Add a **Pollinations Chat Model** node
242
+ 3. Connect the Chat Model to the Agent's model input
243
+ 4. Configure your Pollinations API credentials on the Chat Model
244
+ 5. Select a model (e.g., OpenAI, Claude, or DeepSeek)
245
+ 6. Add tools to your Agent as needed
246
+ 7. Execute the workflow
247
+
248
+ This setup allows you to build conversational AI assistants powered by Pollinations models.
249
+
147
250
  ## Compatibility
148
251
 
149
252
  - n8n version: 1.0.0 or later
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-pollinations-ai",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "n8n community node for Pollinations AI - image generation and chat models",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",