@clipwright/core 0.64.0 → 0.66.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/ad-guide.d.ts +17 -1
- package/dist/ad-guide.js +3 -1
- package/dist/api-failure.d.ts +1 -0
- package/dist/api-failure.js +10 -3
- package/dist/contract-dispositions.d.ts +1 -41
- package/dist/contract-dispositions.js +0 -9
- package/dist/contracts/v1/workflow-brief.d.ts +0 -96
- package/dist/contracts/v1/workflow-catalog.d.ts +0 -96
- package/dist/contracts/v1/workflow-client.d.ts +0 -48
- package/dist/contracts/v1/workflow-execution.d.ts +0 -172
- package/dist/contracts/v1/workflow-next.d.ts +0 -86
- package/dist/contracts/v1/workflow-plan.d.ts +0 -144
- package/dist/endpoint-notes.js +1 -1
- package/dist/errors.d.ts +13 -1
- package/dist/errors.js +3 -5
- package/dist/faceless-price.d.ts +0 -27
- package/dist/faceless-price.js +0 -28
- package/dist/faceless-public.d.ts +8 -120
- package/dist/faceless-public.js +9 -23
- package/dist/film-guide.d.ts +43 -0
- package/dist/film-guide.js +11 -0
- package/dist/generations.d.ts +9 -2
- package/dist/generations.js +18 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/openapi.d.ts +11 -0
- package/dist/openapi.js +3 -1
- package/dist/own-agent-price.d.ts +1 -1
- package/dist/own-agent-price.js +2 -2
- package/dist/own-agent-runs.d.ts +1 -0
- package/dist/own-agent-runs.js +5 -1
- package/dist/parts-pricing.d.ts +0 -2
- package/dist/parts-pricing.js +0 -2
- package/dist/scene-bible.d.ts +4 -12
- package/dist/scene-bible.js +6 -17
- package/dist/skills.d.ts +223 -223
- package/dist/skills.js +11 -13
- package/dist/voice-admission.d.ts +0 -48
- package/dist/workflows/methods/faceless-explainer.d.ts +0 -39
- package/dist/workflows/methods/kinetic-launch.d.ts +0 -78
- package/dist/workflows/methods/product-image-story.d.ts +0 -39
- package/dist/workflows/methods/reference-remake.d.ts +0 -39
- package/dist/workflows/methods/shared.d.ts +0 -39
- package/dist/workflows/methods/ugc-faq-answer.d.ts +0 -39
- package/dist/workflows/methods/ugc-product-intro.d.ts +0 -39
- package/dist/workflows/methods/website-proof-demo.d.ts +0 -78
- package/package.json +1 -1
- package/dist/scene-proposal.d.ts +0 -79
- package/dist/scene-proposal.js +0 -50
package/dist/skills.d.ts
CHANGED
|
@@ -3445,7 +3445,6 @@ export declare const ugcLiveShot: z.ZodObject<{
|
|
|
3445
3445
|
hand: "hand";
|
|
3446
3446
|
}>;
|
|
3447
3447
|
}, z.core.$strict>]>>;
|
|
3448
|
-
start: z.ZodOptional<z.ZodString>;
|
|
3449
3448
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3450
3449
|
asset_id: z.ZodString;
|
|
3451
3450
|
role: z.ZodString;
|
|
@@ -3520,7 +3519,109 @@ export declare const ugcLiveShot: z.ZodObject<{
|
|
|
3520
3519
|
}, z.core.$strict>;
|
|
3521
3520
|
}, z.core.$strict>>;
|
|
3522
3521
|
}, z.core.$strict>;
|
|
3523
|
-
|
|
3522
|
+
declare const storedUgcLiveShot: z.ZodObject<{
|
|
3523
|
+
id: z.ZodString;
|
|
3524
|
+
kind: z.ZodEnum<{
|
|
3525
|
+
action: "action";
|
|
3526
|
+
talking: "talking";
|
|
3527
|
+
talking_action: "talking_action";
|
|
3528
|
+
}>;
|
|
3529
|
+
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
3530
|
+
startWord: z.ZodNumber;
|
|
3531
|
+
endWord: z.ZodNumber;
|
|
3532
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3533
|
+
quote: z.ZodString;
|
|
3534
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
3535
|
+
}, z.core.$strict>]>;
|
|
3536
|
+
cover_words: z.ZodOptional<z.ZodNumber>;
|
|
3537
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3538
|
+
setup: z.ZodOptional<z.ZodString>;
|
|
3539
|
+
framing: z.ZodOptional<z.ZodEnum<{
|
|
3540
|
+
full: "full";
|
|
3541
|
+
wide: "wide";
|
|
3542
|
+
}>>;
|
|
3543
|
+
product: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3544
|
+
placement: z.ZodEnum<{
|
|
3545
|
+
beside: "beside";
|
|
3546
|
+
hand: "hand";
|
|
3547
|
+
}>;
|
|
3548
|
+
}, z.core.$strict>]>>;
|
|
3549
|
+
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3550
|
+
asset_id: z.ZodString;
|
|
3551
|
+
role: z.ZodString;
|
|
3552
|
+
action: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
}, z.core.$strict>>>;
|
|
3554
|
+
transition: z.ZodOptional<z.ZodEnum<{
|
|
3555
|
+
cut: "cut";
|
|
3556
|
+
flash: "flash";
|
|
3557
|
+
light_leak: "light_leak";
|
|
3558
|
+
whoosh: "whoosh";
|
|
3559
|
+
}>>;
|
|
3560
|
+
shot: z.ZodOptional<z.ZodObject<{
|
|
3561
|
+
framing: z.ZodObject<{
|
|
3562
|
+
size: z.ZodEnum<{
|
|
3563
|
+
close_up: "close_up";
|
|
3564
|
+
extreme_close_up: "extreme_close_up";
|
|
3565
|
+
full: "full";
|
|
3566
|
+
medium: "medium";
|
|
3567
|
+
medium_close_up: "medium_close_up";
|
|
3568
|
+
wide: "wide";
|
|
3569
|
+
}>;
|
|
3570
|
+
angle: z.ZodOptional<z.ZodEnum<{
|
|
3571
|
+
eye_level: "eye_level";
|
|
3572
|
+
high: "high";
|
|
3573
|
+
low: "low";
|
|
3574
|
+
overhead: "overhead";
|
|
3575
|
+
}>>;
|
|
3576
|
+
lens_mm: z.ZodOptional<z.ZodNumber>;
|
|
3577
|
+
depth: z.ZodOptional<z.ZodEnum<{
|
|
3578
|
+
deep: "deep";
|
|
3579
|
+
shallow: "shallow";
|
|
3580
|
+
}>>;
|
|
3581
|
+
}, z.core.$strict>;
|
|
3582
|
+
subject: z.ZodObject<{
|
|
3583
|
+
label: z.ZodString;
|
|
3584
|
+
fixed: z.ZodArray<z.ZodString>;
|
|
3585
|
+
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3586
|
+
name: z.ZodString;
|
|
3587
|
+
count: z.ZodNumber;
|
|
3588
|
+
at_start: z.ZodString;
|
|
3589
|
+
}, z.core.$strict>>>;
|
|
3590
|
+
}, z.core.$strict>;
|
|
3591
|
+
start_state: z.ZodString;
|
|
3592
|
+
beats: z.ZodArray<z.ZodObject<{
|
|
3593
|
+
from_s: z.ZodNumber;
|
|
3594
|
+
to_s: z.ZodNumber;
|
|
3595
|
+
action: z.ZodString;
|
|
3596
|
+
end_state: z.ZodString;
|
|
3597
|
+
objects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3598
|
+
}, z.core.$strict>>;
|
|
3599
|
+
camera: z.ZodObject<{
|
|
3600
|
+
move: z.ZodEnum<{
|
|
3601
|
+
handheld: "handheld";
|
|
3602
|
+
pan: "pan";
|
|
3603
|
+
pull_back: "pull_back";
|
|
3604
|
+
push_in: "push_in";
|
|
3605
|
+
static: "static";
|
|
3606
|
+
}>;
|
|
3607
|
+
speed: z.ZodOptional<z.ZodEnum<{
|
|
3608
|
+
medium: "medium";
|
|
3609
|
+
slow: "slow";
|
|
3610
|
+
}>>;
|
|
3611
|
+
}, z.core.$strict>;
|
|
3612
|
+
light: z.ZodObject<{
|
|
3613
|
+
key: z.ZodString;
|
|
3614
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
3615
|
+
}, z.core.$strict>;
|
|
3616
|
+
continuity: z.ZodObject<{
|
|
3617
|
+
persistent: z.ZodArray<z.ZodString>;
|
|
3618
|
+
end_state: z.ZodString;
|
|
3619
|
+
continues_from: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
}, z.core.$strict>;
|
|
3621
|
+
}, z.core.$strict>>;
|
|
3622
|
+
start: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
}, z.core.$strict>;
|
|
3624
|
+
export type UgcLiveShot = z.infer<typeof storedUgcLiveShot>;
|
|
3524
3625
|
export declare const LIVE_SHOTS_DESCRIPTION: string;
|
|
3525
3626
|
export declare const mcpLiveShots: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3526
3627
|
export declare const pinnedInsertAsset: z.ZodObject<{
|
|
@@ -7577,7 +7678,6 @@ export declare const makeUgcInputShape: {
|
|
|
7577
7678
|
hand: "hand";
|
|
7578
7679
|
}>;
|
|
7579
7680
|
}, z.core.$strict>]>>;
|
|
7580
|
-
start: z.ZodOptional<z.ZodString>;
|
|
7581
7681
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7582
7682
|
asset_id: z.ZodString;
|
|
7583
7683
|
role: z.ZodString;
|
|
@@ -7653,21 +7753,6 @@ export declare const makeUgcInputShape: {
|
|
|
7653
7753
|
}, z.core.$strict>>;
|
|
7654
7754
|
}, z.core.$strict>>>;
|
|
7655
7755
|
readonly product_asset_id: z.ZodOptional<z.ZodString>;
|
|
7656
|
-
readonly scene: z.ZodOptional<z.ZodObject<{
|
|
7657
|
-
place: z.ZodOptional<z.ZodString>;
|
|
7658
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
7659
|
-
seated: "seated";
|
|
7660
|
-
standing: "standing";
|
|
7661
|
-
}>>;
|
|
7662
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
7663
|
-
product: z.ZodOptional<z.ZodString>;
|
|
7664
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7665
|
-
light: z.ZodOptional<z.ZodString>;
|
|
7666
|
-
}, z.core.$strict>>;
|
|
7667
|
-
readonly proposal: z.ZodOptional<z.ZodObject<{
|
|
7668
|
-
id: z.ZodString;
|
|
7669
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7670
|
-
}, z.core.$strict>>;
|
|
7671
7756
|
readonly propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
7672
7757
|
readonly person: z.ZodOptional<z.ZodString>;
|
|
7673
7758
|
readonly actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11822,7 +11907,6 @@ export declare const makeUgcInput: z.ZodObject<{
|
|
|
11822
11907
|
hand: "hand";
|
|
11823
11908
|
}>;
|
|
11824
11909
|
}, z.core.$strict>]>>;
|
|
11825
|
-
start: z.ZodOptional<z.ZodString>;
|
|
11826
11910
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11827
11911
|
asset_id: z.ZodString;
|
|
11828
11912
|
role: z.ZodString;
|
|
@@ -11898,21 +11982,6 @@ export declare const makeUgcInput: z.ZodObject<{
|
|
|
11898
11982
|
}, z.core.$strict>>;
|
|
11899
11983
|
}, z.core.$strict>>>;
|
|
11900
11984
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
11901
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
11902
|
-
place: z.ZodOptional<z.ZodString>;
|
|
11903
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
11904
|
-
seated: "seated";
|
|
11905
|
-
standing: "standing";
|
|
11906
|
-
}>>;
|
|
11907
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
11908
|
-
product: z.ZodOptional<z.ZodString>;
|
|
11909
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11910
|
-
light: z.ZodOptional<z.ZodString>;
|
|
11911
|
-
}, z.core.$strict>>;
|
|
11912
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
11913
|
-
id: z.ZodString;
|
|
11914
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11915
|
-
}, z.core.$strict>>;
|
|
11916
11985
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
11917
11986
|
person: z.ZodOptional<z.ZodString>;
|
|
11918
11987
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16064,7 +16133,6 @@ export declare const makeUgcInputWithoutTalkingPoses: z.ZodObject<{
|
|
|
16064
16133
|
hand: "hand";
|
|
16065
16134
|
}>;
|
|
16066
16135
|
}, z.core.$strict>]>>;
|
|
16067
|
-
start: z.ZodOptional<z.ZodString>;
|
|
16068
16136
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16069
16137
|
asset_id: z.ZodString;
|
|
16070
16138
|
role: z.ZodString;
|
|
@@ -16140,21 +16208,6 @@ export declare const makeUgcInputWithoutTalkingPoses: z.ZodObject<{
|
|
|
16140
16208
|
}, z.core.$strict>>;
|
|
16141
16209
|
}, z.core.$strict>>>;
|
|
16142
16210
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
16143
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
16144
|
-
place: z.ZodOptional<z.ZodString>;
|
|
16145
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
16146
|
-
seated: "seated";
|
|
16147
|
-
standing: "standing";
|
|
16148
|
-
}>>;
|
|
16149
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
16150
|
-
product: z.ZodOptional<z.ZodString>;
|
|
16151
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16152
|
-
light: z.ZodOptional<z.ZodString>;
|
|
16153
|
-
}, z.core.$strict>>;
|
|
16154
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
16155
|
-
id: z.ZodString;
|
|
16156
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
16157
|
-
}, z.core.$strict>>;
|
|
16158
16211
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
16159
16212
|
person: z.ZodOptional<z.ZodString>;
|
|
16160
16213
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -20324,7 +20377,6 @@ export declare function serverUgcInputWith(voiceRefusal: (voice: string) => stri
|
|
|
20324
20377
|
hand: "hand";
|
|
20325
20378
|
}>;
|
|
20326
20379
|
}, z.core.$strict>]>>;
|
|
20327
|
-
start: z.ZodOptional<z.ZodString>;
|
|
20328
20380
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20329
20381
|
asset_id: z.ZodString;
|
|
20330
20382
|
role: z.ZodString;
|
|
@@ -20400,21 +20452,6 @@ export declare function serverUgcInputWith(voiceRefusal: (voice: string) => stri
|
|
|
20400
20452
|
}, z.core.$strict>>;
|
|
20401
20453
|
}, z.core.$strict>>>;
|
|
20402
20454
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
20403
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
20404
|
-
place: z.ZodOptional<z.ZodString>;
|
|
20405
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
20406
|
-
seated: "seated";
|
|
20407
|
-
standing: "standing";
|
|
20408
|
-
}>>;
|
|
20409
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
20410
|
-
product: z.ZodOptional<z.ZodString>;
|
|
20411
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20412
|
-
light: z.ZodOptional<z.ZodString>;
|
|
20413
|
-
}, z.core.$strict>>;
|
|
20414
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
20415
|
-
id: z.ZodString;
|
|
20416
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20417
|
-
}, z.core.$strict>>;
|
|
20418
20455
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
20419
20456
|
person: z.ZodOptional<z.ZodString>;
|
|
20420
20457
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -20542,6 +20579,7 @@ export declare function serverUgcInputWith(voiceRefusal: (voice: string) => stri
|
|
|
20542
20579
|
}>>;
|
|
20543
20580
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
20544
20581
|
}, z.core.$strip>;
|
|
20582
|
+
export type StoredUgcInput = z.infer<typeof storedUgcInput>;
|
|
20545
20583
|
export declare const storedUgcInput: z.ZodObject<{
|
|
20546
20584
|
script: z.ZodOptional<z.ZodString>;
|
|
20547
20585
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -24539,124 +24577,7 @@ export declare const storedUgcInput: z.ZodObject<{
|
|
|
24539
24577
|
right: "right";
|
|
24540
24578
|
}>;
|
|
24541
24579
|
}, z.core.$strict>>>;
|
|
24542
|
-
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24543
|
-
id: z.ZodString;
|
|
24544
|
-
kind: z.ZodEnum<{
|
|
24545
|
-
action: "action";
|
|
24546
|
-
talking: "talking";
|
|
24547
|
-
talking_action: "talking_action";
|
|
24548
|
-
}>;
|
|
24549
|
-
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
24550
|
-
startWord: z.ZodNumber;
|
|
24551
|
-
endWord: z.ZodNumber;
|
|
24552
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
24553
|
-
quote: z.ZodString;
|
|
24554
|
-
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
24555
|
-
}, z.core.$strict>]>;
|
|
24556
|
-
cover_words: z.ZodOptional<z.ZodNumber>;
|
|
24557
|
-
action: z.ZodOptional<z.ZodString>;
|
|
24558
|
-
setup: z.ZodOptional<z.ZodString>;
|
|
24559
|
-
framing: z.ZodOptional<z.ZodEnum<{
|
|
24560
|
-
full: "full";
|
|
24561
|
-
wide: "wide";
|
|
24562
|
-
}>>;
|
|
24563
|
-
product: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
24564
|
-
placement: z.ZodEnum<{
|
|
24565
|
-
beside: "beside";
|
|
24566
|
-
hand: "hand";
|
|
24567
|
-
}>;
|
|
24568
|
-
}, z.core.$strict>]>>;
|
|
24569
|
-
start: z.ZodOptional<z.ZodString>;
|
|
24570
|
-
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24571
|
-
asset_id: z.ZodString;
|
|
24572
|
-
role: z.ZodString;
|
|
24573
|
-
action: z.ZodOptional<z.ZodString>;
|
|
24574
|
-
}, z.core.$strict>>>;
|
|
24575
|
-
transition: z.ZodOptional<z.ZodEnum<{
|
|
24576
|
-
cut: "cut";
|
|
24577
|
-
flash: "flash";
|
|
24578
|
-
light_leak: "light_leak";
|
|
24579
|
-
whoosh: "whoosh";
|
|
24580
|
-
}>>;
|
|
24581
|
-
shot: z.ZodOptional<z.ZodObject<{
|
|
24582
|
-
framing: z.ZodObject<{
|
|
24583
|
-
size: z.ZodEnum<{
|
|
24584
|
-
close_up: "close_up";
|
|
24585
|
-
extreme_close_up: "extreme_close_up";
|
|
24586
|
-
full: "full";
|
|
24587
|
-
medium: "medium";
|
|
24588
|
-
medium_close_up: "medium_close_up";
|
|
24589
|
-
wide: "wide";
|
|
24590
|
-
}>;
|
|
24591
|
-
angle: z.ZodOptional<z.ZodEnum<{
|
|
24592
|
-
eye_level: "eye_level";
|
|
24593
|
-
high: "high";
|
|
24594
|
-
low: "low";
|
|
24595
|
-
overhead: "overhead";
|
|
24596
|
-
}>>;
|
|
24597
|
-
lens_mm: z.ZodOptional<z.ZodNumber>;
|
|
24598
|
-
depth: z.ZodOptional<z.ZodEnum<{
|
|
24599
|
-
deep: "deep";
|
|
24600
|
-
shallow: "shallow";
|
|
24601
|
-
}>>;
|
|
24602
|
-
}, z.core.$strict>;
|
|
24603
|
-
subject: z.ZodObject<{
|
|
24604
|
-
label: z.ZodString;
|
|
24605
|
-
fixed: z.ZodArray<z.ZodString>;
|
|
24606
|
-
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24607
|
-
name: z.ZodString;
|
|
24608
|
-
count: z.ZodNumber;
|
|
24609
|
-
at_start: z.ZodString;
|
|
24610
|
-
}, z.core.$strict>>>;
|
|
24611
|
-
}, z.core.$strict>;
|
|
24612
|
-
start_state: z.ZodString;
|
|
24613
|
-
beats: z.ZodArray<z.ZodObject<{
|
|
24614
|
-
from_s: z.ZodNumber;
|
|
24615
|
-
to_s: z.ZodNumber;
|
|
24616
|
-
action: z.ZodString;
|
|
24617
|
-
end_state: z.ZodString;
|
|
24618
|
-
objects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24619
|
-
}, z.core.$strict>>;
|
|
24620
|
-
camera: z.ZodObject<{
|
|
24621
|
-
move: z.ZodEnum<{
|
|
24622
|
-
handheld: "handheld";
|
|
24623
|
-
pan: "pan";
|
|
24624
|
-
pull_back: "pull_back";
|
|
24625
|
-
push_in: "push_in";
|
|
24626
|
-
static: "static";
|
|
24627
|
-
}>;
|
|
24628
|
-
speed: z.ZodOptional<z.ZodEnum<{
|
|
24629
|
-
medium: "medium";
|
|
24630
|
-
slow: "slow";
|
|
24631
|
-
}>>;
|
|
24632
|
-
}, z.core.$strict>;
|
|
24633
|
-
light: z.ZodObject<{
|
|
24634
|
-
key: z.ZodString;
|
|
24635
|
-
direction: z.ZodOptional<z.ZodString>;
|
|
24636
|
-
}, z.core.$strict>;
|
|
24637
|
-
continuity: z.ZodObject<{
|
|
24638
|
-
persistent: z.ZodArray<z.ZodString>;
|
|
24639
|
-
end_state: z.ZodString;
|
|
24640
|
-
continues_from: z.ZodOptional<z.ZodString>;
|
|
24641
|
-
}, z.core.$strict>;
|
|
24642
|
-
}, z.core.$strict>>;
|
|
24643
|
-
}, z.core.$strict>>>;
|
|
24644
24580
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
24645
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
24646
|
-
place: z.ZodOptional<z.ZodString>;
|
|
24647
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
24648
|
-
seated: "seated";
|
|
24649
|
-
standing: "standing";
|
|
24650
|
-
}>>;
|
|
24651
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
24652
|
-
product: z.ZodOptional<z.ZodString>;
|
|
24653
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24654
|
-
light: z.ZodOptional<z.ZodString>;
|
|
24655
|
-
}, z.core.$strict>>;
|
|
24656
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
24657
|
-
id: z.ZodString;
|
|
24658
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
24659
|
-
}, z.core.$strict>>;
|
|
24660
24581
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
24661
24582
|
person: z.ZodOptional<z.ZodString>;
|
|
24662
24583
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -24822,6 +24743,123 @@ export declare const storedUgcInput: z.ZodObject<{
|
|
|
24822
24743
|
}, z.core.$strict>>;
|
|
24823
24744
|
knowledge: z.ZodOptional<z.ZodLiteral<"ugc_ad">>;
|
|
24824
24745
|
}, z.core.$strict>>;
|
|
24746
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24747
|
+
id: z.ZodString;
|
|
24748
|
+
kind: z.ZodEnum<{
|
|
24749
|
+
action: "action";
|
|
24750
|
+
talking: "talking";
|
|
24751
|
+
talking_action: "talking_action";
|
|
24752
|
+
}>;
|
|
24753
|
+
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
24754
|
+
startWord: z.ZodNumber;
|
|
24755
|
+
endWord: z.ZodNumber;
|
|
24756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
24757
|
+
quote: z.ZodString;
|
|
24758
|
+
occurrence: z.ZodOptional<z.ZodNumber>;
|
|
24759
|
+
}, z.core.$strict>]>;
|
|
24760
|
+
cover_words: z.ZodOptional<z.ZodNumber>;
|
|
24761
|
+
action: z.ZodOptional<z.ZodString>;
|
|
24762
|
+
setup: z.ZodOptional<z.ZodString>;
|
|
24763
|
+
framing: z.ZodOptional<z.ZodEnum<{
|
|
24764
|
+
full: "full";
|
|
24765
|
+
wide: "wide";
|
|
24766
|
+
}>>;
|
|
24767
|
+
product: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
24768
|
+
placement: z.ZodEnum<{
|
|
24769
|
+
beside: "beside";
|
|
24770
|
+
hand: "hand";
|
|
24771
|
+
}>;
|
|
24772
|
+
}, z.core.$strict>]>>;
|
|
24773
|
+
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24774
|
+
asset_id: z.ZodString;
|
|
24775
|
+
role: z.ZodString;
|
|
24776
|
+
action: z.ZodOptional<z.ZodString>;
|
|
24777
|
+
}, z.core.$strict>>>;
|
|
24778
|
+
transition: z.ZodOptional<z.ZodEnum<{
|
|
24779
|
+
cut: "cut";
|
|
24780
|
+
flash: "flash";
|
|
24781
|
+
light_leak: "light_leak";
|
|
24782
|
+
whoosh: "whoosh";
|
|
24783
|
+
}>>;
|
|
24784
|
+
shot: z.ZodOptional<z.ZodObject<{
|
|
24785
|
+
framing: z.ZodObject<{
|
|
24786
|
+
size: z.ZodEnum<{
|
|
24787
|
+
close_up: "close_up";
|
|
24788
|
+
extreme_close_up: "extreme_close_up";
|
|
24789
|
+
full: "full";
|
|
24790
|
+
medium: "medium";
|
|
24791
|
+
medium_close_up: "medium_close_up";
|
|
24792
|
+
wide: "wide";
|
|
24793
|
+
}>;
|
|
24794
|
+
angle: z.ZodOptional<z.ZodEnum<{
|
|
24795
|
+
eye_level: "eye_level";
|
|
24796
|
+
high: "high";
|
|
24797
|
+
low: "low";
|
|
24798
|
+
overhead: "overhead";
|
|
24799
|
+
}>>;
|
|
24800
|
+
lens_mm: z.ZodOptional<z.ZodNumber>;
|
|
24801
|
+
depth: z.ZodOptional<z.ZodEnum<{
|
|
24802
|
+
deep: "deep";
|
|
24803
|
+
shallow: "shallow";
|
|
24804
|
+
}>>;
|
|
24805
|
+
}, z.core.$strict>;
|
|
24806
|
+
subject: z.ZodObject<{
|
|
24807
|
+
label: z.ZodString;
|
|
24808
|
+
fixed: z.ZodArray<z.ZodString>;
|
|
24809
|
+
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24810
|
+
name: z.ZodString;
|
|
24811
|
+
count: z.ZodNumber;
|
|
24812
|
+
at_start: z.ZodString;
|
|
24813
|
+
}, z.core.$strict>>>;
|
|
24814
|
+
}, z.core.$strict>;
|
|
24815
|
+
start_state: z.ZodString;
|
|
24816
|
+
beats: z.ZodArray<z.ZodObject<{
|
|
24817
|
+
from_s: z.ZodNumber;
|
|
24818
|
+
to_s: z.ZodNumber;
|
|
24819
|
+
action: z.ZodString;
|
|
24820
|
+
end_state: z.ZodString;
|
|
24821
|
+
objects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24822
|
+
}, z.core.$strict>>;
|
|
24823
|
+
camera: z.ZodObject<{
|
|
24824
|
+
move: z.ZodEnum<{
|
|
24825
|
+
handheld: "handheld";
|
|
24826
|
+
pan: "pan";
|
|
24827
|
+
pull_back: "pull_back";
|
|
24828
|
+
push_in: "push_in";
|
|
24829
|
+
static: "static";
|
|
24830
|
+
}>;
|
|
24831
|
+
speed: z.ZodOptional<z.ZodEnum<{
|
|
24832
|
+
medium: "medium";
|
|
24833
|
+
slow: "slow";
|
|
24834
|
+
}>>;
|
|
24835
|
+
}, z.core.$strict>;
|
|
24836
|
+
light: z.ZodObject<{
|
|
24837
|
+
key: z.ZodString;
|
|
24838
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
24839
|
+
}, z.core.$strict>;
|
|
24840
|
+
continuity: z.ZodObject<{
|
|
24841
|
+
persistent: z.ZodArray<z.ZodString>;
|
|
24842
|
+
end_state: z.ZodString;
|
|
24843
|
+
continues_from: z.ZodOptional<z.ZodString>;
|
|
24844
|
+
}, z.core.$strict>;
|
|
24845
|
+
}, z.core.$strict>>;
|
|
24846
|
+
start: z.ZodOptional<z.ZodString>;
|
|
24847
|
+
}, z.core.$strict>>>;
|
|
24848
|
+
scene: z.ZodOptional<z.ZodObject<{
|
|
24849
|
+
place: z.ZodOptional<z.ZodString>;
|
|
24850
|
+
posture: z.ZodOptional<z.ZodEnum<{
|
|
24851
|
+
seated: "seated";
|
|
24852
|
+
standing: "standing";
|
|
24853
|
+
}>>;
|
|
24854
|
+
wardrobe: z.ZodOptional<z.ZodString>;
|
|
24855
|
+
product: z.ZodOptional<z.ZodString>;
|
|
24856
|
+
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24857
|
+
light: z.ZodOptional<z.ZodString>;
|
|
24858
|
+
}, z.core.$strict>>;
|
|
24859
|
+
proposal: z.ZodOptional<z.ZodObject<{
|
|
24860
|
+
id: z.ZodString;
|
|
24861
|
+
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
24862
|
+
}, z.core.$strict>>;
|
|
24825
24863
|
talking_action_take: z.ZodOptional<z.ZodLiteral<"voice_over">>;
|
|
24826
24864
|
product_sheet: z.ZodOptional<z.ZodLiteral<true>>;
|
|
24827
24865
|
lipsync_motion: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -24862,8 +24900,9 @@ export interface SpokenTextInput {
|
|
|
24862
24900
|
segments?: readonly UgcSegment[] | undefined;
|
|
24863
24901
|
}
|
|
24864
24902
|
export declare function resolvedScript(input: SpokenTextInput): string;
|
|
24865
|
-
export type MakeUgcInput = Omit<z.infer<typeof makeUgcInput>, "resolution"> & {
|
|
24903
|
+
export type MakeUgcInput = Omit<z.infer<typeof makeUgcInput>, "resolution" | "shots"> & {
|
|
24866
24904
|
resolution?: Resolution | undefined;
|
|
24905
|
+
shots?: UgcLiveShot[] | undefined;
|
|
24867
24906
|
};
|
|
24868
24907
|
export declare const UGC_PER_SECOND_TARIFF = "ugc-per-second-v1";
|
|
24869
24908
|
export declare const CREDITS_PER_SECOND = 30;
|
|
@@ -25000,44 +25039,5 @@ export declare const quoteResponse: z.ZodObject<{
|
|
|
25000
25039
|
request: "request";
|
|
25001
25040
|
}>;
|
|
25002
25041
|
}, z.core.$strip>>;
|
|
25003
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25004
|
-
state: z.ZodLiteral<"writing">;
|
|
25005
|
-
retry_after_s: z.ZodNumber;
|
|
25006
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
25007
|
-
state: z.ZodLiteral<"ready">;
|
|
25008
|
-
id: z.ZodString;
|
|
25009
|
-
expires_at: z.ZodString;
|
|
25010
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
25011
|
-
place: z.ZodOptional<z.ZodString>;
|
|
25012
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
25013
|
-
seated: "seated";
|
|
25014
|
-
standing: "standing";
|
|
25015
|
-
}>>;
|
|
25016
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
25017
|
-
product: z.ZodOptional<z.ZodString>;
|
|
25018
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25019
|
-
light: z.ZodOptional<z.ZodString>;
|
|
25020
|
-
}, z.core.$strict>>;
|
|
25021
|
-
free: z.ZodArray<z.ZodObject<{
|
|
25022
|
-
what: z.ZodString;
|
|
25023
|
-
}, z.core.$strict>>;
|
|
25024
|
-
options: z.ZodArray<z.ZodObject<{
|
|
25025
|
-
id: z.ZodString;
|
|
25026
|
-
what: z.ZodString;
|
|
25027
|
-
field: z.ZodEnum<{
|
|
25028
|
-
moves: "moves";
|
|
25029
|
-
music: "music";
|
|
25030
|
-
scenes: "scenes";
|
|
25031
|
-
shots: "shots";
|
|
25032
|
-
}>;
|
|
25033
|
-
credits: z.ZodNumber;
|
|
25034
|
-
item: z.ZodUnknown;
|
|
25035
|
-
}, z.core.$strict>>;
|
|
25036
|
-
base_credits: z.ZodNumber;
|
|
25037
|
-
notes: z.ZodArray<z.ZodString>;
|
|
25038
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
25039
|
-
state: z.ZodLiteral<"unavailable">;
|
|
25040
|
-
reason: z.ZodString;
|
|
25041
|
-
}, z.core.$strict>], "state">>;
|
|
25042
25042
|
}, z.core.$strip>;
|
|
25043
25043
|
export type QuoteResponse = z.infer<typeof quoteResponse>;
|
package/dist/skills.js
CHANGED
|
@@ -16,8 +16,7 @@ import { countWords } from "./pacing.js";
|
|
|
16
16
|
import { pauseTrim, VOICE_PACE_MAX, VOICE_PACE_MIN } from "./reference-voice.js";
|
|
17
17
|
import { AD_PAUSE_TRIM, isAdStyleUgcInput } from "./ad-pause-trim.js";
|
|
18
18
|
import { generationShot, negationIn, shotIssues } from "./generation-shot.js";
|
|
19
|
-
import { runSpeech,
|
|
20
|
-
import { proposeField, sceneProposal, sceneProposalAccept } from "./scene-proposal.js";
|
|
19
|
+
import { runSpeech, sceneBible, sceneDirectionMark, shotStart, speechActions, storedSceneProposal } from "./scene-bible.js";
|
|
21
20
|
import { lexicalTokens, quoteOccurrences } from "./semantic-inserts.js";
|
|
22
21
|
import { frameCanvasOf, FULL_FRAME_TRANSITIONS, INSERT_FITS, INSERT_MOTIONS, INSERT_RETIMES, INSERT_STAGE_ENTRANCES, INSERT_TRANSITIONS, LAYER_ENTERS, LAYER_EXITS, layerRefusals, LAYOUT_WINDOW_KINDS, MAX_ENTER_OFFSET_S, MAX_LAYOUT_WINDOWS, MAX_OVERLAYS, OVERLAY_POSITIONS, PRESENTER_FRAMINGS, SPLIT_MEDIA_SHARE, SPLIT_MEDIA_SIDES } from "./ugc-layers.js";
|
|
23
22
|
import { FRAMING_SIZES, FRAMING_TRANSITIONS, framingRefusals, MAX_FRAMING } from "./ugc-framing.js";
|
|
@@ -168,7 +167,7 @@ function explainerOffer(ownAgent, sold) {
|
|
|
168
167
|
export const AD_GUIDE_INSTRUCTION = " Before you write an ad's devices and live shots, or make an ad yourself shot by shot with generate_image, " +
|
|
169
168
|
"generate_video, make_voice and render_edit, read get_ad_guide (free).";
|
|
170
169
|
export const mcpServerInstructions = ({ ownAgent, explainer, adGuide }) => serverInstructions(explainerOffer(ownAgent, explainer ?? EXPLAINER_SOLD), adGuide === true);
|
|
171
|
-
const serverInstructions = (offer, adGuide) => "Clipwright makes short presenter (UGC) videos, faceless narrated videos, single images and
|
|
170
|
+
const serverInstructions = (offer, adGuide) => "Clipwright makes short presenter (UGC) videos, faceless narrated videos, single images and clips. It renders " +
|
|
172
171
|
"them on its servers and returns the MP4 or image file; it publishes nothing anywhere.\n\n" +
|
|
173
172
|
"tools/list says each tool and field in short. describe_tool answers a tool's full guidance, or one field's, free: read it " +
|
|
174
173
|
"before the first use of a tool or field, such as quote_ugc templates.\n\n" +
|
|
@@ -193,10 +192,7 @@ const serverInstructions = (offer, adGuide) => "Clipwright makes short presenter
|
|
|
193
192
|
"assets[].anchor or line_edits. 4. Only the revision the user accepted is approved " +
|
|
194
193
|
"with approve_workflow_plan, then quoted and run. For an ad made with make_ugc directly, pass pause_trim " +
|
|
195
194
|
"{sentence_end_s: 0.15, comma_s: 0.08} and offer a live shot of the actor on its hook (shots: acting, framed wide or full) with its price " +
|
|
196
|
-
`from quote_ugc.${adGuide ? AD_GUIDE_INSTRUCTION : ""}
|
|
197
|
-
"its credits, say which ones would make the video better, and let the user pick; then pass proposal { id, accept } to make_ugc or " +
|
|
198
|
-
"make_faceless with the body unchanged. " +
|
|
199
|
-
"One still being written: quote again after the seconds it names. Its free additions need no ask; to keep your own scene, pass scene instead. " +
|
|
195
|
+
`from quote_ugc.${adGuide ? AD_GUIDE_INSTRUCTION : ""} ` +
|
|
200
196
|
"plan_reference_remake adds live shots where the reference presenter moves; show them on the quote, and drop them if the " +
|
|
201
197
|
`user declines. If the user declines the brief, go on as asked.${offer}\n\n` +
|
|
202
198
|
"Compose the visuals from our catalogue, in a remake and in a direct video alike. Before you compile or quote, read list_moves " +
|
|
@@ -583,7 +579,6 @@ const ugcLiveShotFields = {
|
|
|
583
579
|
.describe("talking_action and action: the product image (product_asset_id) in the actor's hand or beside them; true is the hand. Shots of " +
|
|
584
580
|
"one setup show it in one place: a shot of the setup that names none takes the placement another names, with a warning. For the product in every presenter " +
|
|
585
581
|
"second, use an actor view holding it (create_actor with from_actor_id and holding)."),
|
|
586
|
-
start: shotStart.optional(),
|
|
587
582
|
cast: z.array(ugcLiveShotCastMember).min(1).max(MAX_SHOT_CAST)
|
|
588
583
|
.refine(cast => new Set(cast.map(person => person.asset_id)).size === cast.length, { message: "each cast picture appears once in a shot" })
|
|
589
584
|
.optional().describe(`talking_action and action: up to ${MAX_SHOT_CAST} more people in the shot, each from their own picture, with a role and ` +
|
|
@@ -594,6 +589,7 @@ const ugcLiveShotFields = {
|
|
|
594
589
|
shot: generationShot.optional().describe("action only: the clip as a shot, second by second, in place of action alone; its beats run from 0 to " +
|
|
595
590
|
"the last beat's to_s and are stretched to the take's own length."),
|
|
596
591
|
};
|
|
592
|
+
const storedLiveShotFields = { ...ugcLiveShotFields, start: shotStart.optional() };
|
|
597
593
|
const liveShotChecks = (talkingPoses) => (shot, context) => {
|
|
598
594
|
const custom = z.ZodIssueCode.custom;
|
|
599
595
|
const talkingOnly = !talkingPoses && shot.kind === "talking";
|
|
@@ -624,11 +620,12 @@ const liveShotChecks = (talkingPoses) => (shot, context) => {
|
|
|
624
620
|
};
|
|
625
621
|
export const ugcLiveShot = z.strictObject(ugcLiveShotFields).superRefine(liveShotChecks(true));
|
|
626
622
|
const ugcLiveShotWithoutPoses = z.strictObject(ugcLiveShotFields).superRefine(liveShotChecks(false));
|
|
623
|
+
const storedUgcLiveShot = z.strictObject(storedLiveShotFields).superRefine(liveShotChecks(true));
|
|
627
624
|
export const LIVE_SHOTS_DESCRIPTION = "Live shots of the actor on some words of script: talking, talking_action (speaks while acting) or action " +
|
|
628
625
|
"(acts while the words play as voice-over). Shots may not overlap; words outside them are the presenter's usual take. Needs a 9:16 frame " +
|
|
629
626
|
"and long-form qualification on the server; each kind has its own presenter-second price in list_prices.";
|
|
630
627
|
export const mcpLiveShots = z.array(z.record(z.string(), z.unknown())).min(1).max(MAX_LIVE_SHOTS)
|
|
631
|
-
.describe(`[{ id, kind: talking|talking_action|action, anchor: { quote }, cover_words?, action?, setup?, framing?: wide|full, product?: { placement: hand|beside },
|
|
628
|
+
.describe(`[{ id, kind: talking|talking_action|action, anchor: { quote }, cover_words?, action?, setup?, framing?: wide|full, product?: { placement: hand|beside }, cast?: [{ asset_id, role, action? }], transition?: cut|flash|light_leak|whoosh, shot?: as generate_video shot (action only) }]. ${LIVE_SHOTS_DESCRIPTION}`);
|
|
632
629
|
export const pinnedInsertAsset = z.object({
|
|
633
630
|
insert_id: insertId,
|
|
634
631
|
slot: z.string().regex(/^[a-z][a-z0-9_]{0,31}$/).optional(),
|
|
@@ -702,9 +699,8 @@ export const makeUgcInputShape = {
|
|
|
702
699
|
presenter_gaze: z.array(ugcPresenterGaze).min(1).max(MAX_PRESENTER_GAZE).optional().describe(PRESENTER_GAZE_DESCRIPTION),
|
|
703
700
|
shots: liveShotsField(ugcLiveShot, true),
|
|
704
701
|
product_asset_id: assetId.optional().describe("The product image (ast_…) that shots with product show."),
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
propose: proposeField,
|
|
702
|
+
propose: z.literal(false).optional().describe("Deprecated: quotes no longer propose a scene, so false changes nothing; accepted so " +
|
|
703
|
+
"an older body still parses."),
|
|
708
704
|
person: z.string().min(1).max(2000).optional(),
|
|
709
705
|
actor_id: actorId
|
|
710
706
|
.optional()
|
|
@@ -1052,6 +1048,9 @@ export const storedUgcInput = z.object({
|
|
|
1052
1048
|
pause_trim_source: z.literal("ad_default").optional(),
|
|
1053
1049
|
end_hold_source: z.literal("ad_default").optional(),
|
|
1054
1050
|
scene_direction: sceneDirectionMark.optional(),
|
|
1051
|
+
shots: liveShotsField(storedUgcLiveShot, true),
|
|
1052
|
+
scene: sceneBible.optional(),
|
|
1053
|
+
proposal: storedSceneProposal.optional(),
|
|
1055
1054
|
talking_action_take: z.literal(TALKING_ACTION_VOICE_OVER).optional(),
|
|
1056
1055
|
product_sheet: z.literal(true).optional(),
|
|
1057
1056
|
lipsync_motion: z.literal(true).optional(),
|
|
@@ -1123,5 +1122,4 @@ export const quoteResponse = z.object({
|
|
|
1123
1122
|
resolved_aspect_ratio: z.enum(ASPECT_RATIOS),
|
|
1124
1123
|
tts_model: z.string().min(1),
|
|
1125
1124
|
design: resolvedDesign.extend({ source: z.enum(["request", "brand_kit"]) }).optional(),
|
|
1126
|
-
scene_proposal: sceneProposal.optional(),
|
|
1127
1125
|
});
|