@nimiplatform/sdk 0.10.0 → 0.12.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.
Files changed (108) hide show
  1. package/dist/core/ai/index.d.ts +1 -0
  2. package/dist/core/ai/index.d.ts.map +1 -1
  3. package/dist/core/ai/index.js +1 -0
  4. package/dist/core/ai/index.js.map +1 -1
  5. package/dist/core/ai/local-app-model.d.ts +8 -0
  6. package/dist/core/ai/local-app-model.d.ts.map +1 -0
  7. package/dist/core/ai/local-app-model.js +117 -0
  8. package/dist/core/ai/local-app-model.js.map +1 -0
  9. package/dist/core/app/index.d.ts +8 -1
  10. package/dist/core/app/index.d.ts.map +1 -1
  11. package/dist/core/app/index.js +5 -0
  12. package/dist/core/app/index.js.map +1 -1
  13. package/dist/core/app/local-app-runtime-platform-ai.d.ts +52 -7
  14. package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
  15. package/dist/core/app/local-app-runtime-platform-ai.js +178 -86
  16. package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
  17. package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.d.ts +1 -1
  18. package/dist/core/app/local-app-runtime-platform-validation.d.ts +1 -1
  19. package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
  20. package/dist/core/app/local-app-runtime-platform-validation.js +4 -4
  21. package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
  22. package/dist/core/app/local-app-runtime-platform-video.d.ts +58 -0
  23. package/dist/core/app/local-app-runtime-platform-video.d.ts.map +1 -0
  24. package/dist/core/app/local-app-runtime-platform-video.js +155 -0
  25. package/dist/core/app/local-app-runtime-platform-video.js.map +1 -0
  26. package/dist/core/app/local-app-runtime-platform-world-creator.d.ts +50 -0
  27. package/dist/core/app/local-app-runtime-platform-world-creator.d.ts.map +1 -0
  28. package/dist/core/app/local-app-runtime-platform-world-creator.js +246 -0
  29. package/dist/core/app/local-app-runtime-platform-world-creator.js.map +1 -0
  30. package/dist/core/app/local-app-runtime-platform.d.ts +9 -10
  31. package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
  32. package/dist/core/app/local-app-runtime-platform.js +8 -3
  33. package/dist/core/app/local-app-runtime-platform.js.map +1 -1
  34. package/dist/core/app/local-app-text.d.ts +51 -0
  35. package/dist/core/app/local-app-text.d.ts.map +1 -0
  36. package/dist/core/app/local-app-text.js +228 -0
  37. package/dist/core/app/local-app-text.js.map +1 -0
  38. package/dist/core-generated/realm-client.js +6 -6
  39. package/dist/core-generated/realm-client.js.map +1 -1
  40. package/dist/core-generated/realm-typed-client.d.ts +12 -12
  41. package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
  42. package/dist/core-generated/realm-typed-client.js +13 -13
  43. package/dist/core-generated/realm-typed-client.js.map +1 -1
  44. package/dist/core-generated/runtime-client.d.ts.map +1 -1
  45. package/dist/core-generated/runtime-client.js +96 -0
  46. package/dist/core-generated/runtime-client.js.map +1 -1
  47. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +725 -6
  48. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
  49. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +1758 -261
  50. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
  51. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +579 -1
  52. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
  53. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +1306 -37
  54. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
  55. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +37 -1
  56. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
  57. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +36 -0
  58. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
  59. package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
  60. package/dist/core-generated/runtime-public-client.js +96 -0
  61. package/dist/core-generated/runtime-public-client.js.map +1 -1
  62. package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
  63. package/dist/core-generated/runtime-public-rpc-auth-posture.js +12 -0
  64. package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
  65. package/dist/core-generated/runtime-public-wire-codecs.d.ts +14 -2
  66. package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
  67. package/dist/core-generated/runtime-public-wire-codecs.js +14 -2
  68. package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
  69. package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
  70. package/dist/core-generated/runtime-rpc-auth-posture.js +12 -0
  71. package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
  72. package/dist/core-generated/runtime-typed-client.d.ts +17 -5
  73. package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
  74. package/dist/core-generated/runtime-typed-client.js +121 -1
  75. package/dist/core-generated/runtime-typed-client.js.map +1 -1
  76. package/dist/core-generated/runtime-wire-codecs.d.ts +14 -2
  77. package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
  78. package/dist/core-generated/runtime-wire-codecs.js +14 -2
  79. package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
  80. package/dist/realm/index.d.ts +1 -1
  81. package/dist/realm/index.d.ts.map +1 -1
  82. package/dist/realm/index.js +1 -1
  83. package/dist/realm/index.js.map +1 -1
  84. package/dist/runtime/desktop-first-party-runtime.d.ts +1 -1
  85. package/dist/runtime/desktop-first-party-runtime.d.ts.map +1 -1
  86. package/dist/runtime/desktop-first-party-runtime.js +8 -0
  87. package/dist/runtime/desktop-first-party-runtime.js.map +1 -1
  88. package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +67 -3
  89. package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
  90. package/dist/runtime/first-party-protected-runtime-profiles.generated.js +19 -3
  91. package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
  92. package/dist/runtime/wire-types/ai-scenario-enums.d.ts +12 -1
  93. package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
  94. package/dist/runtime/wire-types/ai-scenario-enums.js +13 -0
  95. package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
  96. package/dist/runtime/wire-types/ai-scenario-types.d.ts +2 -2
  97. package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
  98. package/dist/runtime/wire-types/identity-app-enums.d.ts +2 -1
  99. package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
  100. package/dist/runtime/wire-types/identity-app-enums.js +1 -0
  101. package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
  102. package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
  103. package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
  104. package/dist/runtime/wire-types/reason-code-enums.d.ts +10 -1
  105. package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
  106. package/dist/runtime/wire-types/reason-code-enums.js +9 -0
  107. package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
  108. package/package.json +1 -1
@@ -9,9 +9,9 @@ import { VoiceOutputMode } from "./voice.js";
9
9
  import { VoiceCreationSource } from "./voice.js";
10
10
  import { VoiceAssetStatus } from "./voice.js";
11
11
  import { Timestamp } from "../../google/protobuf/timestamp.js";
12
- import { ReasonCode } from "./common.js";
13
12
  import { LoadoutEffectiveInputIdentity } from "./capability_configuration.js";
14
13
  import { UsageStats } from "./common.js";
14
+ import { ReasonCode } from "./common.js";
15
15
  import { VoiceT2VInput } from "./voice.js";
