@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.21
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/COMPATIBILITY.json +4 -4
- package/LICENSE +201 -21
- package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
- package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
- package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
- package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
- package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
- package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
- package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
- package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-UKPD77FB.js +1 -0
- package/dist/_chunks/chunk-V636KA7B.js +1 -0
- package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
- package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +89 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
- package/dist/_types/contracts/interface/query.d.ts +85 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +76 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +79 -26
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/account.d.ts +13 -0
- package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
- package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
- package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
- package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
- package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
- package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
- package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
- package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
- package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
- package/dist/_types/sdk/catalog/core.d.ts +636 -18
- package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
- package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
- package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
- package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
- package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
- package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
- package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
- package/dist/_types/sdk/catalog/generation.d.ts +284 -8
- package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
- package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
- package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
- package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
- package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
- package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
- package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
- package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
- package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
- package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
- package/dist/_types/sdk/catalog/provider.d.ts +394 -20
- package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
- package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
- package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
- package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
- package/dist/_types/sdk/catalog/shares.d.ts +305 -0
- package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
- package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
- package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
- package/dist/_types/sdk/catalog/spec.d.ts +10 -2
- package/dist/_types/sdk/catalog/speech.d.ts +856 -4
- package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
- package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
- package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
- package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
- package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
- package/dist/_types/sdk/client.d.ts +30 -3
- package/dist/_types/sdk/desktop-previews.d.ts +3 -3
- package/dist/_types/sdk/desktop-releases.d.ts +2 -2
- package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
- package/dist/_types/sdk/device-renders.d.ts +3751 -0
- package/dist/_types/sdk/direct-source.d.ts +147 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
- package/dist/_types/sdk/feedback-observer.d.ts +10 -0
- package/dist/_types/sdk/host-protocol.d.ts +8 -0
- package/dist/_types/sdk/image-media.d.ts +2 -2
- package/dist/_types/sdk/immutable-media.d.ts +24 -0
- package/dist/_types/sdk/index.d.ts +16 -1
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
- package/dist/_types/sdk/mcp-client.d.ts +13 -5
- package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
- package/dist/_types/sdk/mcp-image.d.ts +4 -4
- package/dist/_types/sdk/mcp-port.d.ts +73 -0
- package/dist/_types/sdk/media.d.ts +11 -9
- package/dist/_types/sdk/navigation-client.d.ts +56 -122
- package/dist/_types/sdk/navigation-facade.d.ts +191 -17
- package/dist/_types/sdk/observe.d.ts +31 -0
- package/dist/_types/sdk/runtime-authority.d.ts +18 -8
- package/dist/_types/sdk/transport/http.d.ts +2 -0
- package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
- package/dist/account.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/host-protocol.d.ts +1 -0
- package/dist/host-protocol.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/local-runtime.js +1 -1
- package/dist/mcp-discovery.d.ts +1 -0
- package/dist/mcp-discovery.js +1 -0
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/dist/runtime-authority.js +1 -1
- package/package.json +10 -8
- package/README.md +0 -75
- package/dist/_chunks/chunk-34KSWLCI.js +0 -1
- package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
- package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -14,6 +14,48 @@ export declare const providerOperations: {
|
|
|
14
14
|
version: number;
|
|
15
15
|
enabled: boolean;
|
|
16
16
|
definition: {
|
|
17
|
+
family: "NATIVE_SPEECH";
|
|
18
|
+
profile: {
|
|
19
|
+
id: string;
|
|
20
|
+
version: number;
|
|
21
|
+
label: string;
|
|
22
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
23
|
+
execution: {
|
|
24
|
+
schemaVersion: 1;
|
|
25
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
26
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
27
|
+
};
|
|
28
|
+
textMaxCharacters: number;
|
|
29
|
+
languages: ("zh" | "en")[];
|
|
30
|
+
voices: {
|
|
31
|
+
label: string;
|
|
32
|
+
id: string;
|
|
33
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
34
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
35
|
+
unsupportedParameters?: string[] | undefined;
|
|
36
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
parameters: {
|
|
39
|
+
speed: {
|
|
40
|
+
label: string;
|
|
41
|
+
required: boolean;
|
|
42
|
+
type: "NUMBER";
|
|
43
|
+
min: number;
|
|
44
|
+
max: number;
|
|
45
|
+
default: number;
|
|
46
|
+
maxLength?: number | undefined;
|
|
47
|
+
options?: string[] | undefined;
|
|
48
|
+
unit?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
maxItems?: number | undefined;
|
|
51
|
+
maxKeyLength?: number | undefined;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
55
|
+
output: "PCM_S16LE_48000_V1";
|
|
56
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
57
|
+
};
|
|
58
|
+
} | {
|
|
17
59
|
family: "IMAGE";
|
|
18
60
|
profile: {
|
|
19
61
|
id: string;
|
|
@@ -330,7 +372,7 @@ export declare const providerOperations: {
|
|
|
330
372
|
label: string;
|
|
331
373
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
332
374
|
modes: ["TRANSCRIPTION"];
|
|
333
|
-
inputKinds: ("
|
|
375
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
334
376
|
requestTimeoutMs: number;
|
|
335
377
|
maxBytes: number;
|
|
336
378
|
maxDurationMs: number;
|
|
@@ -357,7 +399,7 @@ export declare const providerOperations: {
|
|
|
357
399
|
modelId: string;
|
|
358
400
|
label: string;
|
|
359
401
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
360
|
-
modes: ("
|
|
402
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
361
403
|
requestTimeoutMs: number;
|
|
362
404
|
maxBytes: number;
|
|
363
405
|
maxDurationMs: number;
|
|
@@ -503,6 +545,48 @@ export declare const providerOperations: {
|
|
|
503
545
|
version: number;
|
|
504
546
|
enabled: boolean;
|
|
505
547
|
definition: {
|
|
548
|
+
family: "NATIVE_SPEECH";
|
|
549
|
+
profile: {
|
|
550
|
+
id: string;
|
|
551
|
+
version: number;
|
|
552
|
+
label: string;
|
|
553
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
554
|
+
execution: {
|
|
555
|
+
schemaVersion: 1;
|
|
556
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
557
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
558
|
+
};
|
|
559
|
+
textMaxCharacters: number;
|
|
560
|
+
languages: ("zh" | "en")[];
|
|
561
|
+
voices: {
|
|
562
|
+
label: string;
|
|
563
|
+
id: string;
|
|
564
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
565
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
566
|
+
unsupportedParameters?: string[] | undefined;
|
|
567
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
568
|
+
}[];
|
|
569
|
+
parameters: {
|
|
570
|
+
speed: {
|
|
571
|
+
label: string;
|
|
572
|
+
type: "NUMBER";
|
|
573
|
+
min: number;
|
|
574
|
+
max: number;
|
|
575
|
+
required?: boolean | undefined;
|
|
576
|
+
maxLength?: number | undefined;
|
|
577
|
+
options?: string[] | undefined;
|
|
578
|
+
unit?: string | undefined;
|
|
579
|
+
description?: string | undefined;
|
|
580
|
+
maxItems?: number | undefined;
|
|
581
|
+
maxKeyLength?: number | undefined;
|
|
582
|
+
default?: number | undefined;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
586
|
+
output: "PCM_S16LE_48000_V1";
|
|
587
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
588
|
+
};
|
|
589
|
+
} | {
|
|
506
590
|
family: "IMAGE";
|
|
507
591
|
profile: {
|
|
508
592
|
id: string;
|
|
@@ -819,7 +903,7 @@ export declare const providerOperations: {
|
|
|
819
903
|
label: string;
|
|
820
904
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
821
905
|
modes: ["TRANSCRIPTION"];
|
|
822
|
-
inputKinds: ("
|
|
906
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
823
907
|
requestTimeoutMs: number;
|
|
824
908
|
maxBytes: number;
|
|
825
909
|
maxDurationMs: number;
|
|
@@ -846,7 +930,7 @@ export declare const providerOperations: {
|
|
|
846
930
|
modelId: string;
|
|
847
931
|
label: string;
|
|
848
932
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
849
|
-
modes: ("
|
|
933
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
850
934
|
requestTimeoutMs: number;
|
|
851
935
|
maxBytes: number;
|
|
852
936
|
maxDurationMs: number;
|
|
@@ -998,6 +1082,48 @@ export declare const providerOperations: {
|
|
|
998
1082
|
version: number;
|
|
999
1083
|
enabled: boolean;
|
|
1000
1084
|
definition: {
|
|
1085
|
+
family: "NATIVE_SPEECH";
|
|
1086
|
+
profile: {
|
|
1087
|
+
id: string;
|
|
1088
|
+
version: number;
|
|
1089
|
+
label: string;
|
|
1090
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
1091
|
+
execution: {
|
|
1092
|
+
schemaVersion: 1;
|
|
1093
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
1094
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
1095
|
+
};
|
|
1096
|
+
textMaxCharacters: number;
|
|
1097
|
+
languages: ("zh" | "en")[];
|
|
1098
|
+
voices: {
|
|
1099
|
+
label: string;
|
|
1100
|
+
id: string;
|
|
1101
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
1102
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
1103
|
+
unsupportedParameters?: string[] | undefined;
|
|
1104
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
1105
|
+
}[];
|
|
1106
|
+
parameters: {
|
|
1107
|
+
speed: {
|
|
1108
|
+
label: string;
|
|
1109
|
+
required: boolean;
|
|
1110
|
+
type: "NUMBER";
|
|
1111
|
+
min: number;
|
|
1112
|
+
max: number;
|
|
1113
|
+
default: number;
|
|
1114
|
+
maxLength?: number | undefined;
|
|
1115
|
+
options?: string[] | undefined;
|
|
1116
|
+
unit?: string | undefined;
|
|
1117
|
+
description?: string | undefined;
|
|
1118
|
+
maxItems?: number | undefined;
|
|
1119
|
+
maxKeyLength?: number | undefined;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
1123
|
+
output: "PCM_S16LE_48000_V1";
|
|
1124
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
1125
|
+
};
|
|
1126
|
+
} | {
|
|
1001
1127
|
family: "IMAGE";
|
|
1002
1128
|
profile: {
|
|
1003
1129
|
id: string;
|
|
@@ -1314,7 +1440,7 @@ export declare const providerOperations: {
|
|
|
1314
1440
|
label: string;
|
|
1315
1441
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
1316
1442
|
modes: ["TRANSCRIPTION"];
|
|
1317
|
-
inputKinds: ("
|
|
1443
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
1318
1444
|
requestTimeoutMs: number;
|
|
1319
1445
|
maxBytes: number;
|
|
1320
1446
|
maxDurationMs: number;
|
|
@@ -1341,7 +1467,7 @@ export declare const providerOperations: {
|
|
|
1341
1467
|
modelId: string;
|
|
1342
1468
|
label: string;
|
|
1343
1469
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
1344
|
-
modes: ("
|
|
1470
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
1345
1471
|
requestTimeoutMs: number;
|
|
1346
1472
|
maxBytes: number;
|
|
1347
1473
|
maxDurationMs: number;
|
|
@@ -1490,6 +1616,48 @@ export declare const providerOperations: {
|
|
|
1490
1616
|
version: number;
|
|
1491
1617
|
enabled: boolean;
|
|
1492
1618
|
definition: {
|
|
1619
|
+
family: "NATIVE_SPEECH";
|
|
1620
|
+
profile: {
|
|
1621
|
+
id: string;
|
|
1622
|
+
version: number;
|
|
1623
|
+
label: string;
|
|
1624
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
1625
|
+
execution: {
|
|
1626
|
+
schemaVersion: 1;
|
|
1627
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
1628
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
1629
|
+
};
|
|
1630
|
+
textMaxCharacters: number;
|
|
1631
|
+
languages: ("zh" | "en")[];
|
|
1632
|
+
voices: {
|
|
1633
|
+
label: string;
|
|
1634
|
+
id: string;
|
|
1635
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
1636
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
1637
|
+
unsupportedParameters?: string[] | undefined;
|
|
1638
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
1639
|
+
}[];
|
|
1640
|
+
parameters: {
|
|
1641
|
+
speed: {
|
|
1642
|
+
label: string;
|
|
1643
|
+
type: "NUMBER";
|
|
1644
|
+
min: number;
|
|
1645
|
+
max: number;
|
|
1646
|
+
required?: boolean | undefined;
|
|
1647
|
+
maxLength?: number | undefined;
|
|
1648
|
+
options?: string[] | undefined;
|
|
1649
|
+
unit?: string | undefined;
|
|
1650
|
+
description?: string | undefined;
|
|
1651
|
+
maxItems?: number | undefined;
|
|
1652
|
+
maxKeyLength?: number | undefined;
|
|
1653
|
+
default?: number | undefined;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
1657
|
+
output: "PCM_S16LE_48000_V1";
|
|
1658
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
1659
|
+
};
|
|
1660
|
+
} | {
|
|
1493
1661
|
family: "IMAGE";
|
|
1494
1662
|
profile: {
|
|
1495
1663
|
id: string;
|
|
@@ -1806,7 +1974,7 @@ export declare const providerOperations: {
|
|
|
1806
1974
|
label: string;
|
|
1807
1975
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
1808
1976
|
modes: ["TRANSCRIPTION"];
|
|
1809
|
-
inputKinds: ("
|
|
1977
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
1810
1978
|
requestTimeoutMs: number;
|
|
1811
1979
|
maxBytes: number;
|
|
1812
1980
|
maxDurationMs: number;
|
|
@@ -1833,7 +2001,7 @@ export declare const providerOperations: {
|
|
|
1833
2001
|
modelId: string;
|
|
1834
2002
|
label: string;
|
|
1835
2003
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
1836
|
-
modes: ("
|
|
2004
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
1837
2005
|
requestTimeoutMs: number;
|
|
1838
2006
|
maxBytes: number;
|
|
1839
2007
|
maxDurationMs: number;
|
|
@@ -1980,6 +2148,48 @@ export declare const providerOperations: {
|
|
|
1980
2148
|
tenantId: string;
|
|
1981
2149
|
expectedVersion: number;
|
|
1982
2150
|
definition: {
|
|
2151
|
+
family: "NATIVE_SPEECH";
|
|
2152
|
+
profile: {
|
|
2153
|
+
id: string;
|
|
2154
|
+
version: number;
|
|
2155
|
+
label: string;
|
|
2156
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
2157
|
+
execution: {
|
|
2158
|
+
schemaVersion: 1;
|
|
2159
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
2160
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
2161
|
+
};
|
|
2162
|
+
textMaxCharacters: number;
|
|
2163
|
+
languages: ("zh" | "en")[];
|
|
2164
|
+
voices: {
|
|
2165
|
+
label: string;
|
|
2166
|
+
id: string;
|
|
2167
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
2168
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
2169
|
+
unsupportedParameters?: string[] | undefined;
|
|
2170
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
2171
|
+
}[];
|
|
2172
|
+
parameters: {
|
|
2173
|
+
speed: {
|
|
2174
|
+
label: string;
|
|
2175
|
+
type: "NUMBER";
|
|
2176
|
+
min: number;
|
|
2177
|
+
max: number;
|
|
2178
|
+
required?: boolean | undefined;
|
|
2179
|
+
maxLength?: number | undefined;
|
|
2180
|
+
options?: string[] | undefined;
|
|
2181
|
+
unit?: string | undefined;
|
|
2182
|
+
description?: string | undefined;
|
|
2183
|
+
maxItems?: number | undefined;
|
|
2184
|
+
maxKeyLength?: number | undefined;
|
|
2185
|
+
default?: number | undefined;
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
2189
|
+
output: "PCM_S16LE_48000_V1";
|
|
2190
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
2191
|
+
};
|
|
2192
|
+
} | {
|
|
1983
2193
|
family: "IMAGE";
|
|
1984
2194
|
profile: {
|
|
1985
2195
|
id: string;
|
|
@@ -2296,7 +2506,7 @@ export declare const providerOperations: {
|
|
|
2296
2506
|
label: string;
|
|
2297
2507
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
2298
2508
|
modes: ["TRANSCRIPTION"];
|
|
2299
|
-
inputKinds: ("
|
|
2509
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
2300
2510
|
requestTimeoutMs: number;
|
|
2301
2511
|
maxBytes: number;
|
|
2302
2512
|
maxDurationMs: number;
|
|
@@ -2323,7 +2533,7 @@ export declare const providerOperations: {
|
|
|
2323
2533
|
modelId: string;
|
|
2324
2534
|
label: string;
|
|
2325
2535
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
2326
|
-
modes: ("
|
|
2536
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
2327
2537
|
requestTimeoutMs: number;
|
|
2328
2538
|
maxBytes: number;
|
|
2329
2539
|
maxDurationMs: number;
|
|
@@ -2463,10 +2673,60 @@ export declare const providerOperations: {
|
|
|
2463
2673
|
outputAudioChannels?: 2 | 1 | undefined;
|
|
2464
2674
|
};
|
|
2465
2675
|
};
|
|
2676
|
+
speechCostPolicy?: {
|
|
2677
|
+
currency: "USD";
|
|
2678
|
+
unit: "INPUT_CHARACTER";
|
|
2679
|
+
ruleId: string;
|
|
2680
|
+
upperBoundMicrosPerMillionCharacters: number;
|
|
2681
|
+
sourceUrl: string;
|
|
2682
|
+
validUntil: string;
|
|
2683
|
+
} | undefined;
|
|
2466
2684
|
}, {
|
|
2467
2685
|
tenantId: string & z.core.$brand<"TenantId">;
|
|
2468
2686
|
expectedVersion: number;
|
|
2469
2687
|
definition: {
|
|
2688
|
+
family: "NATIVE_SPEECH";
|
|
2689
|
+
profile: {
|
|
2690
|
+
id: string;
|
|
2691
|
+
version: number;
|
|
2692
|
+
label: string;
|
|
2693
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
2694
|
+
execution: {
|
|
2695
|
+
schemaVersion: 1;
|
|
2696
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
2697
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
2698
|
+
};
|
|
2699
|
+
textMaxCharacters: number;
|
|
2700
|
+
languages: ("zh" | "en")[];
|
|
2701
|
+
voices: {
|
|
2702
|
+
label: string;
|
|
2703
|
+
id: string;
|
|
2704
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
2705
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
2706
|
+
unsupportedParameters?: string[] | undefined;
|
|
2707
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
2708
|
+
}[];
|
|
2709
|
+
parameters: {
|
|
2710
|
+
speed: {
|
|
2711
|
+
label: string;
|
|
2712
|
+
required: boolean;
|
|
2713
|
+
type: "NUMBER";
|
|
2714
|
+
min: number;
|
|
2715
|
+
max: number;
|
|
2716
|
+
default: number;
|
|
2717
|
+
maxLength?: number | undefined;
|
|
2718
|
+
options?: string[] | undefined;
|
|
2719
|
+
unit?: string | undefined;
|
|
2720
|
+
description?: string | undefined;
|
|
2721
|
+
maxItems?: number | undefined;
|
|
2722
|
+
maxKeyLength?: number | undefined;
|
|
2723
|
+
};
|
|
2724
|
+
};
|
|
2725
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
2726
|
+
output: "PCM_S16LE_48000_V1";
|
|
2727
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
2728
|
+
};
|
|
2729
|
+
} | {
|
|
2470
2730
|
family: "IMAGE";
|
|
2471
2731
|
profile: {
|
|
2472
2732
|
id: string;
|
|
@@ -2783,7 +3043,7 @@ export declare const providerOperations: {
|
|
|
2783
3043
|
label: string;
|
|
2784
3044
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
2785
3045
|
modes: ["TRANSCRIPTION"];
|
|
2786
|
-
inputKinds: ("
|
|
3046
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
2787
3047
|
requestTimeoutMs: number;
|
|
2788
3048
|
maxBytes: number;
|
|
2789
3049
|
maxDurationMs: number;
|
|
@@ -2810,7 +3070,7 @@ export declare const providerOperations: {
|
|
|
2810
3070
|
modelId: string;
|
|
2811
3071
|
label: string;
|
|
2812
3072
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
2813
|
-
modes: ("
|
|
3073
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
2814
3074
|
requestTimeoutMs: number;
|
|
2815
3075
|
maxBytes: number;
|
|
2816
3076
|
maxDurationMs: number;
|
|
@@ -2950,12 +3210,62 @@ export declare const providerOperations: {
|
|
|
2950
3210
|
outputAudioChannels?: 2 | 1 | undefined;
|
|
2951
3211
|
};
|
|
2952
3212
|
};
|
|
3213
|
+
speechCostPolicy?: {
|
|
3214
|
+
currency: "USD";
|
|
3215
|
+
unit: "INPUT_CHARACTER";
|
|
3216
|
+
ruleId: string;
|
|
3217
|
+
upperBoundMicrosPerMillionCharacters: number;
|
|
3218
|
+
sourceUrl: string;
|
|
3219
|
+
validUntil: string;
|
|
3220
|
+
} | undefined;
|
|
2953
3221
|
}, {
|
|
2954
3222
|
tenantId: string & z.core.$brand<"TenantId">;
|
|
2955
3223
|
id: string;
|
|
2956
3224
|
version: number;
|
|
2957
3225
|
enabled: boolean;
|
|
2958
3226
|
definition: {
|
|
3227
|
+
family: "NATIVE_SPEECH";
|
|
3228
|
+
profile: {
|
|
3229
|
+
id: string;
|
|
3230
|
+
version: number;
|
|
3231
|
+
label: string;
|
|
3232
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
3233
|
+
execution: {
|
|
3234
|
+
schemaVersion: 1;
|
|
3235
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
3236
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
3237
|
+
};
|
|
3238
|
+
textMaxCharacters: number;
|
|
3239
|
+
languages: ("zh" | "en")[];
|
|
3240
|
+
voices: {
|
|
3241
|
+
label: string;
|
|
3242
|
+
id: string;
|
|
3243
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
3244
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
3245
|
+
unsupportedParameters?: string[] | undefined;
|
|
3246
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
3247
|
+
}[];
|
|
3248
|
+
parameters: {
|
|
3249
|
+
speed: {
|
|
3250
|
+
label: string;
|
|
3251
|
+
required: boolean;
|
|
3252
|
+
type: "NUMBER";
|
|
3253
|
+
min: number;
|
|
3254
|
+
max: number;
|
|
3255
|
+
default: number;
|
|
3256
|
+
maxLength?: number | undefined;
|
|
3257
|
+
options?: string[] | undefined;
|
|
3258
|
+
unit?: string | undefined;
|
|
3259
|
+
description?: string | undefined;
|
|
3260
|
+
maxItems?: number | undefined;
|
|
3261
|
+
maxKeyLength?: number | undefined;
|
|
3262
|
+
};
|
|
3263
|
+
};
|
|
3264
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
3265
|
+
output: "PCM_S16LE_48000_V1";
|
|
3266
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
3267
|
+
};
|
|
3268
|
+
} | {
|
|
2959
3269
|
family: "IMAGE";
|
|
2960
3270
|
profile: {
|
|
2961
3271
|
id: string;
|
|
@@ -3272,7 +3582,7 @@ export declare const providerOperations: {
|
|
|
3272
3582
|
label: string;
|
|
3273
3583
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
3274
3584
|
modes: ["TRANSCRIPTION"];
|
|
3275
|
-
inputKinds: ("
|
|
3585
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
3276
3586
|
requestTimeoutMs: number;
|
|
3277
3587
|
maxBytes: number;
|
|
3278
3588
|
maxDurationMs: number;
|
|
@@ -3299,7 +3609,7 @@ export declare const providerOperations: {
|
|
|
3299
3609
|
modelId: string;
|
|
3300
3610
|
label: string;
|
|
3301
3611
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
3302
|
-
modes: ("
|
|
3612
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
3303
3613
|
requestTimeoutMs: number;
|
|
3304
3614
|
maxBytes: number;
|
|
3305
3615
|
maxDurationMs: number;
|
|
@@ -3445,6 +3755,48 @@ export declare const providerOperations: {
|
|
|
3445
3755
|
version: number;
|
|
3446
3756
|
enabled: boolean;
|
|
3447
3757
|
definition: {
|
|
3758
|
+
family: "NATIVE_SPEECH";
|
|
3759
|
+
profile: {
|
|
3760
|
+
id: string;
|
|
3761
|
+
version: number;
|
|
3762
|
+
label: string;
|
|
3763
|
+
protocol: "KOKORO_ONNX_CPU_V1";
|
|
3764
|
+
execution: {
|
|
3765
|
+
schemaVersion: 1;
|
|
3766
|
+
profileId: "KOKORO_INT8_ZH_EN_V1";
|
|
3767
|
+
modelDigest: "ebd0959580940e20dbb10a55775ec94e47229c7c503f65932403fe0764667126";
|
|
3768
|
+
};
|
|
3769
|
+
textMaxCharacters: number;
|
|
3770
|
+
languages: ("zh" | "en")[];
|
|
3771
|
+
voices: {
|
|
3772
|
+
label: string;
|
|
3773
|
+
id: string;
|
|
3774
|
+
parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
3775
|
+
parameterOptions?: Record<string, string[]> | undefined;
|
|
3776
|
+
unsupportedParameters?: string[] | undefined;
|
|
3777
|
+
languages?: ("zh" | "en")[] | undefined;
|
|
3778
|
+
}[];
|
|
3779
|
+
parameters: {
|
|
3780
|
+
speed: {
|
|
3781
|
+
label: string;
|
|
3782
|
+
type: "NUMBER";
|
|
3783
|
+
min: number;
|
|
3784
|
+
max: number;
|
|
3785
|
+
required?: boolean | undefined;
|
|
3786
|
+
maxLength?: number | undefined;
|
|
3787
|
+
options?: string[] | undefined;
|
|
3788
|
+
unit?: string | undefined;
|
|
3789
|
+
description?: string | undefined;
|
|
3790
|
+
maxItems?: number | undefined;
|
|
3791
|
+
maxKeyLength?: number | undefined;
|
|
3792
|
+
default?: number | undefined;
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
sourceUrl: "https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/kokoro.html";
|
|
3796
|
+
output: "PCM_S16LE_48000_V1";
|
|
3797
|
+
normalizationVersion: "SPEECH_PCM_V1";
|
|
3798
|
+
};
|
|
3799
|
+
} | {
|
|
3448
3800
|
family: "IMAGE";
|
|
3449
3801
|
profile: {
|
|
3450
3802
|
id: string;
|
|
@@ -3761,7 +4113,7 @@ export declare const providerOperations: {
|
|
|
3761
4113
|
label: string;
|
|
3762
4114
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
3763
4115
|
modes: ["TRANSCRIPTION"];
|
|
3764
|
-
inputKinds: ("
|
|
4116
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
3765
4117
|
requestTimeoutMs: number;
|
|
3766
4118
|
maxBytes: number;
|
|
3767
4119
|
maxDurationMs: number;
|
|
@@ -3788,7 +4140,7 @@ export declare const providerOperations: {
|
|
|
3788
4140
|
modelId: string;
|
|
3789
4141
|
label: string;
|
|
3790
4142
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
3791
|
-
modes: ("
|
|
4143
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
3792
4144
|
requestTimeoutMs: number;
|
|
3793
4145
|
maxBytes: number;
|
|
3794
4146
|
maxDurationMs: number;
|
|
@@ -3950,6 +4302,17 @@ export declare const providerOperations: {
|
|
|
3950
4302
|
providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
|
|
3951
4303
|
label: string;
|
|
3952
4304
|
allowedModelProfileIds: string[];
|
|
4305
|
+
tenantExecution?: {
|
|
4306
|
+
projectId: string;
|
|
4307
|
+
modelProfileId: string;
|
|
4308
|
+
modelProfileVersion: number;
|
|
4309
|
+
workload: "KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIS" | "TRANSCRIPTION" | "AUDIO_OBSERVATION" | "VIDEO_OBSERVATION";
|
|
4310
|
+
disclosure: "TEXT_ONLY" | "IMMUTABLE_PROJECT_INPUTS";
|
|
4311
|
+
expiresAt: string;
|
|
4312
|
+
maxPerRequestMicros: number;
|
|
4313
|
+
maxTotalMicros: number;
|
|
4314
|
+
maxSubmissions: number;
|
|
4315
|
+
}[] | undefined;
|
|
3953
4316
|
qwenEndpoint?: "QIANWEN_PLATFORM" | undefined;
|
|
3954
4317
|
credentialService?: "ARK" | "DOUBAO_SPEECH" | undefined;
|
|
3955
4318
|
qwenWorkspaceId?: string | undefined;
|
|
@@ -3965,6 +4328,17 @@ export declare const providerOperations: {
|
|
|
3965
4328
|
label: string;
|
|
3966
4329
|
allowedModelProfileIds: string[];
|
|
3967
4330
|
geometryPolicy: "STRICT" | "PAD_TO_ASPECT";
|
|
4331
|
+
tenantExecution?: {
|
|
4332
|
+
projectId: string;
|
|
4333
|
+
modelProfileId: string;
|
|
4334
|
+
modelProfileVersion: number;
|
|
4335
|
+
workload: "KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIS" | "TRANSCRIPTION" | "AUDIO_OBSERVATION" | "VIDEO_OBSERVATION";
|
|
4336
|
+
disclosure: "TEXT_ONLY" | "IMMUTABLE_PROJECT_INPUTS";
|
|
4337
|
+
expiresAt: string;
|
|
4338
|
+
maxPerRequestMicros: number;
|
|
4339
|
+
maxTotalMicros: number;
|
|
4340
|
+
maxSubmissions: number;
|
|
4341
|
+
}[] | undefined;
|
|
3968
4342
|
qwenEndpoint?: "QIANWEN_PLATFORM" | undefined;
|
|
3969
4343
|
credentialService?: "ARK" | "DOUBAO_SPEECH" | undefined;
|
|
3970
4344
|
qwenWorkspaceId?: string | undefined;
|
|
@@ -4151,7 +4525,7 @@ export declare const providerOperations: {
|
|
|
4151
4525
|
label: string;
|
|
4152
4526
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
4153
4527
|
modes: ["TRANSCRIPTION"];
|
|
4154
|
-
inputKinds: ("
|
|
4528
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
4155
4529
|
requestTimeoutMs: number;
|
|
4156
4530
|
maxBytes: number;
|
|
4157
4531
|
maxDurationMs: number;
|
|
@@ -4178,7 +4552,7 @@ export declare const providerOperations: {
|
|
|
4178
4552
|
modelId: string;
|
|
4179
4553
|
label: string;
|
|
4180
4554
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
4181
|
-
modes: ("
|
|
4555
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
4182
4556
|
requestTimeoutMs: number;
|
|
4183
4557
|
maxBytes: number;
|
|
4184
4558
|
maxDurationMs: number;
|
|
@@ -4343,7 +4717,7 @@ export declare const providerOperations: {
|
|
|
4343
4717
|
label: string;
|
|
4344
4718
|
protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
|
|
4345
4719
|
modes: ["TRANSCRIPTION"];
|
|
4346
|
-
inputKinds: ("
|
|
4720
|
+
inputKinds: ("VIDEO" | "AUDIO")[];
|
|
4347
4721
|
requestTimeoutMs: number;
|
|
4348
4722
|
maxBytes: number;
|
|
4349
4723
|
maxDurationMs: number;
|
|
@@ -4370,7 +4744,7 @@ export declare const providerOperations: {
|
|
|
4370
4744
|
modelId: string;
|
|
4371
4745
|
label: string;
|
|
4372
4746
|
protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
|
|
4373
|
-
modes: ("
|
|
4747
|
+
modes: ("VIDEO" | "AUDIO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
|
|
4374
4748
|
requestTimeoutMs: number;
|
|
4375
4749
|
maxBytes: number;
|
|
4376
4750
|
maxDurationMs: number;
|