@nimiplatform/sdk 0.9.1 → 0.11.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 (156) hide show
  1. package/dist/core/ai/profile-authoring.d.ts +1 -1
  2. package/dist/core/ai/profile-authoring.d.ts.map +1 -1
  3. package/dist/core/ai/profile-authoring.js.map +1 -1
  4. package/dist/core/app/index.d.ts +1 -1
  5. package/dist/core/app/index.d.ts.map +1 -1
  6. package/dist/core/app/index.js.map +1 -1
  7. package/dist/core/app/local-app-runtime-platform-ai.d.ts +38 -5
  8. package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
  9. package/dist/core/app/local-app-runtime-platform-ai.js +112 -15
  10. package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
  11. package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.d.ts +1 -1
  12. package/dist/core/app/local-app-runtime-platform-video.d.ts +58 -0
  13. package/dist/core/app/local-app-runtime-platform-video.d.ts.map +1 -0
  14. package/dist/core/app/local-app-runtime-platform-video.js +155 -0
  15. package/dist/core/app/local-app-runtime-platform-video.js.map +1 -0
  16. package/dist/core/app/local-app-runtime-platform-vision.d.ts +32 -0
  17. package/dist/core/app/local-app-runtime-platform-vision.d.ts.map +1 -0
  18. package/dist/core/app/local-app-runtime-platform-vision.js +77 -0
  19. package/dist/core/app/local-app-runtime-platform-vision.js.map +1 -0
  20. package/dist/core/app/local-app-runtime-platform.d.ts +5 -1
  21. package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
  22. package/dist/core/app/local-app-runtime-platform.js +4 -1
  23. package/dist/core/app/local-app-runtime-platform.js.map +1 -1
  24. package/dist/core-generated/runtime-client.d.ts.map +1 -1
  25. package/dist/core-generated/runtime-client.js +136 -8
  26. package/dist/core-generated/runtime-client.js.map +1 -1
  27. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +44 -2
  28. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts.map +1 -1
  29. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js +93 -0
  30. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
  31. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +819 -4
  32. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
  33. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +1766 -83
  34. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
  35. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +501 -8
  36. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
  37. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +1602 -506
  38. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
  39. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts +4 -0
  40. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts.map +1 -1
  41. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js +4 -0
  42. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js.map +1 -1
  43. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +53 -0
  44. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
  45. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +138 -2
  46. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
  47. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +49 -1
  48. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
  49. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +48 -0
  50. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
  51. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +55 -82
  52. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
  53. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +98 -168
  54. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
  55. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_asset_catalog.d.ts +8 -0
  56. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_asset_catalog.d.ts.map +1 -1
  57. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_asset_catalog.js +13 -1
  58. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_asset_catalog.js.map +1 -1
  59. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts +211 -318
  60. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts.map +1 -1
  61. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js +494 -616
  62. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js.map +1 -1
  63. package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
  64. package/dist/core-generated/runtime-public-client.js +136 -8
  65. package/dist/core-generated/runtime-public-client.js.map +1 -1
  66. package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
  67. package/dist/core-generated/runtime-public-rpc-auth-posture.js +17 -1
  68. package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
  69. package/dist/core-generated/runtime-public-wire-codecs.d.ts +22 -5
  70. package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
  71. package/dist/core-generated/runtime-public-wire-codecs.js +22 -5
  72. package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
  73. package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
  74. package/dist/core-generated/runtime-rpc-auth-posture.js +17 -1
  75. package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
  76. package/dist/core-generated/runtime-typed-client.d.ts +30 -13
  77. package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
  78. package/dist/core-generated/runtime-typed-client.js +172 -12
  79. package/dist/core-generated/runtime-typed-client.js.map +1 -1
  80. package/dist/core-generated/runtime-wire-codecs.d.ts +22 -5
  81. package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
  82. package/dist/core-generated/runtime-wire-codecs.js +22 -5
  83. package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
  84. package/dist/runtime/desktop-first-party-runtime.d.ts +3 -3
  85. package/dist/runtime/desktop-first-party-runtime.d.ts.map +1 -1
  86. package/dist/runtime/desktop-first-party-runtime.js +11 -1
  87. package/dist/runtime/desktop-first-party-runtime.js.map +1 -1
  88. package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +77 -5
  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 +22 -4
  91. package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
  92. package/dist/runtime/generated.d.ts +2 -2
  93. package/dist/runtime/generated.d.ts.map +1 -1
  94. package/dist/runtime/generated.js +1 -1
  95. package/dist/runtime/generated.js.map +1 -1
  96. package/dist/runtime/local-asset-vocabulary.d.ts +2 -1
  97. package/dist/runtime/local-asset-vocabulary.d.ts.map +1 -1
  98. package/dist/runtime/local-asset-vocabulary.js +3 -0
  99. package/dist/runtime/local-asset-vocabulary.js.map +1 -1
  100. package/dist/runtime/machine-loadouts.d.ts +13 -0
  101. package/dist/runtime/machine-loadouts.d.ts.map +1 -1
  102. package/dist/runtime/machine-loadouts.js +22 -1
  103. package/dist/runtime/machine-loadouts.js.map +1 -1
  104. package/dist/runtime/runtime-local-environment-client-projections.d.ts +2 -4
  105. package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
  106. package/dist/runtime/runtime-local-environment-client-projections.js +2 -64
  107. package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
  108. package/dist/runtime/runtime-local-environment-client-types.d.ts +29 -50
  109. package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
  110. package/dist/runtime/runtime-local-environment-client.d.ts +1 -1
  111. package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
  112. package/dist/runtime/runtime-local-environment-client.js +72 -23
  113. package/dist/runtime/runtime-local-environment-client.js.map +1 -1
  114. package/dist/runtime/runtime-local-recommendation-types.d.ts +47 -116
  115. package/dist/runtime/runtime-local-recommendation-types.d.ts.map +1 -1
  116. package/dist/runtime/runtime-local-recommendation.d.ts +11 -33
  117. package/dist/runtime/runtime-local-recommendation.d.ts.map +1 -1
  118. package/dist/runtime/runtime-local-recommendation.js +102 -261
  119. package/dist/runtime/runtime-local-recommendation.js.map +1 -1
  120. package/dist/runtime/runtime-method-modules.d.ts +2 -2
  121. package/dist/runtime/runtime-method-modules.d.ts.map +1 -1
  122. package/dist/runtime/runtime-method-modules.js +4 -1
  123. package/dist/runtime/runtime-method-modules.js.map +1 -1
  124. package/dist/runtime/scenario-jobs.d.ts +2 -1
  125. package/dist/runtime/scenario-jobs.d.ts.map +1 -1
  126. package/dist/runtime/scenario-jobs.js +17 -1
  127. package/dist/runtime/scenario-jobs.js.map +1 -1
  128. package/dist/runtime/wire-types/agent-participation-types.d.ts +2 -2
  129. package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
  130. package/dist/runtime/wire-types/ai-scenario-enums.d.ts +20 -2
  131. package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
  132. package/dist/runtime/wire-types/ai-scenario-enums.js +21 -0
  133. package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
  134. package/dist/runtime/wire-types/ai-scenario-types.d.ts +4 -4
  135. package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
  136. package/dist/runtime/wire-types/identity-app-enums.d.ts +5 -2
  137. package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
  138. package/dist/runtime/wire-types/identity-app-enums.js +3 -0
  139. package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
  140. package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
  141. package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
  142. package/dist/runtime/wire-types/local-memory-enums.d.ts +13 -45
  143. package/dist/runtime/wire-types/local-memory-enums.d.ts.map +1 -1
  144. package/dist/runtime/wire-types/local-memory-enums.js +21 -59
  145. package/dist/runtime/wire-types/local-memory-enums.js.map +1 -1
  146. package/dist/runtime/wire-types/local-memory-types.d.ts +4 -4
  147. package/dist/runtime/wire-types/local-memory-types.d.ts.map +1 -1
  148. package/dist/runtime/wire-types/reason-code-enums.d.ts +13 -1
  149. package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
  150. package/dist/runtime/wire-types/reason-code-enums.js +12 -0
  151. package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
  152. package/package.json +1 -1
  153. package/dist/runtime/runtime-local-recommendation-feed-ui.d.ts +0 -26
  154. package/dist/runtime/runtime-local-recommendation-feed-ui.d.ts.map +0 -1
  155. package/dist/runtime/runtime-local-recommendation-feed-ui.js +0 -453
  156. package/dist/runtime/runtime-local-recommendation-feed-ui.js.map +0 -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,396 @@ 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