16
16
  import { VoiceV2VInput } from "./voice.js";
17
17
  import { VoiceReference } from "./voice.js";
@@ -969,6 +969,294 @@ export interface WorldGenerateScenarioSpec {
969
969
  oneofKind: undefined;
970
970
  };
971
971
  }
972
+ /**
973
+ * Both artifacts belong to the current protected App caller.
974
+ *
975
+ * @generated from protobuf message nimi.runtime.v1.ImageFaceSwapScenarioSpec
976
+ */
977
+ export interface ImageFaceSwapScenarioSpec {
978
+ /**
979
+ * @generated from protobuf field: string reference_image_artifact_id = 1
980
+ */
981
+ referenceImageArtifactId: string;
982
+ /**
983
+ * @generated from protobuf field: string target_image_artifact_id = 2
984
+ */
985
+ targetImageArtifactId: string;
986
+ }
987
+ /**
988
+ * @generated from protobuf message nimi.runtime.v1.AiVideoSessionFormat
989
+ */
990
+ export interface AiVideoSessionFormat {
991
+ /**
992
+ * @generated from protobuf field: uint32 width = 1
993
+ */
994
+ width: number;
995
+ /**
996
+ * @generated from protobuf field: uint32 height = 2
997
+ */
998
+ height: number;
999
+ /**
1000
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoPixelFormat pixel_format = 3
1001
+ */
1002
+ pixelFormat: AiVideoPixelFormat;
1003
+ }
1004
+ /**
1005
+ * @generated from protobuf message nimi.runtime.v1.OpenVideoSessionRequest
1006
+ */
1007
+ export interface OpenVideoSessionRequest {
1008
+ /**
1009
+ * @generated from protobuf field: string reference_image_artifact_id = 1
1010
+ */
1011
+ referenceImageArtifactId: string;
1012
+ /**
1013
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoSessionFormat format = 2
1014
+ */
1015
+ format?: AiVideoSessionFormat;
1016
+ }
1017
+ /**
1018
+ * @generated from protobuf message nimi.runtime.v1.OpenVideoSessionResponse
1019
+ */
1020
+ export interface OpenVideoSessionResponse {
1021
+ /**
1022
+ * @generated from protobuf field: string video_session_id = 1
1023
+ */
1024
+ videoSessionId: string;
1025
+ /**
1026
+ * @generated from protobuf field: uint64 generation = 2
1027
+ */
1028
+ generation: string;
1029
+ /**
1030
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoSessionFormat format = 3
1031
+ */
1032
+ format?: AiVideoSessionFormat;
1033
+ /**
1034
+ * @generated from protobuf field: uint32 maximum_in_flight_submissions = 4
1035
+ */
1036
+ maximumInFlightSubmissions: number;
1037
+ }
1038
+ /**
1039
+ * @generated from protobuf message nimi.runtime.v1.SubmitVideoSessionFrameRequest
1040
+ */
1041
+ export interface SubmitVideoSessionFrameRequest {
1042
+ /**
1043
+ * @generated from protobuf field: string video_session_id = 1
1044
+ */
1045
+ videoSessionId: string;
1046
+ /**
1047
+ * @generated from protobuf field: uint64 generation = 2
1048
+ */
1049
+ generation: string;
1050
+ /**
1051
+ * @generated from protobuf field: uint64 sequence = 3
1052
+ */
1053
+ sequence: string;
1054
+ /**
1055
+ * @generated from protobuf field: uint64 timestamp_us = 4
1056
+ */
1057
+ timestampUs: string;
1058
+ /**
1059
+ * @generated from protobuf field: bytes frame = 5
1060
+ */
1061
+ frame: Uint8Array;
1062
+ }
1063
+ /**
1064
+ * @generated from protobuf message nimi.runtime.v1.SubmitVideoSessionFrameResponse
1065
+ */
1066
+ export interface SubmitVideoSessionFrameResponse {
1067
+ /**
1068
+ * @generated from protobuf field: bool accepted = 1
1069
+ */
1070
+ accepted: boolean;
1071
+ /**
1072
+ * @generated from protobuf field: uint64 sequence = 2
1073
+ */
1074
+ sequence: string;
1075
+ }
1076
+ /**
1077
+ * @generated from protobuf message nimi.runtime.v1.ReadVideoSessionResultRequest
1078
+ */
1079
+ export interface ReadVideoSessionResultRequest {
1080
+ /**
1081
+ * @generated from protobuf field: string video_session_id = 1
1082
+ */
1083
+ videoSessionId: string;
1084
+ /**
1085
+ * @generated from protobuf field: uint64 generation = 2
1086
+ */
1087
+ generation: string;
1088
+ }
1089
+ /**
1090
+ * @generated from protobuf message nimi.runtime.v1.AiVideoTransformedFrame
1091
+ */
1092
+ export interface AiVideoTransformedFrame {
1093
+ /**
1094
+ * @generated from protobuf field: uint64 sequence = 1
1095
+ */
1096
+ sequence: string;
1097
+ /**
1098
+ * @generated from protobuf field: uint64 timestamp_us = 2
1099
+ */
1100
+ timestampUs: string;
1101
+ /**
1102
+ * @generated from protobuf field: bytes frame = 3
1103
+ */
1104
+ frame: Uint8Array;
1105
+ }
1106
+ /**
1107
+ * @generated from protobuf message nimi.runtime.v1.AiVideoFrameDisposition
1108
+ */
1109
+ export interface AiVideoFrameDisposition {
1110
+ /**
1111
+ * @generated from protobuf field: uint64 sequence = 1
1112
+ */
1113
+ sequence: string;
1114
+ /**
1115
+ * @generated from protobuf field: uint64 timestamp_us = 2
1116
+ */
1117
+ timestampUs: string;
1118
+ /**
1119
+ * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 3
1120
+ */
1121
+ reasonCode: ReasonCode;
1122
+ }
1123
+ /**
1124
+ * @generated from protobuf message nimi.runtime.v1.AiVideoSessionTerminal
1125
+ */
1126
+ export interface AiVideoSessionTerminal {
1127
+ /**
1128
+ * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 1
1129
+ */
1130
+ reasonCode: ReasonCode;
1131
+ }
1132
+ /**
1133
+ * @generated from protobuf message nimi.runtime.v1.AiVideoSessionResult
1134
+ */
1135
+ export interface AiVideoSessionResult {
1136
+ /**
1137
+ * @generated from protobuf field: string video_session_id = 1
1138
+ */
1139
+ videoSessionId: string;
1140
+ /**
1141
+ * @generated from protobuf field: uint64 generation = 2
1142
+ */
1143
+ generation: string;
1144
+ /**
1145
+ * @generated from protobuf oneof: result
1146
+ */
1147
+ result: {
1148
+ oneofKind: "transformed";
1149
+ /**
1150
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoTransformedFrame transformed = 3
1151
+ */
1152
+ transformed: AiVideoTransformedFrame;
1153
+ } | {
1154
+ oneofKind: "noTargetFace";
1155
+ /**
1156
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoFrameDisposition no_target_face = 4
1157
+ */
1158
+ noTargetFace: AiVideoFrameDisposition;
1159
+ } | {
1160
+ oneofKind: "inputDropped";
1161
+ /**
1162
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoFrameDisposition input_dropped = 5
1163
+ */
1164
+ inputDropped: AiVideoFrameDisposition;
1165
+ } | {
1166
+ oneofKind: "inputRejected";
1167
+ /**
1168
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoFrameDisposition input_rejected = 6
1169
+ */
1170
+ inputRejected: AiVideoFrameDisposition;
1171
+ } | {
1172
+ oneofKind: "sessionTerminal";
1173
+ /**
1174
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoSessionTerminal session_terminal = 7
1175
+ */
1176
+ sessionTerminal: AiVideoSessionTerminal;
1177
+ } | {
1178
+ oneofKind: undefined;
1179
+ };
1180
+ }
1181
+ /**
1182
+ * @generated from protobuf message nimi.runtime.v1.ReadVideoSessionResultResponse
1183
+ */
1184
+ export interface ReadVideoSessionResultResponse {
1185
+ /**
1186
+ * Absent means the bounded poll has no result yet.
1187
+ *
1188
+ * @generated from protobuf field: nimi.runtime.v1.AiVideoSessionResult result = 1
1189
+ */
1190
+ result?: AiVideoSessionResult;
1191
+ }
1192
+ /**
1193
+ * @generated from protobuf message nimi.runtime.v1.CloseVideoSessionRequest
1194
+ */
1195
+ export interface CloseVideoSessionRequest {
1196
+ /**
1197
+ * @generated from protobuf field: string video_session_id = 1
1198
+ */
1199
+ videoSessionId: string;
1200
+ /**
1201
+ * @generated from protobuf field: uint64 generation = 2
1202
+ */
1203
+ generation: string;
1204
+ }
1205
+ /**
1206
+ * @generated from protobuf message nimi.runtime.v1.CloseVideoSessionResponse
1207
+ */
1208
+ export interface CloseVideoSessionResponse {
1209
+ /**
1210
+ * @generated from protobuf field: bool closed = 1
1211
+ */
1212
+ closed: boolean;
1213
+ }
1214
+ /**
1215
+ * @generated from protobuf message nimi.runtime.v1.VideoFaceSwapScenarioSpec
1216
+ */
1217
+ export interface VideoFaceSwapScenarioSpec {
1218
+ /**
1219
+ * @generated from protobuf field: string reference_image_artifact_id = 1
1220
+ */
1221
+ referenceImageArtifactId: string;
1222
+ /**
1223
+ * @generated from protobuf field: string target_video_artifact_id = 2
1224
+ */
1225
+ targetVideoArtifactId: string;
1226
+ /**
1227
+ * @generated from protobuf field: nimi.runtime.v1.FaceSwapNoFacePolicy no_face_policy = 3
1228
+ */
1229
+ noFacePolicy: FaceSwapNoFacePolicy;
1230
+ }
1231
+ /**
1232
+ * @generated from protobuf message nimi.runtime.v1.VideoFaceSwapSummary
1233
+ */
1234
+ export interface VideoFaceSwapSummary {
1235
+ /**
1236
+ * @generated from protobuf field: uint32 total_frames = 1
1237
+ */
1238
+ totalFrames: number;
1239
+ /**
1240
+ * @generated from protobuf field: uint32 transformed_frames = 2
1241
+ */
1242
+ transformedFrames: number;
1243
+ /**
1244
+ * @generated from protobuf field: uint32 preserved_frames = 3
1245
+ */
1246
+ preservedFrames: number;
1247
+ /**
1248
+ * @generated from protobuf field: uint64 duration_us = 4
1249
+ */
1250
+ durationUs: string;
1251
+ /**
1252
+ * @generated from protobuf field: uint32 frame_rate = 5
1253
+ */
1254
+ frameRate: number;
1255
+ /**
1256
+ * @generated from protobuf field: bool audio_preserved = 6
1257
+ */
1258
+ audioPreserved: boolean;
1259
+ }
972
1260
  /**
973
1261
  * @generated from protobuf message nimi.runtime.v1.VisionLocateScenarioSpec
974
1262
  */
