opencode-pollinations-plugin 6.0.0-beta.25 β 6.0.0
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.
- package/README.md +88 -134
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,165 +1,119 @@
|
|
|
1
|
-
# πΈ Pollinations AI Plugin for OpenCode
|
|
1
|
+
# πΈ Pollinations AI Plugin for OpenCode
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
|
-
<img src="https://avatars.githubusercontent.com/u/88394740?s=400&v=4" alt="Pollinations.ai Logo" width="
|
|
4
|
+
<img src="https://avatars.githubusercontent.com/u/88394740?s=400&v=4" alt="Pollinations.ai Logo" width="150">
|
|
5
5
|
<br>
|
|
6
|
-
<b>The Bridge between OpenCode and the Pollinations.ai Ecosystem
|
|
6
|
+
<b>The Bridge between OpenCode and the Pollinations.ai Ecosystem</b>
|
|
7
7
|
<br>
|
|
8
|
-
Access
|
|
8
|
+
Access 25+ AI models with Vision, Reasoning, and Tools support.
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div align="center">
|
|
12
12
|
|
|
13
|
-

|
|
14
14
|

|
|
15
|
-

|
|
16
16
|
|
|
17
|
-
[π
|
|
17
|
+
[π Changelog](./CHANGELOG.md) | [π£οΈ Roadmap](./ROADMAP.md)
|
|
18
18
|
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
---
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
## β¨ Features
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
25
|
+
- **ποΈ Vision Support**: Send images to AI models (OpenAI, Claude, Gemini, Kimi)
|
|
26
|
+
- **π§ Reasoning Models**: Access advanced thinking models (DeepSeek, Kimi, Perplexity)
|
|
27
|
+
- **π οΈ Native Tools**: Full function calling support for compatible models
|
|
28
|
+
- **π Secure Auth**: Native OpenCode `/connect` integration
|
|
29
|
+
- **π Hot-Reload**: Change API keys without restarting OpenCode
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
---
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
<img src="https://github.com/fkom13/opencode-pollinations-plugin/raw/main/docs/images/connect.png" alt="Connect Command" width="800">
|
|
34
|
-
<br>
|
|
35
|
-
<em>Easy Connection with /connect or /pollinations config apiKey</em>
|
|
36
|
-
</p>
|
|
33
|
+
## π Understanding Pollen & Tiers
|
|
37
34
|
|
|
38
|
-
|
|
39
|
-
<img src="https://github.com/fkom13/opencode-pollinations-plugin/raw/main/docs/images/usage_dashboard.png" alt="Usage Dashboard" width="800">
|
|
40
|
-
<br>
|
|
41
|
-
<em>Integrated Usage Dashboard (/pollinations usage)</em>
|
|
42
|
-
</p>
|
|
35
|
+
**Pollen** is Pollinations' unified credit system. $1 β 1 Pollen.
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
| Tier | Daily Grant | Requirement |
|
|
38
|
+
|:-----|:------------|:------------|
|
|
39
|
+
| π¦ **Microbe** | 0.1 Pollen | Flagged accounts |
|
|
40
|
+
| π± **Spore** | 1 Pollen | Sign up |
|
|
41
|
+
| πΏ **Seed** | 3 Pollen | Active GitHub dev (8+ points) |
|
|
42
|
+
| πΈ **Flower** | 10 Pollen | Published app |
|
|
43
|
+
| π― **Nectar** | 20 Pollen | Major contributor |
|
|
49
44
|
|
|
50
|
-
|
|
51
|
-
<img src="https://github.com/fkom13/opencode-pollinations-plugin/raw/main/docs/images/free_add.png" alt="Free Chat Example" width="800">
|
|
52
|
-
<br>
|
|
53
|
-
<em>Free Universe Chat (Supported by Pollinations Ads)</em>
|
|
54
|
-
</p>
|
|
45
|
+
> π‘ This plugin was published to the OpenCode ecosystem, granting its author **Flower** tier (10 Pollen/day).
|
|
55
46
|
|
|
56
|
-
|
|
57
|
-
<img src="https://github.com/fkom13/opencode-pollinations-plugin/raw/main/docs/images/plan_1.png" alt="Plan Build Step 1" width="400">
|
|
58
|
-
<img src="https://github.com/fkom13/opencode-pollinations-plugin/raw/main/docs/images/plan_2.png" alt="Plan Build Step 2" width="400">
|
|
59
|
-
<br>
|
|
60
|
-
<em>Integrated Plan Building Workflow</em>
|
|
61
|
-
</p>
|
|
47
|
+
---
|
|
62
48
|
|
|
63
|
-
##
|
|
49
|
+
## π Quick Start
|
|
64
50
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
- **Smart Mode Switching**: Prevents Limited Keys from entering "Pro" mode to avoid confusing errors.
|
|
71
|
-
- **π Real-time Dashboard**: Track your **Pollen** usage, Tier Status, and Wallet Balance inside OpenCode.
|
|
72
|
-
- **π Stealth Mode (v5.4.7)**: Status notifications are now strictly limited to Pollinations Enter (Paid) sessions. No more cluttered notifications when using other providers like Nvidia or Google AI.
|
|
51
|
+
### 1. Install Plugin
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g opencode-pollinations-plugin
|
|
54
|
+
npx opencode-pollinations-plugin
|
|
55
|
+
```
|
|
73
56
|
|
|
74
|
-
|
|
57
|
+
### 2. Connect Your Account
|
|
58
|
+
```
|
|
59
|
+
/connect
|
|
60
|
+
```
|
|
61
|
+
Select **pollinations** β Enter your API key from [enter.pollinations.ai](https://enter.pollinations.ai)
|
|
62
|
+
|
|
63
|
+
### 3. Start Using
|
|
64
|
+
Select any `pollinations/*` model in OpenCode and chat!
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## ποΈ Vision Support
|
|
75
69
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- **
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
```json
|
|
116
|
-
{
|
|
117
|
-
"plugin": [
|
|
118
|
-
"opencode-pollinations-plugin"
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
```
|
|
122
|
-
*Note: If OpenCode fails to find it, use the absolute path to the global install.*
|
|
123
|
-
|
|
124
|
-
## π Publication (The "Registry")
|
|
125
|
-
OpenCode uses NPM as its registry. To publish:
|
|
126
|
-
|
|
127
|
-
1. **Publish to NPM**:
|
|
128
|
-
```bash
|
|
129
|
-
npm login
|
|
130
|
-
npm publish
|
|
131
|
-
```
|
|
132
|
-
2. **Join Ecosystem**: Submit a Pull Request to [OpenCode Ecosystem](https://github.com/opencode-ai/ecosystem) to list your plugin officially.
|
|
133
|
-
*Once accepted, users can find it via documentation or future registry commands.*
|
|
134
|
-
|
|
135
|
-
## π Getting Started
|
|
136
|
-
|
|
137
|
-
### 1. The Basics (Free Mode)
|
|
138
|
-
Just type in the chat. You are in **Manual Mode** by default.
|
|
139
|
-
- Model: `openai` (GPT-4o Mini equivalent)
|
|
140
|
-
- Model: `mistral` (Mistral Nemo)
|
|
141
|
-
|
|
142
|
-
### π Configuration (API Key)
|
|
143
|
-
|
|
144
|
-
1. Run the setup command:
|
|
145
|
-
```bash
|
|
146
|
-
/connect
|
|
147
|
-
```
|
|
148
|
-
2. Choose "pollinations" and enter your key if you have one (or leave blank for free tier).
|
|
149
|
-
3. **IMPORTANT**: You must **restart OpenCode** for the model list to update with your new tier (e.g. to see Paid models).
|
|
150
|
-
|
|
151
|
-
### π€ Models
|
|
152
|
-
|
|
153
|
-
### π Types de ClΓ©s SupportΓ©s
|
|
154
|
-
- **Clés Standard (`sk-...`)**: Accès complet (Modèles + Dashboard Usage + Quota).
|
|
155
|
-
- **Clés Limitées**: Accès Génération uniquement. Le dashboard affichera une alerte de restriction (v5.4.11).
|
|
156
|
-
- **Support Legacy**: Les anciennes clΓ©s (`sk_...`) sont aussi acceptΓ©es.
|
|
70
|
+
The following models support image input:
|
|
71
|
+
|
|
72
|
+
| Model | Vision | Reasoning | Tools |
|
|
73
|
+
|-------|:------:|:---------:|:-----:|
|
|
74
|
+
| `openai` / `openai-large` | β
| - | β
|
|
|
75
|
+
| `gemini` / `gemini-search` | β
| - | β
|
|
|
76
|
+
| `claude` / `claude-large` | β
| - | β
|
|
|
77
|
+
| `kimi` | β
| β
| - |
|
|
78
|
+
| `openai-audio` | β
| - | β
|
|
|
79
|
+
|
|
80
|
+
**Usage**: Simply paste an image in the chat or use an image URL. The plugin handles encoding automatically.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## π Available Models (25+)
|
|
85
|
+
|
|
86
|
+
### Text/Chat Models
|
|
87
|
+
- **OpenAI**: `openai`, `openai-fast`, `openai-large`
|
|
88
|
+
- **Gemini**: `gemini`, `gemini-fast`, `gemini-search`, `gemini-large` π
|
|
89
|
+
- **Claude**: `claude-fast`, `claude`, `claude-large` π
|
|
90
|
+
- **Reasoning**: `deepseek`, `kimi`, `perplexity-reasoning`
|
|
91
|
+
- **Code**: `qwen-coder`, `mistral`
|
|
92
|
+
- **Fast**: `nova-fast`, `grok`
|
|
93
|
+
|
|
94
|
+
### Paid-Only Models (π)
|
|
95
|
+
These require purchased credits (not daily grants):
|
|
96
|
+
- `claude-large`, `gemini-large`, `veo`, `seedream-pro`
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## π§ Commands
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
/pollinations usage # View Pollen balance
|
|
104
|
+
/pollinations usage full # Detailed model breakdown
|
|
105
|
+
/pollinations status # Plugin health check
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
157
109
|
|
|
158
110
|
## π Links
|
|
159
111
|
|
|
160
|
-
- **
|
|
161
|
-
- **Discord
|
|
162
|
-
- **
|
|
112
|
+
- **Get API Key**: [enter.pollinations.ai](https://enter.pollinations.ai)
|
|
113
|
+
- **Discord**: [Join Community](https://discord.gg/pollinations-ai-885844321461485618)
|
|
114
|
+
- **GitHub**: [Plugin Repository](https://github.com/fkom13/opencode-pollinations-plugin)
|
|
115
|
+
|
|
116
|
+
---
|
|
163
117
|
|
|
164
118
|
## π License
|
|
165
119
|
|
package/package.json
CHANGED