+ }
1260
+ /**
1261
+ * @generated from protobuf message nimi.runtime.v1.VisionLocateScenarioSpec
1262
+ */
1263
+ export interface VisionLocateScenarioSpec {
1264
+ /**
1265
+ * @generated from protobuf field: string image_artifact_id = 1
1266
+ */
1267
+ imageArtifactId: string;
1268
+ /**
1269
+ * @generated from protobuf field: string query = 2
1270
+ */
1271
+ query: string;
1272
+ /**
1273
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateGeometry geometry = 3
1274
+ */
1275
+ geometry: VisionLocateGeometry;
1276
+ }
1277
+ /**
1278
+ * @generated from protobuf message nimi.runtime.v1.VisionLocateBox
1279
+ */
1280
+ export interface VisionLocateBox {
1281
+ /**
1282
+ * @generated from protobuf field: double x1 = 1
1283
+ */
1284
+ x1: number;
1285
+ /**
1286
+ * @generated from protobuf field: double y1 = 2
1287
+ */
1288
+ y1: number;
1289
+ /**
1290
+ * @generated from protobuf field: double x2 = 3
1291
+ */
1292
+ x2: number;
1293
+ /**
1294
+ * @generated from protobuf field: double y2 = 4
1295
+ */
1296
+ y2: number;
1297
+ }
1298
+ /**
1299
+ * @generated from protobuf message nimi.runtime.v1.VisionLocatePoint
1300
+ */
1301
+ export interface VisionLocatePoint {
1302
+ /**
1303
+ * @generated from protobuf field: double x = 1
1304
+ */
1305
+ x: number;
1306
+ /**
1307
+ * @generated from protobuf field: double y = 2
1308
+ */
1309
+ y: number;
1310
+ }
1311
+ /**
1312
+ * @generated from protobuf message nimi.runtime.v1.VisionLocation
1313
+ */
1314
+ export interface VisionLocation {
1315
+ /**
1316
+ * @generated from protobuf field: optional string label = 1
1317
+ */
1318
+ label?: string;
1319
+ /**
1320
+ * @generated from protobuf oneof: geometry
1321
+ */
1322
+ geometry: {
1323
+ oneofKind: "box";
1324
+ /**
1325
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateBox box = 2
1326
+ */
1327
+ box: VisionLocateBox;
1328
+ } | {
1329
+ oneofKind: "point";
1330
+ /**
1331
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocatePoint point = 3
1332
+ */
1333
+ point: VisionLocatePoint;
1334
+ } | {
1335
+ oneofKind: undefined;
1336
+ };
1337
+ }
1338
+ /**
1339
+ * Coordinates and dimensions describe the full static image after EXIF
1340
+ * orientation. A present result with no locations is a complete negative.
1341
+ *
1342
+ * @generated from protobuf message nimi.runtime.v1.VisionLocateResult
1343
+ */
1344
+ export interface VisionLocateResult {
1345
+ /**
1346
+ * @generated from protobuf field: string image_artifact_id = 1
1347
+ */
1348
+ imageArtifactId: string;
1349
+ /**
1350
+ * @generated from protobuf field: uint32 width = 2
1351
+ */
1352
+ width: number;
1353
+ /**
1354
+ * @generated from protobuf field: uint32 height = 3
1355
+ */
1356
+ height: number;
1357
+ /**
1358
+ * @generated from protobuf field: repeated nimi.runtime.v1.VisionLocation locations = 4
1359
+ */
1360
+ locations: VisionLocation[];
1361
+ }
972
1362
  /**
973
1363
  * @generated from protobuf message nimi.runtime.v1.ScenarioSpec
974
1364
  */