@@ -1138,6 +1426,18 @@ export interface ScenarioSpec {
1138
1426
  * @generated from protobuf field: nimi.runtime.v1.VisionLocateScenarioSpec vision_locate = 12
1139
1427
  */
1140
1428
  visionLocate: VisionLocateScenarioSpec;
1429
+ } | {
1430
+ oneofKind: "imageFaceSwap";
1431
+ /**
1432
+ * @generated from protobuf field: nimi.runtime.v1.ImageFaceSwapScenarioSpec image_face_swap = 13
1433
+ */
1434
+ imageFaceSwap: ImageFaceSwapScenarioSpec;
1435
+ } | {
1436
+ oneofKind: "videoFaceSwap";
1437
+ /**
1438
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapScenarioSpec video_face_swap = 14
1439
+ */
1440
+ videoFaceSwap: VideoFaceSwapScenarioSpec;
1141
1441
  } | {
1142
1442
  oneofKind: undefined;
1143
1443
  };
@@ -1220,6 +1520,13 @@ export interface TextEmbedOutput {
1220
1520
  * @generated from protobuf field: repeated nimi.runtime.v1.EmbeddingVector vectors = 1
1221
1521
  */
1222
1522
  vectors: EmbeddingVector[];
1523
+ /**
1524
+ * Opaque compatibility identity of the captured embedding semantics.
1525
+ * Compare actual result values before combining vectors or reusing an index.
1526
+ *
1527
+ * @generated from protobuf field: string space_id = 2
1528
+ */
1529
+ spaceId: string;
1223
1530
  }
