@nimiplatform/sdk 0.12.0 → 0.15.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/CHANGELOG.md +72 -0
- package/README.md +391 -0
- package/dist/core/ai/capability-configuration.d.ts +3 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +3 -0
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/ai/local-app-model.d.ts.map +1 -1
- package/dist/core/ai/local-app-model.js +29 -1
- package/dist/core/ai/local-app-model.js.map +1 -1
- package/dist/core/ai/voice-reference-input.d.ts +9 -0
- package/dist/core/ai/voice-reference-input.d.ts.map +1 -0
- package/dist/core/ai/voice-reference-input.js +17 -0
- package/dist/core/ai/voice-reference-input.js.map +1 -0
- package/dist/core/app/index.d.ts +8 -2
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +4 -1
- package/dist/core/app/index.js.map +1 -1
- package/dist/core/app/local-app-audio-separation.d.ts +6 -0
- package/dist/core/app/local-app-audio-separation.d.ts.map +1 -0
- package/dist/core/app/local-app-audio-separation.js +31 -0
- package/dist/core/app/local-app-audio-separation.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js +7 -0
- package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts +21 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +111 -20
- package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.js +8 -0
- package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
- package/dist/core/app/local-app-text-annotation.d.ts +24 -0
- package/dist/core/app/local-app-text-annotation.d.ts.map +1 -0
- package/dist/core/app/local-app-text-annotation.js +71 -0
- package/dist/core/app/local-app-text-annotation.js.map +1 -0
- package/dist/core/app/local-app-text.d.ts +15 -0
- package/dist/core/app/local-app-text.d.ts.map +1 -1
- package/dist/core/app/local-app-text.js +47 -1
- package/dist/core/app/local-app-text.js.map +1 -1
- package/dist/core/app/local-app-transcription.d.ts +12 -0
- package/dist/core/app/local-app-transcription.d.ts.map +1 -0
- package/dist/core/app/local-app-transcription.js +28 -0
- package/dist/core/app/local-app-transcription.js.map +1 -0
- package/dist/core-generated/realm-typed-client.d.ts +73 -5
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +64 -2
- package/dist/core-generated/realm-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +382 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +769 -6
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +128 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +254 -2
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +123 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +189 -8
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +15 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +15 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +34 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +36 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts +13 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js +17 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +4 -4
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-typed-client.js +1 -1
- package/dist/core-generated/runtime-typed-client.js.map +1 -1
- package/dist/features/generation/index.d.ts +2 -0
- package/dist/features/generation/index.d.ts.map +1 -1
- package/dist/features/generation/index.js +12 -2
- package/dist/features/generation/index.js.map +1 -1
- package/dist/runtime/config-projections.d.ts.map +1 -1
- package/dist/runtime/config-projections.js +30 -1
- package/dist/runtime/config-projections.js.map +1 -1
- package/dist/runtime/connector-inventory.js +3 -3
- package/dist/runtime/connector-inventory.js.map +1 -1
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/machine-loadouts.d.ts +15 -1
- package/dist/runtime/machine-loadouts.d.ts.map +1 -1
- package/dist/runtime/machine-loadouts.js +13 -2
- package/dist/runtime/machine-loadouts.js.map +1 -1
- package/dist/runtime/node-grpc.d.ts.map +1 -1
- package/dist/runtime/node-grpc.js +35 -4
- package/dist/runtime/node-grpc.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.js +4 -0
- package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts +10 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.js +5 -1
- package/dist/runtime/runtime-local-environment-client.js.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.js +3 -0
- package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts +8 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +8 -0
- package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-types.d.ts +4 -4
- package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts +2 -0
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +2 -0
- package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
- package/package.json +4 -2
|
@@ -861,6 +861,38 @@ export interface MusicGenerateScenarioSpec {
|
|
|
861
861
|
*/
|
|
862
862
|
instrumental: boolean;
|
|
863
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* Source separation preserves the input timeline and returns vocals plus the
|
|
866
|
+
* sum of all non-vocal sources. The selected implementation owns input limits.
|
|
867
|
+
*
|
|
868
|
+
* @generated from protobuf message nimi.runtime.v1.AudioSeparateScenarioSpec
|
|
869
|
+
*/
|
|
870
|
+
export interface AudioSeparateScenarioSpec {
|
|
871
|
+
/**
|
|
872
|
+
* @generated from protobuf field: string mime_type = 1
|
|
873
|
+
*/
|
|
874
|
+
mimeType: string;
|
|
875
|
+
/**
|
|
876
|
+
* @generated from protobuf field: nimi.runtime.v1.SpeechTranscriptionAudioSource audio_source = 2
|
|
877
|
+
*/
|
|
878
|
+
audioSource?: SpeechTranscriptionAudioSource;
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* The identities refer to the two committed artifacts of this same Job.
|
|
882
|
+
* Sample rate, channels and duration are carried by those artifact records.
|
|
883
|
+
*
|
|
884
|
+
* @generated from protobuf message nimi.runtime.v1.AudioSeparation
|
|
885
|
+
*/
|
|
886
|
+
export interface AudioSeparation {
|
|
887
|
+
/**
|
|
888
|
+
* @generated from protobuf field: string vocals_artifact_id = 1
|
|
889
|
+
*/
|
|
890
|
+
vocalsArtifactId: string;
|
|
891
|
+
/**
|
|
892
|
+
* @generated from protobuf field: string background_artifact_id = 2
|
|
893
|
+
*/
|
|
894
|
+
backgroundArtifactId: string;
|
|
895
|
+
}
|
|
864
896
|
/**
|
|
865
897
|
* @generated from protobuf message nimi.runtime.v1.WorldGenerateAssetSource
|
|
866
898
|
*/
|
|
@@ -1257,6 +1289,98 @@ export interface VideoFaceSwapSummary {
|
|
|
1257
1289
|
*/
|
|
1258
1290
|
audioPreserved: boolean;
|
|
1259
1291
|
}
|
|
1292
|
+
/**
|
|
1293
|
+
* Batch order is preserved. Offsets in results count Unicode scalar values,
|
|
1294
|
+
* not UTF-8 bytes or UTF-16 code units. Empty documents are valid.
|
|
1295
|
+
*
|
|
1296
|
+
* @generated from protobuf message nimi.runtime.v1.TextAnnotateScenarioSpec
|
|
1297
|
+
*/
|
|
1298
|
+
export interface TextAnnotateScenarioSpec {
|
|
1299
|
+
/**
|
|
1300
|
+
* @generated from protobuf field: string language = 1
|
|
1301
|
+
*/
|
|
1302
|
+
language: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from protobuf field: repeated string texts = 2
|
|
1305
|
+
*/
|
|
1306
|
+
texts: string[];
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from protobuf message nimi.runtime.v1.TextAnnotationToken
|
|
1310
|
+
*/
|
|
1311
|
+
export interface TextAnnotationToken {
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from protobuf field: string text = 1
|
|
1314
|
+
*/
|
|
1315
|
+
text: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* @generated from protobuf field: uint32 start = 2
|
|
1318
|
+
*/
|
|
1319
|
+
start: number;
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from protobuf field: uint32 end = 3
|
|
1322
|
+
*/
|
|
1323
|
+
end: number;
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from protobuf field: uint32 head_index = 4
|
|
1326
|
+
*/
|
|
1327
|
+
headIndex: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* @generated from protobuf field: string part_of_speech = 5
|
|
1330
|
+
*/
|
|
1331
|
+
partOfSpeech: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* @generated from protobuf field: string dependency = 6
|
|
1334
|
+
*/
|
|
1335
|
+
dependency: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from protobuf field: bool is_punctuation = 7
|
|
1338
|
+
*/
|
|
1339
|
+
isPunctuation: boolean;
|
|
1340
|
+
}
|
|
1341
|
+
/**
|
|
1342
|
+
* @generated from protobuf message nimi.runtime.v1.TextAnnotationSentence
|
|
1343
|
+
*/
|
|
1344
|
+
export interface TextAnnotationSentence {
|
|
1345
|
+
/**
|
|
1346
|
+
* @generated from protobuf field: uint32 start_token = 1
|
|
1347
|
+
*/
|
|
1348
|
+
startToken: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* @generated from protobuf field: uint32 end_token = 2
|
|
1351
|
+
*/
|
|
1352
|
+
endToken: number;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* @generated from protobuf message nimi.runtime.v1.TextAnnotationDocument
|
|
1356
|
+
*/
|
|
1357
|
+
export interface TextAnnotationDocument {
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from protobuf field: string text = 1
|
|
1360
|
+
*/
|
|
1361
|
+
text: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* @generated from protobuf field: string language = 2
|
|
1364
|
+
*/
|
|
1365
|
+
language: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.TextAnnotationToken tokens = 3
|
|
1368
|
+
*/
|
|
1369
|
+
tokens: TextAnnotationToken[];
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.TextAnnotationSentence sentences = 4
|
|
1372
|
+
*/
|
|
1373
|
+
sentences: TextAnnotationSentence[];
|
|
1374
|
+
}
|
|
1375
|
+
/**
|
|
1376
|
+
* @generated from protobuf message nimi.runtime.v1.TextAnnotationResult
|
|
1377
|
+
*/
|
|
1378
|
+
export interface TextAnnotationResult {
|
|
1379
|
+
/**
|
|
1380
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.TextAnnotationDocument documents = 1
|
|
1381
|
+
*/
|
|
1382
|
+
documents: TextAnnotationDocument[];
|
|
1383
|
+
}
|
|
1260
1384
|
/**
|
|
1261
1385
|
* @generated from protobuf message nimi.runtime.v1.VisionLocateScenarioSpec
|
|
1262
1386
|
*/
|
|
@@ -1438,6 +1562,18 @@ export interface ScenarioSpec {
|
|
|
1438
1562
|
* @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapScenarioSpec video_face_swap = 14
|
|
1439
1563
|
*/
|
|
1440
1564
|
videoFaceSwap: VideoFaceSwapScenarioSpec;
|
|
1565
|
+
} | {
|
|
1566
|
+
oneofKind: "audioSeparate";
|
|
1567
|
+
/**
|
|
1568
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparateScenarioSpec audio_separate = 15
|
|
1569
|
+
*/
|
|
1570
|
+
audioSeparate: AudioSeparateScenarioSpec;
|
|
1571
|
+
} | {
|
|
1572
|
+
oneofKind: "textAnnotate";
|
|
1573
|
+
/**
|
|
1574
|
+
* @generated from protobuf field: nimi.runtime.v1.TextAnnotateScenarioSpec text_annotate = 16
|
|
1575
|
+
*/
|
|
1576
|
+
textAnnotate: TextAnnotateScenarioSpec;
|
|
1441
1577
|
} | {
|
|
1442
1578
|
oneofKind: undefined;
|
|
1443
1579
|
};
|
|
@@ -1577,6 +1713,48 @@ export interface SpeechSynthesizeResult {
|
|
|
1577
1713
|
*/
|
|
1578
1714
|
artifacts: ScenarioArtifact[];
|
|
1579
1715
|
}
|
|
1716
|
+
/**
|
|
1717
|
+
* @generated from protobuf message nimi.runtime.v1.SpeechTranscriptWord
|
|
1718
|
+
*/
|
|
1719
|
+
export interface SpeechTranscriptWord {
|
|
1720
|
+
/**
|
|
1721
|
+
* @generated from protobuf field: string text = 1
|
|
1722
|
+
*/
|
|
1723
|
+
text: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* @generated from protobuf field: double start_seconds = 2
|
|
1726
|
+
*/
|
|
1727
|
+
startSeconds: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* @generated from protobuf field: double end_seconds = 3
|
|
1730
|
+
*/
|
|
1731
|
+
endSeconds: number;
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
* @generated from protobuf message nimi.runtime.v1.SpeechTranscript
|
|
1735
|
+
*/
|
|
1736
|
+
export interface SpeechTranscript {
|
|
1737
|
+
/**
|
|
1738
|
+
* @generated from protobuf field: nimi.runtime.v1.SpeechTranscriptStatus status = 1
|
|
1739
|
+
*/
|
|
1740
|
+
status: SpeechTranscriptStatus;
|
|
1741
|
+
/**
|
|
1742
|
+
* @generated from protobuf field: string text = 2
|
|
1743
|
+
*/
|
|
1744
|
+
text: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* Model-reported language code, empty when the execution did not report one.
|
|
1747
|
+
*
|
|
1748
|
+
* @generated from protobuf field: string language = 3
|
|
1749
|
+
*/
|
|
1750
|
+
language: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* Actual alignment units, relative to the submitted audio beginning.
|
|
1753
|
+
*
|
|
1754
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.SpeechTranscriptWord words = 4
|
|
1755
|
+
*/
|
|
1756
|
+
words: SpeechTranscriptWord[];
|
|
1757
|
+
}
|
|
1580
1758
|
/**
|
|
1581
1759
|
* @generated from protobuf message nimi.runtime.v1.SpeechTranscribeResult
|
|
1582
1760
|
*/
|
|
@@ -1589,6 +1767,10 @@ export interface SpeechTranscribeResult {
|
|
|
1589
1767
|
* @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 2
|
|
1590
1768
|
*/
|
|
1591
1769
|
artifacts: ScenarioArtifact[];
|
|
1770
|
+
/**
|
|
1771
|
+
* @generated from protobuf field: nimi.runtime.v1.SpeechTranscript transcription = 3
|
|
1772
|
+
*/
|
|
1773
|
+
transcription?: SpeechTranscript;
|
|
1592
1774
|
}
|
|
1593
1775
|
/**
|
|
1594
1776
|
* @generated from protobuf message nimi.runtime.v1.MusicGenerateResult
|
|
@@ -1599,6 +1781,19 @@ export interface MusicGenerateResult {
|
|
|
1599
1781
|
*/
|
|
1600
1782
|
artifacts: ScenarioArtifact[];
|
|
1601
1783
|
}
|
|
1784
|
+
/**
|
|
1785
|
+
* @generated from protobuf message nimi.runtime.v1.AudioSeparateResult
|
|
1786
|
+
*/
|
|
1787
|
+
export interface AudioSeparateResult {
|
|
1788
|
+
/**
|
|
1789
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 1
|
|
1790
|
+
*/
|
|
1791
|
+
artifacts: ScenarioArtifact[];
|
|
1792
|
+
/**
|
|
1793
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparation separation = 2
|
|
1794
|
+
*/
|
|
1795
|
+
separation?: AudioSeparation;
|
|
1796
|
+
}
|
|
1602
1797
|
/**
|
|
1603
1798
|
* @generated from protobuf message nimi.runtime.v1.WorldGenerateSemanticsMetadata
|
|
1604
1799
|
*/
|
|
@@ -1726,6 +1921,18 @@ export interface ScenarioOutput {
|
|
|
1726
1921
|
* @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapResult video_face_swap = 10
|
|
1727
1922
|
*/
|
|
1728
1923
|
videoFaceSwap: VideoFaceSwapResult;
|
|
1924
|
+
} | {
|
|
1925
|
+
oneofKind: "audioSeparate";
|
|
1926
|
+
/**
|
|
1927
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparateResult audio_separate = 11
|
|
1928
|
+
*/
|
|
1929
|
+
audioSeparate: AudioSeparateResult;
|
|
1930
|
+
} | {
|
|
1931
|
+
oneofKind: "textAnnotation";
|
|
1932
|
+
/**
|
|
1933
|
+
* @generated from protobuf field: nimi.runtime.v1.TextAnnotationResult text_annotation = 12
|
|
1934
|
+
*/
|
|
1935
|
+
textAnnotation: TextAnnotationResult;
|
|
1729
1936
|
} | {
|
|
1730
1937
|
oneofKind: undefined;
|
|
1731
1938
|
};
|
|
@@ -1792,6 +1999,13 @@ export interface LocalAppTextCandidateMessage {
|
|
|
1792
1999
|
* @generated from protobuf field: repeated nimi.runtime.v1.TextTurnItem turn_items = 3
|
|
1793
2000
|
*/
|
|
1794
2001
|
turnItems: TextTurnItem[];
|
|
2002
|
+
/**
|
|
2003
|
+
* User text/image parts are admitted only by text-turn and text.generate
|
|
2004
|
+
* execute. They are exclusive with text and turn_items; candidate rejects them.
|
|
2005
|
+
*
|
|
2006
|
+
* @generated from protobuf field: repeated nimi.runtime.v1.ChatContentPart parts = 4
|
|
2007
|
+
*/
|
|
2008
|
+
parts: ChatContentPart[];
|
|
1795
2009
|
}
|
|
1796
2010
|
/**
|
|
1797
2011
|
* @generated from protobuf message nimi.runtime.v1.GenerateLocalAppTextCandidateRequest
|
|
@@ -2353,6 +2567,18 @@ export interface SubmitLocalAppScenarioJobRequest {
|
|
|
2353
2567
|
* @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapScenarioSpec video_face_swap = 13
|
|
2354
2568
|
*/
|
|
2355
2569
|
videoFaceSwap: VideoFaceSwapScenarioSpec;
|
|
2570
|
+
} | {
|
|
2571
|
+
oneofKind: "audioSeparate";
|
|
2572
|
+
/**
|
|
2573
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparateScenarioSpec audio_separate = 14
|
|
2574
|
+
*/
|
|
2575
|
+
audioSeparate: AudioSeparateScenarioSpec;
|
|
2576
|
+
} | {
|
|
2577
|
+
oneofKind: "textAnnotate";
|
|
2578
|
+
/**
|
|
2579
|
+
* @generated from protobuf field: nimi.runtime.v1.TextAnnotateScenarioSpec text_annotate = 15
|
|
2580
|
+
*/
|
|
2581
|
+
textAnnotate: TextAnnotateScenarioSpec;
|
|
2356
2582
|
} | {
|
|
2357
2583
|
oneofKind: undefined;
|
|
2358
2584
|
};
|
|
@@ -2440,6 +2666,24 @@ export interface LocalAppScenarioJob {
|
|
|
2440
2666
|
* @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 15
|
|
2441
2667
|
*/
|
|
2442
2668
|
videoFaceSwapSummary?: VideoFaceSwapSummary;
|
|
2669
|
+
/**
|
|
2670
|
+
* Present only when a completed speech Job captured this typed result.
|
|
2671
|
+
*
|
|
2672
|
+
* @generated from protobuf field: nimi.runtime.v1.SpeechTranscript transcription = 16
|
|
2673
|
+
*/
|
|
2674
|
+
transcription?: SpeechTranscript;
|
|
2675
|
+
/**
|
|
2676
|
+
* Present only with both committed artifacts of a completed AUDIO_SEPARATE Job.
|
|
2677
|
+
*
|
|
2678
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparation audio_separation = 17
|
|
2679
|
+
*/
|
|
2680
|
+
audioSeparation?: AudioSeparation;
|
|
2681
|
+
/**
|
|
2682
|
+
* Present only for a completed TEXT_ANNOTATE Job.
|
|
2683
|
+
*
|
|
2684
|
+
* @generated from protobuf field: nimi.runtime.v1.TextAnnotationResult text_annotation = 18
|
|
2685
|
+
*/
|
|
2686
|
+
textAnnotation?: TextAnnotationResult;
|
|
2443
2687
|
}
|
|
2444
2688
|
/**
|
|
2445
2689
|
* Trimmed voice asset catalog projection. Provider, model, provider voice
|
|
@@ -3227,6 +3471,18 @@ export interface ScenarioJob {
|
|
|
3227
3471
|
* @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 26
|
|
3228
3472
|
*/
|
|
3229
3473
|
videoFaceSwapSummary?: VideoFaceSwapSummary;
|
|
3474
|
+
/**
|
|
3475
|
+
* @generated from protobuf field: nimi.runtime.v1.SpeechTranscript transcription = 27
|
|
3476
|
+
*/
|
|
3477
|
+
transcription?: SpeechTranscript;
|
|
3478
|
+
/**
|
|
3479
|
+
* @generated from protobuf field: nimi.runtime.v1.AudioSeparation audio_separation = 28
|
|
3480
|
+
*/
|
|
3481
|
+
audioSeparation?: AudioSeparation;
|
|
3482
|
+
/**
|
|
3483
|
+
* @generated from protobuf field: nimi.runtime.v1.TextAnnotationResult text_annotation = 29
|
|
3484
|
+
*/
|
|
3485
|
+
textAnnotation?: TextAnnotationResult;
|
|
3230
3486
|
}
|
|
3231
3487
|
/**
|
|
3232
3488
|
* @generated from protobuf message nimi.runtime.v1.SubmitScenarioJobRequest
|
|
@@ -3862,7 +4118,15 @@ export declare enum ScenarioType {
|
|
|
3862
4118
|
/**
|
|
3863
4119
|
* @generated from protobuf enum value: SCENARIO_TYPE_VIDEO_FACE_SWAP = 14;
|
|
3864
4120
|
*/
|
|
3865
|
-
VIDEO_FACE_SWAP = 14
|
|
4121
|
+
VIDEO_FACE_SWAP = 14,
|
|
4122
|
+
/**
|
|
4123
|
+
* @generated from protobuf enum value: SCENARIO_TYPE_AUDIO_SEPARATE = 15;
|
|
4124
|
+
*/
|
|
4125
|
+
AUDIO_SEPARATE = 15,
|
|
4126
|
+
/**
|
|
4127
|
+
* @generated from protobuf enum value: SCENARIO_TYPE_TEXT_ANNOTATE = 16;
|
|
4128
|
+
*/
|
|
4129
|
+
TEXT_ANNOTATE = 16
|
|
3866
4130
|
}
|
|
3867
4131
|
/**
|
|
3868
4132
|
* @generated from protobuf enum nimi.runtime.v1.ExecutionMode
|
|
@@ -4294,6 +4558,23 @@ export declare enum AiVideoPixelFormat {
|
|
|
4294
4558
|
*/
|
|
4295
4559
|
RGB8 = 1
|
|
4296
4560
|
}
|
|
4561
|
+
/**
|
|
4562
|
+
* @generated from protobuf enum nimi.runtime.v1.SpeechTranscriptStatus
|
|
4563
|
+
*/
|
|
4564
|
+
export declare enum SpeechTranscriptStatus {
|
|
4565
|
+
/**
|
|
4566
|
+
* @generated from protobuf enum value: SPEECH_TRANSCRIPT_STATUS_UNSPECIFIED = 0;
|
|
4567
|
+
*/
|
|
4568
|
+
UNSPECIFIED = 0,
|
|
4569
|
+
/**
|
|
4570
|
+
* @generated from protobuf enum value: SPEECH_TRANSCRIPT_STATUS_TRANSCRIBED = 1;
|
|
4571
|
+
*/
|
|
4572
|
+
TRANSCRIBED = 1,
|
|
4573
|
+
/**
|
|
4574
|
+
* @generated from protobuf enum value: SPEECH_TRANSCRIPT_STATUS_NO_SPEECH = 2;
|
|
4575
|
+
*/
|
|
4576
|
+
NO_SPEECH = 2
|
|
4577
|
+
}
|
|
4297
4578
|
/**
|
|
4298
4579
|
* @generated from protobuf enum nimi.runtime.v1.ScenarioJobStatus
|
|
4299
4580
|
*/
|
|
@@ -4678,6 +4959,26 @@ declare class MusicGenerateScenarioSpec$Type extends MessageType<MusicGenerateSc
|
|
|
4678
4959
|
* @generated MessageType for protobuf message nimi.runtime.v1.MusicGenerateScenarioSpec
|
|
4679
4960
|
*/
|
|
4680
4961
|
export declare const MusicGenerateScenarioSpec: MusicGenerateScenarioSpec$Type;
|
|
4962
|
+
declare class AudioSeparateScenarioSpec$Type extends MessageType<AudioSeparateScenarioSpec> {
|
|
4963
|
+
constructor();
|
|
4964
|
+
create(value?: PartialMessage<AudioSeparateScenarioSpec>): AudioSeparateScenarioSpec;
|
|
4965
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioSeparateScenarioSpec): AudioSeparateScenarioSpec;
|
|
4966
|
+
internalBinaryWrite(message: AudioSeparateScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4967
|
+
}
|
|
4968
|
+
/**
|
|
4969
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AudioSeparateScenarioSpec
|
|
4970
|
+
*/
|
|
4971
|
+
export declare const AudioSeparateScenarioSpec: AudioSeparateScenarioSpec$Type;
|
|
4972
|
+
declare class AudioSeparation$Type extends MessageType<AudioSeparation> {
|
|
4973
|
+
constructor();
|
|
4974
|
+
create(value?: PartialMessage<AudioSeparation>): AudioSeparation;
|
|
4975
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioSeparation): AudioSeparation;
|
|
4976
|
+
internalBinaryWrite(message: AudioSeparation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
4977
|
+
}
|
|
4978
|
+
/**
|
|
4979
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AudioSeparation
|
|
4980
|
+
*/
|
|
4981
|
+
export declare const AudioSeparation: AudioSeparation$Type;
|
|
4681
4982
|
declare class WorldGenerateAssetSource$Type extends MessageType<WorldGenerateAssetSource> {
|
|
4682
4983
|
constructor();
|
|
4683
4984
|
create(value?: PartialMessage<WorldGenerateAssetSource>): WorldGenerateAssetSource;
|
|
@@ -4898,6 +5199,56 @@ declare class VideoFaceSwapSummary$Type extends MessageType<VideoFaceSwapSummary
|
|
|
4898
5199
|
* @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapSummary
|
|
4899
5200
|
*/
|
|
4900
5201
|
export declare const VideoFaceSwapSummary: VideoFaceSwapSummary$Type;
|
|
5202
|
+
declare class TextAnnotateScenarioSpec$Type extends MessageType<TextAnnotateScenarioSpec> {
|
|
5203
|
+
constructor();
|
|
5204
|
+
create(value?: PartialMessage<TextAnnotateScenarioSpec>): TextAnnotateScenarioSpec;
|
|
5205
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextAnnotateScenarioSpec): TextAnnotateScenarioSpec;
|
|
5206
|
+
internalBinaryWrite(message: TextAnnotateScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5207
|
+
}
|
|
5208
|
+
/**
|
|
5209
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextAnnotateScenarioSpec
|
|
5210
|
+
*/
|
|
5211
|
+
export declare const TextAnnotateScenarioSpec: TextAnnotateScenarioSpec$Type;
|
|
5212
|
+
declare class TextAnnotationToken$Type extends MessageType<TextAnnotationToken> {
|
|
5213
|
+
constructor();
|
|
5214
|
+
create(value?: PartialMessage<TextAnnotationToken>): TextAnnotationToken;
|
|
5215
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextAnnotationToken): TextAnnotationToken;
|
|
5216
|
+
internalBinaryWrite(message: TextAnnotationToken, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5217
|
+
}
|
|
5218
|
+
/**
|
|
5219
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextAnnotationToken
|
|
5220
|
+
*/
|
|
5221
|
+
export declare const TextAnnotationToken: TextAnnotationToken$Type;
|
|
5222
|
+
declare class TextAnnotationSentence$Type extends MessageType<TextAnnotationSentence> {
|
|
5223
|
+
constructor();
|
|
5224
|
+
create(value?: PartialMessage<TextAnnotationSentence>): TextAnnotationSentence;
|
|
5225
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextAnnotationSentence): TextAnnotationSentence;
|
|
5226
|
+
internalBinaryWrite(message: TextAnnotationSentence, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5227
|
+
}
|
|
5228
|
+
/**
|
|
5229
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextAnnotationSentence
|
|
5230
|
+
*/
|
|
5231
|
+
export declare const TextAnnotationSentence: TextAnnotationSentence$Type;
|
|
5232
|
+
declare class TextAnnotationDocument$Type extends MessageType<TextAnnotationDocument> {
|
|
5233
|
+
constructor();
|
|
5234
|
+
create(value?: PartialMessage<TextAnnotationDocument>): TextAnnotationDocument;
|
|
5235
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextAnnotationDocument): TextAnnotationDocument;
|
|
5236
|
+
internalBinaryWrite(message: TextAnnotationDocument, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5237
|
+
}
|
|
5238
|
+
/**
|
|
5239
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextAnnotationDocument
|
|
5240
|
+
*/
|
|
5241
|
+
export declare const TextAnnotationDocument: TextAnnotationDocument$Type;
|
|
5242
|
+
declare class TextAnnotationResult$Type extends MessageType<TextAnnotationResult> {
|
|
5243
|
+
constructor();
|
|
5244
|
+
create(value?: PartialMessage<TextAnnotationResult>): TextAnnotationResult;
|
|
5245
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TextAnnotationResult): TextAnnotationResult;
|
|
5246
|
+
internalBinaryWrite(message: TextAnnotationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5247
|
+
}
|
|
5248
|
+
/**
|
|
5249
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextAnnotationResult
|
|
5250
|
+
*/
|
|
5251
|
+
export declare const TextAnnotationResult: TextAnnotationResult$Type;
|
|
4901
5252
|
declare class VisionLocateScenarioSpec$Type extends MessageType<VisionLocateScenarioSpec> {
|
|
4902
5253
|
constructor();
|
|
4903
5254
|
create(value?: PartialMessage<VisionLocateScenarioSpec>): VisionLocateScenarioSpec;
|
|
@@ -5048,6 +5399,26 @@ declare class SpeechSynthesizeResult$Type extends MessageType<SpeechSynthesizeRe
|
|
|
5048
5399
|
* @generated MessageType for protobuf message nimi.runtime.v1.SpeechSynthesizeResult
|
|
5049
5400
|
*/
|
|
5050
5401
|
export declare const SpeechSynthesizeResult: SpeechSynthesizeResult$Type;
|
|
5402
|
+
declare class SpeechTranscriptWord$Type extends MessageType<SpeechTranscriptWord> {
|
|
5403
|
+
constructor();
|
|
5404
|
+
create(value?: PartialMessage<SpeechTranscriptWord>): SpeechTranscriptWord;
|
|
5405
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SpeechTranscriptWord): SpeechTranscriptWord;
|
|
5406
|
+
internalBinaryWrite(message: SpeechTranscriptWord, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5407
|
+
}
|
|
5408
|
+
/**
|
|
5409
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SpeechTranscriptWord
|
|
5410
|
+
*/
|
|
5411
|
+
export declare const SpeechTranscriptWord: SpeechTranscriptWord$Type;
|
|
5412
|
+
declare class SpeechTranscript$Type extends MessageType<SpeechTranscript> {
|
|
5413
|
+
constructor();
|
|
5414
|
+
create(value?: PartialMessage<SpeechTranscript>): SpeechTranscript;
|
|
5415
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SpeechTranscript): SpeechTranscript;
|
|
5416
|
+
internalBinaryWrite(message: SpeechTranscript, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5417
|
+
}
|
|
5418
|
+
/**
|
|
5419
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SpeechTranscript
|
|
5420
|
+
*/
|
|
5421
|
+
export declare const SpeechTranscript: SpeechTranscript$Type;
|
|
5051
5422
|
declare class SpeechTranscribeResult$Type extends MessageType<SpeechTranscribeResult> {
|
|
5052
5423
|
constructor();
|
|
5053
5424
|
create(value?: PartialMessage<SpeechTranscribeResult>): SpeechTranscribeResult;
|
|
@@ -5068,6 +5439,16 @@ declare class MusicGenerateResult$Type extends MessageType<MusicGenerateResult>
|
|
|
5068
5439
|
* @generated MessageType for protobuf message nimi.runtime.v1.MusicGenerateResult
|
|
5069
5440
|
*/
|
|
5070
5441
|
export declare const MusicGenerateResult: MusicGenerateResult$Type;
|
|
5442
|
+
declare class AudioSeparateResult$Type extends MessageType<AudioSeparateResult> {
|
|
5443
|
+
constructor();
|
|
5444
|
+
create(value?: PartialMessage<AudioSeparateResult>): AudioSeparateResult;
|
|
5445
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AudioSeparateResult): AudioSeparateResult;
|
|
5446
|
+
internalBinaryWrite(message: AudioSeparateResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5447
|
+
}
|
|
5448
|
+
/**
|
|
5449
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AudioSeparateResult
|
|
5450
|
+
*/
|
|
5451
|
+
export declare const AudioSeparateResult: AudioSeparateResult$Type;
|
|
5071
5452
|
declare class WorldGenerateSemanticsMetadata$Type extends MessageType<WorldGenerateSemanticsMetadata> {
|
|
5072
5453
|
constructor();
|
|
5073
5454
|
create(value?: PartialMessage<WorldGenerateSemanticsMetadata>): WorldGenerateSemanticsMetadata;
|