@clipwright/core 0.39.0 → 0.40.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 (255) hide show
  1. package/dist/account-actors.d.ts +93 -2
  2. package/dist/account-actors.js +135 -20
  3. package/dist/account-actors.js.map +1 -1
  4. package/dist/actors.d.ts +24 -2
  5. package/dist/actors.js +30 -9
  6. package/dist/actors.js.map +1 -1
  7. package/dist/ad-pause-trim.d.ts +21 -0
  8. package/dist/ad-pause-trim.js +16 -0
  9. package/dist/ad-pause-trim.js.map +1 -0
  10. package/dist/aspect.d.ts +5 -0
  11. package/dist/aspect.js +7 -0
  12. package/dist/aspect.js.map +1 -1
  13. package/dist/assets.d.ts +2 -1
  14. package/dist/assets.js +10 -11
  15. package/dist/assets.js.map +1 -1
  16. package/dist/billing-terms.d.ts +8 -0
  17. package/dist/broll-policy.js +2 -3
  18. package/dist/broll-policy.js.map +1 -1
  19. package/dist/caption-geometry.js +10 -8
  20. package/dist/caption-geometry.js.map +1 -1
  21. package/dist/contract-dispositions.d.ts +1575 -100
  22. package/dist/contract-dispositions.js +100 -14
  23. package/dist/contract-dispositions.js.map +1 -1
  24. package/dist/contracts/v1/workflow-brief.d.ts +10762 -2790
  25. package/dist/contracts/v1/workflow-brief.js +16 -1
  26. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  27. package/dist/contracts/v1/workflow-catalog.d.ts +11612 -3536
  28. package/dist/contracts/v1/workflow-client.d.ts +5429 -1187
  29. package/dist/contracts/v1/workflow-client.js +9 -5
  30. package/dist/contracts/v1/workflow-client.js.map +1 -1
  31. package/dist/contracts/v1/workflow-execution.d.ts +242 -0
  32. package/dist/contracts/v1/workflow-execution.js +2 -2
  33. package/dist/contracts/v1/workflow-execution.js.map +1 -1
  34. package/dist/contracts/v1/workflow-next.d.ts +225 -0
  35. package/dist/contracts/v1/workflow-next.js +21 -0
  36. package/dist/contracts/v1/workflow-next.js.map +1 -0
  37. package/dist/contracts/v1/workflow-plan.d.ts +18556 -6429
  38. package/dist/contracts/v1/workflow-plan.js +2 -1
  39. package/dist/contracts/v1/workflow-plan.js.map +1 -1
  40. package/dist/contracts/v1/workflow-primitives.d.ts +20 -1
  41. package/dist/contracts/v1/workflow-primitives.js +8 -2
  42. package/dist/contracts/v1/workflow-primitives.js.map +1 -1
  43. package/dist/contracts/v1/workflow-run-read.d.ts +50 -0
  44. package/dist/creator-profile.d.ts +1 -0
  45. package/dist/creator-profile.js +13 -7
  46. package/dist/creator-profile.js.map +1 -1
  47. package/dist/design.d.ts +921 -0
  48. package/dist/design.js +183 -0
  49. package/dist/design.js.map +1 -0
  50. package/dist/edit-candidate.d.ts +2 -0
  51. package/dist/edit-candidate.js +3 -0
  52. package/dist/edit-candidate.js.map +1 -1
  53. package/dist/edit-faceless.js +2 -1
  54. package/dist/edit-faceless.js.map +1 -1
  55. package/dist/endpoint-notes.js +19 -0
  56. package/dist/endpoint-notes.js.map +1 -1
  57. package/dist/endpoints.js +21 -4
  58. package/dist/endpoints.js.map +1 -1
  59. package/dist/errors.d.ts +1 -1
  60. package/dist/errors.js +7 -0
  61. package/dist/errors.js.map +1 -1
  62. package/dist/face-billing.d.ts +39 -0
  63. package/dist/face-billing.js +11 -1
  64. package/dist/face-billing.js.map +1 -1
  65. package/dist/faceless-action-shots.d.ts +31 -0
  66. package/dist/faceless-action-shots.js +51 -0
  67. package/dist/faceless-action-shots.js.map +1 -0
  68. package/dist/faceless-media-record.d.ts +56 -0
  69. package/dist/faceless-media-record.js +6 -2
  70. package/dist/faceless-media-record.js.map +1 -1
  71. package/dist/faceless-price.d.ts +22 -0
  72. package/dist/faceless-price.js +27 -3
  73. package/dist/faceless-price.js.map +1 -1
  74. package/dist/faceless-public-plan.d.ts +10 -1
  75. package/dist/faceless-public-plan.js +4 -0
  76. package/dist/faceless-public-plan.js.map +1 -1
  77. package/dist/faceless-public.d.ts +5583 -184
  78. package/dist/faceless-public.js +110 -12
  79. package/dist/faceless-public.js.map +1 -1
  80. package/dist/feedback.js +1 -1
  81. package/dist/feedback.js.map +1 -1
  82. package/dist/generations-output.js +1 -1
  83. package/dist/generations-output.js.map +1 -1
  84. package/dist/generations.js +1 -1
  85. package/dist/index.d.ts +10 -0
  86. package/dist/index.js +11 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/live-shot-kinds.d.ts +22 -0
  89. package/dist/live-shot-kinds.js +17 -0
  90. package/dist/live-shot-kinds.js.map +1 -0
  91. package/dist/mcp-ugc-descriptions.d.ts +32 -0
  92. package/dist/mcp-ugc-descriptions.js +112 -0
  93. package/dist/mcp-ugc-descriptions.js.map +1 -0
  94. package/dist/motion-styles.d.ts +54 -0
  95. package/dist/motion-styles.js +67 -0
  96. package/dist/motion-styles.js.map +1 -0
  97. package/dist/moves.d.ts +222 -0
  98. package/dist/moves.js +81 -0
  99. package/dist/moves.js.map +1 -0
  100. package/dist/music.d.ts +18 -0
  101. package/dist/music.js +29 -0
  102. package/dist/music.js.map +1 -0
  103. package/dist/openapi.d.ts +3 -1
  104. package/dist/openapi.js +32 -5
  105. package/dist/openapi.js.map +1 -1
  106. package/dist/parts-pricing.d.ts +14 -3
  107. package/dist/parts-pricing.js +23 -5
  108. package/dist/parts-pricing.js.map +1 -1
  109. package/dist/prices.d.ts +6 -1
  110. package/dist/prices.js +56 -17
  111. package/dist/prices.js.map +1 -1
  112. package/dist/reference-analysis.d.ts +134 -0
  113. package/dist/reference-analysis.js +45 -33
  114. package/dist/reference-analysis.js.map +1 -1
  115. package/dist/reference-display.js +3 -0
  116. package/dist/reference-display.js.map +1 -1
  117. package/dist/reference-kinds.d.ts +3 -2
  118. package/dist/reference-kinds.js +2 -1
  119. package/dist/reference-kinds.js.map +1 -1
  120. package/dist/reference-profile.d.ts +435 -0
  121. package/dist/reference-profile.js +40 -1
  122. package/dist/reference-profile.js.map +1 -1
  123. package/dist/reference-staging.d.ts +54 -2
  124. package/dist/reference-staging.js +28 -5
  125. package/dist/reference-staging.js.map +1 -1
  126. package/dist/reference-text-spans.d.ts +26 -0
  127. package/dist/reference-text-spans.js +76 -0
  128. package/dist/reference-text-spans.js.map +1 -0
  129. package/dist/resolved-timeline.d.ts +173 -0
  130. package/dist/resolved-timeline.js +15 -4
  131. package/dist/resolved-timeline.js.map +1 -1
  132. package/dist/run-media.d.ts +5 -0
  133. package/dist/run-media.js +17 -0
  134. package/dist/run-media.js.map +1 -0
  135. package/dist/run-static-warnings.js +12 -3
  136. package/dist/run-static-warnings.js.map +1 -1
  137. package/dist/runs.d.ts +49 -0
  138. package/dist/runs.js +5 -0
  139. package/dist/runs.js.map +1 -1
  140. package/dist/scene-graph.d.ts +547 -0
  141. package/dist/scene-graph.js +296 -0
  142. package/dist/scene-graph.js.map +1 -0
  143. package/dist/scene-place.d.ts +2 -0
  144. package/dist/scene-place.js +6 -0
  145. package/dist/scene-place.js.map +1 -1
  146. package/dist/semantic-inserts.d.ts +2 -1
  147. package/dist/semantic-inserts.js +4 -4
  148. package/dist/semantic-inserts.js.map +1 -1
  149. package/dist/skills.d.ts +11737 -5424
  150. package/dist/skills.js +239 -52
  151. package/dist/skills.js.map +1 -1
  152. package/dist/templates/chart.d.ts +35 -0
  153. package/dist/templates/chart.js +38 -0
  154. package/dist/templates/chart.js.map +1 -0
  155. package/dist/templates/chat-window.d.ts +58 -0
  156. package/dist/templates/chat-window.js +57 -0
  157. package/dist/templates/chat-window.js.map +1 -0
  158. package/dist/templates/compare.d.ts +10 -2
  159. package/dist/templates/compare.js +13 -9
  160. package/dist/templates/compare.js.map +1 -1
  161. package/dist/templates/hand-title.d.ts +32 -0
  162. package/dist/templates/hand-title.js +47 -0
  163. package/dist/templates/hand-title.js.map +1 -0
  164. package/dist/templates/index.d.ts +32 -6
  165. package/dist/templates/index.js +91 -47
  166. package/dist/templates/index.js.map +1 -1
  167. package/dist/templates/lower-third.d.ts +11 -0
  168. package/dist/templates/lower-third.js +8 -3
  169. package/dist/templates/lower-third.js.map +1 -1
  170. package/dist/templates/notification.d.ts +24 -2
  171. package/dist/templates/notification.js +21 -12
  172. package/dist/templates/notification.js.map +1 -1
  173. package/dist/templates/phone-screen.d.ts +37 -0
  174. package/dist/templates/phone-screen.js +41 -0
  175. package/dist/templates/phone-screen.js.map +1 -0
  176. package/dist/templates/pointer-chips.d.ts +40 -0
  177. package/dist/templates/pointer-chips.js +53 -0
  178. package/dist/templates/pointer-chips.js.map +1 -0
  179. package/dist/templates/quote.d.ts +2 -2
  180. package/dist/templates/quote.js +5 -5
  181. package/dist/templates/quote.js.map +1 -1
  182. package/dist/templates/race.d.ts +32 -0
  183. package/dist/templates/race.js +43 -0
  184. package/dist/templates/race.js.map +1 -0
  185. package/dist/templates/size.d.ts +20 -0
  186. package/dist/templates/size.js +14 -0
  187. package/dist/templates/size.js.map +1 -1
  188. package/dist/templates/slot.js +1 -1
  189. package/dist/templates/slot.js.map +1 -1
  190. package/dist/templates/sounds.d.ts +221 -4
  191. package/dist/templates/sounds.js +40 -10
  192. package/dist/templates/sounds.js.map +1 -1
  193. package/dist/templates/terminal.d.ts +46 -0
  194. package/dist/templates/terminal.js +46 -0
  195. package/dist/templates/terminal.js.map +1 -0
  196. package/dist/templates/video-grid.d.ts +52 -0
  197. package/dist/templates/video-grid.js +50 -0
  198. package/dist/templates/video-grid.js.map +1 -0
  199. package/dist/templates/word-fill.d.ts +22 -0
  200. package/dist/templates/word-fill.js +29 -0
  201. package/dist/templates/word-fill.js.map +1 -0
  202. package/dist/templates/word-title.d.ts +24 -0
  203. package/dist/templates/word-title.js +33 -0
  204. package/dist/templates/word-title.js.map +1 -0
  205. package/dist/trend-search.d.ts +336 -0
  206. package/dist/trend-search.js +307 -0
  207. package/dist/trend-search.js.map +1 -0
  208. package/dist/ugc-framing.d.ts +2 -1
  209. package/dist/ugc-framing.js +3 -2
  210. package/dist/ugc-framing.js.map +1 -1
  211. package/dist/ugc-layers.d.ts +36 -4
  212. package/dist/ugc-layers.js +26 -5
  213. package/dist/ugc-layers.js.map +1 -1
  214. package/dist/ugc-scenes.d.ts +40 -0
  215. package/dist/ugc-scenes.js +35 -0
  216. package/dist/ugc-scenes.js.map +1 -0
  217. package/dist/uploads.d.ts +1 -1
  218. package/dist/uploads.js +9 -9
  219. package/dist/uploads.js.map +1 -1
  220. package/dist/voice-admission.d.ts +4767 -836
  221. package/dist/voice-catalog-data.d.ts +1 -0
  222. package/dist/voice-catalog.d.ts +2 -0
  223. package/dist/voice-catalog.generated.json +286 -0
  224. package/dist/voice-catalog.js +1 -0
  225. package/dist/voice-catalog.js.map +1 -1
  226. package/dist/voice-pace.generated.json +65 -0
  227. package/dist/voices.d.ts +1 -0
  228. package/dist/voices.js +2 -1
  229. package/dist/voices.js.map +1 -1
  230. package/dist/workflows/index.d.ts +2 -0
  231. package/dist/workflows/index.js +1 -0
  232. package/dist/workflows/index.js.map +1 -1
  233. package/dist/workflows/methods/faceless-explainer.d.ts +2275 -188
  234. package/dist/workflows/methods/kinetic-launch.d.ts +2275 -188
  235. package/dist/workflows/methods/product-image-story.d.ts +2275 -188
  236. package/dist/workflows/methods/reference-remake.d.ts +2275 -188
  237. package/dist/workflows/methods/shared.d.ts +2275 -188
  238. package/dist/workflows/methods/ugc-faq-answer.d.ts +2275 -188
  239. package/dist/workflows/methods/ugc-product-intro.d.ts +2275 -188
  240. package/dist/workflows/methods/website-proof-demo.d.ts +2275 -188
  241. package/dist/workflows/motion-director.d.ts +59 -0
  242. package/dist/workflows/motion-director.js +118 -0
  243. package/dist/workflows/motion-director.js.map +1 -0
  244. package/dist/workflows/reference-remake.d.ts +1172 -2
  245. package/dist/workflows/reference-remake.js +938 -114
  246. package/dist/workflows/reference-remake.js.map +1 -1
  247. package/dist/workflows/remake-chooser.d.ts +16 -0
  248. package/dist/workflows/remake-chooser.js +10 -0
  249. package/dist/workflows/remake-chooser.js.map +1 -0
  250. package/dist/workflows/remake-motion.d.ts +100 -0
  251. package/dist/workflows/remake-motion.js +237 -0
  252. package/dist/workflows/remake-motion.js.map +1 -0
  253. package/dist/workflows/validate.js +1 -1
  254. package/dist/workflows/validate.js.map +1 -1
  255. package/package.json +5 -1