1224
1531
  /**
1225
1532
  * @generated from protobuf message nimi.runtime.v1.ImageGenerateResult
@@ -1230,6 +1537,28 @@ export interface ImageGenerateResult {
1230
1537
  */
1231
1538
  artifacts: ScenarioArtifact[];
1232
1539
  }
1540
+ /**
1541
+ * @generated from protobuf message nimi.runtime.v1.ImageFaceSwapResult
1542
+ */
1543
+ export interface ImageFaceSwapResult {
1544
+ /**
1545
+ * @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 1
1546
+ */
1547
+ artifacts: ScenarioArtifact[];
1548
+ }
1549
+ /**
1550
+ * @generated from protobuf message nimi.runtime.v1.VideoFaceSwapResult
1551
+ */
1552
+ export interface VideoFaceSwapResult {
1553
+ /**
1554
+ * @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 1
1555
+ */
1556
+ artifacts: ScenarioArtifact[];
1557
+ /**
1558
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary summary = 2
1559
+ */
1560
+ summary?: VideoFaceSwapSummary;
1561
+ }
1233
1562
  /**
1234
1563
  * @generated from protobuf message nimi.runtime.v1.VideoGenerateResult
1235
1564
  */
@@ -1385,6 +1714,18 @@ export interface ScenarioOutput {
1385
1714
  * @generated from protobuf field: nimi.runtime.v1.WorldGenerateResult world_generate = 8
1386
1715
  */
1387
1716
  worldGenerate: WorldGenerateResult;
1717
+ } | {
1718
+ oneofKind: "imageFaceSwap";
1719
+ /**
1720
+ * @generated from protobuf field: nimi.runtime.v1.ImageFaceSwapResult image_face_swap = 9
1721
+ */
1722
+ imageFaceSwap: ImageFaceSwapResult;
1723
+ } | {
1724
+ oneofKind: "videoFaceSwap";
1725
+ /**
1726
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapResult video_face_swap = 10
1727
+ */
1728
+ videoFaceSwap: VideoFaceSwapResult;
1388
1729
  } | {
1389
1730
  oneofKind: undefined;
1390
1731
  };
@@ -1444,6 +1785,13 @@ export interface LocalAppTextCandidateMessage {
1444
1785
  * @generated from protobuf field: string text = 2
1445
1786
  */
1446
1787
  text: string;
1788
+ /**
1789
+ * Ordered assistant transcript is admitted only by text-turn and the
1790
+ * text.generate execute variant. The narrow candidate operation rejects it.
1791
+ *
1792
+ * @generated from protobuf field: repeated nimi.runtime.v1.TextTurnItem turn_items = 3
1793
+ */
1794
+ turnItems: TextTurnItem[];
1447
1795
  }
1448
1796
  /**
1449
1797
  * @generated from protobuf message nimi.runtime.v1.GenerateLocalAppTextCandidateRequest
@@ -1486,7 +1834,7 @@ export interface GenerateLocalAppTextCandidateResponse {
1486
1834
  /**
1487
1835
  * Trimmed artifact projection for Local App scenario outputs. Runtime-private
1488
1836
  * uri, producer, and owner fields are never projected; oversized payloads are
1489
- * reachable only through ReadLocalAppArtifact.
1837
+ * retrieved through owned artifact adoption and App asset streaming.
1490
1838
  *
1491
1839
  * @generated from protobuf message nimi.runtime.v1.LocalAppScenarioArtifact
1492
1840
  */
@@ -1630,6 +1978,14 @@ export interface ExecuteLocalAppScenarioRequest {
1630
1978
  * @generated from protobuf field: nimi.runtime.v1.LocalAppImageGenerateScenarioSpec image_generate = 2
1631
1979
  */
1632
1980
  imageGenerate: LocalAppImageGenerateScenarioSpec;
1981
+ } | {
1982
+ oneofKind: "textGenerate";
1983
+ /**
1984
+ * Reuse the single text-turn input for synchronous text generation.
1985
+ *
1986
+ * @generated from protobuf field: nimi.runtime.v1.StreamLocalAppTextTurnRequest text_generate = 3
1987
+ */
1988
+ textGenerate: StreamLocalAppTextTurnRequest;
1633
1989
  } | {
1634
1990
  oneofKind: undefined;
1635
1991
  };
@@ -1642,6 +1998,10 @@ export interface LocalAppTextEmbedOutput {
1642
1998
  * @generated from protobuf field: repeated nimi.runtime.v1.EmbeddingVector vectors = 1
1643
1999
  */
1644
2000
  vectors: EmbeddingVector[];
2001
+ /**
2002
+ * @generated from protobuf field: string space_id = 2
2003
+ */
2004
+ spaceId: string;
1645
2005
  }
1646
2006
  /**
1647
2007
  * @generated from protobuf message nimi.runtime.v1.LocalAppImageGenerateOutput
@@ -1652,6 +2012,21 @@ export interface LocalAppImageGenerateOutput {
1652
2012
  */
1653
2013
  artifacts: LocalAppScenarioArtifact[];
1654
2014
  }
2015
+ /**
2016
+ * @generated from protobuf message nimi.runtime.v1.LocalAppTextGenerateOutput
2017
+ */
2018
+ export interface LocalAppTextGenerateOutput {
2019
+ /**
2020
+ * Only text and function ToolCall items are admitted at this App boundary.
2021
+ *
2022
+ * @generated from protobuf field: repeated nimi.runtime.v1.TextOutputItem items = 1
2023
+ */
2024
+ items: TextOutputItem[];
2025
+ /**
2026
+ * @generated from protobuf field: nimi.runtime.v1.FinishReason finish_reason = 2
2027
+ */
2028
+ finishReason: FinishReason;
2029
+ }
1655
2030
  /**
1656
2031
  * @generated from protobuf message nimi.runtime.v1.ExecuteLocalAppScenarioResponse
1657
2032
  */
@@ -1671,6 +2046,12 @@ export interface ExecuteLocalAppScenarioResponse {
1671
2046
  * @generated from protobuf field: nimi.runtime.v1.LocalAppImageGenerateOutput image_generate = 2
1672
2047
  */
1673
2048
  imageGenerate: LocalAppImageGenerateOutput;
2049
+ } | {
2050
+ oneofKind: "textGenerate";
2051
+ /**
2052
+ * @generated from protobuf field: nimi.runtime.v1.LocalAppTextGenerateOutput text_generate = 4
2053
+ */
2054
+ textGenerate: LocalAppTextGenerateOutput;
1674
2055
  } | {
1675
2056
  oneofKind: undefined;
1676
2057
  };