@@ -1030,6 +1420,24 @@ export interface ScenarioSpec {
1030
1420
  * @generated from protobuf field: nimi.runtime.v1.VoiceCreateScenarioSpec voice_create = 11
1031
1421
  */
1032
1422
  voiceCreate: VoiceCreateScenarioSpec;
1423
+ } | {
1424
+ oneofKind: "visionLocate";
1425
+ /**
1426
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateScenarioSpec vision_locate = 12
1427
+ */
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;
1033
1441
  } | {
1034
1442
  oneofKind: undefined;
1035
1443
  };
@@ -1122,6 +1530,28 @@ export interface ImageGenerateResult {
1122
1530
  */
1123
1531
  artifacts: ScenarioArtifact[];
1124
1532
  }
1533
+ /**
1534
+ * @generated from protobuf message nimi.runtime.v1.ImageFaceSwapResult
1535
+ */
1536
+ export interface ImageFaceSwapResult {
1537
+ /**
1538
+ * @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 1
1539
+ */
1540
+ artifacts: ScenarioArtifact[];
1541
+ }
1542
+ /**
1543
+ * @generated from protobuf message nimi.runtime.v1.VideoFaceSwapResult
1544
+ */
1545
+ export interface VideoFaceSwapResult {
1546
+ /**
1547
+ * @generated from protobuf field: repeated nimi.runtime.v1.ScenarioArtifact artifacts = 1
1548
+ */
1549
+ artifacts: ScenarioArtifact[];
1550
+ /**
1551
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary summary = 2
1552
+ */
1553
+ summary?: VideoFaceSwapSummary;
1554
+ }
1125
1555
  /**
1126
1556
  * @generated from protobuf message nimi.runtime.v1.VideoGenerateResult
1127
1557
  */
@@ -1277,6 +1707,18 @@ export interface ScenarioOutput {
1277
1707
  * @generated from protobuf field: nimi.runtime.v1.WorldGenerateResult world_generate = 8
1278
1708
  */
1279
1709
  worldGenerate: WorldGenerateResult;
1710
+ } | {
1711
+ oneofKind: "imageFaceSwap";
1712
+ /**
1713
+ * @generated from protobuf field: nimi.runtime.v1.ImageFaceSwapResult image_face_swap = 9
1714
+ */
1715
+ imageFaceSwap: ImageFaceSwapResult;
1716
+ } | {
1717
+ oneofKind: "videoFaceSwap";
1718
+ /**
1719
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapResult video_face_swap = 10
1720
+ */
1721
+ videoFaceSwap: VideoFaceSwapResult;
1280
1722
  } | {
1281
1723
  oneofKind: undefined;
1282
1724
  };
