realtime-avatar 0.1.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/AGENTS.md +132 -0
- package/CLAUDE.md +17 -0
- package/LICENSE +21 -0
- package/README.md +254 -0
- package/dist/api-keys.d.ts +26 -0
- package/dist/api-keys.d.ts.map +1 -0
- package/dist/api-keys.js +88 -0
- package/dist/api-keys.js.map +1 -0
- package/dist/browser/audio.d.ts +65 -0
- package/dist/browser/audio.d.ts.map +1 -0
- package/dist/browser/audio.js +154 -0
- package/dist/browser/audio.js.map +1 -0
- package/dist/browser/boomerang.d.ts +38 -0
- package/dist/browser/boomerang.d.ts.map +1 -0
- package/dist/browser/boomerang.js +85 -0
- package/dist/browser/boomerang.js.map +1 -0
- package/dist/browser/index.d.ts +8 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +8 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/media-session.d.ts +43 -0
- package/dist/browser/media-session.d.ts.map +1 -0
- package/dist/browser/media-session.js +169 -0
- package/dist/browser/media-session.js.map +1 -0
- package/dist/browser/player.d.ts +162 -0
- package/dist/browser/player.d.ts.map +1 -0
- package/dist/browser/player.js +514 -0
- package/dist/browser/player.js.map +1 -0
- package/dist/browser/view.d.ts +47 -0
- package/dist/browser/view.d.ts.map +1 -0
- package/dist/browser/view.js +7 -0
- package/dist/browser/view.js.map +1 -0
- package/dist/browser/webrtc.d.ts +21 -0
- package/dist/browser/webrtc.d.ts.map +1 -0
- package/dist/browser/webrtc.js +149 -0
- package/dist/browser/webrtc.js.map +1 -0
- package/dist/browser/yuv-canvas.d.ts +13 -0
- package/dist/browser/yuv-canvas.d.ts.map +1 -0
- package/dist/browser/yuv-canvas.js +95 -0
- package/dist/browser/yuv-canvas.js.map +1 -0
- package/dist/client.d.ts +195 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +440 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +33 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +73 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/openapi.d.ts +1523 -0
- package/dist/generated/openapi.d.ts.map +1 -0
- package/dist/generated/openapi.js +6 -0
- package/dist/generated/openapi.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/media.d.ts +40 -0
- package/dist/media.d.ts.map +1 -0
- package/dist/media.js +4 -0
- package/dist/media.js.map +1 -0
- package/dist/mux.d.ts +104 -0
- package/dist/mux.d.ts.map +1 -0
- package/dist/mux.js +290 -0
- package/dist/mux.js.map +1 -0
- package/dist/platform.d.ts +163 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +5 -0
- package/dist/platform.js.map +1 -0
- package/dist/react/index.d.ts +5 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +5 -0
- package/dist/react/index.js.map +1 -0
- package/dist/react/provider.d.ts +37 -0
- package/dist/react/provider.d.ts.map +1 -0
- package/dist/react/provider.js +33 -0
- package/dist/react/provider.js.map +1 -0
- package/dist/react/realtime.d.ts +74 -0
- package/dist/react/realtime.d.ts.map +1 -0
- package/dist/react/realtime.js +105 -0
- package/dist/react/realtime.js.map +1 -0
- package/dist/react/session.d.ts +91 -0
- package/dist/react/session.d.ts.map +1 -0
- package/dist/react/session.js +322 -0
- package/dist/react/session.js.map +1 -0
- package/dist/react/stage.d.ts +23 -0
- package/dist/react/stage.d.ts.map +1 -0
- package/dist/react/stage.js +62 -0
- package/dist/react/stage.js.map +1 -0
- package/dist/schemas.d.ts +59 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +58 -0
- package/dist/schemas.js.map +1 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +8 -0
- package/dist/server.js.map +1 -0
- package/dist/session-socket.d.ts +96 -0
- package/dist/session-socket.d.ts.map +1 -0
- package/dist/session-socket.js +299 -0
- package/dist/session-socket.js.map +1 -0
- package/dist/session.d.ts +107 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +192 -0
- package/dist/session.js.map +1 -0
- package/dist/types.d.ts +24 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,1523 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/health": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** Health */
|
|
14
|
+
get: operations["health_health_get"];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
"/v1/artifacts": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** Get Artifacts */
|
|
31
|
+
get: operations["get_artifacts_v1_artifacts_get"];
|
|
32
|
+
put?: never;
|
|
33
|
+
post?: never;
|
|
34
|
+
delete?: never;
|
|
35
|
+
options?: never;
|
|
36
|
+
head?: never;
|
|
37
|
+
patch?: never;
|
|
38
|
+
trace?: never;
|
|
39
|
+
};
|
|
40
|
+
"/v1/artifacts/build": {
|
|
41
|
+
parameters: {
|
|
42
|
+
query?: never;
|
|
43
|
+
header?: never;
|
|
44
|
+
path?: never;
|
|
45
|
+
cookie?: never;
|
|
46
|
+
};
|
|
47
|
+
get?: never;
|
|
48
|
+
put?: never;
|
|
49
|
+
/** Build */
|
|
50
|
+
post: operations["build_v1_artifacts_build_post"];
|
|
51
|
+
delete?: never;
|
|
52
|
+
options?: never;
|
|
53
|
+
head?: never;
|
|
54
|
+
patch?: never;
|
|
55
|
+
trace?: never;
|
|
56
|
+
};
|
|
57
|
+
"/v1/artifacts/prefetch": {
|
|
58
|
+
parameters: {
|
|
59
|
+
query?: never;
|
|
60
|
+
header?: never;
|
|
61
|
+
path?: never;
|
|
62
|
+
cookie?: never;
|
|
63
|
+
};
|
|
64
|
+
get?: never;
|
|
65
|
+
put?: never;
|
|
66
|
+
/** Prefetch */
|
|
67
|
+
post: operations["prefetch_v1_artifacts_prefetch_post"];
|
|
68
|
+
delete?: never;
|
|
69
|
+
options?: never;
|
|
70
|
+
head?: never;
|
|
71
|
+
patch?: never;
|
|
72
|
+
trace?: never;
|
|
73
|
+
};
|
|
74
|
+
"/v1/generations": {
|
|
75
|
+
parameters: {
|
|
76
|
+
query?: never;
|
|
77
|
+
header?: never;
|
|
78
|
+
path?: never;
|
|
79
|
+
cookie?: never;
|
|
80
|
+
};
|
|
81
|
+
get?: never;
|
|
82
|
+
put?: never;
|
|
83
|
+
/** Create Generation */
|
|
84
|
+
post: operations["create_generation_v1_generations_post"];
|
|
85
|
+
delete?: never;
|
|
86
|
+
options?: never;
|
|
87
|
+
head?: never;
|
|
88
|
+
patch?: never;
|
|
89
|
+
trace?: never;
|
|
90
|
+
};
|
|
91
|
+
"/v1/generations/{job_id}": {
|
|
92
|
+
parameters: {
|
|
93
|
+
query?: never;
|
|
94
|
+
header?: never;
|
|
95
|
+
path?: never;
|
|
96
|
+
cookie?: never;
|
|
97
|
+
};
|
|
98
|
+
/** Get Generation */
|
|
99
|
+
get: operations["get_generation_v1_generations__job_id__get"];
|
|
100
|
+
put?: never;
|
|
101
|
+
post?: never;
|
|
102
|
+
delete?: never;
|
|
103
|
+
options?: never;
|
|
104
|
+
head?: never;
|
|
105
|
+
patch?: never;
|
|
106
|
+
trace?: never;
|
|
107
|
+
};
|
|
108
|
+
"/v1/generations/{job_id}/artifact": {
|
|
109
|
+
parameters: {
|
|
110
|
+
query?: never;
|
|
111
|
+
header?: never;
|
|
112
|
+
path?: never;
|
|
113
|
+
cookie?: never;
|
|
114
|
+
};
|
|
115
|
+
/** Get Artifact */
|
|
116
|
+
get: operations["get_artifact_v1_generations__job_id__artifact_get"];
|
|
117
|
+
put?: never;
|
|
118
|
+
post?: never;
|
|
119
|
+
delete?: never;
|
|
120
|
+
options?: never;
|
|
121
|
+
head?: never;
|
|
122
|
+
patch?: never;
|
|
123
|
+
trace?: never;
|
|
124
|
+
};
|
|
125
|
+
"/v1/lipsync": {
|
|
126
|
+
parameters: {
|
|
127
|
+
query?: never;
|
|
128
|
+
header?: never;
|
|
129
|
+
path?: never;
|
|
130
|
+
cookie?: never;
|
|
131
|
+
};
|
|
132
|
+
get?: never;
|
|
133
|
+
put?: never;
|
|
134
|
+
/**
|
|
135
|
+
* Lipsync
|
|
136
|
+
* @description Non-streaming lipsync: download the audio URL, render the full clip in
|
|
137
|
+
* one pass, and return the MP4 bytes. Lean by design — no job, no LLM, no
|
|
138
|
+
* TTS, no streaming; the platform layer uploads the result to R2.
|
|
139
|
+
*/
|
|
140
|
+
post: operations["lipsync_v1_lipsync_post"];
|
|
141
|
+
delete?: never;
|
|
142
|
+
options?: never;
|
|
143
|
+
head?: never;
|
|
144
|
+
patch?: never;
|
|
145
|
+
trace?: never;
|
|
146
|
+
};
|
|
147
|
+
"/v1/live/metadata": {
|
|
148
|
+
parameters: {
|
|
149
|
+
query?: never;
|
|
150
|
+
header?: never;
|
|
151
|
+
path?: never;
|
|
152
|
+
cookie?: never;
|
|
153
|
+
};
|
|
154
|
+
/** Live Metadata */
|
|
155
|
+
get: operations["live_metadata_v1_live_metadata_get"];
|
|
156
|
+
put?: never;
|
|
157
|
+
post?: never;
|
|
158
|
+
delete?: never;
|
|
159
|
+
options?: never;
|
|
160
|
+
head?: never;
|
|
161
|
+
patch?: never;
|
|
162
|
+
trace?: never;
|
|
163
|
+
};
|
|
164
|
+
"/v1/live/process-audio-v3": {
|
|
165
|
+
parameters: {
|
|
166
|
+
query?: never;
|
|
167
|
+
header?: never;
|
|
168
|
+
path?: never;
|
|
169
|
+
cookie?: never;
|
|
170
|
+
};
|
|
171
|
+
get?: never;
|
|
172
|
+
put?: never;
|
|
173
|
+
/** Process Audio V3 */
|
|
174
|
+
post: operations["process_audio_v3_v1_live_process_audio_v3_post"];
|
|
175
|
+
delete?: never;
|
|
176
|
+
options?: never;
|
|
177
|
+
head?: never;
|
|
178
|
+
patch?: never;
|
|
179
|
+
trace?: never;
|
|
180
|
+
};
|
|
181
|
+
"/v1/realtime/pipecat-turn": {
|
|
182
|
+
parameters: {
|
|
183
|
+
query?: never;
|
|
184
|
+
header?: never;
|
|
185
|
+
path?: never;
|
|
186
|
+
cookie?: never;
|
|
187
|
+
};
|
|
188
|
+
get?: never;
|
|
189
|
+
put?: never;
|
|
190
|
+
/** Pipecat Realtime Turn */
|
|
191
|
+
post: operations["pipecat_realtime_turn_v1_realtime_pipecat_turn_post"];
|
|
192
|
+
delete?: never;
|
|
193
|
+
options?: never;
|
|
194
|
+
head?: never;
|
|
195
|
+
patch?: never;
|
|
196
|
+
trace?: never;
|
|
197
|
+
};
|
|
198
|
+
"/v1/realtime/prepare": {
|
|
199
|
+
parameters: {
|
|
200
|
+
query?: never;
|
|
201
|
+
header?: never;
|
|
202
|
+
path?: never;
|
|
203
|
+
cookie?: never;
|
|
204
|
+
};
|
|
205
|
+
get?: never;
|
|
206
|
+
put?: never;
|
|
207
|
+
/**
|
|
208
|
+
* Realtime Prepare
|
|
209
|
+
* @description Warm the exact avatar that the next realtime turn will use.
|
|
210
|
+
*
|
|
211
|
+
* This moves custom portrait download/normalization/AvatarLoader registration
|
|
212
|
+
* out of the user-visible turn path while keeping Volume commits conditional.
|
|
213
|
+
*/
|
|
214
|
+
post: operations["realtime_prepare_v1_realtime_prepare_post"];
|
|
215
|
+
delete?: never;
|
|
216
|
+
options?: never;
|
|
217
|
+
head?: never;
|
|
218
|
+
patch?: never;
|
|
219
|
+
trace?: never;
|
|
220
|
+
};
|
|
221
|
+
"/v1/realtime/turn": {
|
|
222
|
+
parameters: {
|
|
223
|
+
query?: never;
|
|
224
|
+
header?: never;
|
|
225
|
+
path?: never;
|
|
226
|
+
cookie?: never;
|
|
227
|
+
};
|
|
228
|
+
get?: never;
|
|
229
|
+
put?: never;
|
|
230
|
+
/** Realtime Turn */
|
|
231
|
+
post: operations["realtime_turn_v1_realtime_turn_post"];
|
|
232
|
+
delete?: never;
|
|
233
|
+
options?: never;
|
|
234
|
+
head?: never;
|
|
235
|
+
patch?: never;
|
|
236
|
+
trace?: never;
|
|
237
|
+
};
|
|
238
|
+
"/v1/realtime/video-cache/plan": {
|
|
239
|
+
parameters: {
|
|
240
|
+
query?: never;
|
|
241
|
+
header?: never;
|
|
242
|
+
path?: never;
|
|
243
|
+
cookie?: never;
|
|
244
|
+
};
|
|
245
|
+
get?: never;
|
|
246
|
+
put?: never;
|
|
247
|
+
/**
|
|
248
|
+
* Plan Realtime Video Cache
|
|
249
|
+
* @description Return deterministic .avtrv cache paths without touching the GPU.
|
|
250
|
+
*/
|
|
251
|
+
post: operations["plan_realtime_video_cache_v1_realtime_video_cache_plan_post"];
|
|
252
|
+
delete?: never;
|
|
253
|
+
options?: never;
|
|
254
|
+
head?: never;
|
|
255
|
+
patch?: never;
|
|
256
|
+
trace?: never;
|
|
257
|
+
};
|
|
258
|
+
"/v1/realtime/video-cache/register": {
|
|
259
|
+
parameters: {
|
|
260
|
+
query?: never;
|
|
261
|
+
header?: never;
|
|
262
|
+
path?: never;
|
|
263
|
+
cookie?: never;
|
|
264
|
+
};
|
|
265
|
+
get?: never;
|
|
266
|
+
put?: never;
|
|
267
|
+
/**
|
|
268
|
+
* Register Realtime Video Cache
|
|
269
|
+
* @description Build (or load) the .avtrv cache for a source video, blocking until ready.
|
|
270
|
+
*/
|
|
271
|
+
post: operations["register_realtime_video_cache_v1_realtime_video_cache_register_post"];
|
|
272
|
+
delete?: never;
|
|
273
|
+
options?: never;
|
|
274
|
+
head?: never;
|
|
275
|
+
patch?: never;
|
|
276
|
+
trace?: never;
|
|
277
|
+
};
|
|
278
|
+
"/v1/realtime/video-cache/{cache_id}": {
|
|
279
|
+
parameters: {
|
|
280
|
+
query?: never;
|
|
281
|
+
header?: never;
|
|
282
|
+
path?: never;
|
|
283
|
+
cookie?: never;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Get Realtime Video Cache
|
|
287
|
+
* @description Read a .avtrv cache manifest from the Volume.
|
|
288
|
+
*/
|
|
289
|
+
get: operations["get_realtime_video_cache_v1_realtime_video_cache__cache_id__get"];
|
|
290
|
+
put?: never;
|
|
291
|
+
post?: never;
|
|
292
|
+
delete?: never;
|
|
293
|
+
options?: never;
|
|
294
|
+
head?: never;
|
|
295
|
+
patch?: never;
|
|
296
|
+
trace?: never;
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
export type webhooks = Record<string, never>;
|
|
300
|
+
export interface components {
|
|
301
|
+
schemas: {
|
|
302
|
+
/** ArtifactFileStatus */
|
|
303
|
+
ArtifactFileStatus: {
|
|
304
|
+
/** Exists */
|
|
305
|
+
exists: boolean;
|
|
306
|
+
/**
|
|
307
|
+
* Kind
|
|
308
|
+
* @enum {string}
|
|
309
|
+
*/
|
|
310
|
+
kind: "artifact" | "engine";
|
|
311
|
+
/** Name */
|
|
312
|
+
name: string;
|
|
313
|
+
/** Path */
|
|
314
|
+
path: string;
|
|
315
|
+
};
|
|
316
|
+
/** ArtifactStatus */
|
|
317
|
+
ArtifactStatus: {
|
|
318
|
+
/** Artifacts Ready */
|
|
319
|
+
artifacts_ready: boolean;
|
|
320
|
+
/** Engines Ready */
|
|
321
|
+
engines_ready: boolean;
|
|
322
|
+
/** Files */
|
|
323
|
+
files: components["schemas"]["ArtifactFileStatus"][];
|
|
324
|
+
/** Manifest Exists */
|
|
325
|
+
manifest_exists: boolean;
|
|
326
|
+
/** Manifest Path */
|
|
327
|
+
manifest_path: string;
|
|
328
|
+
/** Storage Root */
|
|
329
|
+
storage_root: string;
|
|
330
|
+
};
|
|
331
|
+
/** Body_process_audio_v3_v1_live_process_audio_v3_post */
|
|
332
|
+
Body_process_audio_v3_v1_live_process_audio_v3_post: {
|
|
333
|
+
/** Current Chunk */
|
|
334
|
+
current_chunk: string;
|
|
335
|
+
/** Current Chunk Listen */
|
|
336
|
+
current_chunk_listen: string;
|
|
337
|
+
/** Future Chunk */
|
|
338
|
+
future_chunk: string;
|
|
339
|
+
/** Future Chunk Listen */
|
|
340
|
+
future_chunk_listen: string;
|
|
341
|
+
/** State */
|
|
342
|
+
state?: string | null;
|
|
343
|
+
};
|
|
344
|
+
/** BuildEnginesRequest */
|
|
345
|
+
BuildEnginesRequest: {
|
|
346
|
+
/**
|
|
347
|
+
* Force
|
|
348
|
+
* @default false
|
|
349
|
+
*/
|
|
350
|
+
force?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Fp16
|
|
353
|
+
* @default true
|
|
354
|
+
*/
|
|
355
|
+
fp16?: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Prefetch
|
|
358
|
+
* @default true
|
|
359
|
+
*/
|
|
360
|
+
prefetch?: boolean;
|
|
361
|
+
};
|
|
362
|
+
/** GenerationArtifact */
|
|
363
|
+
GenerationArtifact: {
|
|
364
|
+
/** Avatar Id */
|
|
365
|
+
avatar_id: string;
|
|
366
|
+
/** Background Id */
|
|
367
|
+
background_id: string;
|
|
368
|
+
/** Duration Seconds */
|
|
369
|
+
duration_seconds: number;
|
|
370
|
+
/**
|
|
371
|
+
* Finished At
|
|
372
|
+
* Format: date-time
|
|
373
|
+
*/
|
|
374
|
+
finished_at?: string;
|
|
375
|
+
/** Fps */
|
|
376
|
+
fps: number;
|
|
377
|
+
/** Frames */
|
|
378
|
+
frames: number;
|
|
379
|
+
/** Job Id */
|
|
380
|
+
job_id: string;
|
|
381
|
+
/** Output Path */
|
|
382
|
+
output_path: string;
|
|
383
|
+
/** Timings */
|
|
384
|
+
timings?: {
|
|
385
|
+
[key: string]: number;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
/** GenerationManifest */
|
|
389
|
+
GenerationManifest: {
|
|
390
|
+
artifact?: components["schemas"]["GenerationArtifact"] | null;
|
|
391
|
+
/** Artifact Url */
|
|
392
|
+
artifact_url?: string | null;
|
|
393
|
+
/**
|
|
394
|
+
* Created At
|
|
395
|
+
* Format: date-time
|
|
396
|
+
*/
|
|
397
|
+
created_at?: string;
|
|
398
|
+
/** Error */
|
|
399
|
+
error?: string | null;
|
|
400
|
+
/** Function Call Id */
|
|
401
|
+
function_call_id?: string | null;
|
|
402
|
+
/** Job Id */
|
|
403
|
+
job_id?: string;
|
|
404
|
+
request: components["schemas"]["GenerationRequest"];
|
|
405
|
+
/** @default queued */
|
|
406
|
+
status?: components["schemas"]["JobStatus"];
|
|
407
|
+
/** Status Url */
|
|
408
|
+
status_url?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* Updated At
|
|
411
|
+
* Format: date-time
|
|
412
|
+
*/
|
|
413
|
+
updated_at?: string;
|
|
414
|
+
};
|
|
415
|
+
/** GenerationRequest */
|
|
416
|
+
GenerationRequest: {
|
|
417
|
+
/**
|
|
418
|
+
* Avatar Id
|
|
419
|
+
* @default maria
|
|
420
|
+
*/
|
|
421
|
+
avatar_id?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Background Id
|
|
424
|
+
* @default plain_white
|
|
425
|
+
*/
|
|
426
|
+
background_id?: string;
|
|
427
|
+
/** Duration Seconds */
|
|
428
|
+
duration_seconds?: number | null;
|
|
429
|
+
/**
|
|
430
|
+
* Listen Url
|
|
431
|
+
* @description Public URL for peer/listening audio.
|
|
432
|
+
*/
|
|
433
|
+
listen_url?: string | null;
|
|
434
|
+
/**
|
|
435
|
+
* Mux Audio
|
|
436
|
+
* @default true
|
|
437
|
+
*/
|
|
438
|
+
mux_audio?: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* Speech Url
|
|
441
|
+
* @description Public URL for speech audio.
|
|
442
|
+
*/
|
|
443
|
+
speech_url?: string | null;
|
|
444
|
+
/**
|
|
445
|
+
* Stream Frames
|
|
446
|
+
* @default true
|
|
447
|
+
*/
|
|
448
|
+
stream_frames?: boolean;
|
|
449
|
+
};
|
|
450
|
+
/** HTTPValidationError */
|
|
451
|
+
HTTPValidationError: {
|
|
452
|
+
/** Detail */
|
|
453
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
454
|
+
};
|
|
455
|
+
/** HealthResponse */
|
|
456
|
+
HealthResponse: {
|
|
457
|
+
/** Service */
|
|
458
|
+
service: string;
|
|
459
|
+
/**
|
|
460
|
+
* Status
|
|
461
|
+
* @default ok
|
|
462
|
+
* @constant
|
|
463
|
+
*/
|
|
464
|
+
status?: "ok";
|
|
465
|
+
/** Version */
|
|
466
|
+
version: string;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* JobStatus
|
|
470
|
+
* @enum {string}
|
|
471
|
+
*/
|
|
472
|
+
JobStatus: "queued" | "running" | "succeeded" | "failed";
|
|
473
|
+
/**
|
|
474
|
+
* LipsyncRequest
|
|
475
|
+
* @description Non-streaming lipsync: render an MP4 for a given audio URL + portrait.
|
|
476
|
+
*
|
|
477
|
+
* The server downloads ``audio_url`` and renders the whole clip in one pass
|
|
478
|
+
* (no LLM, no TTS, no streaming). Use after creating an avatar to lipsync any
|
|
479
|
+
* pre-recorded speech.
|
|
480
|
+
*/
|
|
481
|
+
LipsyncRequest: {
|
|
482
|
+
/**
|
|
483
|
+
* Audio Url
|
|
484
|
+
* Format: uri
|
|
485
|
+
* @description Public URL of the speech audio to lipsync.
|
|
486
|
+
*/
|
|
487
|
+
audio_url: string;
|
|
488
|
+
/**
|
|
489
|
+
* Avatar Id
|
|
490
|
+
* @default maria
|
|
491
|
+
*/
|
|
492
|
+
avatar_id?: string;
|
|
493
|
+
/**
|
|
494
|
+
* Background Id
|
|
495
|
+
* @default plain_white
|
|
496
|
+
*/
|
|
497
|
+
background_id?: string;
|
|
498
|
+
/**
|
|
499
|
+
* Portrait Url
|
|
500
|
+
* @description Optional portrait to register as the source avatar (else avatar_id used).
|
|
501
|
+
*/
|
|
502
|
+
portrait_url?: string | null;
|
|
503
|
+
};
|
|
504
|
+
/** LiveChunkInfo */
|
|
505
|
+
LiveChunkInfo: {
|
|
506
|
+
/** Current Samples */
|
|
507
|
+
current_samples: number;
|
|
508
|
+
/**
|
|
509
|
+
* Fps
|
|
510
|
+
* @default 25
|
|
511
|
+
*/
|
|
512
|
+
fps?: number;
|
|
513
|
+
/** Frames Per Chunk */
|
|
514
|
+
frames_per_chunk: number;
|
|
515
|
+
/** Future Samples */
|
|
516
|
+
future_samples: number;
|
|
517
|
+
};
|
|
518
|
+
/** PrefetchRequest */
|
|
519
|
+
PrefetchRequest: {
|
|
520
|
+
/**
|
|
521
|
+
* Force
|
|
522
|
+
* @default false
|
|
523
|
+
*/
|
|
524
|
+
force?: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* Workers
|
|
527
|
+
* @default 8
|
|
528
|
+
*/
|
|
529
|
+
workers?: number;
|
|
530
|
+
};
|
|
531
|
+
/** RealtimeChatMessage */
|
|
532
|
+
RealtimeChatMessage: {
|
|
533
|
+
/** Content */
|
|
534
|
+
content: string;
|
|
535
|
+
/**
|
|
536
|
+
* Role
|
|
537
|
+
* @enum {string}
|
|
538
|
+
*/
|
|
539
|
+
role: "user" | "assistant" | "system";
|
|
540
|
+
};
|
|
541
|
+
/** RealtimePrepareRequest */
|
|
542
|
+
RealtimePrepareRequest: {
|
|
543
|
+
/**
|
|
544
|
+
* Avatar Id
|
|
545
|
+
* @default maria
|
|
546
|
+
*/
|
|
547
|
+
avatar_id?: string;
|
|
548
|
+
/** Portrait Url */
|
|
549
|
+
portrait_url?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Source Kind
|
|
552
|
+
* @default portrait
|
|
553
|
+
* @enum {string}
|
|
554
|
+
*/
|
|
555
|
+
source_kind?: "portrait" | "source_video";
|
|
556
|
+
/** Source Video Url */
|
|
557
|
+
source_video_url?: string | null;
|
|
558
|
+
video_cache?: components["schemas"]["SourceVideoCacheSettings"];
|
|
559
|
+
/** Video Cache Id */
|
|
560
|
+
video_cache_id?: string | null;
|
|
561
|
+
};
|
|
562
|
+
/** RealtimePrepareResponse */
|
|
563
|
+
RealtimePrepareResponse: {
|
|
564
|
+
/** Avatar Id */
|
|
565
|
+
avatar_id: string;
|
|
566
|
+
chunk?: components["schemas"]["LiveChunkInfo"] | null;
|
|
567
|
+
/**
|
|
568
|
+
* Registered
|
|
569
|
+
* @default false
|
|
570
|
+
*/
|
|
571
|
+
registered?: boolean;
|
|
572
|
+
runtime?: components["schemas"]["RealtimeRuntimeStatus"] | null;
|
|
573
|
+
/**
|
|
574
|
+
* Source Kind
|
|
575
|
+
* @default portrait
|
|
576
|
+
* @enum {string}
|
|
577
|
+
*/
|
|
578
|
+
source_kind?: "portrait" | "source_video";
|
|
579
|
+
/**
|
|
580
|
+
* Status
|
|
581
|
+
* @default ready
|
|
582
|
+
* @constant
|
|
583
|
+
*/
|
|
584
|
+
status?: "ready";
|
|
585
|
+
/** Timings */
|
|
586
|
+
timings?: {
|
|
587
|
+
[key: string]: number;
|
|
588
|
+
};
|
|
589
|
+
video_cache?: components["schemas"]["VideoAvatarCacheManifest"] | null;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* RealtimeRuntimeStatus
|
|
593
|
+
* @description Container warm-up facts so clients can explain cold-start waits.
|
|
594
|
+
*/
|
|
595
|
+
RealtimeRuntimeStatus: {
|
|
596
|
+
/** Boot Warmup Render Seconds */
|
|
597
|
+
boot_warmup_render_seconds?: number | null;
|
|
598
|
+
/**
|
|
599
|
+
* Cold Start
|
|
600
|
+
* @default false
|
|
601
|
+
*/
|
|
602
|
+
cold_start?: boolean;
|
|
603
|
+
/**
|
|
604
|
+
* Container Age Seconds
|
|
605
|
+
* @default 0
|
|
606
|
+
*/
|
|
607
|
+
container_age_seconds?: number;
|
|
608
|
+
/** Engine Load Seconds */
|
|
609
|
+
engine_load_seconds?: number | null;
|
|
610
|
+
};
|
|
611
|
+
/** RealtimeTurnRequest */
|
|
612
|
+
RealtimeTurnRequest: {
|
|
613
|
+
/**
|
|
614
|
+
* Avatar Id
|
|
615
|
+
* @default maria
|
|
616
|
+
*/
|
|
617
|
+
avatar_id?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Background Id
|
|
620
|
+
* @default plain_white
|
|
621
|
+
*/
|
|
622
|
+
background_id?: string;
|
|
623
|
+
/**
|
|
624
|
+
* Emotion
|
|
625
|
+
* @default curious
|
|
626
|
+
*/
|
|
627
|
+
emotion?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Language
|
|
630
|
+
* @default en
|
|
631
|
+
*/
|
|
632
|
+
language?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Low Latency First Chunk
|
|
635
|
+
* @description Render the first 200ms video chunk as soon as current audio exists, padding missing future lookahead with silence.
|
|
636
|
+
* @default false
|
|
637
|
+
*/
|
|
638
|
+
low_latency_first_chunk?: boolean;
|
|
639
|
+
/**
|
|
640
|
+
* Max Buffer Delay Ms
|
|
641
|
+
* @default 90
|
|
642
|
+
*/
|
|
643
|
+
max_buffer_delay_ms?: number;
|
|
644
|
+
/** Messages */
|
|
645
|
+
messages?: components["schemas"]["RealtimeChatMessage"][];
|
|
646
|
+
/**
|
|
647
|
+
* Mode
|
|
648
|
+
* @default chat
|
|
649
|
+
* @enum {string}
|
|
650
|
+
*/
|
|
651
|
+
mode?: "speak_text" | "chat";
|
|
652
|
+
/**
|
|
653
|
+
* Playout Delay Ms
|
|
654
|
+
* @default 520
|
|
655
|
+
*/
|
|
656
|
+
playout_delay_ms?: number;
|
|
657
|
+
/**
|
|
658
|
+
* Portrait Url
|
|
659
|
+
* @description Optional portrait image to register as the AVTR source avatar.
|
|
660
|
+
*/
|
|
661
|
+
portrait_url?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
* Source Kind
|
|
664
|
+
* @description portrait renders a registered image; source_video renders a .avtrv cache.
|
|
665
|
+
* @default portrait
|
|
666
|
+
* @enum {string}
|
|
667
|
+
*/
|
|
668
|
+
source_kind?: "portrait" | "source_video";
|
|
669
|
+
/**
|
|
670
|
+
* Source Video Url
|
|
671
|
+
* @description Source video registered into a .avtrv VideoAvatarCache on first use.
|
|
672
|
+
*/
|
|
673
|
+
source_video_url?: string | null;
|
|
674
|
+
/**
|
|
675
|
+
* Speed
|
|
676
|
+
* @default 1
|
|
677
|
+
*/
|
|
678
|
+
speed?: number;
|
|
679
|
+
/** Text */
|
|
680
|
+
text?: string | null;
|
|
681
|
+
/** Video Cache Id */
|
|
682
|
+
video_cache_id?: string | null;
|
|
683
|
+
/**
|
|
684
|
+
* Video Codec
|
|
685
|
+
* @description Video chunk encoding. h264 streams self-contained Annex-B chunks (~6x less bandwidth than mjpeg) for WebCodecs playback; the server falls back to mjpeg if encoding is unavailable.
|
|
686
|
+
* @default mjpeg
|
|
687
|
+
* @enum {string}
|
|
688
|
+
*/
|
|
689
|
+
video_codec?: "mjpeg" | "h264";
|
|
690
|
+
/** Voice Id */
|
|
691
|
+
voice_id?: string | null;
|
|
692
|
+
/**
|
|
693
|
+
* Volume
|
|
694
|
+
* @default 1
|
|
695
|
+
*/
|
|
696
|
+
volume?: number;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* SourceVideoCacheSettings
|
|
700
|
+
* @description Preprocessing and hot-reload knobs that affect video avatar cache reliability.
|
|
701
|
+
*/
|
|
702
|
+
SourceVideoCacheSettings: {
|
|
703
|
+
/**
|
|
704
|
+
* Adaptive Keyframes
|
|
705
|
+
* @default true
|
|
706
|
+
*/
|
|
707
|
+
adaptive_keyframes?: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* Allow Stale While Registering
|
|
710
|
+
* @default true
|
|
711
|
+
*/
|
|
712
|
+
allow_stale_while_registering?: boolean;
|
|
713
|
+
/**
|
|
714
|
+
* Feature Dtype
|
|
715
|
+
* @default fp16
|
|
716
|
+
* @enum {string}
|
|
717
|
+
*/
|
|
718
|
+
feature_dtype?: "fp16" | "fp32";
|
|
719
|
+
/**
|
|
720
|
+
* Feature Policy
|
|
721
|
+
* @default full_per_frame
|
|
722
|
+
* @enum {string}
|
|
723
|
+
*/
|
|
724
|
+
feature_policy?: "full_per_frame" | "keyframe_stride" | "yaw_bins" | "single_neutral";
|
|
725
|
+
/**
|
|
726
|
+
* Fps
|
|
727
|
+
* @default 25
|
|
728
|
+
*/
|
|
729
|
+
fps?: number;
|
|
730
|
+
/**
|
|
731
|
+
* Gpu Ring Chunks
|
|
732
|
+
* @default 3
|
|
733
|
+
*/
|
|
734
|
+
gpu_ring_chunks?: number;
|
|
735
|
+
/**
|
|
736
|
+
* Hot Reload Manifest Ttl Ms
|
|
737
|
+
* @default 500
|
|
738
|
+
*/
|
|
739
|
+
hot_reload_manifest_ttl_ms?: number;
|
|
740
|
+
/**
|
|
741
|
+
* Hot Reload Volume Ttl Ms
|
|
742
|
+
* @default 10000
|
|
743
|
+
*/
|
|
744
|
+
hot_reload_volume_ttl_ms?: number;
|
|
745
|
+
/**
|
|
746
|
+
* Keyframe Stride
|
|
747
|
+
* @default 1
|
|
748
|
+
*/
|
|
749
|
+
keyframe_stride?: number;
|
|
750
|
+
/**
|
|
751
|
+
* Lease Ttl Seconds
|
|
752
|
+
* @default 600
|
|
753
|
+
*/
|
|
754
|
+
lease_ttl_seconds?: number;
|
|
755
|
+
/**
|
|
756
|
+
* Max Dim
|
|
757
|
+
* @default 1280
|
|
758
|
+
*/
|
|
759
|
+
max_dim?: number;
|
|
760
|
+
/**
|
|
761
|
+
* Max Duration Seconds
|
|
762
|
+
* @default 12
|
|
763
|
+
*/
|
|
764
|
+
max_duration_seconds?: number;
|
|
765
|
+
/**
|
|
766
|
+
* Overwrite
|
|
767
|
+
* @default false
|
|
768
|
+
*/
|
|
769
|
+
overwrite?: boolean;
|
|
770
|
+
/**
|
|
771
|
+
* Pinned Cpu Cache Mb
|
|
772
|
+
* @default 4096
|
|
773
|
+
*/
|
|
774
|
+
pinned_cpu_cache_mb?: number;
|
|
775
|
+
/** Precompute */
|
|
776
|
+
precompute?: ("fullface" | "roi" | "tracking_preview")[];
|
|
777
|
+
/**
|
|
778
|
+
* Prefetch Chunks
|
|
779
|
+
* @default 4
|
|
780
|
+
*/
|
|
781
|
+
prefetch_chunks?: number;
|
|
782
|
+
/**
|
|
783
|
+
* Shard Frames
|
|
784
|
+
* @default 125
|
|
785
|
+
*/
|
|
786
|
+
shard_frames?: number;
|
|
787
|
+
/**
|
|
788
|
+
* Stage To Tmp
|
|
789
|
+
* @default true
|
|
790
|
+
*/
|
|
791
|
+
stage_to_tmp?: boolean;
|
|
792
|
+
/**
|
|
793
|
+
* Storage Mode
|
|
794
|
+
* @default volume_and_tmp
|
|
795
|
+
* @enum {string}
|
|
796
|
+
*/
|
|
797
|
+
storage_mode?: "volume" | "volume_and_tmp" | "tmp_only";
|
|
798
|
+
/**
|
|
799
|
+
* Yaw Bin Degrees
|
|
800
|
+
* @default 10
|
|
801
|
+
*/
|
|
802
|
+
yaw_bin_degrees?: number;
|
|
803
|
+
};
|
|
804
|
+
/** ValidationError */
|
|
805
|
+
ValidationError: {
|
|
806
|
+
/** Context */
|
|
807
|
+
ctx?: Record<string, never>;
|
|
808
|
+
/** Input */
|
|
809
|
+
input?: unknown;
|
|
810
|
+
/** Location */
|
|
811
|
+
loc: (string | number)[];
|
|
812
|
+
/** Message */
|
|
813
|
+
msg: string;
|
|
814
|
+
/** Error Type */
|
|
815
|
+
type: string;
|
|
816
|
+
};
|
|
817
|
+
/** VideoAvatarCacheManifest */
|
|
818
|
+
VideoAvatarCacheManifest: {
|
|
819
|
+
/** Byte Size */
|
|
820
|
+
byte_size?: number | null;
|
|
821
|
+
/** Cache Id */
|
|
822
|
+
cache_id: string;
|
|
823
|
+
/**
|
|
824
|
+
* Cache Version
|
|
825
|
+
* @default avtrv-v1
|
|
826
|
+
*/
|
|
827
|
+
cache_version?: string;
|
|
828
|
+
/**
|
|
829
|
+
* Created At
|
|
830
|
+
* Format: date-time
|
|
831
|
+
*/
|
|
832
|
+
created_at?: string;
|
|
833
|
+
/** Duration Seconds */
|
|
834
|
+
duration_seconds?: number | null;
|
|
835
|
+
/** Error */
|
|
836
|
+
error?: string | null;
|
|
837
|
+
/**
|
|
838
|
+
* Feature Dtype
|
|
839
|
+
* @default fp16
|
|
840
|
+
* @enum {string}
|
|
841
|
+
*/
|
|
842
|
+
feature_dtype?: "fp16" | "fp32";
|
|
843
|
+
/**
|
|
844
|
+
* Feature Policy
|
|
845
|
+
* @default keyframe_stride
|
|
846
|
+
* @enum {string}
|
|
847
|
+
*/
|
|
848
|
+
feature_policy?: "full_per_frame" | "keyframe_stride" | "yaw_bins" | "single_neutral";
|
|
849
|
+
/**
|
|
850
|
+
* Fps
|
|
851
|
+
* @default 25
|
|
852
|
+
*/
|
|
853
|
+
fps?: number;
|
|
854
|
+
/** Height */
|
|
855
|
+
height?: number | null;
|
|
856
|
+
/**
|
|
857
|
+
* Keyframe Stride
|
|
858
|
+
* @default 5
|
|
859
|
+
*/
|
|
860
|
+
keyframe_stride?: number;
|
|
861
|
+
/** Manifest Path */
|
|
862
|
+
manifest_path?: string | null;
|
|
863
|
+
/** N Frames */
|
|
864
|
+
n_frames?: number | null;
|
|
865
|
+
/** Ready Marker Path */
|
|
866
|
+
ready_marker_path?: string | null;
|
|
867
|
+
settings?: components["schemas"]["SourceVideoCacheSettings"];
|
|
868
|
+
/**
|
|
869
|
+
* Shard Frames
|
|
870
|
+
* @default 125
|
|
871
|
+
*/
|
|
872
|
+
shard_frames?: number;
|
|
873
|
+
/** Source Sha256 */
|
|
874
|
+
source_sha256?: string | null;
|
|
875
|
+
/** Source Video Url */
|
|
876
|
+
source_video_url: string;
|
|
877
|
+
/**
|
|
878
|
+
* Status
|
|
879
|
+
* @default queued
|
|
880
|
+
* @enum {string}
|
|
881
|
+
*/
|
|
882
|
+
status?: "queued" | "registering" | "ready" | "failed" | "stale";
|
|
883
|
+
/** Storage Path */
|
|
884
|
+
storage_path: string;
|
|
885
|
+
/**
|
|
886
|
+
* Updated At
|
|
887
|
+
* Format: date-time
|
|
888
|
+
*/
|
|
889
|
+
updated_at?: string;
|
|
890
|
+
/** Width */
|
|
891
|
+
width?: number | null;
|
|
892
|
+
};
|
|
893
|
+
/** VideoCachePaths */
|
|
894
|
+
VideoCachePaths: {
|
|
895
|
+
/** Debug Dir */
|
|
896
|
+
debug_dir: string;
|
|
897
|
+
/** Features Dir */
|
|
898
|
+
features_dir: string;
|
|
899
|
+
/** Geometry */
|
|
900
|
+
geometry: string;
|
|
901
|
+
/** Lease */
|
|
902
|
+
lease: string;
|
|
903
|
+
/** Manifest */
|
|
904
|
+
manifest: string;
|
|
905
|
+
/** Media Dir */
|
|
906
|
+
media_dir: string;
|
|
907
|
+
/** Ready Marker */
|
|
908
|
+
ready_marker: string;
|
|
909
|
+
/** Staging Root */
|
|
910
|
+
staging_root: string;
|
|
911
|
+
/** Volume Root */
|
|
912
|
+
volume_root: string;
|
|
913
|
+
};
|
|
914
|
+
/** VideoCachePlan */
|
|
915
|
+
VideoCachePlan: {
|
|
916
|
+
/** Cache Id */
|
|
917
|
+
cache_id: string;
|
|
918
|
+
/**
|
|
919
|
+
* Cache Version
|
|
920
|
+
* @default avtrv-v1
|
|
921
|
+
*/
|
|
922
|
+
cache_version?: string;
|
|
923
|
+
paths: components["schemas"]["VideoCachePaths"];
|
|
924
|
+
settings: components["schemas"]["SourceVideoCacheSettings"];
|
|
925
|
+
/** Settings Fingerprint */
|
|
926
|
+
settings_fingerprint: string;
|
|
927
|
+
/** Source Fingerprint */
|
|
928
|
+
source_fingerprint: string;
|
|
929
|
+
/** Source Video Url */
|
|
930
|
+
source_video_url: string;
|
|
931
|
+
};
|
|
932
|
+
/** VideoCachePlanRequest */
|
|
933
|
+
VideoCachePlanRequest: {
|
|
934
|
+
/**
|
|
935
|
+
* Source Video Url
|
|
936
|
+
* Format: uri
|
|
937
|
+
*/
|
|
938
|
+
source_video_url: string;
|
|
939
|
+
video_cache?: components["schemas"]["SourceVideoCacheSettings"];
|
|
940
|
+
};
|
|
941
|
+
/** VideoCachePlanResponse */
|
|
942
|
+
VideoCachePlanResponse: {
|
|
943
|
+
plan: components["schemas"]["VideoCachePlan"];
|
|
944
|
+
/**
|
|
945
|
+
* Status
|
|
946
|
+
* @default planned
|
|
947
|
+
* @constant
|
|
948
|
+
*/
|
|
949
|
+
status?: "planned";
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
responses: never;
|
|
953
|
+
parameters: never;
|
|
954
|
+
requestBodies: never;
|
|
955
|
+
headers: never;
|
|
956
|
+
pathItems: never;
|
|
957
|
+
}
|
|
958
|
+
export type $defs = Record<string, never>;
|
|
959
|
+
export interface operations {
|
|
960
|
+
health_health_get: {
|
|
961
|
+
parameters: {
|
|
962
|
+
query?: never;
|
|
963
|
+
header?: never;
|
|
964
|
+
path?: never;
|
|
965
|
+
cookie?: never;
|
|
966
|
+
};
|
|
967
|
+
requestBody?: never;
|
|
968
|
+
responses: {
|
|
969
|
+
/** @description Successful Response */
|
|
970
|
+
200: {
|
|
971
|
+
headers: {
|
|
972
|
+
[name: string]: unknown;
|
|
973
|
+
};
|
|
974
|
+
content: {
|
|
975
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
get_artifacts_v1_artifacts_get: {
|
|
981
|
+
parameters: {
|
|
982
|
+
query?: never;
|
|
983
|
+
header?: {
|
|
984
|
+
authorization?: string | null;
|
|
985
|
+
"X-API-Key"?: string | null;
|
|
986
|
+
};
|
|
987
|
+
path?: never;
|
|
988
|
+
cookie?: never;
|
|
989
|
+
};
|
|
990
|
+
requestBody?: never;
|
|
991
|
+
responses: {
|
|
992
|
+
/** @description Successful Response */
|
|
993
|
+
200: {
|
|
994
|
+
headers: {
|
|
995
|
+
[name: string]: unknown;
|
|
996
|
+
};
|
|
997
|
+
content: {
|
|
998
|
+
"application/json": components["schemas"]["ArtifactStatus"];
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
/** @description Validation Error */
|
|
1002
|
+
422: {
|
|
1003
|
+
headers: {
|
|
1004
|
+
[name: string]: unknown;
|
|
1005
|
+
};
|
|
1006
|
+
content: {
|
|
1007
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
build_v1_artifacts_build_post: {
|
|
1013
|
+
parameters: {
|
|
1014
|
+
query?: never;
|
|
1015
|
+
header?: {
|
|
1016
|
+
authorization?: string | null;
|
|
1017
|
+
"X-API-Key"?: string | null;
|
|
1018
|
+
};
|
|
1019
|
+
path?: never;
|
|
1020
|
+
cookie?: never;
|
|
1021
|
+
};
|
|
1022
|
+
requestBody: {
|
|
1023
|
+
content: {
|
|
1024
|
+
"application/json": components["schemas"]["BuildEnginesRequest"];
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
responses: {
|
|
1028
|
+
/** @description Successful Response */
|
|
1029
|
+
202: {
|
|
1030
|
+
headers: {
|
|
1031
|
+
[name: string]: unknown;
|
|
1032
|
+
};
|
|
1033
|
+
content: {
|
|
1034
|
+
"application/json": {
|
|
1035
|
+
[key: string]: string | null;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
/** @description Validation Error */
|
|
1040
|
+
422: {
|
|
1041
|
+
headers: {
|
|
1042
|
+
[name: string]: unknown;
|
|
1043
|
+
};
|
|
1044
|
+
content: {
|
|
1045
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
prefetch_v1_artifacts_prefetch_post: {
|
|
1051
|
+
parameters: {
|
|
1052
|
+
query?: never;
|
|
1053
|
+
header?: {
|
|
1054
|
+
authorization?: string | null;
|
|
1055
|
+
"X-API-Key"?: string | null;
|
|
1056
|
+
};
|
|
1057
|
+
path?: never;
|
|
1058
|
+
cookie?: never;
|
|
1059
|
+
};
|
|
1060
|
+
requestBody: {
|
|
1061
|
+
content: {
|
|
1062
|
+
"application/json": components["schemas"]["PrefetchRequest"];
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
responses: {
|
|
1066
|
+
/** @description Successful Response */
|
|
1067
|
+
202: {
|
|
1068
|
+
headers: {
|
|
1069
|
+
[name: string]: unknown;
|
|
1070
|
+
};
|
|
1071
|
+
content: {
|
|
1072
|
+
"application/json": {
|
|
1073
|
+
[key: string]: string | null;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
/** @description Validation Error */
|
|
1078
|
+
422: {
|
|
1079
|
+
headers: {
|
|
1080
|
+
[name: string]: unknown;
|
|
1081
|
+
};
|
|
1082
|
+
content: {
|
|
1083
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
create_generation_v1_generations_post: {
|
|
1089
|
+
parameters: {
|
|
1090
|
+
query?: never;
|
|
1091
|
+
header?: {
|
|
1092
|
+
authorization?: string | null;
|
|
1093
|
+
"X-API-Key"?: string | null;
|
|
1094
|
+
};
|
|
1095
|
+
path?: never;
|
|
1096
|
+
cookie?: never;
|
|
1097
|
+
};
|
|
1098
|
+
requestBody: {
|
|
1099
|
+
content: {
|
|
1100
|
+
"application/json": components["schemas"]["GenerationRequest"];
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
responses: {
|
|
1104
|
+
/** @description Successful Response */
|
|
1105
|
+
202: {
|
|
1106
|
+
headers: {
|
|
1107
|
+
[name: string]: unknown;
|
|
1108
|
+
};
|
|
1109
|
+
content: {
|
|
1110
|
+
"application/json": components["schemas"]["GenerationManifest"];
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
/** @description Validation Error */
|
|
1114
|
+
422: {
|
|
1115
|
+
headers: {
|
|
1116
|
+
[name: string]: unknown;
|
|
1117
|
+
};
|
|
1118
|
+
content: {
|
|
1119
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
get_generation_v1_generations__job_id__get: {
|
|
1125
|
+
parameters: {
|
|
1126
|
+
query?: never;
|
|
1127
|
+
header?: {
|
|
1128
|
+
authorization?: string | null;
|
|
1129
|
+
"X-API-Key"?: string | null;
|
|
1130
|
+
};
|
|
1131
|
+
path: {
|
|
1132
|
+
job_id: string;
|
|
1133
|
+
};
|
|
1134
|
+
cookie?: never;
|
|
1135
|
+
};
|
|
1136
|
+
requestBody?: never;
|
|
1137
|
+
responses: {
|
|
1138
|
+
/** @description Successful Response */
|
|
1139
|
+
200: {
|
|
1140
|
+
headers: {
|
|
1141
|
+
[name: string]: unknown;
|
|
1142
|
+
};
|
|
1143
|
+
content: {
|
|
1144
|
+
"application/json": components["schemas"]["GenerationManifest"];
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
/** @description Validation Error */
|
|
1148
|
+
422: {
|
|
1149
|
+
headers: {
|
|
1150
|
+
[name: string]: unknown;
|
|
1151
|
+
};
|
|
1152
|
+
content: {
|
|
1153
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
get_artifact_v1_generations__job_id__artifact_get: {
|
|
1159
|
+
parameters: {
|
|
1160
|
+
query?: never;
|
|
1161
|
+
header?: {
|
|
1162
|
+
authorization?: string | null;
|
|
1163
|
+
"X-API-Key"?: string | null;
|
|
1164
|
+
};
|
|
1165
|
+
path: {
|
|
1166
|
+
job_id: string;
|
|
1167
|
+
};
|
|
1168
|
+
cookie?: never;
|
|
1169
|
+
};
|
|
1170
|
+
requestBody?: never;
|
|
1171
|
+
responses: {
|
|
1172
|
+
/** @description Successful Response */
|
|
1173
|
+
200: {
|
|
1174
|
+
headers: {
|
|
1175
|
+
[name: string]: unknown;
|
|
1176
|
+
};
|
|
1177
|
+
content: {
|
|
1178
|
+
"application/json": unknown;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
/** @description Validation Error */
|
|
1182
|
+
422: {
|
|
1183
|
+
headers: {
|
|
1184
|
+
[name: string]: unknown;
|
|
1185
|
+
};
|
|
1186
|
+
content: {
|
|
1187
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
lipsync_v1_lipsync_post: {
|
|
1193
|
+
parameters: {
|
|
1194
|
+
query?: never;
|
|
1195
|
+
header?: {
|
|
1196
|
+
authorization?: string | null;
|
|
1197
|
+
"X-API-Key"?: string | null;
|
|
1198
|
+
};
|
|
1199
|
+
path?: never;
|
|
1200
|
+
cookie?: never;
|
|
1201
|
+
};
|
|
1202
|
+
requestBody: {
|
|
1203
|
+
content: {
|
|
1204
|
+
"application/json": components["schemas"]["LipsyncRequest"];
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
responses: {
|
|
1208
|
+
/** @description Successful Response */
|
|
1209
|
+
200: {
|
|
1210
|
+
headers: {
|
|
1211
|
+
[name: string]: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
content: {
|
|
1214
|
+
"application/json": unknown;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
/** @description Validation Error */
|
|
1218
|
+
422: {
|
|
1219
|
+
headers: {
|
|
1220
|
+
[name: string]: unknown;
|
|
1221
|
+
};
|
|
1222
|
+
content: {
|
|
1223
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
live_metadata_v1_live_metadata_get: {
|
|
1229
|
+
parameters: {
|
|
1230
|
+
query?: never;
|
|
1231
|
+
header?: {
|
|
1232
|
+
authorization?: string | null;
|
|
1233
|
+
"X-API-Key"?: string | null;
|
|
1234
|
+
};
|
|
1235
|
+
path?: never;
|
|
1236
|
+
cookie?: never;
|
|
1237
|
+
};
|
|
1238
|
+
requestBody?: never;
|
|
1239
|
+
responses: {
|
|
1240
|
+
/** @description Successful Response */
|
|
1241
|
+
200: {
|
|
1242
|
+
headers: {
|
|
1243
|
+
[name: string]: unknown;
|
|
1244
|
+
};
|
|
1245
|
+
content: {
|
|
1246
|
+
"application/json": {
|
|
1247
|
+
[key: string]: unknown;
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
/** @description Validation Error */
|
|
1252
|
+
422: {
|
|
1253
|
+
headers: {
|
|
1254
|
+
[name: string]: unknown;
|
|
1255
|
+
};
|
|
1256
|
+
content: {
|
|
1257
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
process_audio_v3_v1_live_process_audio_v3_post: {
|
|
1263
|
+
parameters: {
|
|
1264
|
+
query: {
|
|
1265
|
+
avatar_id?: string;
|
|
1266
|
+
/** @description Background id from /v1/live/metadata */
|
|
1267
|
+
bg_id: string;
|
|
1268
|
+
pixel_format?: string;
|
|
1269
|
+
cfg_self_audio?: number;
|
|
1270
|
+
cfg_other_audio?: number;
|
|
1271
|
+
cfg_kp?: number;
|
|
1272
|
+
noise_alpha?: number;
|
|
1273
|
+
noise_trunc_z?: number;
|
|
1274
|
+
};
|
|
1275
|
+
header?: {
|
|
1276
|
+
authorization?: string | null;
|
|
1277
|
+
"X-API-Key"?: string | null;
|
|
1278
|
+
};
|
|
1279
|
+
path?: never;
|
|
1280
|
+
cookie?: never;
|
|
1281
|
+
};
|
|
1282
|
+
requestBody: {
|
|
1283
|
+
content: {
|
|
1284
|
+
"multipart/form-data": components["schemas"]["Body_process_audio_v3_v1_live_process_audio_v3_post"];
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
responses: {
|
|
1288
|
+
/** @description Successful Response */
|
|
1289
|
+
200: {
|
|
1290
|
+
headers: {
|
|
1291
|
+
[name: string]: unknown;
|
|
1292
|
+
};
|
|
1293
|
+
content: {
|
|
1294
|
+
"application/json": unknown;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
/** @description Validation Error */
|
|
1298
|
+
422: {
|
|
1299
|
+
headers: {
|
|
1300
|
+
[name: string]: unknown;
|
|
1301
|
+
};
|
|
1302
|
+
content: {
|
|
1303
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
pipecat_realtime_turn_v1_realtime_pipecat_turn_post: {
|
|
1309
|
+
parameters: {
|
|
1310
|
+
query?: never;
|
|
1311
|
+
header?: {
|
|
1312
|
+
authorization?: string | null;
|
|
1313
|
+
"X-API-Key"?: string | null;
|
|
1314
|
+
};
|
|
1315
|
+
path?: never;
|
|
1316
|
+
cookie?: never;
|
|
1317
|
+
};
|
|
1318
|
+
requestBody: {
|
|
1319
|
+
content: {
|
|
1320
|
+
"application/json": components["schemas"]["RealtimeTurnRequest"];
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
responses: {
|
|
1324
|
+
/** @description Successful Response */
|
|
1325
|
+
200: {
|
|
1326
|
+
headers: {
|
|
1327
|
+
[name: string]: unknown;
|
|
1328
|
+
};
|
|
1329
|
+
content: {
|
|
1330
|
+
"application/json": unknown;
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
/** @description Validation Error */
|
|
1334
|
+
422: {
|
|
1335
|
+
headers: {
|
|
1336
|
+
[name: string]: unknown;
|
|
1337
|
+
};
|
|
1338
|
+
content: {
|
|
1339
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1340
|
+
};
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
realtime_prepare_v1_realtime_prepare_post: {
|
|
1345
|
+
parameters: {
|
|
1346
|
+
query?: never;
|
|
1347
|
+
header?: {
|
|
1348
|
+
authorization?: string | null;
|
|
1349
|
+
"X-API-Key"?: string | null;
|
|
1350
|
+
};
|
|
1351
|
+
path?: never;
|
|
1352
|
+
cookie?: never;
|
|
1353
|
+
};
|
|
1354
|
+
requestBody: {
|
|
1355
|
+
content: {
|
|
1356
|
+
"application/json": components["schemas"]["RealtimePrepareRequest"];
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
responses: {
|
|
1360
|
+
/** @description Successful Response */
|
|
1361
|
+
200: {
|
|
1362
|
+
headers: {
|
|
1363
|
+
[name: string]: unknown;
|
|
1364
|
+
};
|
|
1365
|
+
content: {
|
|
1366
|
+
"application/json": components["schemas"]["RealtimePrepareResponse"];
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
/** @description Validation Error */
|
|
1370
|
+
422: {
|
|
1371
|
+
headers: {
|
|
1372
|
+
[name: string]: unknown;
|
|
1373
|
+
};
|
|
1374
|
+
content: {
|
|
1375
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
realtime_turn_v1_realtime_turn_post: {
|
|
1381
|
+
parameters: {
|
|
1382
|
+
query?: never;
|
|
1383
|
+
header?: {
|
|
1384
|
+
authorization?: string | null;
|
|
1385
|
+
"X-API-Key"?: string | null;
|
|
1386
|
+
};
|
|
1387
|
+
path?: never;
|
|
1388
|
+
cookie?: never;
|
|
1389
|
+
};
|
|
1390
|
+
requestBody: {
|
|
1391
|
+
content: {
|
|
1392
|
+
"application/json": components["schemas"]["RealtimeTurnRequest"];
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
responses: {
|
|
1396
|
+
/** @description Successful Response */
|
|
1397
|
+
200: {
|
|
1398
|
+
headers: {
|
|
1399
|
+
[name: string]: unknown;
|
|
1400
|
+
};
|
|
1401
|
+
content: {
|
|
1402
|
+
"application/json": unknown;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
/** @description Validation Error */
|
|
1406
|
+
422: {
|
|
1407
|
+
headers: {
|
|
1408
|
+
[name: string]: unknown;
|
|
1409
|
+
};
|
|
1410
|
+
content: {
|
|
1411
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1412
|
+
};
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
plan_realtime_video_cache_v1_realtime_video_cache_plan_post: {
|
|
1417
|
+
parameters: {
|
|
1418
|
+
query?: never;
|
|
1419
|
+
header?: {
|
|
1420
|
+
authorization?: string | null;
|
|
1421
|
+
"X-API-Key"?: string | null;
|
|
1422
|
+
};
|
|
1423
|
+
path?: never;
|
|
1424
|
+
cookie?: never;
|
|
1425
|
+
};
|
|
1426
|
+
requestBody: {
|
|
1427
|
+
content: {
|
|
1428
|
+
"application/json": components["schemas"]["VideoCachePlanRequest"];
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
responses: {
|
|
1432
|
+
/** @description Successful Response */
|
|
1433
|
+
200: {
|
|
1434
|
+
headers: {
|
|
1435
|
+
[name: string]: unknown;
|
|
1436
|
+
};
|
|
1437
|
+
content: {
|
|
1438
|
+
"application/json": components["schemas"]["VideoCachePlanResponse"];
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
/** @description Validation Error */
|
|
1442
|
+
422: {
|
|
1443
|
+
headers: {
|
|
1444
|
+
[name: string]: unknown;
|
|
1445
|
+
};
|
|
1446
|
+
content: {
|
|
1447
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
register_realtime_video_cache_v1_realtime_video_cache_register_post: {
|
|
1453
|
+
parameters: {
|
|
1454
|
+
query?: never;
|
|
1455
|
+
header?: {
|
|
1456
|
+
authorization?: string | null;
|
|
1457
|
+
"X-API-Key"?: string | null;
|
|
1458
|
+
};
|
|
1459
|
+
path?: never;
|
|
1460
|
+
cookie?: never;
|
|
1461
|
+
};
|
|
1462
|
+
requestBody: {
|
|
1463
|
+
content: {
|
|
1464
|
+
"application/json": components["schemas"]["VideoCachePlanRequest"];
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
responses: {
|
|
1468
|
+
/** @description Successful Response */
|
|
1469
|
+
200: {
|
|
1470
|
+
headers: {
|
|
1471
|
+
[name: string]: unknown;
|
|
1472
|
+
};
|
|
1473
|
+
content: {
|
|
1474
|
+
"application/json": components["schemas"]["VideoAvatarCacheManifest"];
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
/** @description Validation Error */
|
|
1478
|
+
422: {
|
|
1479
|
+
headers: {
|
|
1480
|
+
[name: string]: unknown;
|
|
1481
|
+
};
|
|
1482
|
+
content: {
|
|
1483
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
get_realtime_video_cache_v1_realtime_video_cache__cache_id__get: {
|
|
1489
|
+
parameters: {
|
|
1490
|
+
query?: never;
|
|
1491
|
+
header?: {
|
|
1492
|
+
authorization?: string | null;
|
|
1493
|
+
"X-API-Key"?: string | null;
|
|
1494
|
+
};
|
|
1495
|
+
path: {
|
|
1496
|
+
cache_id: string;
|
|
1497
|
+
};
|
|
1498
|
+
cookie?: never;
|
|
1499
|
+
};
|
|
1500
|
+
requestBody?: never;
|
|
1501
|
+
responses: {
|
|
1502
|
+
/** @description Successful Response */
|
|
1503
|
+
200: {
|
|
1504
|
+
headers: {
|
|
1505
|
+
[name: string]: unknown;
|
|
1506
|
+
};
|
|
1507
|
+
content: {
|
|
1508
|
+
"application/json": components["schemas"]["VideoAvatarCacheManifest"];
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
/** @description Validation Error */
|
|
1512
|
+
422: {
|
|
1513
|
+
headers: {
|
|
1514
|
+
[name: string]: unknown;
|
|
1515
|
+
};
|
|
1516
|
+
content: {
|
|
1517
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
}
|
|
1523
|
+
//# sourceMappingURL=openapi.d.ts.map
|