@clipwright/core 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-actors.d.ts +94 -2
- package/dist/account-actors.js +151 -34
- package/dist/account-actors.js.map +1 -1
- package/dist/actor-bounds.d.ts +3 -3
- package/dist/actor-bounds.js +3 -3
- package/dist/actor-bounds.js.map +1 -1
- package/dist/actors.d.ts +24 -2
- package/dist/actors.js +30 -9
- package/dist/actors.js.map +1 -1
- package/dist/ad-pause-trim.d.ts +21 -0
- package/dist/ad-pause-trim.js +16 -0
- package/dist/ad-pause-trim.js.map +1 -0
- package/dist/aspect.d.ts +5 -0
- package/dist/aspect.js +7 -0
- package/dist/aspect.js.map +1 -1
- package/dist/assets.d.ts +2 -1
- package/dist/assets.js +10 -11
- package/dist/assets.js.map +1 -1
- package/dist/billing-terms.d.ts +8 -0
- package/dist/broll-policy.js +2 -3
- package/dist/broll-policy.js.map +1 -1
- package/dist/caption-geometry.js +10 -8
- package/dist/caption-geometry.js.map +1 -1
- package/dist/contract-dispositions.d.ts +1575 -100
- package/dist/contract-dispositions.js +100 -14
- package/dist/contract-dispositions.js.map +1 -1
- package/dist/contracts/v1/workflow-brief.d.ts +10764 -2790
- package/dist/contracts/v1/workflow-brief.js +19 -1
- package/dist/contracts/v1/workflow-brief.js.map +1 -1
- package/dist/contracts/v1/workflow-catalog.d.ts +11612 -3536
- package/dist/contracts/v1/workflow-client.d.ts +5429 -1187
- package/dist/contracts/v1/workflow-client.js +9 -5
- package/dist/contracts/v1/workflow-client.js.map +1 -1
- package/dist/contracts/v1/workflow-execution.d.ts +242 -0
- package/dist/contracts/v1/workflow-execution.js +2 -2
- package/dist/contracts/v1/workflow-execution.js.map +1 -1
- package/dist/contracts/v1/workflow-next.d.ts +225 -0
- package/dist/contracts/v1/workflow-next.js +21 -0
- package/dist/contracts/v1/workflow-next.js.map +1 -0
- package/dist/contracts/v1/workflow-plan.d.ts +18556 -6429
- package/dist/contracts/v1/workflow-plan.js +2 -1
- package/dist/contracts/v1/workflow-plan.js.map +1 -1
- package/dist/contracts/v1/workflow-primitives.d.ts +20 -1
- package/dist/contracts/v1/workflow-primitives.js +8 -2
- package/dist/contracts/v1/workflow-primitives.js.map +1 -1
- package/dist/contracts/v1/workflow-run-read.d.ts +50 -0
- package/dist/creator-profile.d.ts +1 -0
- package/dist/creator-profile.js +13 -7
- package/dist/creator-profile.js.map +1 -1
- package/dist/design.d.ts +921 -0
- package/dist/design.js +183 -0
- package/dist/design.js.map +1 -0
- package/dist/edit-candidate.d.ts +2 -0
- package/dist/edit-candidate.js +3 -0
- package/dist/edit-candidate.js.map +1 -1
- package/dist/edit-faceless.js +2 -1
- package/dist/edit-faceless.js.map +1 -1
- package/dist/endpoint-notes.js +19 -0
- package/dist/endpoint-notes.js.map +1 -1
- package/dist/endpoints.js +21 -4
- package/dist/endpoints.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +7 -0
- package/dist/errors.js.map +1 -1
- package/dist/face-billing.d.ts +39 -0
- package/dist/face-billing.js +11 -1
- package/dist/face-billing.js.map +1 -1
- package/dist/faceless-action-shots.d.ts +31 -0
- package/dist/faceless-action-shots.js +51 -0
- package/dist/faceless-action-shots.js.map +1 -0
- package/dist/faceless-media-record.d.ts +56 -0
- package/dist/faceless-media-record.js +6 -2
- package/dist/faceless-media-record.js.map +1 -1
- package/dist/faceless-price.d.ts +22 -0
- package/dist/faceless-price.js +27 -3
- package/dist/faceless-price.js.map +1 -1
- package/dist/faceless-public-plan.d.ts +10 -1
- package/dist/faceless-public-plan.js +4 -0
- package/dist/faceless-public-plan.js.map +1 -1
- package/dist/faceless-public.d.ts +5583 -184
- package/dist/faceless-public.js +114 -16
- package/dist/faceless-public.js.map +1 -1
- package/dist/feedback.js +1 -1
- package/dist/feedback.js.map +1 -1
- package/dist/generations-output.js +1 -1
- package/dist/generations-output.js.map +1 -1
- package/dist/generations.d.ts +1 -1
- package/dist/generations.js +2 -2
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/live-shot-kinds.d.ts +22 -0
- package/dist/live-shot-kinds.js +17 -0
- package/dist/live-shot-kinds.js.map +1 -0
- package/dist/long-form-profile.d.ts +1 -1
- package/dist/long-form-profile.js +1 -1
- package/dist/mcp-ugc-descriptions.d.ts +32 -0
- package/dist/mcp-ugc-descriptions.js +112 -0
- package/dist/mcp-ugc-descriptions.js.map +1 -0
- package/dist/motion-styles.d.ts +54 -0
- package/dist/motion-styles.js +67 -0
- package/dist/motion-styles.js.map +1 -0
- package/dist/moves.d.ts +222 -0
- package/dist/moves.js +81 -0
- package/dist/moves.js.map +1 -0
- package/dist/music.d.ts +18 -0
- package/dist/music.js +29 -0
- package/dist/music.js.map +1 -0
- package/dist/openapi.d.ts +3 -1
- package/dist/openapi.js +32 -5
- package/dist/openapi.js.map +1 -1
- package/dist/parts-pricing.d.ts +14 -3
- package/dist/parts-pricing.js +23 -5
- package/dist/parts-pricing.js.map +1 -1
- package/dist/prices.d.ts +6 -1
- package/dist/prices.js +56 -17
- package/dist/prices.js.map +1 -1
- package/dist/reference-analysis.d.ts +134 -0
- package/dist/reference-analysis.js +45 -33
- package/dist/reference-analysis.js.map +1 -1
- package/dist/reference-display.js +3 -0
- package/dist/reference-display.js.map +1 -1
- package/dist/reference-kinds.d.ts +3 -2
- package/dist/reference-kinds.js +2 -1
- package/dist/reference-kinds.js.map +1 -1
- package/dist/reference-profile.d.ts +437 -0
- package/dist/reference-profile.js +46 -5
- package/dist/reference-profile.js.map +1 -1
- package/dist/reference-staging.d.ts +54 -2
- package/dist/reference-staging.js +28 -5
- package/dist/reference-staging.js.map +1 -1
- package/dist/reference-text-spans.d.ts +26 -0
- package/dist/reference-text-spans.js +76 -0
- package/dist/reference-text-spans.js.map +1 -0
- package/dist/resolved-timeline.d.ts +173 -0
- package/dist/resolved-timeline.js +16 -5
- package/dist/resolved-timeline.js.map +1 -1
- package/dist/run-media.d.ts +5 -0
- package/dist/run-media.js +17 -0
- package/dist/run-media.js.map +1 -0
- package/dist/run-static-warnings.js +12 -3
- package/dist/run-static-warnings.js.map +1 -1
- package/dist/runs.d.ts +49 -0
- package/dist/runs.js +5 -0
- package/dist/runs.js.map +1 -1
- package/dist/scene-graph.d.ts +547 -0
- package/dist/scene-graph.js +296 -0
- package/dist/scene-graph.js.map +1 -0
- package/dist/scene-place.d.ts +2 -0
- package/dist/scene-place.js +6 -0
- package/dist/scene-place.js.map +1 -1
- package/dist/semantic-inserts.d.ts +2 -1
- package/dist/semantic-inserts.js +4 -4
- package/dist/semantic-inserts.js.map +1 -1
- package/dist/skills.d.ts +11743 -5428
- package/dist/skills.js +248 -59
- package/dist/skills.js.map +1 -1
- package/dist/templates/chart.d.ts +35 -0
- package/dist/templates/chart.js +38 -0
- package/dist/templates/chart.js.map +1 -0
- package/dist/templates/chat-window.d.ts +58 -0
- package/dist/templates/chat-window.js +57 -0
- package/dist/templates/chat-window.js.map +1 -0
- package/dist/templates/compare.d.ts +10 -2
- package/dist/templates/compare.js +13 -9
- package/dist/templates/compare.js.map +1 -1
- package/dist/templates/hand-title.d.ts +32 -0
- package/dist/templates/hand-title.js +47 -0
- package/dist/templates/hand-title.js.map +1 -0
- package/dist/templates/index.d.ts +33 -7
- package/dist/templates/index.js +95 -51
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/lower-third.d.ts +11 -0
- package/dist/templates/lower-third.js +8 -3
- package/dist/templates/lower-third.js.map +1 -1
- package/dist/templates/notification.d.ts +24 -2
- package/dist/templates/notification.js +21 -12
- package/dist/templates/notification.js.map +1 -1
- package/dist/templates/phone-screen.d.ts +37 -0
- package/dist/templates/phone-screen.js +41 -0
- package/dist/templates/phone-screen.js.map +1 -0
- package/dist/templates/pointer-chips.d.ts +40 -0
- package/dist/templates/pointer-chips.js +53 -0
- package/dist/templates/pointer-chips.js.map +1 -0
- package/dist/templates/quote.d.ts +2 -2
- package/dist/templates/quote.js +5 -5
- package/dist/templates/quote.js.map +1 -1
- package/dist/templates/race.d.ts +32 -0
- package/dist/templates/race.js +43 -0
- package/dist/templates/race.js.map +1 -0
- package/dist/templates/size.d.ts +20 -0
- package/dist/templates/size.js +14 -0
- package/dist/templates/size.js.map +1 -1
- package/dist/templates/slot.js +1 -1
- package/dist/templates/slot.js.map +1 -1
- package/dist/templates/sounds.d.ts +221 -4
- package/dist/templates/sounds.js +40 -10
- package/dist/templates/sounds.js.map +1 -1
- package/dist/templates/terminal.d.ts +46 -0
- package/dist/templates/terminal.js +46 -0
- package/dist/templates/terminal.js.map +1 -0
- package/dist/templates/video-grid.d.ts +52 -0
- package/dist/templates/video-grid.js +50 -0
- package/dist/templates/video-grid.js.map +1 -0
- package/dist/templates/word-fill.d.ts +22 -0
- package/dist/templates/word-fill.js +29 -0
- package/dist/templates/word-fill.js.map +1 -0
- package/dist/templates/word-title.d.ts +24 -0
- package/dist/templates/word-title.js +33 -0
- package/dist/templates/word-title.js.map +1 -0
- package/dist/trend-search.d.ts +336 -0
- package/dist/trend-search.js +307 -0
- package/dist/trend-search.js.map +1 -0
- package/dist/ugc-call.d.ts +4 -4
- package/dist/ugc-call.js +4 -4
- package/dist/ugc-call.js.map +1 -1
- package/dist/ugc-framing.d.ts +3 -2
- package/dist/ugc-framing.js +4 -3
- package/dist/ugc-framing.js.map +1 -1
- package/dist/ugc-interview.d.ts +3 -3
- package/dist/ugc-interview.js +3 -3
- package/dist/ugc-interview.js.map +1 -1
- package/dist/ugc-layers.d.ts +43 -7
- package/dist/ugc-layers.js +43 -11
- package/dist/ugc-layers.js.map +1 -1
- package/dist/ugc-scenes.d.ts +40 -0
- package/dist/ugc-scenes.js +35 -0
- package/dist/ugc-scenes.js.map +1 -0
- package/dist/uploads.d.ts +1 -1
- package/dist/uploads.js +9 -9
- package/dist/uploads.js.map +1 -1
- package/dist/voice-admission.d.ts +4767 -836
- package/dist/voice-catalog-data.d.ts +1 -0
- package/dist/voice-catalog.d.ts +2 -0
- package/dist/voice-catalog.generated.json +286 -0
- package/dist/voice-catalog.js +1 -0
- package/dist/voice-catalog.js.map +1 -1
- package/dist/voice-pace.generated.json +65 -0
- package/dist/voices.d.ts +1 -0
- package/dist/voices.js +2 -1
- package/dist/voices.js.map +1 -1
- package/dist/workflows/index.d.ts +2 -0
- package/dist/workflows/index.js +1 -0
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/methods/faceless-explainer.d.ts +2275 -188
- package/dist/workflows/methods/kinetic-launch.d.ts +2275 -188
- package/dist/workflows/methods/product-image-story.d.ts +2275 -188
- package/dist/workflows/methods/reference-remake.d.ts +2275 -188
- package/dist/workflows/methods/shared.d.ts +2275 -188
- package/dist/workflows/methods/ugc-faq-answer.d.ts +2275 -188
- package/dist/workflows/methods/ugc-product-intro.d.ts +2275 -188
- package/dist/workflows/methods/website-proof-demo.d.ts +2275 -188
- package/dist/workflows/motion-director.d.ts +59 -0
- package/dist/workflows/motion-director.js +118 -0
- package/dist/workflows/motion-director.js.map +1 -0
- package/dist/workflows/reference-remake.d.ts +1172 -2
- package/dist/workflows/reference-remake.js +940 -115
- package/dist/workflows/reference-remake.js.map +1 -1
- package/dist/workflows/remake-chooser.d.ts +16 -0
- package/dist/workflows/remake-chooser.js +10 -0
- package/dist/workflows/remake-chooser.js.map +1 -0
- package/dist/workflows/remake-motion.d.ts +100 -0
- package/dist/workflows/remake-motion.js +237 -0
- package/dist/workflows/remake-motion.js.map +1 -0
- package/dist/workflows/validate.js +1 -1
- package/dist/workflows/validate.js.map +1 -1
- package/package.json +5 -1
package/dist/account-actors.d.ts
CHANGED
|
@@ -32,7 +32,28 @@ export declare const ACTOR_SIZE_SET: {
|
|
|
32
32
|
readonly height: 1024;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
|
|
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,23 @@ export declare const storedCreateActorInput: z.ZodObject<{
|
|
|
288
352
|
}, z.core.$strip>>;
|
|
289
353
|
}, z.core.$strip>>>;
|
|
290
354
|
setting: z.ZodOptional<z.ZodString>;
|
|
355
|
+
look: z.ZodOptional<z.ZodString>;
|
|
356
|
+
style_reference: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
asset_id: z.ZodString;
|
|
358
|
+
key: z.ZodString;
|
|
359
|
+
mime: z.ZodEnum<{
|
|
360
|
+
"image/jpeg": "image/jpeg";
|
|
361
|
+
"image/png": "image/png";
|
|
362
|
+
}>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
portrait: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
asset_id: z.ZodString;
|
|
366
|
+
key: z.ZodString;
|
|
367
|
+
mime: z.ZodEnum<{
|
|
368
|
+
"image/jpeg": "image/jpeg";
|
|
369
|
+
"image/png": "image/png";
|
|
370
|
+
}>;
|
|
371
|
+
}, z.core.$strip>>;
|
|
291
372
|
}, z.core.$strip>;
|
|
292
373
|
export type StoredCreateActorInput = z.infer<typeof storedCreateActorInput>;
|
|
293
374
|
export declare const createActorQuote: z.ZodObject<{
|
|
@@ -408,6 +489,14 @@ export declare const CREATE_ACTOR_FIELD_DISPOSITIONS: {
|
|
|
408
489
|
readonly kind: "implemented";
|
|
409
490
|
readonly provenBy: "egress";
|
|
410
491
|
};
|
|
492
|
+
readonly style_reference: {
|
|
493
|
+
readonly kind: "implemented";
|
|
494
|
+
readonly provenBy: "egress";
|
|
495
|
+
};
|
|
496
|
+
readonly portrait: {
|
|
497
|
+
readonly kind: "implemented";
|
|
498
|
+
readonly provenBy: "egress";
|
|
499
|
+
};
|
|
411
500
|
};
|
|
412
501
|
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
502
|
/** The registry with `CLIPWRIGHT_ACTOR_VIEWS` applied: switched off, the view fields are refused, not ignored. */
|
|
@@ -431,7 +520,10 @@ export declare const CREATE_ACTOR_RUN_ERRORS: {
|
|
|
431
520
|
readonly actor_run_interrupted: "the run stopped before it finished; no actor was created and nothing was charged";
|
|
432
521
|
readonly actor_spend_refused: "the portrait could not be started right now; no actor was created and nothing was charged. Retry later";
|
|
433
522
|
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:
|
|
523
|
+
readonly actor_source_unreadable: string;
|
|
524
|
+
readonly actor_portrait_not_one_face: "the portrait image did not show exactly one face; no actor was created and nothing was charged";
|
|
525
|
+
readonly actor_portrait_framing: string;
|
|
526
|
+
readonly actor_resembles_reference: string;
|
|
435
527
|
readonly actor_views_disabled: "deriving an actor from an actor is disabled right now; no actor was created and nothing was charged";
|
|
436
528
|
};
|
|
437
529
|
export type CreateActorRunErrorCode = keyof typeof CREATE_ACTOR_RUN_ERRORS;
|
package/dist/account-actors.js
CHANGED
|
@@ -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({
|
|
@@ -59,7 +86,7 @@ const holdingItem = z.strictObject({
|
|
|
59
86
|
hand: z.enum(ACTOR_HANDS).optional().describe("left | right; omitted lets the edit choose."),
|
|
60
87
|
});
|
|
61
88
|
/** Strict input fields without quality. Bounds come from actor-bounds.ts; read schemas do not use them. */
|
|
62
|
-
/** Words, gender and age are required without `from_actor_id
|
|
89
|
+
/** Words, gender and age are required without `from_actor_id`; with it gender and age are refused and words describe the view (`checkActorSource`). */
|
|
63
90
|
const actorFieldShape = {
|
|
64
91
|
description: z
|
|
65
92
|
.string()
|
|
@@ -67,7 +94,8 @@ 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; " +
|
|
98
|
+
"with from_actor_id, the look, clothing and pose of the view, while gender and age stay the source's."),
|
|
71
99
|
gender: z
|
|
72
100
|
.enum(ACTOR_GENDERS_ACCEPTED)
|
|
73
101
|
.optional()
|
|
@@ -95,11 +123,13 @@ const actorFieldShape = {
|
|
|
95
123
|
from_actor_id: actorId
|
|
96
124
|
.optional()
|
|
97
125
|
.describe("Derive a new personal actor from this one (a library actor or your own): the same face, gender and age, " +
|
|
98
|
-
"with the view changed by framing, holding or
|
|
126
|
+
"with the view changed by framing, holding, setting, description or style_reference. Omit gender and approximate_age."),
|
|
99
127
|
framing: z
|
|
100
|
-
.enum(
|
|
128
|
+
.enum(ACTOR_PORTRAIT_FRAMINGS)
|
|
101
129
|
.optional()
|
|
102
|
-
.describe("
|
|
130
|
+
.describe("The shot size: close (default, chest-up), wide (waist-up with hands, room above) or full (standing, head to feet). " +
|
|
131
|
+
"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 " +
|
|
132
|
+
"drawn, and make_ugc renders it with presenter_framing of that name. Not with style_reference or portrait, whose image sets the shot."),
|
|
103
133
|
holding: z
|
|
104
134
|
.array(holdingItem)
|
|
105
135
|
.min(1)
|
|
@@ -112,45 +142,93 @@ const actorFieldShape = {
|
|
|
112
142
|
.max(ACTOR_SETTING_MAX_CHARS)
|
|
113
143
|
.optional()
|
|
114
144
|
.describe("The room or background to put the presenter in, in words."),
|
|
145
|
+
style_reference: z
|
|
146
|
+
.strictObject({ asset_id: assetId })
|
|
147
|
+
.optional()
|
|
148
|
+
.describe("A PNG or JPEG photo whose set, light, camera angle, shot size and clothing the new portrait follows: chest-up, " +
|
|
149
|
+
"waist-up or full height as in the photo; a portrait wider than chest-up becomes a wide view. An image asset of " +
|
|
150
|
+
"this account (upload, URL import or a found picture, rights_confirmed). Without from_actor_id the face is new, from " +
|
|
151
|
+
"description; with it, the source actor's face. A portrait that looks like a person in the photo is refused at no charge."),
|
|
152
|
+
portrait: z
|
|
153
|
+
.strictObject({ asset_id: assetId })
|
|
154
|
+
.optional()
|
|
155
|
+
.describe("Make the actor from your own portrait image instead of generating one: a PNG or JPEG image asset of this account " +
|
|
156
|
+
"(rights_confirmed), within 2% of 9:16, showing exactly one face that is neither cut off nor too small or too large. " +
|
|
157
|
+
"It becomes the actor's 9:16 portrait at no charge; the other formats are edited from it and charged as usual. " +
|
|
158
|
+
"With gender and approximate_age; not with description, style_reference or from_actor_id."),
|
|
115
159
|
};
|
|
116
160
|
/** The fields of a view derived from an actor (#898). */
|
|
117
161
|
export const ACTOR_VIEW_FIELDS = ["from_actor_id", "framing", "holding", "setting"];
|
|
118
|
-
|
|
162
|
+
/** What a derived view may change (#1192): words of look, clothing and pose, and a style reference's scene, beside framing, holding and setting. */
|
|
163
|
+
const ACTOR_VIEW_CHANGES = ["framing", "holding", "setting", "description", "style_reference"];
|
|
119
164
|
const ACTOR_SOURCE_FIELDS = ["description", "gender", "approximate_age"];
|
|
120
|
-
/**
|
|
165
|
+
/** What the source actor alone gives a derived view: who the person is. */
|
|
166
|
+
const ACTOR_IDENTITY_FIELDS = ["gender", "approximate_age"];
|
|
167
|
+
const PORTRAIT_REQUIRES = {
|
|
168
|
+
gender: "gender is required with portrait: it fixes the actor's gender and default voice",
|
|
169
|
+
approximate_age: "approximate_age is required with portrait: the actor's approximate age in years",
|
|
170
|
+
};
|
|
171
|
+
/** A described actor needs its words, a derived one takes them from the source, an imported one from its image (#1095): */
|
|
172
|
+
/** none is silently dropped (rule 3). */
|
|
121
173
|
function checkActorSource(input, ctx) {
|
|
122
174
|
const refuse = (field, message) => ctx.addIssue({ code: z.ZodIssueCode.custom, path: [field], message });
|
|
123
|
-
if (input.from_actor_id === undefined) {
|
|
175
|
+
if (input.from_actor_id === undefined && input.portrait !== undefined) {
|
|
176
|
+
if (input.description !== undefined) {
|
|
177
|
+
refuse("description", "description does not combine with portrait: the face and look come from the portrait image; omit it");
|
|
178
|
+
}
|
|
179
|
+
if (input.style_reference !== undefined) {
|
|
180
|
+
refuse("style_reference", "style_reference draws a new face and does not combine with portrait; omit it");
|
|
181
|
+
}
|
|
182
|
+
for (const [field, message] of Object.entries(PORTRAIT_REQUIRES)) {
|
|
183
|
+
if (input[field] === undefined)
|
|
184
|
+
refuse(field, message);
|
|
185
|
+
}
|
|
186
|
+
// The imported image is the portrait as it is: nothing redraws its room or puts an object in its hands.
|
|
187
|
+
for (const field of ["holding", "setting"]) {
|
|
188
|
+
if (input[field] !== undefined) {
|
|
189
|
+
refuse(field, `${field} does not combine with portrait: the image is used as it is; create the actor, then derive a view of it with from_actor_id`);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
else if (input.from_actor_id === undefined) {
|
|
124
194
|
for (const field of ACTOR_SOURCE_FIELDS) {
|
|
125
195
|
if (input[field] === undefined) {
|
|
126
196
|
refuse(field, `${field} is required: describe a fictional adult, or pass from_actor_id to derive a view of an existing actor`);
|
|
127
197
|
}
|
|
128
198
|
}
|
|
129
|
-
for (const field of ACTOR_VIEW_CHANGES) {
|
|
130
|
-
if (input[field] !== undefined) {
|
|
131
|
-
refuse(field, `${field} needs from_actor_id: create the actor first, then derive a view of it with from_actor_id`);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return;
|
|
135
199
|
}
|
|
136
|
-
|
|
200
|
+
// From words the shot size frames the portrait (#1175 S7); an image source sets its own. Beside from_actor_id a portrait is refused itself.
|
|
201
|
+
const shotFrom = input.portrait !== undefined && input.from_actor_id === undefined ? "portrait"
|
|
202
|
+
: input.style_reference !== undefined ? "style_reference" : undefined;
|
|
203
|
+
if (input.framing !== undefined && shotFrom !== undefined) {
|
|
204
|
+
refuse("framing", `framing does not combine with ${shotFrom}: its image sets the shot size; omit it`);
|
|
205
|
+
}
|
|
206
|
+
const hands = (input.holding ?? []).flatMap((item) => (item.hand === undefined ? [] : [item.hand]));
|
|
207
|
+
if (new Set(hands).size !== hands.length)
|
|
208
|
+
refuse("holding", "holding names the same hand twice: one object per hand");
|
|
209
|
+
if (input.from_actor_id === undefined)
|
|
210
|
+
return;
|
|
211
|
+
for (const field of ACTOR_IDENTITY_FIELDS) {
|
|
137
212
|
if (input[field] !== undefined)
|
|
138
213
|
refuse(field, `${field} comes from the source actor with from_actor_id; omit it`);
|
|
139
214
|
}
|
|
215
|
+
if (input.portrait !== undefined) {
|
|
216
|
+
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");
|
|
217
|
+
}
|
|
218
|
+
if (input.framing === "close")
|
|
219
|
+
refuse("framing", "framing close is not a change of view: with from_actor_id, framing is wide or full");
|
|
140
220
|
if (ACTOR_VIEW_CHANGES.every((field) => input[field] === undefined)) {
|
|
141
|
-
refuse("from_actor_id", "from_actor_id needs a change: framing, holding or
|
|
221
|
+
refuse("from_actor_id", "from_actor_id needs a change: framing, holding, setting, description or style_reference");
|
|
142
222
|
}
|
|
143
|
-
const hands = (input.holding ?? []).flatMap((item) => (item.hand === undefined ? [] : [item.hand]));
|
|
144
|
-
if (new Set(hands).size !== hands.length)
|
|
145
|
-
refuse("holding", "holding names the same hand twice: one object per hand");
|
|
146
223
|
}
|
|
147
224
|
function unknownFieldsRefusal(keys) {
|
|
148
225
|
if (keys.includes("image")) {
|
|
149
|
-
return "create_actor takes no image
|
|
150
|
-
"
|
|
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}.
|
|
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().
|
|
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:
|
|
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(
|
|
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,27 @@ 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(
|
|
325
|
+
framing: z.enum(ACTOR_PORTRAIT_FRAMINGS).optional(),
|
|
237
326
|
holding: z.array(storedHoldingItem).optional(),
|
|
238
327
|
setting: z.string().min(1).optional(),
|
|
328
|
+
/** #1192: a derived view's own words of look, clothing and pose; `description` stays the source's. */
|
|
329
|
+
look: z.string().min(1).optional(),
|
|
330
|
+
style_reference: storedStyleReference.optional(),
|
|
331
|
+
/** #1095: the image asset admission found, the same shape as a style reference. */
|
|
332
|
+
portrait: storedStyleReference.optional(),
|
|
333
|
+
})
|
|
334
|
+
.refine((input) => input.look === undefined || input.source_actor !== undefined, {
|
|
335
|
+
error: "a stored look comes only with a source actor",
|
|
336
|
+
path: ["look"],
|
|
337
|
+
})
|
|
338
|
+
.refine((input) => input.portrait === undefined || (input.source_actor === undefined && input.style_reference === undefined), {
|
|
339
|
+
error: "a stored portrait comes with another source",
|
|
340
|
+
path: ["portrait"],
|
|
341
|
+
})
|
|
342
|
+
// One way only: an input whose portrait was erased still reads; a free portrait unit never generates one.
|
|
343
|
+
.refine((input) => input.portrait === undefined || input.pricing_snapshot.unit_credits.portrait === 0, {
|
|
344
|
+
error: "a stored portrait is priced above zero",
|
|
345
|
+
path: ["portrait"],
|
|
239
346
|
})
|
|
240
347
|
.refine((input) => input.quality === input.pricing_snapshot.quality, {
|
|
241
348
|
error: "stored quality differs from pricing_snapshot.quality",
|
|
@@ -291,6 +398,8 @@ export const CREATE_ACTOR_FIELD_DISPOSITIONS = {
|
|
|
291
398
|
framing: { kind: "implemented", provenBy: "egress" },
|
|
292
399
|
holding: { kind: "implemented", provenBy: "egress" },
|
|
293
400
|
setting: { kind: "implemented", provenBy: "egress" },
|
|
401
|
+
style_reference: { kind: "implemented", provenBy: "egress" },
|
|
402
|
+
portrait: { kind: "implemented", provenBy: "egress" },
|
|
294
403
|
};
|
|
295
404
|
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
405
|
/** The registry with `CLIPWRIGHT_ACTOR_VIEWS` applied: switched off, the view fields are refused, not ignored. */
|
|
@@ -321,7 +430,14 @@ export const CREATE_ACTOR_RUN_ERRORS = {
|
|
|
321
430
|
actor_run_interrupted: "the run stopped before it finished; no actor was created and nothing was charged",
|
|
322
431
|
actor_spend_refused: "the portrait could not be started right now; no actor was created and nothing was charged. Retry later",
|
|
323
432
|
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
|
|
433
|
+
actor_source_unreadable: "the source actor, a held object's picture, the style reference or the portrait image could not be read; no actor " +
|
|
434
|
+
"was created and nothing was charged",
|
|
435
|
+
actor_portrait_not_one_face: "the portrait image did not show exactly one face; no actor was created and nothing was charged",
|
|
436
|
+
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 " +
|
|
437
|
+
"nothing was charged. Use a photo from head-and-shoulders to full height, with the whole face in the frame and the " +
|
|
438
|
+
"person filling the frame's height",
|
|
439
|
+
actor_resembles_reference: "the portrait looked too much like a person in style_reference; no actor was created and nothing was charged. " +
|
|
440
|
+
"Retry, or choose another reference photo",
|
|
325
441
|
actor_views_disabled: "deriving an actor from an actor is disabled right now; no actor was created and nothing was charged",
|
|
326
442
|
};
|
|
327
443
|
export const CREATE_ACTOR_RUN_ERROR_CODES = Object.keys(CREATE_ACTOR_RUN_ERRORS);
|
|
@@ -346,8 +462,9 @@ export const CREATE_ACTOR_DESCRIPTION = "Create a personal actor for this accoun
|
|
|
346
462
|
"one face, plus the other requested formats edited from it. Returns a run_id immediately; poll get_run until " +
|
|
347
463
|
"'succeeded' (created_actor.actor_id, then pass it as actor_id to make_ugc) or 'failed'. Each published image is " +
|
|
348
464
|
"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.
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
465
|
+
"switched off the call fails with actor_generation_disabled. from_actor_id keeps the face (checked; a mismatch " +
|
|
466
|
+
"costs nothing). With style_reference a portrait that looks like a person in the photo is refused at no charge, and " +
|
|
467
|
+
"the price is the same. portrait (with gender and approximate_age) becomes the 9:16 portrait at no charge, only the " +
|
|
468
|
+
"other formats are charged; an image without exactly one face, or with the face cut off, too small or too large, is " +
|
|
469
|
+
"refused at no charge.";
|
|
353
470
|
//# 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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AACtG,MAAM,UAAU,mBAAmB,CAAC,MAAmB,EAAE,MAAc;IACrE,OAAO,GAAG,MAAM,qBAAqB,MAAM,sBAAsB,CAAC;AACpE,CAAC;AAED,iGAAiG;AACjG,yFAAyF;AACzF,MAAM,CAAC,MAAM,+BAA+B,GAAG,gCAAgC,CAAC;AAChF,MAAM,CAAC,MAAM,iCAAiC,GAAsB,qBAAqB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CACvG,mBAAmB,CAAC,MAAM,EAAE,+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/actor-bounds.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ export type ActorAspectKnown = (typeof ACTOR_ASPECTS_KNOWN)[number];
|
|
|
7
7
|
export declare const ACTOR_AGE_FLOOR = 18;
|
|
8
8
|
/** Intake bounds are a product decision and may narrow. A separate module, so a test can */
|
|
9
9
|
/** narrow each by mocking and check that no read schema depends on them. */
|
|
10
|
-
export declare const ACTOR_DESCRIPTION_MAX_CHARS =
|
|
10
|
+
export declare const ACTOR_DESCRIPTION_MAX_CHARS = 2000;
|
|
11
11
|
export declare const ACTOR_NAME_MAX_CHARS = 100;
|
|
12
12
|
export declare const ACTOR_MIN_AGE = 18;
|
|
13
13
|
export declare const ACTOR_MAX_AGE = 90;
|
|
14
14
|
export declare const ACTOR_GENDERS_ACCEPTED: readonly ["female", "male"];
|
|
15
15
|
/** An actor derived from an actor (#898): two hands, so at most two held objects. */
|
|
16
16
|
export declare const ACTOR_HOLDING_MAX_ITEMS = 2;
|
|
17
|
-
export declare const ACTOR_HOLDING_DESCRIPTION_MAX_CHARS =
|
|
18
|
-
export declare const ACTOR_SETTING_MAX_CHARS =
|
|
17
|
+
export declare const ACTOR_HOLDING_DESCRIPTION_MAX_CHARS = 1000;
|
|
18
|
+
export declare const ACTOR_SETTING_MAX_CHARS = 2000;
|
package/dist/actor-bounds.js
CHANGED
|
@@ -5,13 +5,13 @@ export const ACTOR_ASPECTS_KNOWN = ["9:16", "1:1", "16:9"];
|
|
|
5
5
|
export const ACTOR_AGE_FLOOR = 18;
|
|
6
6
|
/** Intake bounds are a product decision and may narrow. A separate module, so a test can */
|
|
7
7
|
/** narrow each by mocking and check that no read schema depends on them. */
|
|
8
|
-
export const ACTOR_DESCRIPTION_MAX_CHARS =
|
|
8
|
+
export const ACTOR_DESCRIPTION_MAX_CHARS = 2000;
|
|
9
9
|
export const ACTOR_NAME_MAX_CHARS = 100;
|
|
10
10
|
export const ACTOR_MIN_AGE = 18;
|
|
11
11
|
export const ACTOR_MAX_AGE = 90;
|
|
12
12
|
export const ACTOR_GENDERS_ACCEPTED = ["female", "male"];
|
|
13
13
|
/** An actor derived from an actor (#898): two hands, so at most two held objects. */
|
|
14
14
|
export const ACTOR_HOLDING_MAX_ITEMS = 2;
|
|
15
|
-
export const ACTOR_HOLDING_DESCRIPTION_MAX_CHARS =
|
|
16
|
-
export const ACTOR_SETTING_MAX_CHARS =
|
|
15
|
+
export const ACTOR_HOLDING_DESCRIPTION_MAX_CHARS = 1000;
|
|
16
|
+
export const ACTOR_SETTING_MAX_CHARS = 2000;
|
|
17
17
|
//# sourceMappingURL=actor-bounds.js.map
|