@@ -1378,7 +1820,7 @@ export interface GenerateLocalAppTextCandidateResponse {
1378
1820
  /**
1379
1821
  * Trimmed artifact projection for Local App scenario outputs. Runtime-private
1380
1822
  * uri, producer, and owner fields are never projected; oversized payloads are
1381
- * reachable only through ReadLocalAppArtifact.
1823
+ * retrieved through owned artifact adoption and App asset streaming.
1382
1824
  *
1383
1825
  * @generated from protobuf message nimi.runtime.v1.LocalAppScenarioArtifact
1384
1826
  */
@@ -1774,6 +2216,28 @@ export interface LocalAppMusicGenerateJobSpec {
1774
2216
  * @generated from protobuf field: string lyrics = 2
1775
2217
  */
1776
2218
  lyrics: string;
2219
+ /**
2220
+ * Generation budget, not a guaranteed output length. Zero uses Runtime defaults.
2221
+ *
2222
+ * @generated from protobuf field: uint32 duration_seconds = 3
2223
+ */
2224
+ durationSeconds: number;
2225
+ }
2226
+ /**
2227
+ * Text-conditioned world generation. Provider selection and asset retrieval
2228
+ * remain Runtime-owned; the result is a portable world archive artifact.
2229
+ *
2230
+ * @generated from protobuf message nimi.runtime.v1.LocalAppWorldGenerateJobSpec
2231
+ */
2232
+ export interface LocalAppWorldGenerateJobSpec {
2233
+ /**
2234
+ * @generated from protobuf field: string prompt = 1
2235
+ */
2236
+ prompt: string;
2237
+ /**
2238
+ * @generated from protobuf field: string display_name = 2
2239
+ */
2240
+ displayName: string;
1777
2241
  }
1778
2242
  /**
1779
2243
  * @generated from protobuf message nimi.runtime.v1.SubmitLocalAppScenarioJobRequest
@@ -1818,6 +2282,30 @@ export interface SubmitLocalAppScenarioJobRequest {
1818
2282
  * @generated from protobuf field: nimi.runtime.v1.LocalAppMusicGenerateJobSpec music_generate = 8
1819
2283
  */
1820
2284
  musicGenerate: LocalAppMusicGenerateJobSpec;
2285
+ } | {
2286
+ oneofKind: "worldGenerate";
2287
+ /**
2288
+ * @generated from protobuf field: nimi.runtime.v1.LocalAppWorldGenerateJobSpec world_generate = 10
2289
+ */
2290
+ worldGenerate: LocalAppWorldGenerateJobSpec;
2291
+ } | {
2292
+ oneofKind: "visionLocate";
2293
+ /**
2294
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateScenarioSpec vision_locate = 11
2295
+ */
2296
+ visionLocate: VisionLocateScenarioSpec;
2297
+ } | {
2298
+ oneofKind: "imageFaceSwap";
2299
+ /**
2300
+ * @generated from protobuf field: nimi.runtime.v1.ImageFaceSwapScenarioSpec image_face_swap = 12
2301
+ */
2302
+ imageFaceSwap: ImageFaceSwapScenarioSpec;
2303
+ } | {
2304
+ oneofKind: "videoFaceSwap";
2305
+ /**
2306
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapScenarioSpec video_face_swap = 13
2307
+ */
2308
+ videoFaceSwap: VideoFaceSwapScenarioSpec;
1821
2309
  } | {
1822
2310
  oneofKind: undefined;
1823
2311
  };
@@ -1899,6 +2387,12 @@ export interface LocalAppScenarioJob {
1899
2387
  * @generated from protobuf field: nimi.runtime.v1.ExecutionInterruption interruption = 14
1900
2388
  */
1901
2389
  interruption?: ExecutionInterruption;
2390
+ /**
2391
+ * Present only for a completed VIDEO_FACE_SWAP Job.
2392
+ *
2393
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 15
2394
+ */
2395
+ videoFaceSwapSummary?: VideoFaceSwapSummary;
1902
2396
  }
1903
2397
  /**
1904
2398
  * Trimmed voice asset catalog projection. Provider, model, provider voice
@@ -1969,6 +2463,12 @@ export interface GetLocalAppScenarioJobResponse {
1969
2463
  * @generated from protobuf field: nimi.runtime.v1.VoiceReference voice_reference = 3
1970
2464
  */
1971
2465
  voiceReference?: VoiceReference;
2466
+ /**
2467
+ * Present only for a successfully completed VISION_LOCATE Job.
2468
+ *
2469
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateResult vision_locate = 4
2470
+ */
2471
+ visionLocate?: VisionLocateResult;
1972
2472
  }
1973
2473
  /**
1974
2474
  * @generated from protobuf message nimi.runtime.v1.CancelLocalAppScenarioJobRequest
@@ -2614,6 +3114,12 @@ export interface ScenarioJob {
2614
3114
  * @generated from protobuf field: nimi.runtime.v1.ExecutionInterruption interruption = 25
2615
3115
  */
2616
3116
  interruption?: ExecutionInterruption;
3117
+ /**
3118
+ * Immutable per-frame outcome counts captured with the completed artifact.
3119
+ *
3120
+ * @generated from protobuf field: nimi.runtime.v1.VideoFaceSwapSummary video_face_swap_summary = 26
3121
+ */
3122
+ videoFaceSwapSummary?: VideoFaceSwapSummary;
2617
3123
  }
2618
3124
  /**
2619
3125
  * @generated from protobuf message nimi.runtime.v1.SubmitScenarioJobRequest
@@ -2691,6 +3197,12 @@ export interface GetScenarioJobResponse {
2691
3197
  * @generated from protobuf field: nimi.runtime.v1.VoiceReference voice_reference = 3
2692
3198
  */
2693
3199
  voiceReference?: VoiceReference;
3200
+ /**
3201
+ * Get-only terminal result; absent from Submit and Job event snapshots.
3202
+ *
3203
+ * @generated from protobuf field: nimi.runtime.v1.VisionLocateResult vision_locate = 4
3204
+ */
3205
+ visionLocate?: VisionLocateResult;
2694
3206
  }