@@ -1882,6 +2263,12 @@ export interface LocalAppMusicGenerateJobSpec {
1882
2263
  * @generated from protobuf field: string lyrics = 2
1883
2264
  */
1884
2265
  lyrics: string;
2266
+ /**
2267
+ * Generation budget, not a guaranteed output length. Zero uses Runtime defaults.
2268
+ *
2269
+ * @generated from protobuf field: uint32 duration_seconds = 3
2270
+ */
2271
+ durationSeconds: number;
1885
2272
  }
1886
2273
  /**
1887
2274
  * Text-conditioned world generation. Provider selection and asset retrieval
@@ -1954,6 +2341,18 @@ export interface SubmitLocalAppScenarioJobRequest {
1954
2341
  * @generated from protobuf field: nimi.runtime.v1.VisionLocateScenarioSpec vision_locate = 11
1955
2342
  */
1956
2343
  visionLocate: VisionLocateScenarioSpec;
2344
+ } | {
2345
+ oneofKind: "imageFaceSwap";
2346
+ /**
2347
+ * @generated from protobuf field: nimi.runtime.v1.ImageFaceSwapScenarioSpec image_face_swap = 12
2348
+ */
2349
+ imageFaceSwap: ImageFaceSwapScenarioSpec;
2350
+ } | {
2351
+ oneofKind: "videoFaceSwap";
2352
+ /**
2353
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapScenarioSpec video_face_swap = 13
2354
+ */
2355
+ videoFaceSwap: VideoFaceSwapScenarioSpec;
1957
2356
  } | {
1958
2357
  oneofKind: undefined;
1959
2358
  };
@@ -2035,6 +2434,12 @@ export interface LocalAppScenarioJob {
2035
2434
  * @generated from protobuf field: nimi.runtime.v1.ExecutionInterruption interruption = 14
2036
2435
  */
2037
2436
  interruption?: ExecutionInterruption;
2437
+ /**
2438
+ * Present only for a completed VIDEO_FACE_SWAP Job.
2439
+ *
2440
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 15
2441
+ */
2442
+ videoFaceSwapSummary?: VideoFaceSwapSummary;
2038
2443
  }
2039
2444
  /**
2040
2445
  * Trimmed voice asset catalog projection. Provider, model, provider voice
@@ -2169,9 +2574,9 @@ export interface LocalAppScenarioJobEvent {
2169
2574
  job?: LocalAppScenarioJob;
2170
2575
  }
2171
2576
  /**
2172
- * Streaming TEXT_GENERATE trimmed surface: typed text increments and terminal
2173
- * finish or failure state only. Raw chunks, reasoning traces, sources, and
2174
- * tool events never reach the Local App stream.
2577
+ * Single-step TEXT_GENERATE App surface. Function tools, ordered host-provided
2578
+ * results and structured output reuse canonical text behavior. The external
2579
+ * AI host owns tool execution and the next request; Runtime owns no agent loop.
2175
2580
  *
2176
2581
  * @generated from protobuf message nimi.runtime.v1.StreamLocalAppTextTurnRequest
2177
2582
  */
@@ -2212,6 +2617,22 @@ export interface StreamLocalAppTextTurnRequest {
2212
2617
  * @generated from protobuf field: optional int64 seed = 9
2213
2618
  */
2214
2619
  seed?: string;
2620
+ /**
2621
+ * @generated from protobuf field: repeated nimi.runtime.v1.ToolSpec tools = 10
2622
+ */
2623
+ tools: ToolSpec[];
2624
+ /**
2625
+ * @generated from protobuf field: nimi.runtime.v1.ToolChoiceMode tool_choice = 11
2626
+ */
2627
+ toolChoice: ToolChoiceMode;
2628
+ /**
2629
+ * @generated from protobuf field: string tool_choice_name = 12
2630
+ */
2631
+ toolChoiceName: string;
2632
+ /**
2633
+ * @generated from protobuf field: nimi.runtime.v1.ResponseFormat response_format = 13
2634
+ */
2635
+ responseFormat?: ResponseFormat;
2215
2636
  }
2216
2637
  /**
2217
2638
  * @generated from protobuf message nimi.runtime.v1.LocalAppTextTurnDelta
@@ -2221,6 +2642,38 @@ export interface LocalAppTextTurnDelta {
2221
2642
  * @generated from protobuf field: string text = 1
2222
2643
  */
2223
2644
  text: string;
2645
+ /**
2646
+ * @generated from protobuf field: uint32 item_index = 2
2647
+ */
2648
+ itemIndex: number;
2649
+ }
2650
+ /**
2651
+ * @generated from protobuf message nimi.runtime.v1.LocalAppTextTurnToolCall
2652
+ */
2653
+ export interface LocalAppTextTurnToolCall {
2654
+ /**
2655
+ * @generated from protobuf field: uint32 item_index = 1
2656
+ */
2657
+ itemIndex: number;
2658
+ /**
2659
+ * @generated from protobuf field: nimi.runtime.v1.ToolCall tool_call = 2
2660
+ */
2661
+ toolCall?: ToolCall;
2662
+ }
2663
+ /**
2664
+ * Opaque transcript continuity, never raw reasoning or a reasoning control.
2665
+ *
2666
+ * @generated from protobuf message nimi.runtime.v1.LocalAppTextTurnContinuity
2667
+ */
2668
+ export interface LocalAppTextTurnContinuity {
2669
+ /**
2670
+ * @generated from protobuf field: uint32 item_index = 1
2671
+ */
2672
+ itemIndex: number;
2673
+ /**
2674
+ * @generated from protobuf field: nimi.runtime.v1.ReasoningContinuityCarrier carrier = 2
2675
+ */
2676
+ carrier?: ReasoningContinuityCarrier;
2224
2677
  }
2225
2678
  /**
2226
2679
  * @generated from protobuf message nimi.runtime.v1.LocalAppTextTurnCompleted
@@ -2281,6 +2734,18 @@ export interface StreamLocalAppTextTurnEvent {
2281
2734
  * @generated from protobuf field: nimi.runtime.v1.LocalAppTextTurnFailed failed = 5
2282
2735
  */
2283
2736
  failed: LocalAppTextTurnFailed;
