@marcmeese/n8n-nodes-communityapi-ai-client 0.3.8
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/LICENSE.md +19 -0
- package/README.md +290 -0
- package/dist/config/endpoints.d.ts +84 -0
- package/dist/config/endpoints.js +162 -0
- package/dist/config/endpoints.js.map +1 -0
- package/dist/credentials/CommunityAPIAIServer.credentials.d.ts +9 -0
- package/dist/credentials/CommunityAPIAIServer.credentials.js +36 -0
- package/dist/credentials/CommunityAPIAIServer.credentials.js.map +1 -0
- package/dist/credentials/marcmeeselogo.png +0 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/AdvancedVoice/AdvancedVoice.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/AdvancedVoice/AdvancedVoice.node.js +191 -0
- package/dist/nodes/CommunityAPIAIServer/AdvancedVoice/AdvancedVoice.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/AdvancedVoice/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/AudioDatasetCreator/AudioDatasetCreator.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/AudioDatasetCreator/AudioDatasetCreator.node.js +186 -0
- package/dist/nodes/CommunityAPIAIServer/AudioDatasetCreator/AudioDatasetCreator.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/AudioDatasetCreator/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/ComfyuiImageModifyFaceswapDetailer.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/ComfyuiImageModifyFaceswapDetailer.node.js +142 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/ComfyuiImageModifyFaceswapDetailer.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/ComfyuiImageUpscaleFluxMagnific.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/ComfyuiImageUpscaleFluxMagnific.node.js +160 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/ComfyuiImageUpscaleFluxMagnific.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/ComfyuiImageUpscaleSdxlClarity.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/ComfyuiImageUpscaleSdxlClarity.node.js +160 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/ComfyuiImageUpscaleSdxlClarity.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/ComfyuiImageUpscaleSeedvr2.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/ComfyuiImageUpscaleSeedvr2.node.js +170 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/ComfyuiImageUpscaleSeedvr2.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/ComfyuiImageUpscaleStablesr.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/ComfyuiImageUpscaleStablesr.node.js +170 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/ComfyuiImageUpscaleStablesr.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/DownloadJob/DownloadJob.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/DownloadJob/DownloadJob.node.js +147 -0
- package/dist/nodes/CommunityAPIAIServer/DownloadJob/DownloadJob.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/DownloadJob/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsSTS/ElevenLabsSTS.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsSTS/ElevenLabsSTS.node.js +266 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsSTS/ElevenLabsSTS.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsSTS/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsTTS/ElevenLabsTTS.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsTTS/ElevenLabsTTS.node.js +285 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsTTS/ElevenLabsTTS.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/ElevenLabsTTS/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/GetJob/GetJob.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/GetJob/GetJob.node.js +51 -0
- package/dist/nodes/CommunityAPIAIServer/GetJob/GetJob.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/GetJob/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/GetUserInfo/GetUserInfo.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/GetUserInfo/GetUserInfo.node.js +41 -0
- package/dist/nodes/CommunityAPIAIServer/GetUserInfo/GetUserInfo.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/GetUserInfo/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/GptVision/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/MultimediaTranscriber/MultimediaTranscriber.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/MultimediaTranscriber/MultimediaTranscriber.node.js +157 -0
- package/dist/nodes/CommunityAPIAIServer/MultimediaTranscriber/MultimediaTranscriber.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/MultimediaTranscriber/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/Soundstorm/Soundstorm.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/Soundstorm/Soundstorm.node.js +191 -0
- package/dist/nodes/CommunityAPIAIServer/Soundstorm/Soundstorm.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/Soundstorm/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/TopazVideoUpscale/TopazVideoUpscale.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/TopazVideoUpscale/TopazVideoUpscale.node.js +163 -0
- package/dist/nodes/CommunityAPIAIServer/TopazVideoUpscale/TopazVideoUpscale.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/TopazVideoUpscale/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFile/UploadFile.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFile/UploadFile.node.js +115 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFile/UploadFile.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFile/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFiles/UploadFiles.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFiles/UploadFiles.node.js +132 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFiles/UploadFiles.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/UploadFiles/marcmeeselogo.png +0 -0
- package/dist/nodes/CommunityAPIAIServer/WebpageScraper/WebpageScraper.node.d.ts +6 -0
- package/dist/nodes/CommunityAPIAIServer/WebpageScraper/WebpageScraper.node.js +147 -0
- package/dist/nodes/CommunityAPIAIServer/WebpageScraper/WebpageScraper.node.js.map +1 -0
- package/dist/nodes/CommunityAPIAIServer/WebpageScraper/marcmeeselogo.png +0 -0
- package/dist/utils/fileUploads.d.ts +37 -0
- package/dist/utils/fileUploads.js +166 -0
- package/dist/utils/fileUploads.js.map +1 -0
- package/dist/utils/inputProcessing.d.ts +29 -0
- package/dist/utils/inputProcessing.js +147 -0
- package/dist/utils/inputProcessing.js.map +1 -0
- package/package.json +69 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# n8n Nodes für Community API AI Server
|
|
2
|
+
|
|
3
|
+
Dieses Paket stellt n8n-Nodes für die Integration mit dem Community API AI Server bereit.
|
|
4
|
+
|
|
5
|
+
**Wichtig:** Zur Nutzung der Nodes ist ein Account in der AI Community (https://ki-communities.de) zwingend notwendig, da dadurch der Zugang auf dem AI Server erstellt wird.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
In n8n Settings → Community Nodes:
|
|
10
|
+
_@marcmeese/n8n-nodes-communityapi-ai-client_
|
|
11
|
+
|
|
12
|
+
## Konfiguration
|
|
13
|
+
|
|
14
|
+
### Authentifizierung einrichten
|
|
15
|
+
|
|
16
|
+
1. Gehe zu n8n → Credentials → New
|
|
17
|
+
2. Wähle "CommunityAPI - AI Server"
|
|
18
|
+
3. Gib deinen API-Key ein
|
|
19
|
+
4. Teste die Verbindung
|
|
20
|
+
|
|
21
|
+
## Verfügbare Nodes
|
|
22
|
+
|
|
23
|
+
### 📋 Basis-Funktionen
|
|
24
|
+
|
|
25
|
+
#### Get User Info
|
|
26
|
+
|
|
27
|
+
Ruft Benutzerinformationen vom AI Server ab.
|
|
28
|
+
|
|
29
|
+
**Parameter:** Keine
|
|
30
|
+
**Output:** Benutzerinformationen als JSON
|
|
31
|
+
|
|
32
|
+
#### Get Job
|
|
33
|
+
|
|
34
|
+
Ruft Details zu einem spezifischen Job ab.
|
|
35
|
+
|
|
36
|
+
**Parameter:**
|
|
37
|
+
|
|
38
|
+
- `Job ID` (string): Die ID des abzufragenden Jobs
|
|
39
|
+
|
|
40
|
+
**Output:** Job-Details als JSON
|
|
41
|
+
|
|
42
|
+
#### Download Job
|
|
43
|
+
|
|
44
|
+
Lädt die Ergebnisdateien eines abgeschlossenen Jobs herunter.
|
|
45
|
+
|
|
46
|
+
**Parameter:**
|
|
47
|
+
|
|
48
|
+
- `Job ID` (string): ID des herunterzuladenden Jobs
|
|
49
|
+
- `Output Folder` (string): Zielordner für Downloads
|
|
50
|
+
- `Basename` (string, optional): Basis-Dateiname
|
|
51
|
+
- `Keep Filenames` (boolean): Original-Dateinamen beibehalten
|
|
52
|
+
|
|
53
|
+
**Output:** Liste der heruntergeladenen Dateipfade
|
|
54
|
+
|
|
55
|
+
#### Upload File
|
|
56
|
+
|
|
57
|
+
Lädt eine einzelne Datei auf den AI Server hoch.
|
|
58
|
+
|
|
59
|
+
**Parameter:**
|
|
60
|
+
|
|
61
|
+
- `File Path` (string): Pfad zur hochzuladenden Datei
|
|
62
|
+
|
|
63
|
+
**Output:** File-ID und Upload-Informationen
|
|
64
|
+
|
|
65
|
+
#### Upload Files
|
|
66
|
+
|
|
67
|
+
Lädt mehrere Dateien auf den AI Server hoch.
|
|
68
|
+
|
|
69
|
+
**Parameter:**
|
|
70
|
+
|
|
71
|
+
- `File Paths` (string[]): Pfade zu den hochzuladenden Dateien
|
|
72
|
+
|
|
73
|
+
**Output:** Array von File-IDs und Upload-Informationen
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
### 🎙️ Audio & Sprach-Verarbeitung
|
|
78
|
+
|
|
79
|
+
#### Multimedia Transcriber
|
|
80
|
+
|
|
81
|
+
Transkribiert Audio- und Video-Dateien mit Whisper.
|
|
82
|
+
|
|
83
|
+
**Parameter:**
|
|
84
|
+
|
|
85
|
+
- `Input Media Path` (string): Pfad zur Medien-Datei
|
|
86
|
+
- `Use WhisperX` (boolean): Erweiterte WhisperX-Engine verwenden
|
|
87
|
+
- `Model` (dropdown): Whisper-Modell auswählen
|
|
88
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
89
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten für Callback
|
|
90
|
+
|
|
91
|
+
**Unterstützte Formate:**
|
|
92
|
+
|
|
93
|
+
- Audio: wav, mp3, m4a, oga
|
|
94
|
+
- Video: mp4, avi, mov, mkv, webm
|
|
95
|
+
|
|
96
|
+
**Output:** Transkription als JSON
|
|
97
|
+
|
|
98
|
+
#### Audio Dataset Creator
|
|
99
|
+
|
|
100
|
+
Erstellt Audio-Datasets aus Eingabedateien.
|
|
101
|
+
|
|
102
|
+
**Parameter:**
|
|
103
|
+
|
|
104
|
+
- `Input Audio Paths` (string[]): Pfade zu Audio-Dateien
|
|
105
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
106
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
107
|
+
|
|
108
|
+
**Output:** Dataset-Informationen als JSON
|
|
109
|
+
|
|
110
|
+
#### Advanced Voice
|
|
111
|
+
|
|
112
|
+
Erweiterte KI-basierte Sprachsynthese.
|
|
113
|
+
|
|
114
|
+
**Parameter:**
|
|
115
|
+
|
|
116
|
+
- `Scripts` (string[]): Texte für die Sprachsynthese
|
|
117
|
+
- `Instruction` (string): Anweisungen zur Sprechweise (z.B. "Speak in a happy tone")
|
|
118
|
+
- `Language` (dropdown): German oder English
|
|
119
|
+
- `Gender` (dropdown): Male oder Female
|
|
120
|
+
- `Target Format` (dropdown): mp3 oder wav
|
|
121
|
+
- `Speed` (number, 0.1-8.0): Sprechgeschwindigkeit (Standard: 1.0)
|
|
122
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
123
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
124
|
+
|
|
125
|
+
**Output:** Job-ID und Audio-Informationen
|
|
126
|
+
|
|
127
|
+
#### Soundstorm
|
|
128
|
+
|
|
129
|
+
Audio-Generierung mit Soundstorm-Modell.
|
|
130
|
+
|
|
131
|
+
**Parameter:**
|
|
132
|
+
|
|
133
|
+
- `Scripts` (string[]): Texte für die Audio-Generierung
|
|
134
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
135
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
136
|
+
|
|
137
|
+
**Output:** Job-ID und Audio-Informationen
|
|
138
|
+
|
|
139
|
+
#### ElevenLabs TTS (Text-to-Speech)
|
|
140
|
+
|
|
141
|
+
Erstellt Sprachausgabe mit ElevenLabs AI-Modellen.
|
|
142
|
+
|
|
143
|
+
**Parameter:**
|
|
144
|
+
|
|
145
|
+
- `Scripts` (string[]): Texte für die Sprachsynthese
|
|
146
|
+
- `Voice Selection` (dropdown): Voice ID oder Voice Name
|
|
147
|
+
- `Voice ID/Name` (string): Die ID oder der Name der Stimme
|
|
148
|
+
- `Model` (dropdown): ElevenLabs-Modell (Multilingual v2, Turbo v2, etc.)
|
|
149
|
+
- `Target Format` (dropdown): mp3, wav, ogg, flac
|
|
150
|
+
- `Speed` (number, 0.5-2.0): Sprechgeschwindigkeit (Standard: 1.0)
|
|
151
|
+
- `Stability` (number, 0.0-1.0): Stimm-Stabilität (Standard: 0.65)
|
|
152
|
+
- `Similarity` (number, 0.0-1.0): Ähnlichkeit zum Original (Standard: 0.35)
|
|
153
|
+
- `Previous Request IDs` (string[], optional): Vorherige Request-IDs für Kontext
|
|
154
|
+
- `Previous Texts` (string[], optional): Vorherige Texte für Kontext
|
|
155
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
156
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
157
|
+
|
|
158
|
+
**Output:** Job-ID und Audio-Informationen
|
|
159
|
+
|
|
160
|
+
#### ElevenLabs STS (Speech-to-Speech)
|
|
161
|
+
|
|
162
|
+
Konvertiert Sprache zu Sprache mit ElevenLabs AI-Modellen.
|
|
163
|
+
|
|
164
|
+
**Parameter:**
|
|
165
|
+
|
|
166
|
+
- `Input Audio Paths` (string[]): Pfade zu Audio-Dateien
|
|
167
|
+
- `Voice Selection` (dropdown): Voice ID oder Voice Name
|
|
168
|
+
- `Voice ID/Name` (string): Die ID oder der Name der Stimme
|
|
169
|
+
- `Model` (dropdown): ElevenLabs-Modell
|
|
170
|
+
- `Target Format` (dropdown): mp3, wav, ogg, flac
|
|
171
|
+
- `Stability` (number, 0.0-1.0): Stimm-Stabilität (Standard: 0.65)
|
|
172
|
+
- `Similarity` (number, 0.0-1.0): Ähnlichkeit zum Original (Standard: 0.35)
|
|
173
|
+
- `Use HD` (boolean): HD-Verarbeitung aktivieren
|
|
174
|
+
- `Remove Background Noise` (boolean): Hintergrundgeräusche entfernen
|
|
175
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
176
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
177
|
+
|
|
178
|
+
**Output:** Job-ID und Audio-Informationen
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
### 🖼️ Bild-Verarbeitung (ComfyUI)
|
|
183
|
+
|
|
184
|
+
#### ComfyUI - Image Upscale (Flux Magnific)
|
|
185
|
+
|
|
186
|
+
Skaliert Bilder mit Flux Magnific Modell.
|
|
187
|
+
|
|
188
|
+
**Parameter:**
|
|
189
|
+
|
|
190
|
+
- `Input Image Paths` (string[]): Pfade zu Bild-Dateien
|
|
191
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
192
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
193
|
+
|
|
194
|
+
**Output:** Job-ID und Bild-Informationen
|
|
195
|
+
|
|
196
|
+
#### ComfyUI - Image Upscale (SDXL Clarity)
|
|
197
|
+
|
|
198
|
+
Skaliert Bilder mit SDXL Clarity Modell.
|
|
199
|
+
|
|
200
|
+
**Parameter:**
|
|
201
|
+
|
|
202
|
+
- `Input Image Paths` (string[]): Pfade zu Bild-Dateien
|
|
203
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
204
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
205
|
+
|
|
206
|
+
**Output:** Job-ID und Bild-Informationen
|
|
207
|
+
|
|
208
|
+
#### ComfyUI - Image Upscale (Stable SR)
|
|
209
|
+
|
|
210
|
+
Skaliert Bilder mit Stable SR Modell.
|
|
211
|
+
|
|
212
|
+
**Parameter:**
|
|
213
|
+
|
|
214
|
+
- `Input Image Paths` (string[]): Pfade zu Bild-Dateien
|
|
215
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
216
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
217
|
+
|
|
218
|
+
**Output:** Job-ID und Bild-Informationen
|
|
219
|
+
|
|
220
|
+
#### ComfyUI - Image Upscale (SeedVR2)
|
|
221
|
+
|
|
222
|
+
Skaliert Bilder mit SeedVR2 Modell.
|
|
223
|
+
|
|
224
|
+
**Parameter:**
|
|
225
|
+
|
|
226
|
+
- `Input Image Paths` (string[]): Pfade zu Bild-Dateien
|
|
227
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
228
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
229
|
+
|
|
230
|
+
**Output:** Job-ID und Bild-Informationen
|
|
231
|
+
|
|
232
|
+
#### ComfyUI - Faceswap Detailer
|
|
233
|
+
|
|
234
|
+
Tauscht Gesichter in Bildern aus mit Detailer-Modell.
|
|
235
|
+
|
|
236
|
+
**Parameter:**
|
|
237
|
+
|
|
238
|
+
- `Input Image Paths` (string[]): Pfade zu Bild-Dateien
|
|
239
|
+
- `Input Face Image` (string): Pfad zum Gesichts-Bild
|
|
240
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
241
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
242
|
+
|
|
243
|
+
**Output:** Job-ID und Bild-Informationen
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
### 🎬 Video-Verarbeitung
|
|
248
|
+
|
|
249
|
+
#### Topaz Video Upscale
|
|
250
|
+
|
|
251
|
+
Skaliert Videos mit Topaz AI.
|
|
252
|
+
|
|
253
|
+
**Parameter:**
|
|
254
|
+
|
|
255
|
+
- `Input Video Path` (string): Pfad zur Video-Datei
|
|
256
|
+
- `Framerate` (number): Ziel-FPS (-1 für Original)
|
|
257
|
+
- `Scale Factor` (number): Skalierungsfaktor (-1 für Original)
|
|
258
|
+
- `Target Format` (dropdown): mp4, mov, mkv, webm
|
|
259
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
260
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
261
|
+
|
|
262
|
+
**Output:** Job-ID und Video-Informationen
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
### 🌐 Web-Scraping
|
|
267
|
+
|
|
268
|
+
#### Webpage Scraper
|
|
269
|
+
|
|
270
|
+
Extrahiert Inhalte von Webseiten.
|
|
271
|
+
|
|
272
|
+
**Parameter:**
|
|
273
|
+
|
|
274
|
+
- `URL` (string): Die zu scrapende URL
|
|
275
|
+
- `Include Clips` (boolean): Video/Audio-Clips einbeziehen
|
|
276
|
+
- `Use X` (boolean): WhisperX für Clips verwenden (nur wenn Include Clips aktiv)
|
|
277
|
+
- `Callback URL` (string, optional): URL für Callback
|
|
278
|
+
- `Callback Payload` (JSON, optional): Zusätzliche Daten
|
|
279
|
+
|
|
280
|
+
**Output:** Gescrapte Inhalte als JSON
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## Entwicklung
|
|
285
|
+
|
|
286
|
+
### Build-Prozess
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
|
|
290
|
+
```
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const API_ENDPOINTS: {
|
|
2
|
+
readonly AUTH_BASE: "https://auth.marcmeese.de";
|
|
3
|
+
readonly AI_BASE: "https://ai.marcmeese.de";
|
|
4
|
+
readonly USER_INFO: "/user/account/info";
|
|
5
|
+
readonly JOB_DETAILS: "/user/job";
|
|
6
|
+
readonly GPT_VISION: "/user/job/image/gptvision";
|
|
7
|
+
readonly MULTIMEDIA_TRANSCRIBER: "/user/job/multimedia/multimediatranscriber";
|
|
8
|
+
readonly MULTIMEDIA_TRANSCRIBER_X: "/user/job/multimedia/multimediatranscriberx";
|
|
9
|
+
readonly AUDIO_DATASET_CREATOR: "/user/job/multimedia/audiodatasetcreator";
|
|
10
|
+
readonly ADVANCED_VOICE: "/user/job/audio/advancedvoice";
|
|
11
|
+
readonly SOUNDSTORM: "/user/job/audio/soundstorm";
|
|
12
|
+
readonly ELEVENLABS_TTS: "/user/job/audio/elevenlabs_tts";
|
|
13
|
+
readonly ELEVENLABS_STS: "/user/job/audio/elevenlabs_sts";
|
|
14
|
+
readonly WEBPAGE_SCRAPER: "/user/job/text/webpagescraper";
|
|
15
|
+
readonly COMFYUI_IMAGE_UPSCALE_FLUX_MAGNIFIC: "/user/job/image/comfyui/image/upscale/flux_magnific";
|
|
16
|
+
readonly COMFYUI_IMAGE_UPSCALE_SDXL_CLARITY: "/user/job/image/comfyui/image/upscale/sdxl_clarity";
|
|
17
|
+
readonly COMFYUI_IMAGE_UPSCALE_STABLESR: "/user/job/image/comfyui/image/upscale/stablesr";
|
|
18
|
+
readonly COMFYUI_IMAGE_MODIFY_FACESWAP_DETAILER: "/user/job/image/comfyui/image/modify/faceswap_detailer";
|
|
19
|
+
readonly COMFYUI_IMAGE_UPSCALE_SEEDVR2: "/user/job/image/comfyui/image/upscale/seedvr2";
|
|
20
|
+
readonly TOPAZVIDEO: "/user/job/video/topazvideo";
|
|
21
|
+
readonly PRESIGN_FILE: "/user/file/upload/presign";
|
|
22
|
+
readonly PRESIGN_FILE_BATCH: "/user/file/upload/presign/batch";
|
|
23
|
+
};
|
|
24
|
+
export declare class EndpointBuilder {
|
|
25
|
+
/**
|
|
26
|
+
* Baut die vollständige URL für User Info
|
|
27
|
+
*/
|
|
28
|
+
static getUserInfoUrl(): string;
|
|
29
|
+
/**
|
|
30
|
+
* Baut die vollständige URL für Job Details
|
|
31
|
+
*/
|
|
32
|
+
static getJobDetailsUrl(jobId: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* Baut die vollständige URL für GPT Vision
|
|
35
|
+
*/
|
|
36
|
+
static getGptVisionUrl(): string;
|
|
37
|
+
/**
|
|
38
|
+
* Baut die vollständige URL für Multimedia Transcriber
|
|
39
|
+
*/
|
|
40
|
+
static getTranscriberUrl(useX?: boolean): string;
|
|
41
|
+
/**
|
|
42
|
+
* Baut die vollständige URL für Multimedia Transcriber
|
|
43
|
+
*/
|
|
44
|
+
static getAudioDatasetCreatorUrl(): string;
|
|
45
|
+
/**
|
|
46
|
+
* Baut die vollständige URL für Comfyui Image Upscale Flux Magnific
|
|
47
|
+
*/
|
|
48
|
+
static getComfyuiImageUpscaleFluxMagnificUrl(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Baut die vollständige URL für Comfyui Image Upscale SeedVR2
|
|
51
|
+
*/
|
|
52
|
+
static getComfyuiImageUpscaleSeedvr2Url(): string;
|
|
53
|
+
/**
|
|
54
|
+
* Baut die vollständige URL für Comfyui Image Upscale SDXL Clarity
|
|
55
|
+
*/
|
|
56
|
+
static getComfyuiImageUpscaleSdxlClarityUrl(): string;
|
|
57
|
+
/**
|
|
58
|
+
* Baut die vollständige URL für Comfyui Image Upscale StableSR
|
|
59
|
+
*/
|
|
60
|
+
static getComfyuiImageUpscaleStablesrUrl(): string;
|
|
61
|
+
static getComfyuiImageModifyFaceswapDetailerUrl(): string;
|
|
62
|
+
/**
|
|
63
|
+
* Baut die vollständige URL für Advanced Voice
|
|
64
|
+
*/
|
|
65
|
+
static getAdvancedVoiceUrl(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Baut die vollständige URL für Soundstorm
|
|
68
|
+
*/
|
|
69
|
+
static getSoundstormUrl(): string;
|
|
70
|
+
static getElevenLabsTTSUrl(): string;
|
|
71
|
+
static getWebpageScraperUrl(): string;
|
|
72
|
+
static getElevenLabsSTSUrl(): string;
|
|
73
|
+
/**
|
|
74
|
+
* Baut die vollständige URL für Topaz Video Upscale
|
|
75
|
+
*/
|
|
76
|
+
static getTopazVideoUrl(): string;
|
|
77
|
+
}
|
|
78
|
+
export declare const SUPPORTED_FORMATS: {
|
|
79
|
+
readonly AUDIO: readonly ["wav", "mp3", "m4a", "oga", "ogg"];
|
|
80
|
+
readonly VIDEO: readonly ["mp4", "mkv", "mov", "webm"];
|
|
81
|
+
readonly IMAGE: readonly ["png", "jpg", "jpeg"];
|
|
82
|
+
readonly ARCHIVE: readonly ["zip", "tar", "gz", "tar.gz", "tgz", "tar.bz2", "tbz2", "tar.xz", "txz"];
|
|
83
|
+
};
|
|
84
|
+
export declare const MIME_TYPES: Record<string, string>;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MIME_TYPES = exports.SUPPORTED_FORMATS = exports.EndpointBuilder = exports.API_ENDPOINTS = void 0;
|
|
4
|
+
// Zentrale Konfiguration für alle API-Endpunkte
|
|
5
|
+
exports.API_ENDPOINTS = {
|
|
6
|
+
// Base URLs
|
|
7
|
+
AUTH_BASE: 'https://auth.marcmeese.de',
|
|
8
|
+
AI_BASE: 'https://ai.marcmeese.de',
|
|
9
|
+
// User Info
|
|
10
|
+
USER_INFO: '/user/account/info',
|
|
11
|
+
// Job Management
|
|
12
|
+
JOB_DETAILS: '/user/job',
|
|
13
|
+
// Image Processing
|
|
14
|
+
GPT_VISION: '/user/job/image/gptvision',
|
|
15
|
+
// Audio/Video Processing
|
|
16
|
+
MULTIMEDIA_TRANSCRIBER: '/user/job/multimedia/multimediatranscriber',
|
|
17
|
+
MULTIMEDIA_TRANSCRIBER_X: '/user/job/multimedia/multimediatranscriberx',
|
|
18
|
+
AUDIO_DATASET_CREATOR: '/user/job/multimedia/audiodatasetcreator',
|
|
19
|
+
ADVANCED_VOICE: '/user/job/audio/advancedvoice',
|
|
20
|
+
SOUNDSTORM: '/user/job/audio/soundstorm',
|
|
21
|
+
ELEVENLABS_TTS: '/user/job/audio/elevenlabs_tts',
|
|
22
|
+
ELEVENLABS_STS: '/user/job/audio/elevenlabs_sts',
|
|
23
|
+
WEBPAGE_SCRAPER: '/user/job/text/webpagescraper',
|
|
24
|
+
// Image/ComfyUI Upscaling
|
|
25
|
+
COMFYUI_IMAGE_UPSCALE_FLUX_MAGNIFIC: '/user/job/image/comfyui/image/upscale/flux_magnific',
|
|
26
|
+
COMFYUI_IMAGE_UPSCALE_SDXL_CLARITY: '/user/job/image/comfyui/image/upscale/sdxl_clarity',
|
|
27
|
+
COMFYUI_IMAGE_UPSCALE_STABLESR: '/user/job/image/comfyui/image/upscale/stablesr',
|
|
28
|
+
COMFYUI_IMAGE_MODIFY_FACESWAP_DETAILER: '/user/job/image/comfyui/image/modify/faceswap_detailer',
|
|
29
|
+
COMFYUI_IMAGE_UPSCALE_SEEDVR2: '/user/job/image/comfyui/image/upscale/seedvr2',
|
|
30
|
+
// Video/Topaz Upscaling
|
|
31
|
+
TOPAZVIDEO: '/user/job/video/topazvideo',
|
|
32
|
+
// File Management
|
|
33
|
+
PRESIGN_FILE: '/user/file/upload/presign',
|
|
34
|
+
PRESIGN_FILE_BATCH: '/user/file/upload/presign/batch'
|
|
35
|
+
};
|
|
36
|
+
// Helper-Funktionen für URL-Building
|
|
37
|
+
class EndpointBuilder {
|
|
38
|
+
/**
|
|
39
|
+
* Baut die vollständige URL für User Info
|
|
40
|
+
*/
|
|
41
|
+
static getUserInfoUrl() {
|
|
42
|
+
return `${exports.API_ENDPOINTS.AUTH_BASE}${exports.API_ENDPOINTS.USER_INFO}`;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Baut die vollständige URL für Job Details
|
|
46
|
+
*/
|
|
47
|
+
static getJobDetailsUrl(jobId) {
|
|
48
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.JOB_DETAILS}/${jobId}`;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Baut die vollständige URL für GPT Vision
|
|
52
|
+
*/
|
|
53
|
+
static getGptVisionUrl() {
|
|
54
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.GPT_VISION}`;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Baut die vollständige URL für Multimedia Transcriber
|
|
58
|
+
*/
|
|
59
|
+
static getTranscriberUrl(useX = false) {
|
|
60
|
+
const endpoint = useX
|
|
61
|
+
? exports.API_ENDPOINTS.MULTIMEDIA_TRANSCRIBER_X
|
|
62
|
+
: exports.API_ENDPOINTS.MULTIMEDIA_TRANSCRIBER;
|
|
63
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${endpoint}`;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Baut die vollständige URL für Multimedia Transcriber
|
|
67
|
+
*/
|
|
68
|
+
static getAudioDatasetCreatorUrl() {
|
|
69
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.AUDIO_DATASET_CREATOR}`;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Baut die vollständige URL für Comfyui Image Upscale Flux Magnific
|
|
73
|
+
*/
|
|
74
|
+
static getComfyuiImageUpscaleFluxMagnificUrl() {
|
|
75
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.COMFYUI_IMAGE_UPSCALE_FLUX_MAGNIFIC}`;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Baut die vollständige URL für Comfyui Image Upscale SeedVR2
|
|
79
|
+
*/
|
|
80
|
+
static getComfyuiImageUpscaleSeedvr2Url() {
|
|
81
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.COMFYUI_IMAGE_UPSCALE_SEEDVR2}`;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Baut die vollständige URL für Comfyui Image Upscale SDXL Clarity
|
|
85
|
+
*/
|
|
86
|
+
static getComfyuiImageUpscaleSdxlClarityUrl() {
|
|
87
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.COMFYUI_IMAGE_UPSCALE_SDXL_CLARITY}`;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Baut die vollständige URL für Comfyui Image Upscale StableSR
|
|
91
|
+
*/
|
|
92
|
+
static getComfyuiImageUpscaleStablesrUrl() {
|
|
93
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.COMFYUI_IMAGE_UPSCALE_STABLESR}`;
|
|
94
|
+
}
|
|
95
|
+
static getComfyuiImageModifyFaceswapDetailerUrl() {
|
|
96
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.COMFYUI_IMAGE_MODIFY_FACESWAP_DETAILER}`;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Baut die vollständige URL für Advanced Voice
|
|
100
|
+
*/
|
|
101
|
+
static getAdvancedVoiceUrl() {
|
|
102
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.ADVANCED_VOICE}`;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Baut die vollständige URL für Soundstorm
|
|
106
|
+
*/
|
|
107
|
+
static getSoundstormUrl() {
|
|
108
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.SOUNDSTORM}`;
|
|
109
|
+
}
|
|
110
|
+
static getElevenLabsTTSUrl() {
|
|
111
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.ELEVENLABS_TTS}`;
|
|
112
|
+
}
|
|
113
|
+
static getWebpageScraperUrl() {
|
|
114
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.WEBPAGE_SCRAPER}`;
|
|
115
|
+
}
|
|
116
|
+
static getElevenLabsSTSUrl() {
|
|
117
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.ELEVENLABS_STS}`;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Baut die vollständige URL für Topaz Video Upscale
|
|
121
|
+
*/
|
|
122
|
+
static getTopazVideoUrl() {
|
|
123
|
+
return `${exports.API_ENDPOINTS.AI_BASE}${exports.API_ENDPOINTS.TOPAZVIDEO}`;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.EndpointBuilder = EndpointBuilder;
|
|
127
|
+
// Unterstützte Dateitypen
|
|
128
|
+
exports.SUPPORTED_FORMATS = {
|
|
129
|
+
AUDIO: ["wav", "mp3", "m4a", "oga", "ogg"],
|
|
130
|
+
VIDEO: ["mp4", "mkv", "mov", "webm"],
|
|
131
|
+
IMAGE: ["png", "jpg", "jpeg"],
|
|
132
|
+
ARCHIVE: ["zip", "tar", "gz", "tar.gz", "tgz", "tar.bz2", "tbz2", "tar.xz", "txz"]
|
|
133
|
+
};
|
|
134
|
+
// MIME-Type Mappings
|
|
135
|
+
exports.MIME_TYPES = {
|
|
136
|
+
// Audio
|
|
137
|
+
wav: 'audio/wav',
|
|
138
|
+
mp3: 'audio/mpeg',
|
|
139
|
+
m4a: 'audio/mp4',
|
|
140
|
+
oga: 'audio/ogg',
|
|
141
|
+
ogg: 'audio/ogg',
|
|
142
|
+
// Video
|
|
143
|
+
mp4: 'video/mp4',
|
|
144
|
+
mkv: 'video/x-matroska',
|
|
145
|
+
mov: 'video/quicktime',
|
|
146
|
+
webm: 'video/webm',
|
|
147
|
+
// Images
|
|
148
|
+
jpg: 'image/jpeg',
|
|
149
|
+
jpeg: 'image/jpeg',
|
|
150
|
+
png: 'image/png',
|
|
151
|
+
// Archives
|
|
152
|
+
zip: 'application/zip',
|
|
153
|
+
tar: 'application/x-tar',
|
|
154
|
+
gz: 'application/gzip',
|
|
155
|
+
'tar.gz': 'application/gzip',
|
|
156
|
+
tgz: 'application/gzip',
|
|
157
|
+
'tar.bz2': 'application/x-bzip2',
|
|
158
|
+
tbz2: 'application/x-bzip2',
|
|
159
|
+
'tar.xz': 'application/x-xz',
|
|
160
|
+
txz: 'application/x-xz'
|
|
161
|
+
};
|
|
162
|
+
//# sourceMappingURL=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,IAAI,EAAE,YAAY;IAElB,SAAS;IACT,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,GAAG,EAAE,WAAW;IAEhB,WAAW;IACX,GAAG,EAAE,iBAAiB;IACtB,GAAG,EAAE,mBAAmB;IACxB,EAAE,EAAE,kBAAkB;IACtB,QAAQ,EAAE,kBAAkB;IAC5B,GAAG,EAAE,kBAAkB;IACvB,SAAS,EAAE,qBAAqB;IAChC,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,kBAAkB;IAC5B,GAAG,EAAE,kBAAkB;CACd,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICredentialType, INodeProperties, IAuthenticateGeneric, ICredentialTestRequest, Icon } from 'n8n-workflow';
|
|
2
|
+
export declare class CommunityAPIAIServer implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommunityAPIAIServer = void 0;
|
|
4
|
+
const endpoints_1 = require("../config/endpoints");
|
|
5
|
+
class CommunityAPIAIServer {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.name = 'CommunityAPIAIServer';
|
|
8
|
+
this.displayName = 'CommunityAPI - AI Server';
|
|
9
|
+
this.icon = 'file:marcmeeselogo.png';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
default: '',
|
|
16
|
+
description: 'Dein CommunityAPI API-Key',
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
this.authenticate = {
|
|
20
|
+
type: 'generic',
|
|
21
|
+
properties: {
|
|
22
|
+
headers: {
|
|
23
|
+
'auth-token': '={{$credentials.apiKey}}',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
this.test = {
|
|
28
|
+
request: {
|
|
29
|
+
url: endpoints_1.EndpointBuilder.getUserInfoUrl(),
|
|
30
|
+
method: 'GET',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CommunityAPIAIServer = CommunityAPIAIServer;
|
|
36
|
+
//# sourceMappingURL=CommunityAPIAIServer.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommunityAPIAIServer.credentials.js","sourceRoot":"","sources":["../../src/credentials/CommunityAPIAIServer.credentials.ts"],"names":[],"mappings":";;;AAOA,mDAAsD;AAEtD,MAAa,oBAAoB;IAAjC;QACC,SAAI,GAAG,sBAAsB,CAAC;QAC9B,gBAAW,GAAG,0BAA0B,CAAC;QACzC,SAAI,GAAS,wBAAwB,CAAC;QACtC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aACxC;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,YAAY,EAAE,0BAA0B;iBACxC;aACD;SACD,CAAC;QACF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,GAAG,EAAE,2BAAe,CAAC,cAAc,EAAE;gBACrC,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA3BD,oDA2BC"}
|
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { CommunityAPIAIServer } from './credentials/CommunityAPIAIServer.credentials';
|
|
2
|
+
export * from './nodes/CommunityAPIAIServer/GetUserInfo/GetUserInfo.node';
|
|
3
|
+
export * from './nodes/CommunityAPIAIServer/GetJob/GetJob.node';
|
|
4
|
+
export * from './nodes/CommunityAPIAIServer/UploadFile/UploadFile.node';
|
|
5
|
+
export * from './nodes/CommunityAPIAIServer/UploadFiles/UploadFiles.node';
|
|
6
|
+
export * from './nodes/CommunityAPIAIServer/DownloadJob/DownloadJob.node';
|
|
7
|
+
export * from './nodes/CommunityAPIAIServer/MultimediaTranscriber/MultimediaTranscriber.node';
|
|
8
|
+
export * from './nodes/CommunityAPIAIServer/AudioDatasetCreator/AudioDatasetCreator.node';
|
|
9
|
+
export * from './nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/ComfyuiImageUpscaleFluxMagnific.node';
|
|
10
|
+
export * from './nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/ComfyuiImageUpscaleSdxlClarity.node';
|
|
11
|
+
export * from './nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/ComfyuiImageUpscaleStablesr.node';
|
|
12
|
+
export * from './nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/ComfyuiImageUpscaleSeedvr2.node';
|
|
13
|
+
export * from './nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/ComfyuiImageModifyFaceswapDetailer.node';
|
|
14
|
+
export * from './nodes/CommunityAPIAIServer/TopazVideoUpscale/TopazVideoUpscale.node';
|
|
15
|
+
export * from './nodes/CommunityAPIAIServer/AdvancedVoice/AdvancedVoice.node';
|
|
16
|
+
export * from './nodes/CommunityAPIAIServer/Soundstorm/Soundstorm.node';
|
|
17
|
+
export * from './nodes/CommunityAPIAIServer/ElevenLabsTTS/ElevenLabsTTS.node';
|
|
18
|
+
export * from './nodes/CommunityAPIAIServer/ElevenLabsSTS/ElevenLabsSTS.node';
|
|
19
|
+
export * from './nodes/CommunityAPIAIServer/WebpageScraper/WebpageScraper.node';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.CommunityAPIAIServer = void 0;
|
|
18
|
+
var CommunityAPIAIServer_credentials_1 = require("./credentials/CommunityAPIAIServer.credentials");
|
|
19
|
+
Object.defineProperty(exports, "CommunityAPIAIServer", { enumerable: true, get: function () { return CommunityAPIAIServer_credentials_1.CommunityAPIAIServer; } });
|
|
20
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/GetUserInfo/GetUserInfo.node"), exports);
|
|
21
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/GetJob/GetJob.node"), exports);
|
|
22
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/UploadFile/UploadFile.node"), exports);
|
|
23
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/UploadFiles/UploadFiles.node"), exports);
|
|
24
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/DownloadJob/DownloadJob.node"), exports);
|
|
25
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/MultimediaTranscriber/MultimediaTranscriber.node"), exports);
|
|
26
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/AudioDatasetCreator/AudioDatasetCreator.node"), exports);
|
|
27
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ComfyuiImageUpscaleFluxMagnific/ComfyuiImageUpscaleFluxMagnific.node"), exports);
|
|
28
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSdxlClarity/ComfyuiImageUpscaleSdxlClarity.node"), exports);
|
|
29
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ComfyuiImageUpscaleStablesr/ComfyuiImageUpscaleStablesr.node"), exports);
|
|
30
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ComfyuiImageUpscaleSeedvr2/ComfyuiImageUpscaleSeedvr2.node"), exports);
|
|
31
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ComfyuiImageModifyFaceswapDetailer/ComfyuiImageModifyFaceswapDetailer.node"), exports);
|
|
32
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/TopazVideoUpscale/TopazVideoUpscale.node"), exports);
|
|
33
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/AdvancedVoice/AdvancedVoice.node"), exports);
|
|
34
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/Soundstorm/Soundstorm.node"), exports);
|
|
35
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ElevenLabsTTS/ElevenLabsTTS.node"), exports);
|
|
36
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/ElevenLabsSTS/ElevenLabsSTS.node"), exports);
|
|
37
|
+
__exportStar(require("./nodes/CommunityAPIAIServer/WebpageScraper/WebpageScraper.node"), exports);
|
|
38
|
+
//# sourceMappingURL=index.js.map
|