@@ -32,7 +32,28 @@ export declare const ACTOR_SIZE_SET: {
32
32
  readonly height: 1024;
33
33
  };
34
34
  };
35
- export declare const ACTOR_VIEW_FRAMINGS: readonly ["wide"];
35
+ /** An imported portrait's shape: within 2% of 9:16 is a match (rule 4); further off is refused, never cropped. */
36
+ export declare function isActorPortraitShape(width: number, height: number): boolean;
37
+ /** The smallest face a portrait may show, as a share of its height. */
38
+ export declare const ACTOR_PORTRAIT_MIN_FACE_HEIGHT = 0.055;
39
+ /** A portrait's one face, in shares of the image: inside the frame and within the size bounds; null when it frames. */
40
+ export declare function actorPortraitFramingRefusal(box: {
41
+ left: number;
42
+ top: number;
43
+ width: number;
44
+ height: number;
45
+ }): string | null;
46
+ /** A portrait whose face is below this share of its height is wider than chest-up. */
47
+ export declare const ACTOR_WIDE_PORTRAIT_FACE_HEIGHT = 0.24;
48
+ /** Below this share of the height a portrait's face makes it full height, head to feet (#1175 S7). */
49
+ export declare const ACTOR_FULL_PORTRAIT_FACE_HEIGHT = 0.12;
50
+ /** A portrait with a smaller face than a chest-up one is a wide shot (waist-up) or a full one (head to feet): make_ugc renders that view. */
51
+ export declare const actorPortraitFraming: (box: {
52
+ height: number;
53
+ }) => "close" | "wide" | "full";
54
+ export declare const ACTOR_VIEW_FRAMINGS: readonly ["wide", "full"];
55
+ /** What create_actor from words may ask for: close keeps the measured batch-001 portrait (#1175 S7). */
56
+ export declare const ACTOR_PORTRAIT_FRAMINGS: readonly ["close", "wide", "full"];
36
57
  export declare const ACTOR_HANDS: readonly ["left", "right"];