2695
3207
  /**
2696
3208
  * @generated from protobuf message nimi.runtime.v1.CancelScenarioJobRequest
@@ -3182,7 +3694,11 @@ export declare enum Modal {
3182
3694
  /**
3183
3695
  * @generated from protobuf enum value: MODAL_WORLD = 8;
3184
3696
  */
3185
- WORLD = 8
3697
+ WORLD = 8,
3698
+ /**
3699
+ * @generated from protobuf enum value: MODAL_VISION = 9;
3700
+ */
3701
+ VISION = 9
3186
3702
  }
3187
3703
  /**
3188
3704
  * @generated from protobuf enum nimi.runtime.v1.ScenarioType
@@ -3227,7 +3743,19 @@ export declare enum ScenarioType {
3227
3743
  /**
3228
3744
  * @generated from protobuf enum value: SCENARIO_TYPE_VOICE_CREATE = 11;
3229
3745
  */
3230
- VOICE_CREATE = 11
3746
+ VOICE_CREATE = 11,
3747
+ /**
3748
+ * @generated from protobuf enum value: SCENARIO_TYPE_VISION_LOCATE = 12;
3749
+ */
3750
+ VISION_LOCATE = 12,
3751
+ /**
3752
+ * @generated from protobuf enum value: SCENARIO_TYPE_IMAGE_FACE_SWAP = 13;
3753
+ */
3754
+ IMAGE_FACE_SWAP = 13,
3755
+ /**
3756
+ * @generated from protobuf enum value: SCENARIO_TYPE_VIDEO_FACE_SWAP = 14;
3757
+ */
3758
+ VIDEO_FACE_SWAP = 14
3231
3759
  }
3232
3760
  /**
3233
3761
  * @generated from protobuf enum nimi.runtime.v1.ExecutionMode
@@ -3612,6 +4140,53 @@ export declare enum TextSourceType {
3612
4140
  */
3613
4141
  DOCUMENT = 2
3614
4142
  }
4143
+ /**
4144
+ * @generated from protobuf enum nimi.runtime.v1.VisionLocateGeometry
4145
+ */
4146
+ export declare enum VisionLocateGeometry {
4147
+ /**
4148
+ * @generated from protobuf enum value: VISION_LOCATE_GEOMETRY_UNSPECIFIED = 0;
4149
+ */
4150
+ UNSPECIFIED = 0,
4151
+ /**
4152
+ * @generated from protobuf enum value: VISION_LOCATE_GEOMETRY_BOX = 1;
4153
+ */
4154
+ BOX = 1,
4155
+ /**
4156
+ * @generated from protobuf enum value: VISION_LOCATE_GEOMETRY_POINT = 2;
4157
+ */
4158
+ POINT = 2
4159
+ }
4160
+ /**
4161
+ * @generated from protobuf enum nimi.runtime.v1.FaceSwapNoFacePolicy
4162
+ */
4163
+ export declare enum FaceSwapNoFacePolicy {
4164
+ /**
4165
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_UNSPECIFIED = 0;
4166
+ */
4167
+ UNSPECIFIED = 0,
4168
+ /**
4169
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_FAIL = 1;
4170
+ */
4171
+ FAIL = 1,
4172
+ /**
4173
+ * @generated from protobuf enum value: FACE_SWAP_NO_FACE_POLICY_PRESERVE_FRAME = 2;
4174
+ */
4175
+ PRESERVE_FRAME = 2
4176
+ }
4177
+ /**
4178
+ * @generated from protobuf enum nimi.runtime.v1.AiVideoPixelFormat
4179
+ */
4180
+ export declare enum AiVideoPixelFormat {
4181
+ /**
4182
+ * @generated from protobuf enum value: AI_VIDEO_PIXEL_FORMAT_UNSPECIFIED = 0;
4183
+ */
4184
+ UNSPECIFIED = 0,
4185
+ /**
4186
+ * @generated from protobuf enum value: AI_VIDEO_PIXEL_FORMAT_RGB8 = 1;
4187
+ */
4188
+ RGB8 = 1
4189
+ }
3615
4190
  /**
3616
4191
  * @generated from protobuf enum nimi.runtime.v1.ScenarioJobStatus
3617
4192
  */
@@ -4056,6 +4631,216 @@ declare class WorldGenerateScenarioSpec$Type extends MessageType<WorldGenerateSc
4056
4631
  * @generated MessageType for protobuf message nimi.runtime.v1.WorldGenerateScenarioSpec
4057
4632
  */
4058
4633
  export declare const WorldGenerateScenarioSpec: WorldGenerateScenarioSpec$Type;
