@digipair/skill-heygen 0.95.7 → 0.97.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/package.json +1 -1
- package/schema.fr.json +175 -5
- package/schema.json +175 -5
package/package.json
CHANGED
package/schema.fr.json
CHANGED
|
@@ -59,7 +59,43 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
"x-events": []
|
|
62
|
+
"x-events": [],
|
|
63
|
+
"responses": {
|
|
64
|
+
"200": {
|
|
65
|
+
"description": "Session HeyGen créée avec succès",
|
|
66
|
+
"content": {
|
|
67
|
+
"application/json": {
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"description": "Données de session HeyGen avec ID de session et détails de connexion",
|
|
71
|
+
"properties": {
|
|
72
|
+
"session_id": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Identifiant unique de session"
|
|
75
|
+
},
|
|
76
|
+
"sdp": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"description": "Données Session Description Protocol"
|
|
79
|
+
},
|
|
80
|
+
"ice_servers": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"description": "Configuration des serveurs ICE"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"400": {
|
|
90
|
+
"description": "Requête invalide - Paramètres d'avatar ou de voix invalides"
|
|
91
|
+
},
|
|
92
|
+
"401": {
|
|
93
|
+
"description": "Non autorisé - Clé API invalide ou manquante"
|
|
94
|
+
},
|
|
95
|
+
"500": {
|
|
96
|
+
"description": "Erreur serveur - Erreur interne de l'API HeyGen"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
63
99
|
}
|
|
64
100
|
},
|
|
65
101
|
"/handleICE": {
|
|
@@ -104,7 +140,32 @@
|
|
|
104
140
|
}
|
|
105
141
|
}
|
|
106
142
|
],
|
|
107
|
-
"x-events": []
|
|
143
|
+
"x-events": [],
|
|
144
|
+
"responses": {
|
|
145
|
+
"200": {
|
|
146
|
+
"description": "Candidat ICE traité avec succès",
|
|
147
|
+
"content": {
|
|
148
|
+
"application/json": {
|
|
149
|
+
"schema": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"description": "Confirmation de traitement ICE depuis l'API HeyGen"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"400": {
|
|
157
|
+
"description": "Requête invalide - ID de session ou données de candidat invalides"
|
|
158
|
+
},
|
|
159
|
+
"401": {
|
|
160
|
+
"description": "Non autorisé - Clé API invalide ou manquante"
|
|
161
|
+
},
|
|
162
|
+
"404": {
|
|
163
|
+
"description": "Non trouvé - Session non trouvée"
|
|
164
|
+
},
|
|
165
|
+
"500": {
|
|
166
|
+
"description": "Erreur serveur - Erreur interne de l'API HeyGen"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
108
169
|
}
|
|
109
170
|
},
|
|
110
171
|
"/startSession": {
|
|
@@ -149,7 +210,42 @@
|
|
|
149
210
|
}
|
|
150
211
|
}
|
|
151
212
|
],
|
|
152
|
-
"x-events": []
|
|
213
|
+
"x-events": [],
|
|
214
|
+
"responses": {
|
|
215
|
+
"200": {
|
|
216
|
+
"description": "Session HeyGen démarrée avec succès",
|
|
217
|
+
"content": {
|
|
218
|
+
"application/json": {
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"description": "Confirmation de démarrage de session avec détails de streaming",
|
|
222
|
+
"properties": {
|
|
223
|
+
"session_id": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "Identifiant de session active"
|
|
226
|
+
},
|
|
227
|
+
"status": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Statut de la session"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"400": {
|
|
237
|
+
"description": "Requête invalide - ID de session ou données SDP invalides"
|
|
238
|
+
},
|
|
239
|
+
"401": {
|
|
240
|
+
"description": "Non autorisé - Clé API invalide ou manquante"
|
|
241
|
+
},
|
|
242
|
+
"404": {
|
|
243
|
+
"description": "Non trouvé - Session non trouvée"
|
|
244
|
+
},
|
|
245
|
+
"500": {
|
|
246
|
+
"description": "Erreur serveur - Erreur interne de l'API HeyGen"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
153
249
|
}
|
|
154
250
|
},
|
|
155
251
|
"/talk": {
|
|
@@ -194,7 +290,46 @@
|
|
|
194
290
|
}
|
|
195
291
|
}
|
|
196
292
|
],
|
|
197
|
-
"x-events": []
|
|
293
|
+
"x-events": [],
|
|
294
|
+
"responses": {
|
|
295
|
+
"200": {
|
|
296
|
+
"description": "Parole de l'avatar générée avec succès",
|
|
297
|
+
"content": {
|
|
298
|
+
"application/json": {
|
|
299
|
+
"schema": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"description": "Confirmation de génération de parole avec détails de tâche",
|
|
302
|
+
"properties": {
|
|
303
|
+
"task_id": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"description": "Identifiant de tâche de parole"
|
|
306
|
+
},
|
|
307
|
+
"status": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"description": "Statut de la tâche"
|
|
310
|
+
},
|
|
311
|
+
"duration": {
|
|
312
|
+
"type": "number",
|
|
313
|
+
"description": "Durée estimée de la parole"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"400": {
|
|
321
|
+
"description": "Requête invalide - ID de session ou contenu textuel invalide"
|
|
322
|
+
},
|
|
323
|
+
"401": {
|
|
324
|
+
"description": "Non autorisé - Clé API invalide ou manquante"
|
|
325
|
+
},
|
|
326
|
+
"404": {
|
|
327
|
+
"description": "Non trouvé - Session non trouvée ou inactive"
|
|
328
|
+
},
|
|
329
|
+
"500": {
|
|
330
|
+
"description": "Erreur serveur - Erreur interne de l'API HeyGen"
|
|
331
|
+
}
|
|
332
|
+
}
|
|
198
333
|
}
|
|
199
334
|
},
|
|
200
335
|
"/stop": {
|
|
@@ -230,7 +365,42 @@
|
|
|
230
365
|
}
|
|
231
366
|
}
|
|
232
367
|
],
|
|
233
|
-
"x-events": []
|
|
368
|
+
"x-events": [],
|
|
369
|
+
"responses": {
|
|
370
|
+
"200": {
|
|
371
|
+
"description": "Session HeyGen arrêtée avec succès",
|
|
372
|
+
"content": {
|
|
373
|
+
"application/json": {
|
|
374
|
+
"schema": {
|
|
375
|
+
"type": "object",
|
|
376
|
+
"description": "Confirmation d'arrêt de session",
|
|
377
|
+
"properties": {
|
|
378
|
+
"session_id": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"description": "Identifiant de session arrêtée"
|
|
381
|
+
},
|
|
382
|
+
"status": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"description": "Statut final de la session"
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"400": {
|
|
392
|
+
"description": "Requête invalide - ID de session invalide"
|
|
393
|
+
},
|
|
394
|
+
"401": {
|
|
395
|
+
"description": "Non autorisé - Clé API invalide ou manquante"
|
|
396
|
+
},
|
|
397
|
+
"404": {
|
|
398
|
+
"description": "Non trouvé - Session non trouvée"
|
|
399
|
+
},
|
|
400
|
+
"500": {
|
|
401
|
+
"description": "Erreur serveur - Erreur interne de l'API HeyGen"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
234
404
|
}
|
|
235
405
|
}
|
|
236
406
|
},
|
package/schema.json
CHANGED
|
@@ -59,7 +59,43 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
"x-events": []
|
|
62
|
+
"x-events": [],
|
|
63
|
+
"responses": {
|
|
64
|
+
"200": {
|
|
65
|
+
"description": "HeyGen session created successfully",
|
|
66
|
+
"content": {
|
|
67
|
+
"application/json": {
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"description": "HeyGen session data with session ID and connection details",
|
|
71
|
+
"properties": {
|
|
72
|
+
"session_id": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Unique session identifier"
|
|
75
|
+
},
|
|
76
|
+
"sdp": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"description": "Session Description Protocol data"
|
|
79
|
+
},
|
|
80
|
+
"ice_servers": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"description": "ICE server configuration"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"400": {
|
|
90
|
+
"description": "Bad request - Invalid avatar or voice parameters"
|
|
91
|
+
},
|
|
92
|
+
"401": {
|
|
93
|
+
"description": "Unauthorized - Invalid or missing API key"
|
|
94
|
+
},
|
|
95
|
+
"500": {
|
|
96
|
+
"description": "Server error - HeyGen API internal error"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
63
99
|
}
|
|
64
100
|
},
|
|
65
101
|
"/handleICE": {
|
|
@@ -104,7 +140,32 @@
|
|
|
104
140
|
}
|
|
105
141
|
}
|
|
106
142
|
],
|
|
107
|
-
"x-events": []
|
|
143
|
+
"x-events": [],
|
|
144
|
+
"responses": {
|
|
145
|
+
"200": {
|
|
146
|
+
"description": "ICE candidate handled successfully",
|
|
147
|
+
"content": {
|
|
148
|
+
"application/json": {
|
|
149
|
+
"schema": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"description": "ICE handling confirmation from HeyGen API"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"400": {
|
|
157
|
+
"description": "Bad request - Invalid session ID or candidate data"
|
|
158
|
+
},
|
|
159
|
+
"401": {
|
|
160
|
+
"description": "Unauthorized - Invalid or missing API key"
|
|
161
|
+
},
|
|
162
|
+
"404": {
|
|
163
|
+
"description": "Not found - Session not found"
|
|
164
|
+
},
|
|
165
|
+
"500": {
|
|
166
|
+
"description": "Server error - HeyGen API internal error"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
108
169
|
}
|
|
109
170
|
},
|
|
110
171
|
"/startSession": {
|
|
@@ -149,7 +210,42 @@
|
|
|
149
210
|
}
|
|
150
211
|
}
|
|
151
212
|
],
|
|
152
|
-
"x-events": []
|
|
213
|
+
"x-events": [],
|
|
214
|
+
"responses": {
|
|
215
|
+
"200": {
|
|
216
|
+
"description": "HeyGen session started successfully",
|
|
217
|
+
"content": {
|
|
218
|
+
"application/json": {
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"description": "Session start confirmation with streaming details",
|
|
222
|
+
"properties": {
|
|
223
|
+
"session_id": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "Active session identifier"
|
|
226
|
+
},
|
|
227
|
+
"status": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Session status"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"400": {
|
|
237
|
+
"description": "Bad request - Invalid session ID or SDP data"
|
|
238
|
+
},
|
|
239
|
+
"401": {
|
|
240
|
+
"description": "Unauthorized - Invalid or missing API key"
|
|
241
|
+
},
|
|
242
|
+
"404": {
|
|
243
|
+
"description": "Not found - Session not found"
|
|
244
|
+
},
|
|
245
|
+
"500": {
|
|
246
|
+
"description": "Server error - HeyGen API internal error"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
153
249
|
}
|
|
154
250
|
},
|
|
155
251
|
"/talk": {
|
|
@@ -194,7 +290,46 @@
|
|
|
194
290
|
}
|
|
195
291
|
}
|
|
196
292
|
],
|
|
197
|
-
"x-events": []
|
|
293
|
+
"x-events": [],
|
|
294
|
+
"responses": {
|
|
295
|
+
"200": {
|
|
296
|
+
"description": "Avatar speech generated successfully",
|
|
297
|
+
"content": {
|
|
298
|
+
"application/json": {
|
|
299
|
+
"schema": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"description": "Speech generation confirmation with task details",
|
|
302
|
+
"properties": {
|
|
303
|
+
"task_id": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"description": "Speech task identifier"
|
|
306
|
+
},
|
|
307
|
+
"status": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"description": "Task status"
|
|
310
|
+
},
|
|
311
|
+
"duration": {
|
|
312
|
+
"type": "number",
|
|
313
|
+
"description": "Estimated speech duration"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"400": {
|
|
321
|
+
"description": "Bad request - Invalid session ID or text content"
|
|
322
|
+
},
|
|
323
|
+
"401": {
|
|
324
|
+
"description": "Unauthorized - Invalid or missing API key"
|
|
325
|
+
},
|
|
326
|
+
"404": {
|
|
327
|
+
"description": "Not found - Session not found or inactive"
|
|
328
|
+
},
|
|
329
|
+
"500": {
|
|
330
|
+
"description": "Server error - HeyGen API internal error"
|
|
331
|
+
}
|
|
332
|
+
}
|
|
198
333
|
}
|
|
199
334
|
},
|
|
200
335
|
"/stop": {
|
|
@@ -230,7 +365,42 @@
|
|
|
230
365
|
}
|
|
231
366
|
}
|
|
232
367
|
],
|
|
233
|
-
"x-events": []
|
|
368
|
+
"x-events": [],
|
|
369
|
+
"responses": {
|
|
370
|
+
"200": {
|
|
371
|
+
"description": "HeyGen session stopped successfully",
|
|
372
|
+
"content": {
|
|
373
|
+
"application/json": {
|
|
374
|
+
"schema": {
|
|
375
|
+
"type": "object",
|
|
376
|
+
"description": "Session stop confirmation",
|
|
377
|
+
"properties": {
|
|
378
|
+
"session_id": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"description": "Stopped session identifier"
|
|
381
|
+
},
|
|
382
|
+
"status": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"description": "Final session status"
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"400": {
|
|
392
|
+
"description": "Bad request - Invalid session ID"
|
|
393
|
+
},
|
|
394
|
+
"401": {
|
|
395
|
+
"description": "Unauthorized - Invalid or missing API key"
|
|
396
|
+
},
|
|
397
|
+
"404": {
|
|
398
|
+
"description": "Not found - Session not found"
|
|
399
|
+
},
|
|
400
|
+
"500": {
|
|
401
|
+
"description": "Server error - HeyGen API internal error"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
234
404
|
}
|
|
235
405
|
}
|
|
236
406
|
},
|