37
58
  /** The fields of a view derived from an actor (#898). */
38
59
  export declare const ACTOR_VIEW_FIELDS: readonly ["from_actor_id", "framing", "holding", "setting"];
@@ -53,6 +74,8 @@ export declare function createActorInputWith<const Q extends AcceptedQualities>(
53
74
  }>>>;
54
75
  from_actor_id: z.ZodOptional<z.ZodString>;
55
76
  framing: z.ZodOptional<z.ZodEnum<{
77
+ close: "close";
78
+ full: "full";
56
79
  wide: "wide";
57
80
  }>>;
58
81
  holding: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -66,6 +89,12 @@ export declare function createActorInputWith<const Q extends AcceptedQualities>(
66
89
  }>>;
67
90
  }, z.core.$strict>>>;
68
91
  setting: z.ZodOptional<z.ZodString>;
92
+ style_reference: z.ZodOptional<z.ZodObject<{
93
+ asset_id: z.ZodString;
94
+ }, z.core.$strict>>;
95
+ portrait: z.ZodOptional<z.ZodObject<{
96
+ asset_id: z.ZodString;
97
+ }, z.core.$strict>>;
69
98
  quality: z.ZodDefault<z.ZodEnum<{ [k in Q[number]]: k; } extends infer T ? { [k in keyof T]: T[k]; } : never>>;
70
99
  }, z.core.$strict>;
71
100
  export declare const createActorInput: z.ZodObject<{
@@ -83,6 +112,8 @@ export declare const createActorInput: z.ZodObject<{
83
112
  }>>>;
84
113
  from_actor_id: z.ZodOptional<z.ZodString>;
85
114
  framing: z.ZodOptional<z.ZodEnum<{
115
+ close: "close";
116
+ full: "full";
86
117
  wide: "wide";
87
118
  }>>;
88
119
  holding: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -96,6 +127,12 @@ export declare const createActorInput: z.ZodObject<{
96
127
  }>>;
97
128
  }, z.core.$strict>>>;
98
129
  setting: z.ZodOptional<z.ZodString>;
130
+ style_reference: z.ZodOptional<z.ZodObject<{
131
+ asset_id: z.ZodString;
132
+ }, z.core.$strict>>;
133
+ portrait: z.ZodOptional<z.ZodObject<{
134
+ asset_id: z.ZodString;
135
+ }, z.core.$strict>>;
99
136
  quality: z.ZodDefault<z.ZodEnum<{
100
137
  high: "high";
101
138
  medium: "medium";
@@ -121,6 +158,8 @@ export declare const createActorInputShape: {
121
158
  }>>>;
122
159
  from_actor_id: z.ZodOptional<z.ZodString>;
123
160
  framing: z.ZodOptional<z.ZodEnum<{
161
+ close: "close";
162
+ full: "full";
124
163
  wide: "wide";
125
164
  }>>;
126
165
  holding: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -134,18 +173,29 @@ export declare const createActorInputShape: {
134
173
  }>>;
135
174
  }, z.core.$strict>>>;