4634
+ declare class ImageFaceSwapScenarioSpec$Type extends MessageType<ImageFaceSwapScenarioSpec> {
4635
+ constructor();
4636
+ create(value?: PartialMessage<ImageFaceSwapScenarioSpec>): ImageFaceSwapScenarioSpec;
4637
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageFaceSwapScenarioSpec): ImageFaceSwapScenarioSpec;
4638
+ internalBinaryWrite(message: ImageFaceSwapScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4639
+ }
4640
+ /**
4641
+ * @generated MessageType for protobuf message nimi.runtime.v1.ImageFaceSwapScenarioSpec
4642
+ */
4643
+ export declare const ImageFaceSwapScenarioSpec: ImageFaceSwapScenarioSpec$Type;
4644
+ declare class AiVideoSessionFormat$Type extends MessageType<AiVideoSessionFormat> {
4645
+ constructor();
4646
+ create(value?: PartialMessage<AiVideoSessionFormat>): AiVideoSessionFormat;
4647
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionFormat): AiVideoSessionFormat;
4648
+ internalBinaryWrite(message: AiVideoSessionFormat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4649
+ }
4650
+ /**
4651
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionFormat
4652
+ */
4653
+ export declare const AiVideoSessionFormat: AiVideoSessionFormat$Type;
4654
+ declare class OpenVideoSessionRequest$Type extends MessageType<OpenVideoSessionRequest> {
4655
+ constructor();
4656
+ create(value?: PartialMessage<OpenVideoSessionRequest>): OpenVideoSessionRequest;
4657
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OpenVideoSessionRequest): OpenVideoSessionRequest;
4658
+ internalBinaryWrite(message: OpenVideoSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4659
+ }
4660
+ /**
4661
+ * @generated MessageType for protobuf message nimi.runtime.v1.OpenVideoSessionRequest
4662
+ */
4663
+ export declare const OpenVideoSessionRequest: OpenVideoSessionRequest$Type;
4664
+ declare class OpenVideoSessionResponse$Type extends MessageType<OpenVideoSessionResponse> {
4665
+ constructor();
4666
+ create(value?: PartialMessage<OpenVideoSessionResponse>): OpenVideoSessionResponse;
4667
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OpenVideoSessionResponse): OpenVideoSessionResponse;
4668
+ internalBinaryWrite(message: OpenVideoSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4669
+ }
4670
+ /**
4671
+ * @generated MessageType for protobuf message nimi.runtime.v1.OpenVideoSessionResponse
4672
+ */
4673
+ export declare const OpenVideoSessionResponse: OpenVideoSessionResponse$Type;
4674
+ declare class SubmitVideoSessionFrameRequest$Type extends MessageType<SubmitVideoSessionFrameRequest> {
4675
+ constructor();
4676
+ create(value?: PartialMessage<SubmitVideoSessionFrameRequest>): SubmitVideoSessionFrameRequest;
4677
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitVideoSessionFrameRequest): SubmitVideoSessionFrameRequest;
4678
+ internalBinaryWrite(message: SubmitVideoSessionFrameRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4679
+ }
4680
+ /**
4681
+ * @generated MessageType for protobuf message nimi.runtime.v1.SubmitVideoSessionFrameRequest
4682
+ */
4683
+ export declare const SubmitVideoSessionFrameRequest: SubmitVideoSessionFrameRequest$Type;
4684
+ declare class SubmitVideoSessionFrameResponse$Type extends MessageType<SubmitVideoSessionFrameResponse> {
4685
+ constructor();
4686
+ create(value?: PartialMessage<SubmitVideoSessionFrameResponse>): SubmitVideoSessionFrameResponse;
4687
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitVideoSessionFrameResponse): SubmitVideoSessionFrameResponse;
4688
+ internalBinaryWrite(message: SubmitVideoSessionFrameResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4689
+ }
4690
+ /**
4691
+ * @generated MessageType for protobuf message nimi.runtime.v1.SubmitVideoSessionFrameResponse
4692
+ */
4693
+ export declare const SubmitVideoSessionFrameResponse: SubmitVideoSessionFrameResponse$Type;
4694
+ declare class ReadVideoSessionResultRequest$Type extends MessageType<ReadVideoSessionResultRequest> {
4695
+ constructor();
4696
+ create(value?: PartialMessage<ReadVideoSessionResultRequest>): ReadVideoSessionResultRequest;
4697
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadVideoSessionResultRequest): ReadVideoSessionResultRequest;
4698
+ internalBinaryWrite(message: ReadVideoSessionResultRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4699
+ }
4700
+ /**
4701
+ * @generated MessageType for protobuf message nimi.runtime.v1.ReadVideoSessionResultRequest
4702
+ */
4703
+ export declare const ReadVideoSessionResultRequest: ReadVideoSessionResultRequest$Type;
4704
+ declare class AiVideoTransformedFrame$Type extends MessageType<AiVideoTransformedFrame> {
4705
+ constructor();
4706
+ create(value?: PartialMessage<AiVideoTransformedFrame>): AiVideoTransformedFrame;
4707
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoTransformedFrame): AiVideoTransformedFrame;
4708
+ internalBinaryWrite(message: AiVideoTransformedFrame, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4709
+ }
4710
+ /**
4711
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoTransformedFrame
4712
+ */
4713
+ export declare const AiVideoTransformedFrame: AiVideoTransformedFrame$Type;
4714
+ declare class AiVideoFrameDisposition$Type extends MessageType<AiVideoFrameDisposition> {
4715
+ constructor();
4716
+ create(value?: PartialMessage<AiVideoFrameDisposition>): AiVideoFrameDisposition;
4717
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoFrameDisposition): AiVideoFrameDisposition;
4718
+ internalBinaryWrite(message: AiVideoFrameDisposition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4719
+ }
4720
+ /**
4721
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoFrameDisposition
4722
+ */
4723
+ export declare const AiVideoFrameDisposition: AiVideoFrameDisposition$Type;
4724
+ declare class AiVideoSessionTerminal$Type extends MessageType<AiVideoSessionTerminal> {
4725
+ constructor();
4726
+ create(value?: PartialMessage<AiVideoSessionTerminal>): AiVideoSessionTerminal;
4727
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionTerminal): AiVideoSessionTerminal;
4728
+ internalBinaryWrite(message: AiVideoSessionTerminal, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4729
+ }
4730
+ /**
4731
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionTerminal
4732
+ */
4733
+ export declare const AiVideoSessionTerminal: AiVideoSessionTerminal$Type;
4734
+ declare class AiVideoSessionResult$Type extends MessageType<AiVideoSessionResult> {
4735
+ constructor();
4736
+ create(value?: PartialMessage<AiVideoSessionResult>): AiVideoSessionResult;
4737
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AiVideoSessionResult): AiVideoSessionResult;
4738
+ internalBinaryWrite(message: AiVideoSessionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4739
+ }
4740
+ /**
4741
+ * @generated MessageType for protobuf message nimi.runtime.v1.AiVideoSessionResult
4742
+ */
4743
+ export declare const AiVideoSessionResult: AiVideoSessionResult$Type;
4744
+ declare class ReadVideoSessionResultResponse$Type extends MessageType<ReadVideoSessionResultResponse> {
4745
+ constructor();
4746
+ create(value?: PartialMessage<ReadVideoSessionResultResponse>): ReadVideoSessionResultResponse;
4747
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadVideoSessionResultResponse): ReadVideoSessionResultResponse;
4748
+ internalBinaryWrite(message: ReadVideoSessionResultResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4749
+ }
4750
+ /**
4751
+ * @generated MessageType for protobuf message nimi.runtime.v1.ReadVideoSessionResultResponse
4752
+ */
4753
+ export declare const ReadVideoSessionResultResponse: ReadVideoSessionResultResponse$Type;
4754
+ declare class CloseVideoSessionRequest$Type extends MessageType<CloseVideoSessionRequest> {
4755
+ constructor();
4756
+ create(value?: PartialMessage<CloseVideoSessionRequest>): CloseVideoSessionRequest;
4757
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloseVideoSessionRequest): CloseVideoSessionRequest;
4758
+ internalBinaryWrite(message: CloseVideoSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4759
+ }
4760
+ /**
4761
+ * @generated MessageType for protobuf message nimi.runtime.v1.CloseVideoSessionRequest
4762
+ */
4763
+ export declare const CloseVideoSessionRequest: CloseVideoSessionRequest$Type;
4764
+ declare class CloseVideoSessionResponse$Type extends MessageType<CloseVideoSessionResponse> {
4765
+ constructor();
4766
+ create(value?: PartialMessage<CloseVideoSessionResponse>): CloseVideoSessionResponse;
4767
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CloseVideoSessionResponse): CloseVideoSessionResponse;
4768
+ internalBinaryWrite(message: CloseVideoSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4769
+ }
4770
+ /**
4771
+ * @generated MessageType for protobuf message nimi.runtime.v1.CloseVideoSessionResponse
4772
+ */
4773
+ export declare const CloseVideoSessionResponse: CloseVideoSessionResponse$Type;
4774
+ declare class VideoFaceSwapScenarioSpec$Type extends MessageType<VideoFaceSwapScenarioSpec> {
4775
+ constructor();
4776
+ create(value?: PartialMessage<VideoFaceSwapScenarioSpec>): VideoFaceSwapScenarioSpec;
4777
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapScenarioSpec): VideoFaceSwapScenarioSpec;
4778
+ internalBinaryWrite(message: VideoFaceSwapScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4779
+ }
4780
+ /**
4781
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapScenarioSpec
4782
+ */
4783
+ export declare const VideoFaceSwapScenarioSpec: VideoFaceSwapScenarioSpec$Type;
4784
+ declare class VideoFaceSwapSummary$Type extends MessageType<VideoFaceSwapSummary> {
4785
+ constructor();
4786
+ create(value?: PartialMessage<VideoFaceSwapSummary>): VideoFaceSwapSummary;
4787
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapSummary): VideoFaceSwapSummary;
4788
+ internalBinaryWrite(message: VideoFaceSwapSummary, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4789
+ }
4790
+ /**
4791
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapSummary
4792
+ */
4793
+ export declare const VideoFaceSwapSummary: VideoFaceSwapSummary$Type;
4794
+ declare class VisionLocateScenarioSpec$Type extends MessageType<VisionLocateScenarioSpec> {
4795
+ constructor();
4796
+ create(value?: PartialMessage<VisionLocateScenarioSpec>): VisionLocateScenarioSpec;
4797
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VisionLocateScenarioSpec): VisionLocateScenarioSpec;
4798
+ internalBinaryWrite(message: VisionLocateScenarioSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4799
+ }
4800
+ /**
4801
+ * @generated MessageType for protobuf message nimi.runtime.v1.VisionLocateScenarioSpec
4802
+ */
4803
+ export declare const VisionLocateScenarioSpec: VisionLocateScenarioSpec$Type;
4804
+ declare class VisionLocateBox$Type extends MessageType<VisionLocateBox> {
4805
+ constructor();
4806
+ create(value?: PartialMessage<VisionLocateBox>): VisionLocateBox;
4807
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VisionLocateBox): VisionLocateBox;
4808
+ internalBinaryWrite(message: VisionLocateBox, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4809
+ }
4810
+ /**
4811
+ * @generated MessageType for protobuf message nimi.runtime.v1.VisionLocateBox
4812
+ */
4813
+ export declare const VisionLocateBox: VisionLocateBox$Type;
4814
+ declare class VisionLocatePoint$Type extends MessageType<VisionLocatePoint> {
4815
+ constructor();
4816
+ create(value?: PartialMessage<VisionLocatePoint>): VisionLocatePoint;
4817
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VisionLocatePoint): VisionLocatePoint;
4818
+ internalBinaryWrite(message: VisionLocatePoint, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4819
+ }
4820
+ /**
4821
+ * @generated MessageType for protobuf message nimi.runtime.v1.VisionLocatePoint
4822
+ */
4823
+ export declare const VisionLocatePoint: VisionLocatePoint$Type;
4824
+ declare class VisionLocation$Type extends MessageType<VisionLocation> {
4825
+ constructor();
4826
+ create(value?: PartialMessage<VisionLocation>): VisionLocation;
4827
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VisionLocation): VisionLocation;
4828
+ internalBinaryWrite(message: VisionLocation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4829
+ }
4830
+ /**
4831
+ * @generated MessageType for protobuf message nimi.runtime.v1.VisionLocation
4832
+ */
4833
+ export declare const VisionLocation: VisionLocation$Type;
4834
+ declare class VisionLocateResult$Type extends MessageType<VisionLocateResult> {
4835
+ constructor();
4836
+ create(value?: PartialMessage<VisionLocateResult>): VisionLocateResult;
4837
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VisionLocateResult): VisionLocateResult;
4838
+ internalBinaryWrite(message: VisionLocateResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4839
+ }
4840
+ /**
4841
+ * @generated MessageType for protobuf message nimi.runtime.v1.VisionLocateResult
4842
+ */
4843
+ export declare const VisionLocateResult: VisionLocateResult$Type;
4059
4844
  declare class ScenarioSpec$Type extends MessageType<ScenarioSpec> {
4060
4845
  constructor();
4061
4846
  create(value?: PartialMessage<ScenarioSpec>): ScenarioSpec;
@@ -4116,6 +4901,26 @@ declare class ImageGenerateResult$Type extends MessageType<ImageGenerateResult>
4116
4901
  * @generated MessageType for protobuf message nimi.runtime.v1.ImageGenerateResult
4117
4902
  */
4118
4903
  export declare const ImageGenerateResult: ImageGenerateResult$Type;
4904
+ declare class ImageFaceSwapResult$Type extends MessageType<ImageFaceSwapResult> {
4905
+ constructor();
4906
+ create(value?: PartialMessage<ImageFaceSwapResult>): ImageFaceSwapResult;
4907
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ImageFaceSwapResult): ImageFaceSwapResult;
4908
+ internalBinaryWrite(message: ImageFaceSwapResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4909
+ }
4910
+ /**
4911
+ * @generated MessageType for protobuf message nimi.runtime.v1.ImageFaceSwapResult
4912
+ */
4913
+ export declare const ImageFaceSwapResult: ImageFaceSwapResult$Type;
4914
+ declare class VideoFaceSwapResult$Type extends MessageType<VideoFaceSwapResult> {
4915
+ constructor();
4916
+ create(value?: PartialMessage<VideoFaceSwapResult>): VideoFaceSwapResult;
4917
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VideoFaceSwapResult): VideoFaceSwapResult;
4918
+ internalBinaryWrite(message: VideoFaceSwapResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4919
+ }
4920
+ /**
4921
+ * @generated MessageType for protobuf message nimi.runtime.v1.VideoFaceSwapResult
4922
+ */
4923
+ export declare const VideoFaceSwapResult: VideoFaceSwapResult$Type;
4119
4924
  declare class VideoGenerateResult$Type extends MessageType<VideoGenerateResult> {
4120
4925
  constructor();
4121
4926
  create(value?: PartialMessage<VideoGenerateResult>): VideoGenerateResult;
@@ -4357,6 +5162,16 @@ declare class LocalAppMusicGenerateJobSpec$Type extends MessageType<LocalAppMusi
4357
5162
  * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppMusicGenerateJobSpec
4358
5163
  */
4359
5164
  export declare const LocalAppMusicGenerateJobSpec: LocalAppMusicGenerateJobSpec$Type;
5165
+ declare class LocalAppWorldGenerateJobSpec$Type extends MessageType<LocalAppWorldGenerateJobSpec> {
5166
+ constructor();
5167
+ create(value?: PartialMessage<LocalAppWorldGenerateJobSpec>): LocalAppWorldGenerateJobSpec;
5168
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LocalAppWorldGenerateJobSpec): LocalAppWorldGenerateJobSpec;
5169
+ internalBinaryWrite(message: LocalAppWorldGenerateJobSpec, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5170
+ }
5171
+ /**
5172
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppWorldGenerateJobSpec
5173
+ */
5174
+ export declare const LocalAppWorldGenerateJobSpec: LocalAppWorldGenerateJobSpec$Type;
4360
5175
  declare class SubmitLocalAppScenarioJobRequest$Type extends MessageType<SubmitLocalAppScenarioJobRequest> {
4361
5176
  constructor();
4362
5177
  create(value?: PartialMessage<SubmitLocalAppScenarioJobRequest>): SubmitLocalAppScenarioJobRequest;