opencode-pollinations-plugin 6.4.9 → 6.5.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.de.md +67 -54
- package/README.es.md +79 -66
- package/README.fr.md +70 -57
- package/README.it.md +78 -65
- package/README.md +33 -29
- package/README.zh.md +77 -64
- package/dist/locales/de.json +82 -47
- package/dist/locales/en.json +84 -49
- package/dist/locales/es.json +82 -47
- package/dist/locales/fr.json +81 -46
- package/dist/locales/it.json +82 -47
- package/dist/locales/zh.json +82 -47
- package/dist/server/commands.js +118 -178
- package/dist/server/config.d.ts +22 -6
- package/dist/server/config.js +45 -5
- package/dist/server/connect-response.js +7 -7
- package/dist/server/generate-config.js +2 -2
- package/dist/server/models/cache.d.ts +23 -10
- package/dist/server/models/cache.js +46 -24
- package/dist/server/models/fetcher.js +2 -0
- package/dist/server/models/types.d.ts +2 -0
- package/dist/server/models/worker.js +4 -4
- package/dist/server/proxy.d.ts +6 -0
- package/dist/server/proxy.js +318 -218
- package/dist/server/quota.d.ts +23 -32
- package/dist/server/quota.js +44 -184
- package/dist/server/scripts/pollinations_pricing.js +6 -3
- package/dist/server/status.js +1 -2
- package/dist/server/toast.js +1 -1
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools/index.js +3 -1
- package/dist/tools/pollinations/artifact-core.d.ts +53 -0
- package/dist/tools/pollinations/artifact-core.js +159 -0
- package/dist/tools/pollinations/beta_discovery.js +2 -1
- package/dist/tools/pollinations/cost-guard.d.ts +2 -2
- package/dist/tools/pollinations/error-parser.d.ts +38 -0
- package/dist/tools/pollinations/error-parser.js +112 -0
- package/dist/tools/pollinations/gen_3d.d.ts +17 -0
- package/dist/tools/pollinations/gen_3d.js +207 -0
- package/dist/tools/pollinations/gen_image.js +29 -10
- package/dist/tools/pollinations/gen_music.js +3 -2
- package/dist/tools/pollinations/gen_video.js +13 -2
- package/dist/tools/pollinations/polli_config.js +15 -21
- package/dist/tools/pollinations/polli_gen_confirm.js +2 -0
- package/dist/tools/pollinations/shared.d.ts +1 -1
- package/dist/tools/pollinations/shared.js +53 -142
- package/dist/tools/pollinations/timeout-policy.d.ts +80 -0
- package/dist/tools/pollinations/timeout-policy.js +124 -0
- package/dist/tools/pollinations/tool-capability-registry.d.ts +51 -0
- package/dist/tools/pollinations/tool-capability-registry.js +215 -0
- package/dist/tools/pollinations/transcribe_audio.js +5 -24
- package/package.json +64 -62
- package/dist/server/tier-info.d.ts +0 -36
- package/dist/server/tier-info.js +0 -107
package/README.de.md
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
# 🌸 Pollinations AI Plugin für OpenCode (v6.
|
|
2
|
-
|
|
3
|
-
## ✨ Neu in v6.4.9
|
|
4
|
-
|
|
5
|
-
- 🎯 **Quests & Gamification**: `polli_quests` + `/poll quests`. Plugin-Nutzung erfüllt Quests **rückwirkend**.
|
|
6
|
-
- 🆓 **Kostenlose Tools (kein Schlüssel)** — für **jedes** OpenCode-Modell:
|
|
7
|
-
- `gen_edit_image_free` — generieren **und** bearbeiten (~20/Tag)
|
|
8
|
-
- `gen_video_free` — Text→Video (~5/Tag)
|
|
9
|
-
- `object_remover` / `image_upscaler` / `image_enhancer` — kostenlose Bildverarbeitung
|
|
10
|
-
- `remove_background` — kostenloses KI-Freistellen (rmbg / bgeraser)
|
|
11
|
-
- 🔐 **1-Klick-Login**: `/poll login` + `polli_login`. `/poll connect sk_...` bleibt verfügbar.
|
|
12
|
-
- 🧊 **Vollständiger Modellkatalog**: text, image, video, audio, **3D**, **embeddings**, realtime.
|
|
13
|
-
- 🧪 **CI + Packaging**: Node ≥ 18, CLI `npx opencode-pollinations-plugin`, Unit- + i18n-Tests.
|
|
14
|
-
- 🌍 **6 Sprachen**: en, fr, es, de, it, zh — Onboarding und Commands ausgerichtet.
|
|
15
|
-
|
|
1
|
+
# 🌸 Pollinations AI Plugin für OpenCode (v6.5.0)
|
|
16
2
|
|
|
17
3
|
<div align="center">
|
|
18
4
|
<img src="https://avatars.githubusercontent.com/u/88394740?s=400&v=4" alt="Pollinations.ai Logo" width="180">
|
|
19
5
|
<h3>Die ultimative Brücke zwischen OpenCode und dem Pollinations.ai Ökosystem</h3>
|
|
20
|
-
<p><em>Greifen Sie auf ein kontinuierliches Universum kostenloser Basis-KI-Modelle zu oder nutzen Sie Premium-Enterprise-Modelle mit
|
|
6
|
+
<p><em>Greifen Sie auf ein kontinuierliches Universum kostenloser Basis-KI-Modelle zu oder nutzen Sie Premium-Enterprise-Modelle mit unserem <b>Quest- & Paid-Pollen</b>-System direkt über Ihr lokales Terminal.</em></p>
|
|
21
7
|
</div>
|
|
22
8
|
|
|
23
9
|
<div align="center">
|
|
@@ -34,19 +20,23 @@
|
|
|
34
20
|
|
|
35
21
|
> **"Keine verschlossenen Türen, keine Unternehmenshürden — einfach gute Werkzeuge und gute Menschen."**
|
|
36
22
|
|
|
37
|
-
**Pollinations.ai** ist eine Open-Source-Plattform von der Community für die Community. Wir bieten eine einheitliche, direkte API zur Generierung von Bildern, Text, Audio und
|
|
23
|
+
**Pollinations.ai** ist eine Open-Source-Plattform von der Community für die Community. Wir bieten eine einheitliche, direkte API zur Generierung von Bildern, Text, Audio, Video und 3D.
|
|
38
24
|
|
|
39
25
|
- 🌍 **Transparent**: Unser Code, unsere Roadmap und unsere Diskussionen sind öffentlich.
|
|
40
26
|
- ⚖️ **Faire Wirtschaft**: Eine einzige Währung (**Pollen 🌻**) für alle Medien und Modelle. Vorhersehbare und transparente Preise, keine Anbieterbindung (Vendor Lock-in).
|
|
41
27
|
|
|
42
28
|
---
|
|
43
29
|
|
|
44
|
-
## ✨
|
|
30
|
+
## ✨ Neu in v6.5.0
|
|
45
31
|
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
32
|
+
- 🧊 **3D-Generierung (`polli_gen_3d`)**: Erzeugung hochwertiger 3D-Assets (`trellis-2`, `hyper3d-rodin`) im Standardformat `.glb` mit Cost-Guard-Schutz und Cache-Recovery.
|
|
33
|
+
- 🛡️ **Schutz vor Doppelabrechnung**: Chat-Wiederholungen sind strikt auf den HTTP-Code 429 beschränkt; Timeouts und Netzwerkunterbrechungen führen niemals zu doppelten Abbuchungen.
|
|
34
|
+
- 🧠 **Saubere Reasoning-Normalisierung**: Automatisches Bereinigen von DeepSeek-, Kimi- und Qwen-Gedankenströmen — kein internes Denktext-Leck im Chat.
|
|
35
|
+
- 💰 **Transparente Quest- & Paid-Semantik**: Moderne Abrechnungsmodi (`quest`, `quest_only`, `paid`, `manual`) mit absoluten Pollen-Schwellenwerten.
|
|
36
|
+
- 📦 **Artifact Core (Magic Bytes)**: Echte Binärprüfung (JPEG, PNG, GLB, MP4, MP3, WebM) garantiert die korrekte Dateiendung auf der Festplatte.
|
|
37
|
+
- ⏱️ **Konfigurierbare Timeout-Hierarchie**: Detaillierte Kontrolle der Wartezeiten pro Aufruf, pro Modell und pro Fähigkeit via `/poll config timeouts.*`.
|
|
38
|
+
- 🎯 **Quests & 1-Klick-Login**: Automatische Quest-Erfassung (`/poll quests`) und sofortiges Browser-Login (`/poll login`).
|
|
39
|
+
- 🆓 **6 kostenlose Creator-Tools (ohne Schlüssel)**: `gen_edit_image_free`, `gen_video_free`, `object_remover`, `image_upscaler`, `image_enhancer`, `remove_background`.
|
|
50
40
|
|
|
51
41
|
---
|
|
52
42
|
|
|
@@ -57,24 +47,33 @@ Mit der Einbindung Ihres API-Schlüssels erhalten OpenCode-Agenten Zugriff auf m
|
|
|
57
47
|
### 💎 Integrierte generative Werkzeuge (ENTER ONLY - API-Schlüssel erforderlich)
|
|
58
48
|
- 🎨 `polli_gen_image` : Hochmoderne Bildmodelle (`Flux`, `Sana`, `Midjourney`, etc.).
|
|
59
49
|
- 🎬 `polli_gen_video` : Starke Text-zu-Video- und Bild-zu-Video-Modelle (`Wan`, `Veo`, `LTX`, `Reveal`).
|
|
50
|
+
- 🧊 `polli_gen_3d` : Erzeugung von 3D-Modellen (`trellis-2`, `hyper3d-rodin`) mit GLB-Ausgabe.
|
|
60
51
|
- 🔊 `polli_gen_audio` & `polli_gen_music` : Magische Sprachsynthese (ElevenLabs, OpenAI TTS) und generative Musik.
|
|
61
52
|
- 🎙️ `polli_stt` : Hochwertige Sprachumwandlung in Text (Whisper V3).
|
|
62
53
|
- 🌐 `polli_web_search` : Vernetzte Websuche & Spezialkontexte (`gemini-search`, `perplexity...`).
|
|
63
54
|
|
|
64
|
-
### 🧰 Kostenlose Bonus-Werkzeuge für Entwickler (Immer verfügbar)
|
|
65
|
-
-
|
|
66
|
-
-
|
|
55
|
+
### 🧰 Kostenlose Bonus-Werkzeuge für Entwickler (Immer verfügbar — kein Schlüssel nötig)
|
|
56
|
+
- 🆓 `gen_edit_image_free` : Kostenlose Bildgenerierung und -bearbeitung (~20/Tag, jedes Modell, ohne Schlüssel).
|
|
57
|
+
- 🆓 `gen_video_free` : Kostenloses Text-zu-Video mit optionalem Startbild & Audio (~5/Tag, ohne Schlüssel).
|
|
58
|
+
- 🧹 `object_remover` : Objekte direkt per Prompt entfernen (30-120s, ohne Schlüssel).
|
|
59
|
+
- 📐 `image_upscaler` : Bilder 2x/4x kostenlos vergrößern (30-120s, ohne Schlüssel).
|
|
60
|
+
- ✨ `image_enhancer` : KI-Bildverbesserung — Rauschunterdrückung, Schärfe, Restaurierung (30-120s, ohne Schlüssel).
|
|
61
|
+
- ✂️ `remove_background` : KI-Freistellen via rmbg (bgeraser.com) — kostenlos.
|
|
62
|
+
- 🛠️ `gen_qrcode`, `gen_diagram`, `gen_palette`, `extract_frames`, `extract_audio`, `file_to_url` : Entwickler-Tools.
|
|
67
63
|
|
|
68
64
|
### 💻 Komplette Liste der Terminalbefehle
|
|
69
65
|
Verwenden Sie jederzeit den Alias **`/poll`** oder **`/pollinations`** in Ihrem Konversations-Terminal:
|
|
70
66
|
- `/poll help` : Zeigt die interaktive Hilfetabelle an.
|
|
71
|
-
- `/poll
|
|
72
|
-
- `/poll
|
|
73
|
-
- `/poll
|
|
67
|
+
- `/poll login` : **1-Klick-Browser-Login** (Device Flow) — erstellt und verbindet einen Schlüssel automatisch.
|
|
68
|
+
- `/poll connect <Schlüssel>` : Manuelle "Bring Your Own Key"-Konfiguration (`sk_...`).
|
|
69
|
+
- `/poll quests` : Quests und verfügbares kostenloses Pollen einsehen. 🎯
|
|
70
|
+
- `/poll usage full` : Echtzeit-Dashboard (Statistiken), Quests und Wallet-Guthaben.
|
|
71
|
+
- `/poll config` : Feinabstimmung von Cost Guards, Timeouts, Logs, Sprache und Anzeige.
|
|
74
72
|
- `/poll models` : Status der verfügbaren Modelle prüfen.
|
|
75
73
|
- `/poll pricing` : Anzeige einheitlicher Preise in Echtzeit (Durchschnittskosten-Schätzung).
|
|
74
|
+
- `/poll mode <mode>` : Wechseln zwischen Abrechnungsmodi (`quest`, `quest_only`, `paid`, `manual`).
|
|
76
75
|
- `/poll fallback` : Definieren des "Safety Net"-Chatmodells.
|
|
77
|
-
- `/poll infos` :
|
|
76
|
+
- `/poll infos` : Übersicht über Funktionen und Nutzungsanleitung.
|
|
78
77
|
|
|
79
78
|
---
|
|
80
79
|
|
|
@@ -82,35 +81,39 @@ Verwenden Sie jederzeit den Alias **`/poll`** oder **`/pollinations`** in Ihrem
|
|
|
82
81
|
|
|
83
82
|
Wir haben grundlegende Schutzmechanismen entwickelt, um zu garantieren, dass Ihr Workflow niemals unterbrochen wird und Ihr Budget in Ihrer Kontrolle bleibt:
|
|
84
83
|
|
|
85
|
-
- 🛟 **Safety Net (Sicherheitsnetz)
|
|
86
|
-
- 🚦 **Cost Guard für Tools
|
|
84
|
+
- 🛟 **Safety Net (Sicherheitsnetz)** : Wenn Sie Premium-Modelle verwenden und Ihr Quest-/Paid-Guthaben mitten in der Chat-Sitzung leer ist, wechselt das Plugin lautlos auf ein kostenloses Fallback-Modell. *Keine blockierenden Limits (429) mehr.*
|
|
85
|
+
- 🚦 **Cost Guard für Tools** : OpenCode-Agenten können sehr eifrig sein. Möchte ein Agent zu viel Pollen für eine schwere Video- oder 3D-Generierung ausgeben, fängt das Plugin die Anfrage ab und fragt nach Ihrer manuellen Bestätigung (`polli_gen_confirm`).
|
|
87
86
|
|
|
88
87
|
---
|
|
89
88
|
|
|
90
|
-
## 🐝 Pollen &
|
|
89
|
+
## 🐝 Quest Pollen & Paid Pollen verstehen
|
|
90
|
+
|
|
91
|
+
Das Pollinations-Pollen ist in zwei Konten getrennt:
|
|
92
|
+
|
|
93
|
+
- **🎁 Quest Pollen** — kostenlos verdient durch das Abschließen von **Quests**. Vom Server auf regulären Modellen zuerst verbraucht.
|
|
94
|
+
- **💎 Paid Pollen** — gekauft (Kreditkarte). Wird verwendet, wenn Quest nicht ausreicht, oder für `paid_only`-Modelle.
|
|
91
95
|
|
|
92
|
-
|
|
96
|
+
> ⚠️ Das Plugin kann die Aufteilung serverseitig nicht auslesen; es schätzt Quest/Paid lokal und liest die echte Aufteilung (`meter_source`) aus `/account/usage`.
|
|
93
97
|
|
|
94
|
-
|
|
98
|
+
### Abrechnungsmodi (v6.5)
|
|
95
99
|
|
|
96
|
-
|
|
100
|
+
| Modus | Verhalten |
|
|
101
|
+
| :--- | :--- |
|
|
102
|
+
| `quest` (QUEST_PREFERRED, **Standard**) | Quest zuerst, Paid-Fallback erlaubt (Server-Standard). Fällt auf das Free Universe zurück, wenn beide erschöpft aussehen. |
|
|
103
|
+
| `quest_only` (QUEST_ELIGIBLE_ONLY) | Blockiert `paid_only`-Modelle lokal; sendet nur Quest-berechtigte Aufrufe. **Best-effort** — eine Paid-Belastung kann im Wettlauf dennoch auftreten. |
|
|
104
|
+
| `paid` (PAID_ALLOWED) | Paid erlaubt, `paid_only` laut Cost Guard erlaubt. Fällt auf Free zurück, wenn das Wallet niedrig ist. |
|
|
105
|
+
| `manual` | Keine automatische Richtlinie — volle manuelle Kontrolle. |
|
|
97
106
|
|
|
98
|
-
|
|
99
|
-
| :--- | :--- | :--- | :--- |
|
|
100
|
-
| 🍄 **Spore** | **0.01 Pollen / Std.** | ~0.24 / Tag | Automatische Verifikation |
|
|
101
|
-
| 🌱 **Seed** | **0.15 Pollen / Std.** | ~3.6 / Tag | Aktiver GitHub-Entwickler (8+ Punkte) |
|
|
102
|
-
| 🌸 **Flower** | **0.40 Pollen / Std.** | ~9.6 / Tag | **Eine App veröffentlichen** (Wie dieses Plugin!) |
|
|
103
|
-
| 🍯 **Nectar** | **0.80 Pollen / Std.** | ~19.2 / Tag | Demnächst 🔮 |
|
|
107
|
+
Ändern mit `/poll mode <mode>` oder `/poll config mode <mode>`.
|
|
104
108
|
|
|
105
|
-
|
|
109
|
+
> 🎯 **Verdienen Sie kostenloses Pollen durch das Abschließen von Quests!** Allein die Nutzung dieses Plugins erfüllt mehrere Quests rückwirkend. Führen Sie `/poll quests` aus, um zu sehen, was Sie beanspruchen können.
|
|
106
110
|
|
|
107
|
-
> 🎁 **Erhalten Sie Ihren kostenlosen persönlichen Schlüssel (BYOK) auf [
|
|
111
|
+
> 🎁 **Erhalten Sie Ihren kostenlosen persönlichen Schlüssel (BYOK) auf [enter.pollinations.ai](https://enter.pollinations.ai), um OpenCode zu boosten!**
|
|
108
112
|
|
|
109
113
|
**Wie es funktioniert:**
|
|
110
|
-
1.
|
|
111
|
-
2.
|
|
112
|
-
3.
|
|
113
|
-
4. Pünktlich zur Anbruch der nächsten Stunde wird die freie Quote komplett resettet! 💥
|
|
114
|
+
1. Ihr Quest Pollen wird auf allen regulären Modellen zuerst verbraucht.
|
|
115
|
+
2. 💎 Nur-Paid-Modelle verwenden immer gekauftes Pollen.
|
|
116
|
+
3. Wenn beide Guthaben erschöpft sind, wechselt das Sicherheitsnetz sanft zu kostenlosen Fallback-Varianten.
|
|
114
117
|
|
|
115
118
|
---
|
|
116
119
|
|
|
@@ -125,30 +128,40 @@ Pollinations für OpenCode spricht Ihre Sprache nativ:
|
|
|
125
128
|
## 🚀 Installation & Onboarding
|
|
126
129
|
|
|
127
130
|
### 🐧 1. Plattformübergreifende Einrichtung (NPM-Installation)
|
|
128
|
-
Dieses Plugin ist **komplett plattformunabhängig** (Windows, macOS, Linux) und
|
|
131
|
+
Dieses Plugin ist **komplett plattformunabhängig** (Windows, macOS, Linux ; Node **≥ 18**) und startet einen lokalen Proxy auf einem dynamischen Port.
|
|
129
132
|
|
|
130
|
-
1. Globale Installation:
|
|
133
|
+
1. Globale oder lokale Installation:
|
|
131
134
|
```bash
|
|
132
135
|
npm install -g opencode-pollinations-plugin
|
|
133
136
|
```
|
|
134
137
|
2. Auto-Konfiguration:
|
|
135
138
|
```bash
|
|
136
139
|
npx opencode-pollinations-plugin
|
|
140
|
+
# oder: npx opencode-pollinations-plugin --check
|
|
137
141
|
```
|
|
138
|
-
*(
|
|
142
|
+
*(Trägt `opencode-pollinations-plugin` automatisch in `~/.config/opencode/opencode.json` ein)*
|
|
139
143
|
|
|
140
144
|
### 🔑 2. Interaktives Onboarding
|
|
141
|
-
|
|
145
|
+
|
|
146
|
+
Verbinden Sie Ihr Pollinations-Konto in OpenCode über **eine dieser Methoden**:
|
|
147
|
+
|
|
148
|
+
**Option A — 1-Klick-Login (empfohlen):**
|
|
149
|
+
```bash
|
|
150
|
+
/poll login
|
|
151
|
+
```
|
|
152
|
+
Ihr Browser öffnet sich automatisch. Melden Sie sich mit GitHub an und klicken Sie auf **Authorize** — das Plugin verbindet sich automatisch ohne Copy-Paste.
|
|
153
|
+
|
|
154
|
+
**Option B — Manueller Schlüssel:**
|
|
142
155
|
```bash
|
|
143
|
-
/poll connect
|
|
156
|
+
/poll connect sk_ihr_schluessel_hier
|
|
144
157
|
```
|
|
145
|
-
|
|
158
|
+
Erstellen Sie selbst einen **Secret**-Schlüssel auf [enter.pollinations.ai](https://enter.pollinations.ai) und fügen Sie ihn ein. *(Starten Sie OpenCode neu, damit die neue Modellliste im UI erscheint).*
|
|
146
159
|
|
|
147
160
|
---
|
|
148
161
|
|
|
149
162
|
## 🔗 Links
|
|
150
163
|
|
|
151
|
-
- **
|
|
164
|
+
- **Dashboard & API-Schlüssel**: [enter.pollinations.ai](https://enter.pollinations.ai)
|
|
152
165
|
- **Discord-Community**: [Mach mit!](https://discord.gg/pollinations-ai-885844321461485618)
|
|
153
166
|
- **OpenCode-Ökosystem**: [opencode.ai](https://opencode.ai/docs/ecosystem#plugins)
|
|
154
167
|
|
package/README.es.md
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
# 🌸 Pollinations AI Plugin para OpenCode (v6.
|
|
2
|
-
|
|
3
|
-
## ✨ Novedades v6.4.9
|
|
4
|
-
|
|
5
|
-
- 🎯 **Quests & Gamificación**: `polli_quests` + `/poll quests`. Usar el plugin completa quests **retroactivamente**.
|
|
6
|
-
- 🆓 **Herramientas gratis (sin clave)** — para **cualquier** modelo OpenCode:
|
|
7
|
-
- `gen_edit_image_free` — generar **y** editar (~20/día)
|
|
8
|
-
- `gen_video_free` — texto→vídeo (~5/día)
|
|
9
|
-
- `object_remover` / `image_upscaler` / `image_enhancer` — procesado de imagen gratis
|
|
10
|
-
- `remove_background` — recorte IA gratis (rmbg / bgeraser)
|
|
11
|
-
- 🔐 **Login en 1 clic**: `/poll login` + `polli_login`. `/poll connect sk_...` sigue disponible.
|
|
12
|
-
- 🧊 **Catálogo completo**: text, image, video, audio, **3D**, **embeddings**, realtime.
|
|
13
|
-
- 🧪 **CI + packaging**: Node ≥ 18, CLI `npx opencode-pollinations-plugin`, tests unit + i18n.
|
|
14
|
-
- 🌍 **6 idiomas**: en, fr, es, de, it, zh — onboarding y comandos alineados.
|
|
15
|
-
|
|
1
|
+
# 🌸 Pollinations AI Plugin para OpenCode (v6.5.0)
|
|
16
2
|
|
|
17
3
|
<div align="center">
|
|
18
4
|
<img src="https://avatars.githubusercontent.com/u/88394740?s=400&v=4" alt="Pollinations.ai Logo" width="180">
|
|
19
5
|
<h3>El puente definitivo entre OpenCode y el ecosistema Pollinations.ai</h3>
|
|
20
|
-
<p><em>Accede a un universo continuo de modelos de IA básicos y gratuitos, o aprovecha modelos premium empresariales usando
|
|
6
|
+
<p><em>Accede a un universo continuo de modelos de IA básicos y gratuitos, o aprovecha modelos premium empresariales usando nuestro sistema <b>Quest & Paid Pollen</b> directamente en tu terminal.</em></p>
|
|
21
7
|
</div>
|
|
22
8
|
|
|
23
9
|
<div align="center">
|
|
@@ -34,19 +20,23 @@
|
|
|
34
20
|
|
|
35
21
|
> **"Sin puertas cerradas, sin bloqueos corporativos — simplemente buenas herramientas y buena gente."**
|
|
36
22
|
|
|
37
|
-
**Pollinations.ai** es una plataforma de código abierto creada por y para la comunidad. Ofrecemos una API unificada y directa para generar imágenes, texto, audio y
|
|
23
|
+
**Pollinations.ai** es una plataforma de código abierto creada por y para la comunidad. Ofrecemos una API unificada y directa para generar imágenes, texto, audio, vídeo y 3D.
|
|
38
24
|
|
|
39
25
|
- 🌍 **Transparente**: Nuestro código, hoja de ruta (roadmap) y discusiones son de acceso público.
|
|
40
26
|
- ⚖️ **Economía Justa**: Una moneda única (**Pollen 🌻**) para todo tipo de archivos multimedia y modelos. Precios predecibles, transparentes y sin ataduras propietarias.
|
|
41
27
|
|
|
42
28
|
---
|
|
43
29
|
|
|
44
|
-
## ✨ Novedades
|
|
30
|
+
## ✨ Novedades v6.5.0
|
|
45
31
|
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
32
|
+
- 🧊 **Generación 3D (`polli_gen_3d`)**: Generación de modelos 3D (`trellis-2`, `hyper3d-rodin`) en formato estándar `.glb` con protección Cost Guard y recuperación desde caché.
|
|
33
|
+
- 🛡️ **Cero Doble Facturación**: Reintentos de chat estrictamente limitados al error 429; los timeouts y cortes de red nunca vuelven a enviar peticiones de pago.
|
|
34
|
+
- 🧠 **Normalización de Razonamiento**: Limpieza automática de flujos SSE en DeepSeek, Kimi y Qwen — sin filtraciones de pensamientos en el chat.
|
|
35
|
+
- 💰 **Semántica Quest & Paid Transparente**: Nuevos modos de facturación (`quest`, `quest_only`, `paid`, `manual`) con límites de alerta en Pollen absoluto.
|
|
36
|
+
- 📦 **Artifact Core (Magic Bytes)**: Verificación física binaria (JPEG, PNG, GLB, MP4, MP3, WebM) garantizando extensiones correctas en disco.
|
|
37
|
+
- ⏱️ **Jerarquía de Timeouts Configurable**: Control detallado de tiempos de espera por llamada, por modelo y por capacidad con `/poll config timeouts.*`.
|
|
38
|
+
- 🎯 **Quests y Login en 1 Clic**: Seguimiento retroactivo de misiones (`/poll quests`) e inicio de sesión automático en navegador (`/poll login`).
|
|
39
|
+
- 🆓 **6 Herramientas de Creador Gratuitas (sin clave)**: `gen_edit_image_free`, `gen_video_free`, `object_remover`, `image_upscaler`, `image_enhancer`, `remove_background`.
|
|
50
40
|
|
|
51
41
|
---
|
|
52
42
|
|
|
@@ -57,24 +47,33 @@ Aparte de conversar, cuando conectas tu API Key, el Agente OpenCode adquiere sup
|
|
|
57
47
|
### 💎 Herramientas Generativas (ENTER ONLY - requiere API Key)
|
|
58
48
|
- 🎨 `polli_gen_image` : Modelos creativos líderes (`Flux`, `Sana`, `Midjourney`, etc.).
|
|
59
49
|
- 🎬 `polli_gen_video` : Modelos robustos de Texto-a-Vídeo e Imagen-a-Vídeo (`Wan`, `Veo`, `LTX`, `Reveal`).
|
|
50
|
+
- 🧊 `polli_gen_3d` : Generación de activos 3D de alta fidelidad (`trellis-2`, `hyper3d-rodin`) en GLB.
|
|
60
51
|
- 🔊 `polli_gen_audio` y `polli_gen_music` : Síntesis de voz mágica (ElevenLabs, OpenAI TTS) y Música de IA.
|
|
61
52
|
- 🎙️ `polli_stt` : Alta eficiencia en el paso de voz a texto (Whisper V3).
|
|
62
53
|
- 🌐 `polli_web_search` : Búsqueda web inteligente y conocimiento en tiempo real (`gemini-search`, `perplexity...`).
|
|
63
54
|
|
|
64
|
-
### 🧰 Herramientas
|
|
65
|
-
-
|
|
66
|
-
-
|
|
55
|
+
### 🧰 Herramientas de Creador Gratuitas (Siempre disponibles — sin clave API)
|
|
56
|
+
- 🆓 `gen_edit_image_free` : Generación y edición de imágenes gratis (~20/día, cualquier modelo, sin clave).
|
|
57
|
+
- 🆓 `gen_video_free` : Texto-a-vídeo gratis con imagen y audio de entrada opcionales (~5/día, sin clave).
|
|
58
|
+
- 🧹 `object_remover` : Eliminación de objetos por prompt directamente (30-120s, sin clave).
|
|
59
|
+
- 📐 `image_upscaler` : Aumento de resolución 2x/4x gratis (30-120s, sin clave).
|
|
60
|
+
- ✨ `image_enhancer` : Mejora de imagen por IA — reducción de ruido, nitidez, restauración (30-120s, sin clave).
|
|
61
|
+
- ✂️ `remove_background` : Eliminación de fondo mediante rmbg (bgeraser.com) — gratis.
|
|
62
|
+
- 🛠️ `gen_qrcode`, `gen_diagram`, `gen_palette`, `extract_frames`, `extract_audio`, `file_to_url`: Utilidades para desarrolladores.
|
|
67
63
|
|
|
68
64
|
### 💻 Lista Completa de Comandos en Terminal
|
|
69
65
|
Solo llama al bot usando los alias **`/poll`** o **`/pollinations`** en tu terminal:
|
|
70
66
|
- `/poll help` : Muestra todo el cuadro de ayuda interactivo.
|
|
71
|
-
- `/poll
|
|
72
|
-
- `/poll
|
|
73
|
-
- `/poll
|
|
74
|
-
- `/poll
|
|
75
|
-
- `/poll
|
|
76
|
-
- `/poll
|
|
77
|
-
- `/poll
|
|
67
|
+
- `/poll login` : **Inicio de sesión en 1 clic** en el navegador (device flow) — conecta una clave automáticamente.
|
|
68
|
+
- `/poll connect <clave>` : Configuración manual "Bring Your Own Key" (`sk_...`).
|
|
69
|
+
- `/poll quests` : Mira tus misiones y el Pollen gratis disponible para reclamar. 🎯
|
|
70
|
+
- `/poll usage full` : Panel de control en tiempo real, recargas de saldo y uso del Portafolio.
|
|
71
|
+
- `/poll config` : Refinamiento de idiomas, límites de costes (Cost Guards), timeouts y logs.
|
|
72
|
+
- `/poll models` : Ver los modelos actualmente disponibles y en línea.
|
|
73
|
+
- `/poll pricing` : Consultar la lista de precios unificados de Pollen al día.
|
|
74
|
+
- `/poll mode <mode>` : Cambiar entre modos de facturación (`quest`, `quest_only`, `paid`, `manual`).
|
|
75
|
+
- `/poll fallback` : Configurar tus redes de seguridad para las conversaciones del chat.
|
|
76
|
+
- `/poll infos` : Información del ecosistema y guía de uso.
|
|
78
77
|
|
|
79
78
|
---
|
|
80
79
|
|
|
@@ -82,76 +81,90 @@ Solo llama al bot usando los alias **`/poll`** o **`/pollinations`** en tu termi
|
|
|
82
81
|
|
|
83
82
|
Nos preocupamos de tu cartera y de tu ritmo de trabajo, incluyendo barreras fundamentales que aseguran tu tranquilidad:
|
|
84
83
|
|
|
85
|
-
- 🛟 **Red de Seguridad
|
|
86
|
-
- 🚦 **Cost Guard de Herramientas
|
|
84
|
+
- 🛟 **Red de Seguridad (Safety Net)** : Al agotar tu saldo Quest/Paid o si ocurriese un corte, el ecosistema transita suave y silenciosamente hacia modelos gratuitos de seguridad. *Tu chat jamás se cortará con errores 429.*
|
|
85
|
+
- 🚦 **Cost Guard de Herramientas** : Los agentes pueden ser insistentes. Si un agente intenta gastar demasiado Pollen en una generación pesada de vídeo o 3D, el plugin interceptará la petición solicitando tu confirmación manual (`polli_gen_confirm`).
|
|
87
86
|
|
|
88
87
|
---
|
|
89
88
|
|
|
90
|
-
## 🐝 Entendiendo el Pollen &
|
|
89
|
+
## 🐝 Entendiendo el Quest Pollen & el Pollen de Pago
|
|
90
|
+
|
|
91
|
+
El pollen de Pollinations se divide en dos columnas:
|
|
92
|
+
|
|
93
|
+
- **🎁 Pollen Quest** — se gana gratis completando **Misiones**. El servidor lo consume primero en los modelos regulares.
|
|
94
|
+
- **💎 Pollen de Pago** — comprado (tarjeta). Se usa cuando el Quest es insuficiente, o para modelos `paid_only`.
|
|
91
95
|
|
|
92
|
-
|
|
96
|
+
> ⚠️ El plugin no puede leer el desglose del servidor; estima Quest/Pago localmente y lee el desglose real (`meter_source`) desde `/account/usage`.
|
|
93
97
|
|
|
94
|
-
|
|
98
|
+
### Modos de facturación (v6.5):
|
|
95
99
|
|
|
96
|
-
|
|
100
|
+
| Modo | Comportamiento |
|
|
101
|
+
| :--- | :--- |
|
|
102
|
+
| `quest` (QUEST_PREFERRED, **por defecto**) | Quest primero, fallback a Pago permitido. Cae al universo gratuito cuando ambos parecen agotados. |
|
|
103
|
+
| `quest_only` (QUEST_ELIGIBLE_ONLY) | Bloquea modelos `paid_only` localmente; solo envía llamadas elegibles para Quest. **Best-effort** — puede ocurrir un débito de Pago. |
|
|
104
|
+
| `paid` (PAID_ALLOWED) | Pago permitido, `paid_only` según el Cost Guard. Cae al gratuito cuando el wallet está bajo. |
|
|
105
|
+
| `manual` | Sin política automática — control total. |
|
|
97
106
|
|
|
98
|
-
|
|
99
|
-
| :--- | :--- | :--- | :--- |
|
|
100
|
-
| 🍄 **Spore** | **0.01 Pollen / hora** | ~0.24 /día | Examen de perfil y verificación |
|
|
101
|
-
| 🌱 **Seed** | **0.15 Pollen / hora** | ~3.6 /día | Desarrollador activo en Github (+8 pts) |
|
|
102
|
-
| 🌸 **Flower** | **0.40 Pollen / hora** | ~9.6 /día | **Completar y Publicar una App** |
|
|
103
|
-
| 🍯 **Nectar** | **0.80 Pollen / hora** | ~19.2 /día | Pendiente a futuras actualizaciones 🔮 |
|
|
107
|
+
Cambia con `/poll mode <mode>` o `/poll config mode <mode>`.
|
|
104
108
|
|
|
105
|
-
|
|
109
|
+
> 🎯 **¡Gana pollen gratis completando Misiones!** Usar este plugin completa varias retroactivamente. Ejecuta `/poll quests`.
|
|
106
110
|
|
|
107
|
-
> 🎁 **Obtén tu Clave Gratuita Personal (BYOK) desde [
|
|
111
|
+
> 🎁 **Obtén tu Clave Gratuita Personal (BYOK) desde [enter.pollinations.ai](https://enter.pollinations.ai) ¡Y dale alas a tu OpenCode!**
|
|
108
112
|
|
|
109
|
-
**¿Cómo
|
|
110
|
-
1.
|
|
111
|
-
2.
|
|
112
|
-
3.
|
|
113
|
-
4. ¿Ha llegado la hora siguiente? 💥 Bam. Tus cuotas se resetean totalmente de nuevo.
|
|
113
|
+
**¿Cómo funciona?**
|
|
114
|
+
1. Tu Pollen Quest se consume primero en los modelos regulares.
|
|
115
|
+
2. Los modelos `paid_only` 💎 consumen siempre Pollen comprado.
|
|
116
|
+
3. Cuando ambos saldos se agotan, el plugin cambia suavemente a los modelos gratuitos de seguridad.
|
|
114
117
|
|
|
115
118
|
---
|
|
116
119
|
|
|
117
120
|
## 🌍 Soporte Nativo de Diversos Idiomas (i18n)
|
|
118
121
|
|
|
119
122
|
Pollinations se comunica fluidamente en varios idiomas usando bases directas:
|
|
120
|
-
- Interfaz del entorno,
|
|
121
|
-
- Ingresa el comando `/poll config lang <en|fr|es|de|it|zh>` para cambiar
|
|
123
|
+
- Interfaz del entorno, Notificaciones Flotantes (Toasts), Respuestas de herramientas y Comandos vienen localizados a **Inglés**, **Francés**, **Español**, **Alemán**, **Italiano**, y **Chino**.
|
|
124
|
+
- Ingresa el comando `/poll config lang <en|fr|es|de|it|zh>` para cambiar de idioma al instante.
|
|
122
125
|
|
|
123
126
|
---
|
|
124
127
|
|
|
125
128
|
## 🚀 Instalación y Emparejamiento
|
|
126
129
|
|
|
127
130
|
### 🐧 1. Soporte a Todas las Plataformas vía NPM CLI
|
|
128
|
-
Este
|
|
131
|
+
Este plugin es **totalmente multiplataforma** (Windows, macOS, Linux ; Node **≥ 18**) e inicia un proxy local en un puerto dinámico.
|
|
129
132
|
|
|
130
|
-
1.
|
|
133
|
+
1. Instalación global o local:
|
|
131
134
|
```bash
|
|
132
135
|
npm install -g opencode-pollinations-plugin
|
|
133
136
|
```
|
|
134
|
-
2. Auto-Configuración
|
|
137
|
+
2. Auto-Configuración:
|
|
135
138
|
```bash
|
|
136
139
|
npx opencode-pollinations-plugin
|
|
140
|
+
# o: npx opencode-pollinations-plugin --check
|
|
137
141
|
```
|
|
138
|
-
*(
|
|
142
|
+
*(Inyecta automáticamente `opencode-pollinations-plugin` en `~/.config/opencode/opencode.json`)*
|
|
143
|
+
|
|
144
|
+
### 🔑 2. Onboarding Interactivo
|
|
145
|
+
|
|
146
|
+
Una vez dentro de OpenCode, conecta tu cuenta de Pollinations con **una de estas opciones**:
|
|
147
|
+
|
|
148
|
+
**Opción A — Login en 1 clic (recomendado):**
|
|
149
|
+
```bash
|
|
150
|
+
/poll login
|
|
151
|
+
```
|
|
152
|
+
Tu navegador se abrirá automáticamente. Inicia sesión con GitHub y presiona **Authorize** — el plugin se conectará solo, sin necesidad de copiar y pegar.
|
|
139
153
|
|
|
140
|
-
|
|
141
|
-
Estando conectado dentro de tu visualización OpenCode, abre la terminal al Agente escribiendo:
|
|
154
|
+
**Opción B — Clave manual:**
|
|
142
155
|
```bash
|
|
143
|
-
/poll connect
|
|
156
|
+
/poll connect sk_tu_clave_aqui
|
|
144
157
|
```
|
|
145
|
-
|
|
158
|
+
Crea una clave **Secret** en [enter.pollinations.ai](https://enter.pollinations.ai) y pégala. *(Reinicia OpenCode para refrescar la lista de modelos de la interfaz).*
|
|
146
159
|
|
|
147
160
|
---
|
|
148
161
|
|
|
149
162
|
## 🔗 Enlaces Importantes
|
|
150
163
|
|
|
151
|
-
- **
|
|
152
|
-
- **
|
|
153
|
-
- **
|
|
164
|
+
- **Dashboard y Claves API**: [enter.pollinations.ai](https://enter.pollinations.ai)
|
|
165
|
+
- **Comunidad Discord**: [¡Únete aquí!](https://discord.gg/pollinations-ai-885844321461485618)
|
|
166
|
+
- **Ecosistema OpenCode**: [opencode.ai](https://opencode.ai/docs/ecosystem#plugins)
|
|
154
167
|
|
|
155
|
-
## 📜 Licencia
|
|
168
|
+
## 📜 Licencia
|
|
156
169
|
|
|
157
|
-
Licencia MIT
|
|
170
|
+
Licencia MIT. Desarrollado por [fkom13](https://github.com/fkom13) y la Comunidad Pollinations.
|