136
175
  setting: z.ZodOptional<z.ZodString>;
176
+ style_reference: z.ZodOptional<z.ZodObject<{
177
+ asset_id: z.ZodString;
178
+ }, z.core.$strict>>;
179
+ portrait: z.ZodOptional<z.ZodObject<{
180
+ asset_id: z.ZodString;
181
+ }, z.core.$strict>>;
137
182
  quality: z.ZodDefault<z.ZodEnum<{
138
183
  high: "high";
139
184
  medium: "medium";
140
185
  }>>;
141
186
  };
187
+ /** An imported portrait (#1095) is not generated: its snapshot prices the portrait at 0. */
142
188
  export declare const actorUnitCredits: z.ZodObject<{
143
189
  portrait: z.ZodNumber;
144
190
  variant: z.ZodNumber;
145
191
  }, z.core.$strip>;
192
+ /** The words an imported actor (#1095) stores and `list_actors` shows: the look comes from the image, not from text. */
193
+ export declare const ACTOR_PORTRAIT_IMPORT_DESCRIPTION = "An actor from your own portrait image";
146
194
  /** Unit prices of a personal actor. */
147
195
  /** Admission copies them into the run's snapshot and settlement reads the snapshot, so a change here leaves old runs alone. */
148
196
  export declare const ACTOR_UNIT_CREDITS: Readonly<Record<ActorQualityAccepted, z.infer<typeof actorUnitCredits>>>;
197
+ /** A view of an existing actor (`from_actor_id`) is an edit of its portrait and keeps the edit's price (#1101). */
198
+ export declare const ACTOR_VIEW_PORTRAIT_CREDITS: Readonly<Record<ActorQualityAccepted, number>>;
149
199
  /** Unit prices and requested formats fixed at admission; settlement uses these, not the price table. */
150
200
  export declare const actorPricingSnapshot: z.ZodObject<{
151
201
  quality: z.ZodEnum<{
@@ -192,6 +242,7 @@ export declare const storedActorSource: z.ZodObject<{
192
242
  height: z.ZodNumber;
193
243
  framing: z.ZodEnum<{
194
244
  close: "close";
245
+ full: "full";
195
246
  wide: "wide";
196
247
  }>;
197
248
  }, z.core.$strip>;
@@ -216,6 +267,16 @@ export declare const storedHoldingItem: z.ZodObject<{
216
267
  }, z.core.$strip>>;
217
268
  }, z.core.$strip>;
218
269
  export type StoredHoldingItem = z.infer<typeof storedHoldingItem>;
270
+ /** The style reference as admitted (#975): the image asset the run reads. */
271
+ export declare const storedStyleReference: z.ZodObject<{
272
+ asset_id: z.ZodString;
273
+ key: z.ZodString;
274
+ mime: z.ZodEnum<{
275
+ "image/jpeg": "image/jpeg";
276
+ "image/png": "image/png";
277
+ }>;
278
+ }, z.core.$strip>;
279
+ export type StoredStyleReference = z.infer<typeof storedStyleReference>;
219
280
  /** A stored run input. Quality and formats must match the snapshot, or generation would diverge */
220
281
  /** from the charge, so such a run does not read (`run_input_unreadable`, zero credits). */
221
282
  export declare const storedCreateActorInput: z.ZodObject<{
@@ -263,10 +324,13 @@ export declare const storedCreateActorInput: z.ZodObject<{
263
324
  height: z.ZodNumber;
264
325
  framing: z.ZodEnum<{
265
326
  close: "close";
327
+ full: "full";
266
328
  wide: "wide";
267
329
  }>;
268
330
  }, z.core.$strip>>;
269
331
  framing: z.ZodOptional<z.ZodEnum<{
332
+ close: "close";
333
+ full: "full";
270
334
  wide: "wide";
271
335
  }>>;
272
336
  holding: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -288,6 +352,22 @@ export declare const storedCreateActorInput: z.ZodObject<{
288
352
  }, z.core.$strip>>;
289
353
  }, z.core.$strip>>>;
290
354
  setting: z.ZodOptional<z.ZodString>;
355
+ style_reference: z.ZodOptional<z.ZodObject<{
356
+ asset_id: z.ZodString;
357
+ key: z.ZodString;
358
+ mime: z.ZodEnum<{
359
+ "image/jpeg": "image/jpeg";
360
+ "image/png": "image/png";
361
+ }>;
362
+ }, z.core.$strip>>;
363
+ portrait: z.ZodOptional<z.ZodObject<{
364
+ asset_id: z.ZodString;
365
+ key: z.ZodString;
366
+ mime: z.ZodEnum<{
367
+ "image/jpeg": "image/jpeg";
368
+ "image/png": "image/png";
369
+ }>;
370
+ }, z.core.$strip>>;
291
371
  }, z.core.$strip>;
292
372
  export type StoredCreateActorInput = z.infer<typeof storedCreateActorInput>;
293
373
  export declare const createActorQuote: z.ZodObject<{
@@ -408,6 +488,14 @@ export declare const CREATE_ACTOR_FIELD_DISPOSITIONS: {
408
488
  readonly kind: "implemented";
409
489
  readonly provenBy: "egress";
410
490
  };
491
+ readonly style_reference: {
492
+ readonly kind: "implemented";
493
+ readonly provenBy: "egress";
494
+ };
495
+ readonly portrait: {
496
+ readonly kind: "implemented";
497
+ readonly provenBy: "egress";
498
+ };
411
499
  };
412
500
  export declare const ACTOR_VIEWS_DISABLED_MESSAGE = "is not available right now: deriving an actor from an actor is off; create an actor from a description instead";
413
501
  /** The registry with `CLIPWRIGHT_ACTOR_VIEWS` applied: switched off, the view fields are refused, not ignored. */
@@ -431,7 +519,10 @@ export declare const CREATE_ACTOR_RUN_ERRORS: {
431
519
  readonly actor_run_interrupted: "the run stopped before it finished; no actor was created and nothing was charged";
432
520
  readonly actor_spend_refused: "the portrait could not be started right now; no actor was created and nothing was charged. Retry later";
433
521
  readonly actor_identity_not_kept: "the edited portrait did not keep the source actor's face; no actor was created and nothing was charged";
434
- readonly actor_source_unreadable: "the source actor or a held object's picture could not be read; no actor was created and nothing was charged";
522
+ readonly actor_source_unreadable: string;
523
+ readonly actor_portrait_not_one_face: "the portrait image did not show exactly one face; no actor was created and nothing was charged";
524
+ readonly actor_portrait_framing: string;
525
+ readonly actor_resembles_reference: string;
435
526
  readonly actor_views_disabled: "deriving an actor from an actor is disabled right now; no actor was created and nothing was charged";
436
527
  };