2737
+ } | {
2738
+ oneofKind: "toolCall";
2739
+ /**
2740
+ * @generated from protobuf field: nimi.runtime.v1.LocalAppTextTurnToolCall tool_call = 6
2741
+ */
2742
+ toolCall: LocalAppTextTurnToolCall;
2743
+ } | {
2744
+ oneofKind: "reasoningContinuity";
2745
+ /**
2746
+ * @generated from protobuf field: nimi.runtime.v1.LocalAppTextTurnContinuity reasoning_continuity = 7
2747
+ */
2748
+ reasoningContinuity: LocalAppTextTurnContinuity;
2284
2749
  } | {
2285
2750
  oneofKind: undefined;
2286
2751
  };
@@ -2756,6 +3221,12 @@ export interface ScenarioJob {
2756
3221
  * @generated from protobuf field: nimi.runtime.v1.ExecutionInterruption interruption = 25
2757
3222
  */
2758
3223
  interruption?: ExecutionInterruption;
3224
+ /**
3225
+ * Immutable per-frame outcome counts captured with the completed artifact.
3226
+ *
3227
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 26
3228
+ */
3229
+ videoFaceSwapSummary?: VideoFaceSwapSummary;
2759
3230
  }
2760
3231
  /**
2761
3232
  * @generated from protobuf message nimi.runtime.v1.SubmitScenarioJobRequest
@@ -3383,7 +3854,15 @@ export declare enum ScenarioType {
3383
3854
  /**
3384
3855
  * @generated from protobuf enum value: SCENARIO_TYPE_VISION_LOCATE = 12;
3385
3856
  */
3386
- VISION_LOCATE = 12
3857
+ VISION_LOCATE = 12,
3858
+ /**
3859
+ * @generated from protobuf enum value: SCENARIO_TYPE_IMAGE_FACE_SWAP = 13;
3860
+ */
3861
+ IMAGE_FACE_SWAP = 13,
3862
+ /**
3863
+ * @generated from protobuf enum value: SCENARIO_TYPE_VIDEO_FACE_SWAP = 14;
3864
+ */
3865
+ VIDEO_FACE_SWAP = 14
3387
3866
  }
3388
3867
  /**
3389
3868
  * @generated from protobuf enum nimi.runtime.v1.ExecutionMode
@@ -3785,6 +4264,36 @@ export declare enum VisionLocateGeometry {
3785
4264
  */
3786
4265
  POINT = 2
3787
4266
  }
4267
+ /**
4268
+ * @generated from protobuf enum nimi.runtime.v1.FaceSwapNoFacePolicy
4269
+ */
4270
+ export declare enum FaceSwapNoFacePolicy {
4271
+ /**
4272
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_UNSPECIFIED = 0;
4273
+ */
4274
+ UNSPECIFIED = 0,
4275
+ /**
4276
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_FAIL = 1;
4277
+ */
4278
+ FAIL = 1,
4279
+ /**
4280
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_PRESERVE_FRAME = 2;
4281
+ */
4282
+ PRESERVE_FRAME = 2
4283
+ }
4284
+ /**
4285
+ * @generated from protobuf enum nimi.runtime.v1.AiVideoPixelFormat
4286
+ */
4287
+ export declare enum AiVideoPixelFormat {
4288
+ /**
4289
+ * @generated from protobuf enum value: AI_VIDEO_PIXEL_FORMAT_UNSPECIFIED = 0;
4290
+ */
4291
+ UNSPECIFIED = 0,
4292
+ /**
4293
+ * @generated from protobuf enum value: AI_VIDEO_PIXEL_FORMAT_RGB8 = 1;
4294
+ */
4295
+ RGB8 = 1
4296
+ }
3788
4297
  /**
3789
4298
  * @generated from protobuf enum nimi.runtime.v1.ScenarioJobStatus
3790
4299
  */
@@ -4229,6 +4738,166 @@ declare class WorldGenerateScenarioSpec$Type extends MessageType<WorldGenerateSc
4229
4738
  * @generated MessageType for protobuf message nimi.runtime.v1.WorldGenerateScenarioSpec
4230
4739
  */
4231
4740
  export declare const WorldGenerateScenarioSpec: WorldGenerateScenarioSpec$Type;
4741
+ declare class ImageFaceSwapScenarioSpec$Type extends MessageType<ImageFaceSwapScenarioSpec> {
4742
+ constructor();
4743
+ create(value?: PartialMessage<ImageFaceSwapScenarioSpec>): ImageFaceSwapScenarioSpec;
4744
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageFaceSwapScenarioSpec): ImageFaceSwapScenarioSpec;
4745
+ internalBinaryWrite(message: ImageFaceSwapScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4746
+ }
4747
+ /**
4748
+ * @generated MessageType for protobuf message nimi.runtime.v1.ImageFaceSwapScenarioSpec
4749
+ */
4750
+ export declare const ImageFaceSwapScenarioSpec: ImageFaceSwapScenarioSpec$Type;
4751
+ declare class AiVideoSessionFormat$Type extends MessageType<AiVideoSessionFormat> {
4752
+ constructor();
4753
+ create(value?: PartialMessage<AiVideoSessionFormat>): AiVideoSessionFormat;
4754
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionFormat): AiVideoSessionFormat;
4755
+ internalBinaryWrite(message: AiVideoSessionFormat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4756
+ }
4757
+ /**
4758
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionFormat
4759
+ */
4760
+ export declare const AiVideoSessionFormat: AiVideoSessionFormat$Type;
4761
+ declare class OpenVideoSessionRequest$Type extends MessageType<OpenVideoSessionRequest> {
4762
+ constructor();
4763
+ create(value?: PartialMessage<OpenVideoSessionRequest>): OpenVideoSessionRequest;
4764
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OpenVideoSessionRequest): OpenVideoSessionRequest;
4765
+ internalBinaryWrite(message: OpenVideoSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4766
+ }
4767
+ /**
4768
+ * @generated MessageType for protobuf message nimi.runtime.v1.OpenVideoSessionRequest
4769
+ */
4770
+ export declare const OpenVideoSessionRequest: OpenVideoSessionRequest$Type;
4771
+ declare class OpenVideoSessionResponse$Type extends MessageType<OpenVideoSessionResponse> {
4772
+ constructor();
4773
+ create(value?: PartialMessage<OpenVideoSessionResponse>): OpenVideoSessionResponse;
4774
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OpenVideoSessionResponse): OpenVideoSessionResponse;
4775
+ internalBinaryWrite(message: OpenVideoSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4776
+ }
4777
+ /**
4778
+ * @generated MessageType for protobuf message nimi.runtime.v1.OpenVideoSessionResponse
4779
+ */
4780
+ export declare const OpenVideoSessionResponse: OpenVideoSessionResponse$Type;
4781
+ declare class SubmitVideoSessionFrameRequest$Type extends MessageType<SubmitVideoSessionFrameRequest> {
4782
+ constructor();
4783
+ create(value?: PartialMessage<SubmitVideoSessionFrameRequest>): SubmitVideoSessionFrameRequest;
4784
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitVideoSessionFrameRequest): SubmitVideoSessionFrameRequest;
4785
+ internalBinaryWrite(message: SubmitVideoSessionFrameRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4786
+ }
4787
+ /**
4788
+ * @generated MessageType for protobuf message nimi.runtime.v1.SubmitVideoSessionFrameRequest
4789
+ */
4790
+ export declare const SubmitVideoSessionFrameRequest: SubmitVideoSessionFrameRequest$Type;
4791
+ declare class SubmitVideoSessionFrameResponse$Type extends MessageType<SubmitVideoSessionFrameResponse> {
4792
+ constructor();
4793
+ create(value?: PartialMessage<SubmitVideoSessionFrameResponse>): SubmitVideoSessionFrameResponse;
4794
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitVideoSessionFrameResponse): SubmitVideoSessionFrameResponse;
4795
+ internalBinaryWrite(message: SubmitVideoSessionFrameResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4796
+ }
4797
+ /**
4798
+ * @generated MessageType for protobuf message nimi.runtime.v1.SubmitVideoSessionFrameResponse
4799
+ */
4800
+ export declare const SubmitVideoSessionFrameResponse: SubmitVideoSessionFrameResponse$Type;
4801
+ declare class ReadVideoSessionResultRequest$Type extends MessageType<ReadVideoSessionResultRequest> {
4802
+ constructor();
4803
+ create(value?: PartialMessage<ReadVideoSessionResultRequest>): ReadVideoSessionResultRequest;
4804
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadVideoSessionResultRequest): ReadVideoSessionResultRequest;
4805
+ internalBinaryWrite(message: ReadVideoSessionResultRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4806
+ }
4807
+ /**
4808
+ * @generated MessageType for protobuf message nimi.runtime.v1.ReadVideoSessionResultRequest
4809
+ */
4810
+ export declare const ReadVideoSessionResultRequest: ReadVideoSessionResultRequest$Type;
4811
+ declare class AiVideoTransformedFrame$Type extends MessageType<AiVideoTransformedFrame> {
4812
+ constructor();
4813
+ create(value?: PartialMessage<AiVideoTransformedFrame>): AiVideoTransformedFrame;
4814
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoTransformedFrame): AiVideoTransformedFrame;
4815
+ internalBinaryWrite(message: AiVideoTransformedFrame, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4816
+ }
4817
+ /**
4818
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoTransformedFrame
4819
+ */
4820
+ export declare const AiVideoTransformedFrame: AiVideoTransformedFrame$Type;
4821
+ declare class AiVideoFrameDisposition$Type extends MessageType<AiVideoFrameDisposition> {
4822
+ constructor();
4823
+ create(value?: PartialMessage<AiVideoFrameDisposition>): AiVideoFrameDisposition;
4824
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoFrameDisposition): AiVideoFrameDisposition;
4825
+ internalBinaryWrite(message: AiVideoFrameDisposition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4826
+ }
4827
+ /**
4828
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoFrameDisposition
4829
+ */
4830
+ export declare const AiVideoFrameDisposition: AiVideoFrameDisposition$Type;
4831
+ declare class AiVideoSessionTerminal$Type extends MessageType<AiVideoSessionTerminal> {
4832
+ constructor();
4833
+ create(value?: PartialMessage<AiVideoSessionTerminal>): AiVideoSessionTerminal;
4834
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionTerminal): AiVideoSessionTerminal;
4835
+ internalBinaryWrite(message: AiVideoSessionTerminal, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4836
+ }
4837
+ /**
4838
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionTerminal
4839
+ */
4840
+ export declare const AiVideoSessionTerminal: AiVideoSessionTerminal$Type;
4841
+ declare class AiVideoSessionResult$Type extends MessageType<AiVideoSessionResult> {
4842
+ constructor();
4843
+ create(value?: PartialMessage<AiVideoSessionResult>): AiVideoSessionResult;
4844
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionResult): AiVideoSessionResult;
4845
+ internalBinaryWrite(message: AiVideoSessionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4846
+ }
4847
+ /**
4848
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionResult
4849
+ */
4850
+ export declare const AiVideoSessionResult: AiVideoSessionResult$Type;
4851
+ declare class ReadVideoSessionResultResponse$Type extends MessageType<ReadVideoSessionResultResponse> {
4852
+ constructor();
4853
+ create(value?: PartialMessage<ReadVideoSessionResultResponse>): ReadVideoSessionResultResponse;
4854
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadVideoSessionResultResponse): ReadVideoSessionResultResponse;
4855
+ internalBinaryWrite(message: ReadVideoSessionResultResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4856
+ }
4857
+ /**
4858
+ * @generated MessageType for protobuf message nimi.runtime.v1.ReadVideoSessionResultResponse
4859
+ */
4860
+ export declare const ReadVideoSessionResultResponse: ReadVideoSessionResultResponse$Type;
4861
+ declare class CloseVideoSessionRequest$Type extends MessageType<CloseVideoSessionRequest> {
4862
+ constructor();
4863
+ create(value?: PartialMessage<CloseVideoSessionRequest>): CloseVideoSessionRequest;
4864
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloseVideoSessionRequest): CloseVideoSessionRequest;
4865
+ internalBinaryWrite(message: CloseVideoSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4866
+ }
4867
+ /**
4868
+ * @generated MessageType for protobuf message nimi.runtime.v1.CloseVideoSessionRequest
4869
+ */
4870
+ export declare const CloseVideoSessionRequest: CloseVideoSessionRequest$Type;
4871
+ declare class CloseVideoSessionResponse$Type extends MessageType<CloseVideoSessionResponse> {
4872
+ constructor();
4873
+ create(value?: PartialMessage<CloseVideoSessionResponse>): CloseVideoSessionResponse;
4874
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloseVideoSessionResponse): CloseVideoSessionResponse;
4875
+ internalBinaryWrite(message: CloseVideoSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4876
+ }
4877
+ /**
4878
+ * @generated MessageType for protobuf message nimi.runtime.v1.CloseVideoSessionResponse
4879
+ */
4880
+ export declare const CloseVideoSessionResponse: CloseVideoSessionResponse$Type;
4881
+ declare class VideoFaceSwapScenarioSpec$Type extends MessageType<VideoFaceSwapScenarioSpec> {
4882
+ constructor();
4883
+ create(value?: PartialMessage<VideoFaceSwapScenarioSpec>): VideoFaceSwapScenarioSpec;
4884
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapScenarioSpec): VideoFaceSwapScenarioSpec;
4885
+ internalBinaryWrite(message: VideoFaceSwapScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4886
+ }
4887
+ /**
4888
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapScenarioSpec
4889
+ */
4890
+ export declare const VideoFaceSwapScenarioSpec: VideoFaceSwapScenarioSpec$Type;
4891
+ declare class VideoFaceSwapSummary$Type extends MessageType<VideoFaceSwapSummary> {
4892
+ constructor();
4893
+ create(value?: PartialMessage<VideoFaceSwapSummary>): VideoFaceSwapSummary;
4894
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapSummary): VideoFaceSwapSummary;
4895
+ internalBinaryWrite(message: VideoFaceSwapSummary, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4896
+ }
4897
+ /**
4898
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapSummary
4899
+ */
4900
+ export declare const VideoFaceSwapSummary: VideoFaceSwapSummary$Type;
4232
4901
  declare class VisionLocateScenarioSpec$Type extends MessageType<VisionLocateScenarioSpec> {
4233
4902
  constructor();
4234
4903
  create(value?: PartialMessage<VisionLocateScenarioSpec>): VisionLocateScenarioSpec;
@@ -4339,6 +5008,26 @@ declare class ImageGenerateResult$Type extends MessageType<ImageGenerateResult>
4339
5008
  * @generated MessageType for protobuf message nimi.runtime.v1.ImageGenerateResult
4340
5009
  */
4341
5010
  export declare const ImageGenerateResult: ImageGenerateResult$Type;
5011
+ declare class ImageFaceSwapResult$Type extends MessageType<ImageFaceSwapResult> {
5012
+ constructor();
5013
+ create(value?: PartialMessage<ImageFaceSwapResult>): ImageFaceSwapResult;
5014
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageFaceSwapResult): ImageFaceSwapResult;
5015
+ internalBinaryWrite(message: ImageFaceSwapResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5016
+ }
5017
+ /**
5018
+ * @generated MessageType for protobuf message nimi.runtime.v1.ImageFaceSwapResult
5019
+ */
5020
+ export declare const ImageFaceSwapResult: ImageFaceSwapResult$Type;
5021
+ declare class VideoFaceSwapResult$Type extends MessageType<VideoFaceSwapResult> {
5022
+ constructor();
5023
+ create(value?: PartialMessage<VideoFaceSwapResult>): VideoFaceSwapResult;
5024
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapResult): VideoFaceSwapResult;
5025
+ internalBinaryWrite(message: VideoFaceSwapResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5026
+ }
5027
+ /**
5028
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapResult
5029
+ */
5030
+ export declare const VideoFaceSwapResult: VideoFaceSwapResult$Type;
4342
5031
  declare class VideoGenerateResult$Type extends MessageType<VideoGenerateResult> {
4343
5032
  constructor();
4344
5033
  create(value?: PartialMessage<VideoGenerateResult>): VideoGenerateResult;
@@ -4510,6 +5199,16 @@ declare class LocalAppImageGenerateOutput$Type extends MessageType<LocalAppImage
4510
5199
  * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppImageGenerateOutput
4511
5200
  */
4512
5201
  export declare const LocalAppImageGenerateOutput: LocalAppImageGenerateOutput$Type;
5202
+ declare class LocalAppTextGenerateOutput$Type extends MessageType<LocalAppTextGenerateOutput> {
5203
+ constructor();
5204
+ create(value?: PartialMessage<LocalAppTextGenerateOutput>): LocalAppTextGenerateOutput;
5205
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocalAppTextGenerateOutput): LocalAppTextGenerateOutput;
5206
+ internalBinaryWrite(message: LocalAppTextGenerateOutput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5207
+ }
5208
+ /**
5209
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppTextGenerateOutput
5210
+ */
5211
+ export declare const LocalAppTextGenerateOutput: LocalAppTextGenerateOutput$Type;
4513
5212
  declare class ExecuteLocalAppScenarioResponse$Type extends MessageType<ExecuteLocalAppScenarioResponse> {
4514
5213
  constructor();
4515
5214
  create(value?: PartialMessage<ExecuteLocalAppScenarioResponse>): ExecuteLocalAppScenarioResponse;
@@ -4710,6 +5409,26 @@ declare class LocalAppTextTurnDelta$Type extends MessageType<LocalAppTextTurnDel
4710
5409
  * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppTextTurnDelta
4711
5410
  */
4712
5411
  export declare const LocalAppTextTurnDelta: LocalAppTextTurnDelta$Type;
5412
+ declare class LocalAppTextTurnToolCall$Type extends MessageType<LocalAppTextTurnToolCall> {
5413
+ constructor();
5414
+ create(value?: PartialMessage<LocalAppTextTurnToolCall>): LocalAppTextTurnToolCall;
5415
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocalAppTextTurnToolCall): LocalAppTextTurnToolCall;
5416
+ internalBinaryWrite(message: LocalAppTextTurnToolCall, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5417
+ }
5418
+ /**
5419
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppTextTurnToolCall
5420
+ */
5421
+ export declare const LocalAppTextTurnToolCall: LocalAppTextTurnToolCall$Type;
5422
+ declare class LocalAppTextTurnContinuity$Type extends MessageType<LocalAppTextTurnContinuity> {
5423
+ constructor();
5424
+ create(value?: PartialMessage<LocalAppTextTurnContinuity>): LocalAppTextTurnContinuity;
5425
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocalAppTextTurnContinuity): LocalAppTextTurnContinuity;
5426
+ internalBinaryWrite(message: LocalAppTextTurnContinuity, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5427
+ }
5428
+ /**
5429
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppTextTurnContinuity
5430
+ */
5431
+ export declare const LocalAppTextTurnContinuity: LocalAppTextTurnContinuity$Type;
4713
5432
  declare class LocalAppTextTurnCompleted$Type extends MessageType<LocalAppTextTurnCompleted> {
4714
5433
  constructor();
4715
5434
  create(value?: PartialMessage<LocalAppTextTurnCompleted>): LocalAppTextTurnCompleted;