437
528
  export type CreateActorRunErrorCode = keyof typeof CREATE_ACTOR_RUN_ERRORS;
@@ -1,7 +1,9 @@
1
1
  import { z } from "zod";
2
2
  import { ACTOR_DEFAULT_QUALITY, ACTOR_QUALITIES_ACCEPTED, ACTOR_QUALITIES_KNOWN, } from "./actor-qualities.js";
3
3
  import { ACTOR_AGE_FLOOR, ACTOR_ASPECTS_KNOWN, ACTOR_DESCRIPTION_MAX_CHARS, ACTOR_GENDERS_ACCEPTED, ACTOR_GENDERS_KNOWN, ACTOR_HOLDING_DESCRIPTION_MAX_CHARS, ACTOR_HOLDING_MAX_ITEMS, ACTOR_MAX_AGE, ACTOR_MIN_AGE, ACTOR_NAME_MAX_CHARS, ACTOR_SETTING_MAX_CHARS, } from "./actor-bounds.js";
4
+ import { ASPECT_MATCH_THRESHOLD, ASPECT_RATIO_VALUES, aspectDistance } from "./aspect.js";
4
5
  import { assetId } from "./asset-identity.js";
6
+ import { presenterPlace } from "./scene-place.js";
5
7
  import { actorId, ASPECT_RATIOS } from "./skills.js";
6
8
  /** Personal actors of an account. */
7
9
  export { ACTOR_DEFAULT_QUALITY, ACTOR_QUALITIES_ACCEPTED, ACTOR_QUALITIES_KNOWN } from "./actor-qualities.js";
@@ -45,9 +47,34 @@ export const ACTOR_SIZE_SET = {
45
47
  "1:1": { width: 1024, height: 1024 },
46
48
  "16:9": { width: 1824, height: 1024 },
47
49
  };
50
+ /** An imported portrait's shape: within 2% of 9:16 is a match (rule 4); further off is refused, never cropped. */
51
+ export function isActorPortraitShape(width, height) {
52
+ return aspectDistance(ASPECT_RATIO_VALUES[ACTOR_PORTRAIT_ASPECT], width / height) <= ASPECT_MATCH_THRESHOLD;
53
+ }
54
+ /** The smallest face a portrait may show, as a share of its height. */
55
+ export const ACTOR_PORTRAIT_MIN_FACE_HEIGHT = 0.055;
56
+ /** A portrait's one face, in shares of the image: inside the frame and within the size bounds; null when it frames. */
57
+ export function actorPortraitFramingRefusal(box) {
58
+ if (box.left < 0 || box.top < 0 || box.left + box.width > 1 || box.top + box.height > 1)
59
+ return "the face is cut off by the frame";
60
+ const min = ACTOR_PORTRAIT_MIN_FACE_HEIGHT, max = presenterPlace.shape.face_height.maxValue;
61
+ if (box.height < min)
62
+ return `the face is too small: ${box.height.toFixed(2)} of the height, at least ${min}`;
63
+ if (max !== null && box.height > max)
64
+ return `the face is too large: ${box.height.toFixed(2)} of the height, at most ${max}`;
65
+ return null;
66
+ }
67
+ /** A portrait whose face is below this share of its height is wider than chest-up. */
68
+ export const ACTOR_WIDE_PORTRAIT_FACE_HEIGHT = 0.24;
69
+ /** Below this share of the height a portrait's face makes it full height, head to feet (#1175 S7). */
70
+ export const ACTOR_FULL_PORTRAIT_FACE_HEIGHT = 0.12;
71
+ /** A portrait with a smaller face than a chest-up one is a wide shot (waist-up) or a full one (head to feet): make_ugc renders that view. */
72
+ export const actorPortraitFraming = (box) => box.height < ACTOR_FULL_PORTRAIT_FACE_HEIGHT ? "full" : box.height < ACTOR_WIDE_PORTRAIT_FACE_HEIGHT ? "wide" : "close";
48
73
  const includesPortrait = (ratios) => ratios.includes(ACTOR_PORTRAIT_ASPECT);
49
74
  const hasNoRepeats = (ratios) => new Set(ratios).size === ratios.length;
50
- export const ACTOR_VIEW_FRAMINGS = ["wide"];
75
+ export const ACTOR_VIEW_FRAMINGS = ["wide", "full"];
76
+ /** What create_actor from words may ask for: close keeps the measured batch-001 portrait (#1175 S7). */
77
+ export const ACTOR_PORTRAIT_FRAMINGS = ["close", ...ACTOR_VIEW_FRAMINGS];
51
78
  export const ACTOR_HANDS = ["left", "right"];
52
79
  /** One held object: words, and optionally a picture of the object itself. */
53
80
  const holdingItem = z.strictObject({
@@ -67,7 +94,7 @@ const actorFieldShape = {
67
94
  .max(ACTOR_DESCRIPTION_MAX_CHARS)
68
95
  .optional()
69
96
  .describe("Words describing a fictional adult: appearance, clothing, setting. Naming a real person or a likeness " +
70
- "to one is refused before any charge (actor_prompt_refused). Required unless from_actor_id is given."),
97
+ "to one is refused before any charge (actor_prompt_refused). Required unless from_actor_id or portrait is given."),
71
98
  gender: z
72
99
  .enum(ACTOR_GENDERS_ACCEPTED)
73
100
  .optional()
@@ -97,9 +124,11 @@ const actorFieldShape = {
97
124
  .describe("Derive a new personal actor from this one (a library actor or your own): the same face, gender and age, " +
98
125
  "with the view changed by framing, holding or setting. Omit description, gender and approximate_age."),
99
126
  framing: z
100
- .enum(ACTOR_VIEW_FRAMINGS)
127
+ .enum(ACTOR_PORTRAIT_FRAMINGS)
101
128
  .optional()
102
- .describe("wide: the camera further back, the head lower with room above; make_ugc then renders it as a wide view."),
129
+ .describe("The shot size: close (default, chest-up), wide (waist-up with hands, room above) or full (standing, head to feet). " +
130
+ "From words it frames the new portrait; with from_actor_id, wide or full moves the camera back. The view is filed by the face size " +
131
+ "drawn, and make_ugc renders it with presenter_framing of that name. Not with style_reference or portrait, whose image sets the shot."),
103
132
  holding: z
104
133
  .array(holdingItem)
105
134
  .min(1)
@@ -112,21 +141,60 @@ const actorFieldShape = {
112
141
  .max(ACTOR_SETTING_MAX_CHARS)
113
142
  .optional()
114
143
  .describe("The room or background to put the presenter in, in words."),
144
+ style_reference: z
145
+ .strictObject({ asset_id: assetId })
146
+ .optional()
147
+ .describe("A PNG or JPEG photo whose set, light, camera angle, shot size and clothing the new portrait follows: chest-up, " +
148
+ "waist-up or full height as in the photo; a portrait wider than chest-up becomes a wide view. An image asset of " +
149
+ "this account (upload, URL import or a found picture, rights_confirmed). The face is new, from description; " +
150
+ "a portrait that looks like a person in the photo is refused at no charge. Not with from_actor_id."),
151
+ portrait: z
152
+ .strictObject({ asset_id: assetId })
153
+ .optional()
154
+ .describe("Make the actor from your own portrait image instead of generating one: a PNG or JPEG image asset of this account " +
155
+ "(rights_confirmed), within 2% of 9:16, showing exactly one face that is neither cut off nor too small or too large. " +
156
+ "It becomes the actor's 9:16 portrait at no charge; the other formats are edited from it and charged as usual. " +
157
+ "With gender and approximate_age; not with description, style_reference or from_actor_id."),
115
158
  };
116
159
  /** The fields of a view derived from an actor (#898). */
117
160
  export const ACTOR_VIEW_FIELDS = ["from_actor_id", "framing", "holding", "setting"];
118
161
  const ACTOR_VIEW_CHANGES = ["framing", "holding", "setting"];
119
162
  const ACTOR_SOURCE_FIELDS = ["description", "gender", "approximate_age"];
120
- /** A described actor needs its words, a derived one takes them from the source: neither is silently dropped (rule 3). */
163
+ const PORTRAIT_REQUIRES = {
164
+ gender: "gender is required with portrait: it fixes the actor's gender and default voice",
165
+ approximate_age: "approximate_age is required with portrait: the actor's approximate age in years",
166
+ };
167
+ /** A described actor needs its words, a derived one takes them from the source, an imported one from its image (#1095): */
168
+ /** none is silently dropped (rule 3). */
121
169
  function checkActorSource(input, ctx) {
122
170
  const refuse = (field, message) => ctx.addIssue({ code: z.ZodIssueCode.custom, path: [field], message });
123
- if (input.from_actor_id === undefined) {
171
+ if (input.from_actor_id === undefined && input.portrait !== undefined) {
172
+ if (input.description !== undefined) {
173
+ refuse("description", "description does not combine with portrait: the face and look come from the portrait image; omit it");
174
+ }
175
+ if (input.style_reference !== undefined) {
176
+ refuse("style_reference", "style_reference draws a new face and does not combine with portrait; omit it");
177
+ }
178
+ for (const [field, message] of Object.entries(PORTRAIT_REQUIRES)) {
179
+ if (input[field] === undefined)
180
+ refuse(field, message);
181
+ }
182
+ }
183
+ else if (input.from_actor_id === undefined) {
124
184
  for (const field of ACTOR_SOURCE_FIELDS) {
125
185
  if (input[field] === undefined) {
126
186
  refuse(field, `${field} is required: describe a fictional adult, or pass from_actor_id to derive a view of an existing actor`);
127
187
  }
128
188
  }
189
+ }
190
+ if (input.from_actor_id === undefined) {
191
+ // From words the shot size frames the new portrait (#1175 S7); an image source sets its own.
192
+ if (input.framing !== undefined && (input.portrait !== undefined || input.style_reference !== undefined)) {
193
+ refuse("framing", `framing does not combine with ${input.portrait !== undefined ? "portrait" : "style_reference"}: its image sets the shot size; omit it`);
194
+ }
129
195
  for (const field of ACTOR_VIEW_CHANGES) {
196
+ if (field === "framing")
197
+ continue;
130
198
  if (input[field] !== undefined) {
131
199
  refuse(field, `${field} needs from_actor_id: create the actor first, then derive a view of it with from_actor_id`);
132
200
  }
@@ -137,6 +205,15 @@ function checkActorSource(input, ctx) {
137
205
  if (input[field] !== undefined)
138
206
  refuse(field, `${field} comes from the source actor with from_actor_id; omit it`);
139
207
  }
208
+ if (input.style_reference !== undefined) {
209
+ refuse("style_reference", "style_reference makes a new person and does not combine with from_actor_id; " +
210
+ "to put an existing actor in another room use setting");
211
+ }
212
+ if (input.portrait !== undefined) {
213
+ refuse("portrait", "portrait makes a new actor and does not combine with from_actor_id; create the actor first, then derive a view of it");
214
+ }
215
+ if (input.framing === "close")
216
+ refuse("framing", "framing close is not a change of view: with from_actor_id, framing is wide or full");
140
217
  if (ACTOR_VIEW_CHANGES.every((field) => input[field] === undefined)) {
141
218
  refuse("from_actor_id", "from_actor_id needs a change: framing, holding or setting");
142
219
  }
@@ -146,11 +223,12 @@ function checkActorSource(input, ctx) {
146
223
  }
147
224
  function unknownFieldsRefusal(keys) {
148
225
  if (keys.includes("image")) {
149
- return "create_actor takes no image of a person: describe a fictional adult in description, or derive a view of " +
150
- "an existing actor with from_actor_id; a held object's picture goes in holding[].reference";
226
+ return "create_actor takes no image link: your own portrait image goes in portrait: { asset_id } as an image asset, " +
227
+ "a held object's picture in holding[].reference, and a photo to copy pose, set and light from (with a new face) " +
228
+ "in style_reference; or describe a fictional adult in description, or derive a view of an actor with from_actor_id";
151
229
  }
152
230
  return `unknown field(s) ${keys.join(", ")}: create_actor accepts description, gender, approximate_age, name, quality, ` +
153
- "aspect_ratios, from_actor_id, framing, holding, setting";
231
+ "aspect_ratios, from_actor_id, framing, holding, setting, style_reference, portrait";
154
232
  }
155
233
  /** The input for a given set of accepted qualities. */
156
234
  export function createActorInputWith(accepted, defaultQuality) {
@@ -161,8 +239,8 @@ export function createActorInputWith(accepted, defaultQuality) {
161
239
  error: (issue) => `quality ${JSON.stringify(issue.input)} is not accepted: choose one of ${accepted.join(" | ")}`,
162
240
  })
163
241
  .default(defaultQuality)
164
- .describe(`Image quality: ${accepted.join(" | ")}. Omitted means ${defaultQuality}. The price per image depends on it; ` +
165
- "quote shows it before any charge."),
242
+ .describe(`Image quality: ${accepted.join(" | ")}. Omitted means ${defaultQuality}. high draws the most natural portrait. ` +
243
+ "The price per image depends on it; quote shows it before any charge."),
166
244
  }, {
167
245
  error: (issue) => (issue.code === "unrecognized_keys" ? unknownFieldsRefusal(issue.keys) : undefined),
168
246
  }).superRefine(checkActorSource);
@@ -170,16 +248,21 @@ export function createActorInputWith(accepted, defaultQuality) {
170
248
  export const createActorInput = createActorInputWith(ACTOR_QUALITIES_ACCEPTED, ACTOR_DEFAULT_QUALITY);
171
249
  /** Flat shape for MCP: the tool publishes the same schema the server checks. */
172
250
  export const createActorInputShape = createActorInput.shape;
251
+ /** An imported portrait (#1095) is not generated: its snapshot prices the portrait at 0. */
173
252
  export const actorUnitCredits = z.object({
174
- portrait: z.number().int().positive(),
253
+ portrait: z.number().int().nonnegative(),
175
254
  variant: z.number().int().positive(),
176
255
  });
256
+ /** The words an imported actor (#1095) stores and `list_actors` shows: the look comes from the image, not from text. */
257
+ export const ACTOR_PORTRAIT_IMPORT_DESCRIPTION = "An actor from your own portrait image";
177
258
  /** Unit prices of a personal actor. */
178
259
  /** Admission copies them into the run's snapshot and settlement reads the snapshot, so a change here leaves old runs alone. */
179
260
  export const ACTOR_UNIT_CREDITS = {
180
261
  medium: { portrait: 4, variant: 8 },
181
- high: { portrait: 12, variant: 18 },
262
+ high: { portrait: 45, variant: 18 },
182
263
  };
264
+ /** A view of an existing actor (`from_actor_id`) is an edit of its portrait and keeps the edit's price (#1101). */
265
+ export const ACTOR_VIEW_PORTRAIT_CREDITS = { medium: 4, high: 12 };
183
266
  /** Read schemas depend only on what could have been written: the known sets and the DB check. */
184
267
  /** Intake bounds stay out, so narrowing intake never breaks old runs. */
185
268
  const storedAspects = z.array(z.enum(ACTOR_ASPECTS_KNOWN)).min(1);
@@ -211,7 +294,7 @@ export const storedActorSource = z.object({
211
294
  sha256: sha256Hex,
212
295
  width: z.number().int().positive(),
213
296
  height: z.number().int().positive(),
214
- framing: z.enum(["close", "wide"]),
297
+ framing: z.enum(ACTOR_PORTRAIT_FRAMINGS),
215
298
  });
216
299
  /** A held object as admitted: a `reference` carries the asset row admission found. */
217
300
  export const storedHoldingItem = z.object({
@@ -220,6 +303,12 @@ export const storedHoldingItem = z.object({
220
303
  reference: z.object({ asset_id: z.string().min(1) }).optional(),
221
304
  picture: z.object({ asset_id: z.string().min(1), key: z.string().min(1), mime: z.enum(["image/png", "image/jpeg"]) }).optional(),
222
305
  });
306
+ /** The style reference as admitted (#975): the image asset the run reads. */
307
+ export const storedStyleReference = z.object({
308
+ asset_id: z.string().min(1),
309
+ key: z.string().min(1),
310
+ mime: z.enum(["image/png", "image/jpeg"]),
311
+ });
223
312
  /** A stored run input. Quality and formats must match the snapshot, or generation would diverge */
224
313
  /** from the charge, so such a run does not read (`run_input_unreadable`, zero credits). */
225
314
  export const storedCreateActorInput = z
@@ -233,9 +322,25 @@ export const storedCreateActorInput = z
233
322
  pricing_snapshot: actorPricingSnapshot,
234
323
  from_actor_id: z.string().min(1).optional(),
235
324
  source_actor: storedActorSource.optional(),
236
- framing: z.enum(ACTOR_VIEW_FRAMINGS).optional(),
325
+ framing: z.enum(ACTOR_PORTRAIT_FRAMINGS).optional(),
237
326
  holding: z.array(storedHoldingItem).optional(),
238
327
  setting: z.string().min(1).optional(),
328
+ style_reference: storedStyleReference.optional(),
329
+ /** #1095: the image asset admission found, the same shape as a style reference. */
330
+ portrait: storedStyleReference.optional(),
331
+ })
332
+ .refine((input) => input.style_reference === undefined || input.source_actor === undefined, {
333
+ error: "a stored style_reference comes with a source actor",
334
+ path: ["style_reference"],
335
+ })
336
+ .refine((input) => input.portrait === undefined || (input.source_actor === undefined && input.style_reference === undefined), {
337
+ error: "a stored portrait comes with another source",
338
+ path: ["portrait"],
339
+ })
340
+ // One way only: an input whose portrait was erased still reads; a free portrait unit never generates one.
341
+ .refine((input) => input.portrait === undefined || input.pricing_snapshot.unit_credits.portrait === 0, {
342
+ error: "a stored portrait is priced above zero",
343
+ path: ["portrait"],
239
344
  })
240
345
  .refine((input) => input.quality === input.pricing_snapshot.quality, {
241
346
  error: "stored quality differs from pricing_snapshot.quality",
@@ -291,6 +396,8 @@ export const CREATE_ACTOR_FIELD_DISPOSITIONS = {
291
396
  framing: { kind: "implemented", provenBy: "egress" },
292
397
  holding: { kind: "implemented", provenBy: "egress" },
293
398
  setting: { kind: "implemented", provenBy: "egress" },
399
+ style_reference: { kind: "implemented", provenBy: "egress" },
400
+ portrait: { kind: "implemented", provenBy: "egress" },
294
401
  };
295
402
  export const ACTOR_VIEWS_DISABLED_MESSAGE = "is not available right now: deriving an actor from an actor is off; create an actor from a description instead";
296
403
  /** The registry with `CLIPWRIGHT_ACTOR_VIEWS` applied: switched off, the view fields are refused, not ignored. */
@@ -321,7 +428,14 @@ export const CREATE_ACTOR_RUN_ERRORS = {
321
428
  actor_run_interrupted: "the run stopped before it finished; no actor was created and nothing was charged",
322
429
  actor_spend_refused: "the portrait could not be started right now; no actor was created and nothing was charged. Retry later",
323
430
  actor_identity_not_kept: "the edited portrait did not keep the source actor's face; no actor was created and nothing was charged",
324
- actor_source_unreadable: "the source actor or a held object's picture could not be read; no actor was created and nothing was charged",
431
+ actor_source_unreadable: "the source actor, a held object's picture, the style reference or the portrait image could not be read; no actor " +
432
+ "was created and nothing was charged",
433
+ actor_portrait_not_one_face: "the portrait image did not show exactly one face; no actor was created and nothing was charged",
434
+ actor_portrait_framing: "the face in the portrait image is cut off, too small or too large for a presenter; no actor was created and " +
435
+ "nothing was charged. Use a photo from head-and-shoulders to full height, with the whole face in the frame and the " +
436
+ "person filling the frame's height",
437
+ actor_resembles_reference: "the portrait looked too much like a person in style_reference; no actor was created and nothing was charged. " +
438
+ "Retry, or choose another reference photo",
325
439
  actor_views_disabled: "deriving an actor from an actor is disabled right now; no actor was created and nothing was charged",
326
440
  };
327
441
  export const CREATE_ACTOR_RUN_ERROR_CODES = Object.keys(CREATE_ACTOR_RUN_ERRORS);
@@ -346,8 +460,9 @@ export const CREATE_ACTOR_DESCRIPTION = "Create a personal actor for this accoun
346
460
  "one face, plus the other requested formats edited from it. Returns a run_id immediately; poll get_run until " +
347
461
  "'succeeded' (created_actor.actor_id, then pass it as actor_id to make_ugc) or 'failed'. Each published image is " +
348
462
  "charged at the price quote shows; refused descriptions and unusable portraits cost nothing. When generation is " +
349
- "switched off the call fails with actor_generation_disabled. With from_actor_id it derives a new personal actor " +
350
- "from a library or own actor: the same face (checked; a mismatch costs nothing), with framing wide, objects in " +
351
- "holding or a new setting. A held object's picture is an image asset (upload, URL import or a found picture, " +
352
- "rights_confirmed).";
463
+ "switched off the call fails with actor_generation_disabled. from_actor_id keeps the face (checked; a mismatch " +
464
+ "costs nothing). With style_reference a portrait that looks like a person in the photo is refused at no charge, and " +
465
+ "the price is the same. portrait (with gender and approximate_age) becomes the 9:16 portrait at no charge, only the " +
466
+ "other formats are charged; an image without exactly one face, or with the face cut off, too small or too large, is " +
467
+ "refused at no charge.";
353
468
  //# sourceMappingURL=account-actors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"account-actors.js","sourceRoot":"","sources":["../src/account-actors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,GAGtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,mCAAmC,EACnC,uBAAuB,EACvB,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAEvE,qCAAqC;AAErC,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9G,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,mCAAmC,EACnC,uBAAuB,EACvB,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,mBAAmB,CAAC;A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AAE,+BAA+B,CAAC,CAC7D,CAAC;AAEF,mFAAmF;AACnF,MAAM,CAAC,MAAM,wBAAwB,GACnC,iHAAiH;IACjH,8GAA8G;IAC9G,kHAAkH;IAClH,iHAAiH;IACjH,gHAAgH;IAChH,qHAAqH;IACrH,qHAAqH;IACrH,qHAAqH;IACrH,uBAAuB,CAAC"}
package/dist/actors.d.ts CHANGED
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
+ import { type AspectRatio } from "./skills.js";
2
3
  export declare const ACTORS_PATH = "/v1/actors";
3
4
  /** An account's personal actor: the quote is free, the run is paid. The API routes repeat */
4
5
  /** these paths as literals, and a test keeps them equal. */
5
6
  export declare const CREATE_ACTOR_QUOTE_PATH = "/v1/skills/create_actor/quote";
6
7
  export declare const CREATE_ACTOR_RUN_PATH = "/v1/skills/create_actor/run";
8
+ /** A catalog actor's picture on the API's own host (#1125): short, stable and unsigned, so chat clients show it inline. */
9
+ export declare const ACTOR_PREVIEW_PATH = "/v1/public/actor-previews/:actor_id/:version/:file";
10
+ export interface ActorPreviewView {
11
+ aspect_ratio: AspectRatio;
12
+ framing?: "wide" | "full" | undefined;
13
+ gaze?: "left" | "right" | undefined;
14
+ prop?: "mic" | undefined;
15
+ }
16
+ /** One file name per view of a version: `9x16`, `9x16-wide-mic`, `16x9-left`. */
17
+ export declare function actorPreviewFile(view: ActorPreviewView): string;
18
+ export declare function actorPreviewUrl(origin: string, actor: {
19
+ actor_id: string;
20
+ version: number;
21
+ }, view: ActorPreviewView): string;
7
22
  /** The path of one actor. The id is encoded, since it comes from the caller. */
8
23
  export declare function actorItemPath(id: string): string;
9
24
  export type Gender = "female" | "male";
@@ -61,12 +76,17 @@ export declare function renderedPresenterFraming(pin?: {
61
76
  asset?: {
62
77
  framing?: string | undefined;
63
78
  } | undefined;
64
- } | undefined): "close" | "wide";
65
- /** What a wide or mic request did not get, one line each, read from the pin admission made: a view is pinned only when drawn (#884 S5d, rule 3). */
79
+ } | undefined): "close" | "wide" | "full";
80
+ /** What a wide, full or mic request did not get, one line each, read from the pin admission made: a view is pinned only when drawn (#884 S5d, */
81
+ /** rule 3). A take is never widened or cropped to match: a full framing[] size on a narrower take names it (#1175 S7). */
66
82
  export declare function presenterViewWarnings(input: {
67
83
  presenter_framing?: string | undefined;
68
84
  presenter_mic?: boolean | undefined;
69
85
  aspect_ratio?: string | undefined;
86
+ framing?: readonly {
87
+ id?: unknown;
88
+ size?: unknown;
89
+ }[] | undefined;
70
90
  }, pin?: {
71
91
  actor_id?: string | undefined;
72
92
  asset?: {
@@ -107,6 +127,7 @@ export declare const actorCatalogEntry: z.ZodObject<{
107
127
  preview_url: z.ZodURL;
108
128
  preview_expires_at: z.ZodISODateTime;
109
129
  framing: z.ZodOptional<z.ZodEnum<{
130
+ full: "full";
110
131
  wide: "wide";
111
132
  }>>;
112
133
  gaze: z.ZodOptional<z.ZodEnum<{
@@ -140,6 +161,7 @@ export declare const actorsResponse: z.ZodObject<{
140
161
  preview_url: z.ZodURL;
141
162
  preview_expires_at: z.ZodISODateTime;
142
163
  framing: z.ZodOptional<z.ZodEnum<{
164
+ full: "full";
143
165
  wide: "wide";
144
166
  }>>;
145
167
  gaze: z.ZodOptional<z.ZodEnum<{