@nodaro/shared 3.25.0 → 3.27.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/index.cjs +778 -169
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +427 -75
- package/dist/index.d.ts +427 -75
- package/dist/index.js +749 -170
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/auto-aspect-source.test.ts +372 -0
- package/src/__tests__/camera-switch-contract.test.ts +10 -0
- package/src/__tests__/collections.test.ts +10 -0
- package/src/__tests__/condition-variables.test.ts +12 -0
- package/src/__tests__/content-recipe-ideas.test.ts +9 -4
- package/src/__tests__/credit-identifiers.test.ts +12 -0
- package/src/__tests__/edl.test.ts +319 -4
- package/src/__tests__/image-model-roles.test.ts +57 -0
- package/src/__tests__/image-ref-limit.test.ts +1 -0
- package/src/__tests__/json-kinds.test.ts +11 -1
- package/src/__tests__/llm-models.test.ts +253 -42
- package/src/__tests__/lone-media-url.test.ts +78 -0
- package/src/__tests__/prompt-length-limits.test.ts +2 -0
- package/src/__tests__/render-nodes.test.ts +46 -1
- package/src/__tests__/transcribe-preflight.test.ts +5 -0
- package/src/camera-switch-contract.ts +9 -6
- package/src/collections.ts +72 -2
- package/src/condition-variables.ts +3 -1
- package/src/content-recipe-ideas.ts +5 -2
- package/src/credit-identifiers.ts +56 -13
- package/src/edl.ts +143 -23
- package/src/fan-out-rows.ts +1 -1
- package/src/i18n/camera-format.ko.ts +3 -3
- package/src/image-model-roles.ts +62 -0
- package/src/index.ts +42 -0
- package/src/json-kinds.ts +11 -6
- package/src/llm-models.ts +434 -24
- package/src/lone-media-url.ts +57 -0
- package/src/model-catalog.ts +145 -9
- package/src/model-constants.ts +13 -2
- package/src/node-default-mappings.ts +3 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +47 -4
- package/src/pipeline-types.ts +16 -3
- package/src/producer-types.ts +4 -0
- package/src/render-nodes.ts +58 -2
- package/src/settings-input.ts +2 -1
- package/src/transcribe-preflight.ts +11 -10
package/dist/index.cjs
CHANGED
|
@@ -56,14 +56,14 @@ function isAutoVideoDuration(duration) {
|
|
|
56
56
|
var SPEECH_UNIT_PRICE_NOTE = "per started 100 characters, at least 8 units \u2014 where length pricing is on";
|
|
57
57
|
var MODEL_RECOMMENDATIONS = [
|
|
58
58
|
// image
|
|
59
|
-
{ intent: "best for typography / logos / text-heavy", modelIds: ["
|
|
59
|
+
{ intent: "best for typography / logos / text-heavy", modelIds: ["gpt-image-2", "gpt-image-2-5-flare"], note: "GPT Image 2 for exact copy, labels and non-Latin text; GPT Image 2.5 Flare is close and faster." },
|
|
60
60
|
// Notes name the RANKING, not the price — the price sits in the generated
|
|
61
61
|
// table directly below them and in `pricing`, so restating it here just
|
|
62
62
|
// creates a copy that rots (this one said "1 credit" long after it was 2).
|
|
63
63
|
{ intent: "cheapest realistic image", modelIds: ["z-image", "qwen", "imagen4-fast"], note: "Z-Image is the cheapest. Qwen / Imagen4 Fast for slightly higher quality." },
|
|
64
|
-
{ intent: "highest fidelity image", modelIds: ["
|
|
65
|
-
{ intent: "image edit / restyle", modelIds: ["
|
|
66
|
-
{ intent: "highest-resolution image", modelIds: ["topaz-image-upscale", "
|
|
64
|
+
{ intent: "highest fidelity image", modelIds: ["gpt-image-2", "gpt-image-2-5-sunburst", "imagen4-ultra"], note: "GPT Image 2 for characters and identity; GPT Image 2.5 Sunburst for wide or in-between ratios GPT Image 2 can't draw." },
|
|
65
|
+
{ intent: "image edit / restyle", modelIds: ["gpt-image-2-5-flare-i2i", "gpt-image-2-i2i", "seedream-5-pro-i2i"], note: "GPT Image 2.5 Flare keeps pose, framing and product detail; GPT Image 2 i2i for identity-critical edits; Seedream 5 Pro for instruction-based edits." },
|
|
66
|
+
{ intent: "highest-resolution image", modelIds: ["topaz-image-upscale", "gpt-image-2", "gpt-image-2-5-sunburst"], note: "Generate at the model's top tier, then Topaz upscale 4x (Topaz's only lever is the 1x/2x/4x factor)." },
|
|
67
67
|
{ intent: "background removal / cutout", modelIds: ["recraft-remove-bg"], note: "Cheap, no prompt needed." },
|
|
68
68
|
// video
|
|
69
69
|
{ intent: "best cinematic video", modelIds: ["veo3", "kling-3.0", "seedance-2"], note: "VEO 3.1 Quality for premium narrative; Kling 3.0 for music-synced motion; Seedance 2 for reference-driven consistency." },
|
|
@@ -198,8 +198,7 @@ var IMAGE_MODELS = {
|
|
|
198
198
|
pricing: [
|
|
199
199
|
{ identifier: "nano-banana-pro", credits: 45, note: "1K / 2K" },
|
|
200
200
|
{ identifier: "nano-banana-pro:4K", credits: 60, note: "4K" }
|
|
201
|
-
]
|
|
202
|
-
featured: true
|
|
201
|
+
]
|
|
203
202
|
},
|
|
204
203
|
"nano-banana-edit": {
|
|
205
204
|
id: "nano-banana-edit",
|
|
@@ -443,7 +442,8 @@ var IMAGE_MODELS = {
|
|
|
443
442
|
{ identifier: "gpt-image-2:2K", credits: 30, note: "2K" },
|
|
444
443
|
{ identifier: "gpt-image-2:4K", credits: 60, note: "4K" }
|
|
445
444
|
],
|
|
446
|
-
safetyFilter: { stochastic: true, fallback: "nano-banana-pro" }
|
|
445
|
+
safetyFilter: { stochastic: true, fallback: "nano-banana-pro" },
|
|
446
|
+
featured: true
|
|
447
447
|
},
|
|
448
448
|
"gpt-image-2-i2i": {
|
|
449
449
|
id: "gpt-image-2-i2i",
|
|
@@ -774,6 +774,40 @@ var IMAGE_MODELS = {
|
|
|
774
774
|
{ identifier: "seedream-5-pro-i2i:high", credits: 60, note: "high / 2K" }
|
|
775
775
|
]
|
|
776
776
|
},
|
|
777
|
+
// Seedream 5 Flash — fast, low-cost Seedream 5. Its lever is KIE's `size`
|
|
778
|
+
// (1K / 1.5K / 2K), NOT the siblings' `quality`: declared as `resolutions`
|
|
779
|
+
// (the KIE config renames it to `size` on the wire). Flat price at every
|
|
780
|
+
// offered size. 1.5K is not offered yet: no other image model or route enum
|
|
781
|
+
// carries it, and its price has not been confirmed.
|
|
782
|
+
// See: docs.kie.ai/market/seedream/5-flash-text-to-image.md
|
|
783
|
+
"seedream-5-flash": {
|
|
784
|
+
id: "seedream-5-flash",
|
|
785
|
+
kind: "image",
|
|
786
|
+
modes: ["t2i"],
|
|
787
|
+
family: "Bytedance",
|
|
788
|
+
label: "Seedream 5 Flash",
|
|
789
|
+
series: "Seedream",
|
|
790
|
+
description: "Fast, low-cost Seedream 5 \u2014 quick generations at 1K or 2K, same price at either size.",
|
|
791
|
+
useCases: ["realistic", "drafts", "iteration"],
|
|
792
|
+
features: ["reference-image"],
|
|
793
|
+
aspectRatios: SEEDREAM_RATIOS,
|
|
794
|
+
resolutions: ["1K", "2K"],
|
|
795
|
+
pricing: [{ identifier: "seedream-5-flash", credits: 10, note: "1K / 2K flat" }]
|
|
796
|
+
},
|
|
797
|
+
"seedream-5-flash-i2i": {
|
|
798
|
+
id: "seedream-5-flash-i2i",
|
|
799
|
+
kind: "image",
|
|
800
|
+
modes: ["i2i"],
|
|
801
|
+
family: "Bytedance",
|
|
802
|
+
label: "Seedream 5 Flash (I2I)",
|
|
803
|
+
series: "Seedream",
|
|
804
|
+
description: "Image-to-image with Seedream 5 Flash \u2014 fast edits from up to 10 input images at 1K or 2K, same price at either size.",
|
|
805
|
+
useCases: ["edit", "iteration"],
|
|
806
|
+
features: ["reference-image"],
|
|
807
|
+
aspectRatios: SEEDREAM_RATIOS,
|
|
808
|
+
resolutions: ["1K", "2K"],
|
|
809
|
+
pricing: [{ identifier: "seedream-5-flash-i2i", credits: 10, note: "1K / 2K flat" }]
|
|
810
|
+
},
|
|
777
811
|
// ── Alibaba Qwen ──
|
|
778
812
|
"qwen": {
|
|
779
813
|
id: "qwen",
|
|
@@ -985,7 +1019,7 @@ var VIDEO_MODELS = {
|
|
|
985
1019
|
defaultDuration: 5,
|
|
986
1020
|
pricing: [{ identifier: "minimax", credits: 143, note: "5s, 1080p" }]
|
|
987
1021
|
},
|
|
988
|
-
// MiniMax
|
|
1022
|
+
// MiniMax H3 (KIE "minimax-h3") — t2v / i2v (first and/or last frame) /
|
|
989
1023
|
// reference-to-video (9 images / 3 videos ≤15s total / 3 audios ≤15s total;
|
|
990
1024
|
// audio refs require an image or video ref alongside). Two-rate resolution
|
|
991
1025
|
// lever (768P added 2026-08-03): 2K (KIE default) at 36.5 KIE cr/s, 768P at
|
|
@@ -1003,7 +1037,7 @@ var VIDEO_MODELS = {
|
|
|
1003
1037
|
family: "MiniMax",
|
|
1004
1038
|
label: "minimax-h3",
|
|
1005
1039
|
series: "Hailuo",
|
|
1006
|
-
description: "MiniMax
|
|
1040
|
+
description: "MiniMax H3 \u2014 premium multimodal tier: first/last frame + image/video/audio references, native audio, 2K (default) or 768P output, 4-15s per-second pricing.",
|
|
1007
1041
|
useCases: ["premium", "narrative"],
|
|
1008
1042
|
features: ["end-frame", "audio", "reference-image", "video-reference"],
|
|
1009
1043
|
aspectRatios: VIDEO_RATIOS_SEEDANCE_2,
|
|
@@ -2888,7 +2922,35 @@ function sameOptionValue(a, b) {
|
|
|
2888
2922
|
const fb = Number(nb);
|
|
2889
2923
|
return Number.isFinite(fa) && Number.isFinite(fb) && fa === fb;
|
|
2890
2924
|
}
|
|
2891
|
-
function
|
|
2925
|
+
function isAutoAspectToken(value) {
|
|
2926
|
+
return typeof value === "string" && value.trim().toLowerCase() === "auto";
|
|
2927
|
+
}
|
|
2928
|
+
function usableSize(size) {
|
|
2929
|
+
return size !== void 0 && Number.isFinite(size.width) && size.width > 0 && Number.isFinite(size.height) && size.height > 0;
|
|
2930
|
+
}
|
|
2931
|
+
var ASPECT_TIE_EPSILON = 1e-9;
|
|
2932
|
+
function nearestCatalogAspectRatio(sourceWidth, sourceHeight, ratios) {
|
|
2933
|
+
if (!usableSize({ width: sourceWidth, height: sourceHeight })) return void 0;
|
|
2934
|
+
const target = Math.log(sourceWidth / sourceHeight);
|
|
2935
|
+
let best;
|
|
2936
|
+
let bestDist = Infinity;
|
|
2937
|
+
for (const ratio of ratios) {
|
|
2938
|
+
const [rw, rh] = ratio.split(":").map(Number);
|
|
2939
|
+
if (!rw || !rh || rw < 0 || rh < 0) continue;
|
|
2940
|
+
const dist = Math.abs(Math.log(rw / rh) - target);
|
|
2941
|
+
if (dist < bestDist - ASPECT_TIE_EPSILON) {
|
|
2942
|
+
bestDist = dist;
|
|
2943
|
+
best = ratio;
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
return best;
|
|
2947
|
+
}
|
|
2948
|
+
function autoAspectNeedsSourceImage(modelId, aspectRatio) {
|
|
2949
|
+
if (!modelId || !isAutoAspectToken(aspectRatio)) return false;
|
|
2950
|
+
const ratios = MODEL_CATALOG[modelId]?.aspectRatios;
|
|
2951
|
+
return ratios !== void 0 && ratios.length > 0 && !ratios.some(isAutoAspectToken);
|
|
2952
|
+
}
|
|
2953
|
+
function normalizeModelInput(modelId, input, context = {}) {
|
|
2892
2954
|
const m = MODEL_CATALOG[modelId];
|
|
2893
2955
|
const adjustments = [];
|
|
2894
2956
|
if (!m) return { ...input, adjustments };
|
|
@@ -2916,7 +2978,19 @@ function normalizeModelInput(modelId, input) {
|
|
|
2916
2978
|
});
|
|
2917
2979
|
return next;
|
|
2918
2980
|
};
|
|
2919
|
-
|
|
2981
|
+
const sourceRatio = autoAspectNeedsSourceImage(modelId, input.aspectRatio) && usableSize(context.sourceImage) ? nearestCatalogAspectRatio(context.sourceImage.width, context.sourceImage.height, m.aspectRatios ?? []) : void 0;
|
|
2982
|
+
if (sourceRatio !== void 0 && input.aspectRatio !== void 0) {
|
|
2983
|
+
const { width, height } = context.sourceImage;
|
|
2984
|
+
adjustments.push({
|
|
2985
|
+
field: "aspectRatio",
|
|
2986
|
+
from: input.aspectRatio,
|
|
2987
|
+
to: sourceRatio,
|
|
2988
|
+
reason: `${m.label} has no "auto" aspect ratio \u2014 using "${sourceRatio}", the supported ratio closest to the source image's shape (${width}x${height}).`
|
|
2989
|
+
});
|
|
2990
|
+
out.aspectRatio = sourceRatio;
|
|
2991
|
+
} else {
|
|
2992
|
+
out.aspectRatio = snap("aspectRatio", input.aspectRatio, m.aspectRatios);
|
|
2993
|
+
}
|
|
2920
2994
|
out.resolution = snap(
|
|
2921
2995
|
"resolution",
|
|
2922
2996
|
input.resolution,
|
|
@@ -3260,7 +3334,9 @@ var MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER = {
|
|
|
3260
3334
|
// verified == 5000 default (no entry needed): imagen4(-fast/-ultra), nano-banana,
|
|
3261
3335
|
// nano-banana-edit, flux, flux-flex, gpt-image-2, ideogram-v3/-edit/-remix,
|
|
3262
3336
|
// grok, qwen-i2i, seedream-5-pro, seedream-5-pro-i2i
|
|
3263
|
-
// (docs.kie.ai/market/seedream/5-pro-text-to-image + 5-pro-image-to-image)
|
|
3337
|
+
// (docs.kie.ai/market/seedream/5-pro-text-to-image + 5-pro-image-to-image),
|
|
3338
|
+
// seedream-5-flash, seedream-5-flash-i2i (both "4–5000 characters";
|
|
3339
|
+
// docs.kie.ai/market/seedream/5-flash-text-to-image + 5-flash-image-to-image).
|
|
3264
3340
|
// grok-i2i: doc states 390000 (78× its t2i sibling) — treated as a KIE schema
|
|
3265
3341
|
// typo and left at the 5000 default per the sanity-cap decision.
|
|
3266
3342
|
// UNVERIFIED (no limit stated in schema) → 5000 default: flux-kontext(-max)
|
|
@@ -3438,6 +3514,7 @@ var MODELS_WITH_REFERENCE_IMAGE_SUPPORT = /* @__PURE__ */ new Set([
|
|
|
3438
3514
|
"seedream",
|
|
3439
3515
|
"seedream-5-lite",
|
|
3440
3516
|
"seedream-5-pro",
|
|
3517
|
+
"seedream-5-flash",
|
|
3441
3518
|
"flux",
|
|
3442
3519
|
"flux-flex",
|
|
3443
3520
|
// Image editing / image-to-image (reference = source image)
|
|
@@ -3458,6 +3535,7 @@ var MODELS_WITH_REFERENCE_IMAGE_SUPPORT = /* @__PURE__ */ new Set([
|
|
|
3458
3535
|
"seedream-edit",
|
|
3459
3536
|
"seedream-5-lite-i2i",
|
|
3460
3537
|
"seedream-5-pro-i2i",
|
|
3538
|
+
"seedream-5-flash-i2i",
|
|
3461
3539
|
"grok-i2i",
|
|
3462
3540
|
// Upscale / background ops (source acts as the reference)
|
|
3463
3541
|
"recraft-remove-bg",
|
|
@@ -3484,6 +3562,7 @@ var T2I_TO_I2I_VARIANT = {
|
|
|
3484
3562
|
"seedream": "seedream-edit",
|
|
3485
3563
|
"seedream-5-lite": "seedream-5-lite-i2i",
|
|
3486
3564
|
"seedream-5-pro": "seedream-5-pro-i2i",
|
|
3565
|
+
"seedream-5-flash": "seedream-5-flash-i2i",
|
|
3487
3566
|
"flux": "flux-pro-i2i",
|
|
3488
3567
|
"flux-flex": "flux-i2i"
|
|
3489
3568
|
};
|
|
@@ -3509,6 +3588,8 @@ var REF_IMAGE_MAX_LIMITS = {
|
|
|
3509
3588
|
"seedream-edit": 16,
|
|
3510
3589
|
"seedream-5-lite-i2i": 16,
|
|
3511
3590
|
"seedream-5-pro-i2i": 16,
|
|
3591
|
+
// Flash takes at most 10 `image_urls` (docs.kie.ai/market/seedream/5-flash-image-to-image) — not the family's 16.
|
|
3592
|
+
"seedream-5-flash-i2i": 10,
|
|
3512
3593
|
// Single-source i2i (one input image)
|
|
3513
3594
|
"flux-kontext": 1,
|
|
3514
3595
|
"flux-kontext-max": 1,
|
|
@@ -3599,6 +3680,7 @@ var IMAGE_GEN_PROVIDERS = [
|
|
|
3599
3680
|
"seedream",
|
|
3600
3681
|
"seedream-5-lite",
|
|
3601
3682
|
"seedream-5-pro",
|
|
3683
|
+
"seedream-5-flash",
|
|
3602
3684
|
"flux-flex",
|
|
3603
3685
|
"flux-kontext",
|
|
3604
3686
|
"flux-kontext-max",
|
|
@@ -3631,6 +3713,7 @@ var IMAGE_I2I_PROVIDERS = [
|
|
|
3631
3713
|
"seedream-edit",
|
|
3632
3714
|
"seedream-5-lite-i2i",
|
|
3633
3715
|
"seedream-5-pro-i2i",
|
|
3716
|
+
"seedream-5-flash-i2i",
|
|
3634
3717
|
"flux-kontext",
|
|
3635
3718
|
"flux-kontext-max",
|
|
3636
3719
|
// Replicate Open (uncensored) — multi-image Kontext via Replicate
|
|
@@ -4034,6 +4117,7 @@ var IMAGE_MASK_MODE = {
|
|
|
4034
4117
|
"seedream": "prompt",
|
|
4035
4118
|
"seedream-5-lite": "prompt",
|
|
4036
4119
|
"seedream-5-pro": "prompt",
|
|
4120
|
+
"seedream-5-flash": "prompt",
|
|
4037
4121
|
"qwen": "prompt",
|
|
4038
4122
|
"flux-kontext": "prompt",
|
|
4039
4123
|
"flux-kontext-max": "prompt",
|
|
@@ -5472,15 +5556,26 @@ function buildCreditModelIdentifier(provider, quality, resolution, renderingSpee
|
|
|
5472
5556
|
}
|
|
5473
5557
|
return provider;
|
|
5474
5558
|
}
|
|
5559
|
+
function normalizedImageGenModelId(opts) {
|
|
5560
|
+
const provider = typeof opts.provider === "string" && opts.provider.length > 0 ? opts.provider : "nano-banana";
|
|
5561
|
+
return opts.swapToI2i && opts.refCount > 0 ? T2I_TO_I2I_VARIANT[provider] ?? provider : provider;
|
|
5562
|
+
}
|
|
5563
|
+
function imageGenAutoAspectNeedsSourceImage(opts) {
|
|
5564
|
+
const asks = (refCount) => autoAspectNeedsSourceImage(normalizedImageGenModelId({ provider: opts.provider, refCount, swapToI2i: true }), opts.aspectRatio);
|
|
5565
|
+
return opts.refCount === void 0 ? asks(0) || asks(1) : asks(opts.refCount);
|
|
5566
|
+
}
|
|
5475
5567
|
function resolveNormalizedImageGen(opts) {
|
|
5476
5568
|
const str7 = (v) => typeof v === "string" && v.length > 0 ? v : void 0;
|
|
5477
|
-
const
|
|
5478
|
-
const
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5569
|
+
const modelId = normalizedImageGenModelId(opts);
|
|
5570
|
+
const n = normalizeModelInput(
|
|
5571
|
+
modelId,
|
|
5572
|
+
{
|
|
5573
|
+
aspectRatio: str7(opts.aspectRatio),
|
|
5574
|
+
resolution: str7(opts.resolution),
|
|
5575
|
+
quality: str7(opts.quality)
|
|
5576
|
+
},
|
|
5577
|
+
{ sourceImage: opts.sourceImage }
|
|
5578
|
+
);
|
|
5484
5579
|
return {
|
|
5485
5580
|
identifier: buildCreditModelIdentifier(
|
|
5486
5581
|
modelId,
|
|
@@ -6272,7 +6367,11 @@ var FAN_IN_TARGETS = {
|
|
|
6272
6367
|
deduplicate: "*",
|
|
6273
6368
|
"merge-lists": "*",
|
|
6274
6369
|
"sort-list": "*",
|
|
6275
|
-
selector: "*"
|
|
6370
|
+
selector: "*",
|
|
6371
|
+
// Speaker Frames on a clip pack (P3-24 (a), decided 2026-10-06): ONE run over
|
|
6372
|
+
// the union of the clips' spans — the pack's EDLs fold onto its `edl` wire
|
|
6373
|
+
// instead of running one detection job (and one minimum charge) per clip.
|
|
6374
|
+
"speaker-frames": ["edl"]
|
|
6276
6375
|
};
|
|
6277
6376
|
function isFanInNodeType(nodeType) {
|
|
6278
6377
|
return typeof nodeType === "string" && Object.prototype.hasOwnProperty.call(FAN_IN_TARGETS, nodeType);
|
|
@@ -6308,8 +6407,9 @@ function canonicalizeOverrideKeys(nodeType, overrides) {
|
|
|
6308
6407
|
}
|
|
6309
6408
|
|
|
6310
6409
|
// src/render-nodes.ts
|
|
6410
|
+
var RENDER_JSON_HANDLE = "json";
|
|
6311
6411
|
var outputSettingMedium = (data) => data.output === "audio" ? "audio" : "video";
|
|
6312
|
-
var descriptor = (d) => Object.freeze({ ...d });
|
|
6412
|
+
var descriptor = (d) => Object.freeze({ ...d, transcriptOutput: Object.freeze({ ...d.transcriptOutput }) });
|
|
6313
6413
|
var RENDER_NODE_TYPES = Object.freeze({
|
|
6314
6414
|
"apply-edl": descriptor({
|
|
6315
6415
|
mediumOf: outputSettingMedium,
|
|
@@ -6317,18 +6417,22 @@ var RENDER_NODE_TYPES = Object.freeze({
|
|
|
6317
6417
|
clockMapFrom: "input",
|
|
6318
6418
|
ownerOnlyListing: true,
|
|
6319
6419
|
latestBatch: true,
|
|
6320
|
-
jsonKind: "transcript"
|
|
6420
|
+
jsonKind: "transcript",
|
|
6421
|
+
transcriptOutput: { handle: RENDER_JSON_HANDLE, dataField: "generatedJson" }
|
|
6321
6422
|
}),
|
|
6322
6423
|
// Speaker View (C3.2): video only; its `json` is the EDL as it drew it (the
|
|
6323
6424
|
// turns split, the layouts written), so a player maps the output clock
|
|
6324
|
-
// through THAT, and Add Captions never takes it for a Transcript.
|
|
6425
|
+
// through THAT, and Add Captions never takes it for a Transcript. The wired
|
|
6426
|
+
// transcript, remapped through that same drawn edit, comes out on its own
|
|
6427
|
+
// `transcript` pip (decided 2026-10-08) — what a caption step reads.
|
|
6325
6428
|
"speaker-view": descriptor({
|
|
6326
6429
|
mediumOf: () => "video",
|
|
6327
6430
|
creditId: (quality) => speakerViewCreditId(quality),
|
|
6328
6431
|
clockMapFrom: "output-json",
|
|
6329
6432
|
ownerOnlyListing: true,
|
|
6330
6433
|
latestBatch: true,
|
|
6331
|
-
jsonKind: "edl"
|
|
6434
|
+
jsonKind: "edl",
|
|
6435
|
+
transcriptOutput: { handle: "transcript", dataField: "generatedTranscript" }
|
|
6332
6436
|
})
|
|
6333
6437
|
});
|
|
6334
6438
|
var RENDER_NODE_TYPE_IDS = Object.freeze(Object.keys(RENDER_NODE_TYPES));
|
|
@@ -6344,6 +6448,21 @@ function rendersLatestBatch(type) {
|
|
|
6344
6448
|
function rendersTranscriptJson(type) {
|
|
6345
6449
|
return renderNodeOf(type)?.jsonKind === "transcript";
|
|
6346
6450
|
}
|
|
6451
|
+
function renderTranscriptOutputOf(type) {
|
|
6452
|
+
return renderNodeOf(type)?.transcriptOutput;
|
|
6453
|
+
}
|
|
6454
|
+
function isRenderDataHandle(type, handle) {
|
|
6455
|
+
const d = renderNodeOf(type);
|
|
6456
|
+
if (!d || typeof handle !== "string") return false;
|
|
6457
|
+
return handle === RENDER_JSON_HANDLE || handle === d.transcriptOutput.handle;
|
|
6458
|
+
}
|
|
6459
|
+
function renderSavedJsonOutputs(type) {
|
|
6460
|
+
const d = renderNodeOf(type);
|
|
6461
|
+
if (!d) return [];
|
|
6462
|
+
const json = { outputKey: RENDER_JSON_HANDLE, dataField: "generatedJson" };
|
|
6463
|
+
const t2 = d.transcriptOutput;
|
|
6464
|
+
return t2.handle === RENDER_JSON_HANDLE ? [json] : [json, { outputKey: t2.handle, dataField: t2.dataField }];
|
|
6465
|
+
}
|
|
6347
6466
|
var OWNER_ONLY_LISTING_RENDER_TYPES = Object.freeze(
|
|
6348
6467
|
RENDER_NODE_TYPE_IDS.filter((t2) => RENDER_NODE_TYPES[t2].ownerOnlyListing)
|
|
6349
6468
|
);
|
|
@@ -7142,7 +7261,8 @@ var LLM_MODELS = [
|
|
|
7142
7261
|
{
|
|
7143
7262
|
id: "claude-haiku-4.5",
|
|
7144
7263
|
displayName: "Claude Haiku 4.5",
|
|
7145
|
-
|
|
7264
|
+
// Demoted 2026-10-10 when claude-haiku-5.5 registered.
|
|
7265
|
+
desc: "Previous Haiku, fast economy",
|
|
7146
7266
|
tier: "economy",
|
|
7147
7267
|
kieFormat: "messages",
|
|
7148
7268
|
kieSlugOrModel: "claude-haiku-4-5",
|
|
@@ -7150,7 +7270,53 @@ var LLM_MODELS = [
|
|
|
7150
7270
|
structuredOutputMode: "anthropic-tool",
|
|
7151
7271
|
supportsImages: true,
|
|
7152
7272
|
maxOutputTokens: 8192,
|
|
7153
|
-
directFallbackModel: "claude-haiku-4-5-20251001"
|
|
7273
|
+
directFallbackModel: "claude-haiku-4-5-20251001",
|
|
7274
|
+
// KIE-first since 2026-10-08 (a call is priced on the lane it runs on);
|
|
7275
|
+
// KIE served it plain and with a tool on its streaming wire that day.
|
|
7276
|
+
preferKie: true
|
|
7277
|
+
},
|
|
7278
|
+
{
|
|
7279
|
+
id: "claude-haiku-5.5",
|
|
7280
|
+
displayName: "Claude Haiku 5.5",
|
|
7281
|
+
desc: "Latest Haiku, fast and low-cost with reasoning",
|
|
7282
|
+
tier: "economy",
|
|
7283
|
+
kieFormat: "messages",
|
|
7284
|
+
// KIE plain id on the Claude-native messages dialect
|
|
7285
|
+
// (docs.kie.ai/market/claude/claude-haiku-5-5.md). Live-probed 2026-10-10
|
|
7286
|
+
// on the streaming wire: plain, system prompt, base64 image, a forced tool
|
|
7287
|
+
// and an auto + strict tool (both came back as a real tool_use block), and
|
|
7288
|
+
// `max_tokens: 32768` were all served.
|
|
7289
|
+
kieSlugOrModel: "claude-haiku-5-5",
|
|
7290
|
+
vendor: "anthropic",
|
|
7291
|
+
structuredOutputMode: "anthropic-tool",
|
|
7292
|
+
// NO `supportsForcedToolChoice: false`, unlike Sonnet 5.5 / Opus 5.5: this
|
|
7293
|
+
// model ACCEPTS a forced tool_choice (probed on Anthropic's API 2026-10-10).
|
|
7294
|
+
// A forced call skips thinking (same usage with and without an effort), and
|
|
7295
|
+
// an effort-bearing structured call is already sent the auto choice.
|
|
7296
|
+
//
|
|
7297
|
+
// A thinking block is valid only while everything before it is unchanged
|
|
7298
|
+
// (vendor docs: the same history check the other 5.5 models run).
|
|
7299
|
+
conversationBoundThinking: true,
|
|
7300
|
+
supportsImages: true,
|
|
7301
|
+
maxOutputTokens: 16384,
|
|
7302
|
+
directFallbackModel: "claude-haiku-5-5",
|
|
7303
|
+
// The first Haiku with effort levels. The vendor default is `medium`, where
|
|
7304
|
+
// most of the family defaults to `high`.
|
|
7305
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7306
|
+
// KIE ignores effort on this slug too — measured 2026-10-10 on a
|
|
7307
|
+
// reasoning-heavy prompt: none / low / max / KIE's own `thinkingFlag` gave
|
|
7308
|
+
// 2,076 / 1,886 / 2,223 / 1,927 output tokens and no thinking block, while
|
|
7309
|
+
// Anthropic's API gave 2,059 at low and 28,097 at max. An effort call runs
|
|
7310
|
+
// direct and bills as Advanced.
|
|
7311
|
+
effortRequiresDirect: true,
|
|
7312
|
+
// Anthropic 400s a non-default sampling value ("`temperature` is deprecated
|
|
7313
|
+
// for this model", probed 2026-10-10); KIE's proxy accepted temperature: 0.2.
|
|
7314
|
+
supportsTemperature: false,
|
|
7315
|
+
preferKie: true,
|
|
7316
|
+
// Adaptive thinking runs when no thinking param is sent (vendor default),
|
|
7317
|
+
// on BOTH lanes: a no-effort KIE call spent ~2,000 output tokens on a
|
|
7318
|
+
// ~350-token answer and returned no thinking block.
|
|
7319
|
+
thinkingDefaultOn: true
|
|
7154
7320
|
},
|
|
7155
7321
|
{
|
|
7156
7322
|
id: "claude-sonnet-4.6",
|
|
@@ -7164,7 +7330,12 @@ var LLM_MODELS = [
|
|
|
7164
7330
|
supportsImages: true,
|
|
7165
7331
|
maxOutputTokens: 16384,
|
|
7166
7332
|
directFallbackModel: "claude-sonnet-4-6",
|
|
7167
|
-
|
|
7333
|
+
// KIE-first since 2026-10-08 (a call is priced on the lane it runs on);
|
|
7334
|
+
// KIE served it plain and with a tool on its streaming wire that day.
|
|
7335
|
+
preferKie: true,
|
|
7336
|
+
reasoningEfforts: ["low", "medium", "high", "max"],
|
|
7337
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7338
|
+
effortRequiresDirect: true
|
|
7168
7339
|
},
|
|
7169
7340
|
{
|
|
7170
7341
|
id: "gpt-5.2",
|
|
@@ -7203,14 +7374,14 @@ var LLM_MODELS = [
|
|
|
7203
7374
|
// text such as a name badge), which is exactly what video-analysis casts
|
|
7204
7375
|
// identities from — so adding an entry here would silently move analysis to
|
|
7205
7376
|
// the shallower lane. Don't. Full comparison lives with the analysis engine.
|
|
7206
|
-
//
|
|
7207
|
-
//
|
|
7208
|
-
//
|
|
7209
|
-
// the direct lane
|
|
7210
|
-
// control, native media ingestion, and a `responseJsonSchema`
|
|
7211
|
-
// `additionalProperties` (KIE's `response_format` silently DROPS
|
|
7377
|
+
// KIE-first since 2026-10-08 (decided: a call is priced on the lane it runs
|
|
7378
|
+
// on, so the base premium price buys the KIE lane; the direct lane is
|
|
7379
|
+
// Advanced mode, billed `premium-direct`). It was the one direct-first
|
|
7380
|
+
// Gemini before. What the direct lane buys, now behind Advanced: real
|
|
7381
|
+
// `thinkingLevel` control, native media ingestion, and a `responseJsonSchema`
|
|
7382
|
+
// that honours `additionalProperties` (KIE's `response_format` silently DROPS
|
|
7212
7383
|
// record/map-shaped fields — see the z.record rule in backend/CLAUDE.md).
|
|
7213
|
-
|
|
7384
|
+
// Video-analysis is unaffected: it pins `requireLane: "direct"` itself.
|
|
7214
7385
|
// Reasons with no thinking param sent on both lanes — the proxied endpoint
|
|
7215
7386
|
// DEFAULTS to "high" (above), and the direct lane reasons harder still.
|
|
7216
7387
|
// Floored at its own 16384: its KIE fallback is not known to take more.
|
|
@@ -7234,6 +7405,8 @@ var LLM_MODELS = [
|
|
|
7234
7405
|
maxOutputTokens: 16384,
|
|
7235
7406
|
directFallbackModel: "claude-opus-4-7",
|
|
7236
7407
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7408
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7409
|
+
effortRequiresDirect: true,
|
|
7237
7410
|
supportsTemperature: false,
|
|
7238
7411
|
preferKie: true
|
|
7239
7412
|
},
|
|
@@ -7383,10 +7556,76 @@ var LLM_MODELS = [
|
|
|
7383
7556
|
// why this is per-model and not a lane-wide flag.
|
|
7384
7557
|
kieCollapseStream: true
|
|
7385
7558
|
},
|
|
7559
|
+
// ── GPT-6 Luna / Sol / 6.1 Sol ────────────────────────────────────────────
|
|
7560
|
+
// Same KIE endpoint and dialect as gpt-6-astra (codex/v1/responses; the doc
|
|
7561
|
+
// pages differ only in the model name). Live-probed 2026-10-08, per model:
|
|
7562
|
+
// `text.format` json_schema ENFORCED (echo `strict: true`, schema-valid
|
|
7563
|
+
// reply), `temperature: 0.2` echoed back as 1 → silently ignored, no
|
|
7564
|
+
// reasoning param → echo "medium" (reasons by default), and data-URI vision.
|
|
7565
|
+
// Unlike astra, the NON-stream lane served them reliably — luna 10/10 and sol
|
|
7566
|
+
// 10/10, 6.1 sol 8/8 at levels other than `none` (incl. 4 long structured
|
|
7567
|
+
// calls each, 500–1,500 output tokens) — so none of them is collapsed:
|
|
7568
|
+
// `credits_consumed` stays the real provider charge.
|
|
7569
|
+
// Their ladder is WIDER than astra's doc-enum one: `none` and `max` were each
|
|
7570
|
+
// sent and echoed back by the endpoint (6.1 sol excepted below).
|
|
7571
|
+
{
|
|
7572
|
+
id: "gpt-6-luna",
|
|
7573
|
+
displayName: "GPT-6 Luna",
|
|
7574
|
+
desc: "Fastest GPT-6, high-volume workloads",
|
|
7575
|
+
tier: "economy",
|
|
7576
|
+
kieFormat: "responses",
|
|
7577
|
+
kieSlugOrModel: "gpt-6-luna",
|
|
7578
|
+
vendor: "openai",
|
|
7579
|
+
structuredOutputMode: "responses-json-schema",
|
|
7580
|
+
supportsImages: true,
|
|
7581
|
+
maxOutputTokens: 16384,
|
|
7582
|
+
reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
|
|
7583
|
+
supportsTemperature: false,
|
|
7584
|
+
thinkingDefaultOn: true
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
id: "gpt-6-sol",
|
|
7588
|
+
displayName: "GPT-6 Sol",
|
|
7589
|
+
desc: "Strong GPT-6, deep reasoning at lower cost",
|
|
7590
|
+
// Premium by decision (2026-10-08), not by unit cost — "Sol" is the
|
|
7591
|
+
// deep-reasoning rung of the family, and gpt-5.6-sol bills premium too.
|
|
7592
|
+
tier: "premium",
|
|
7593
|
+
kieFormat: "responses",
|
|
7594
|
+
kieSlugOrModel: "gpt-6-sol",
|
|
7595
|
+
vendor: "openai",
|
|
7596
|
+
structuredOutputMode: "responses-json-schema",
|
|
7597
|
+
supportsImages: true,
|
|
7598
|
+
maxOutputTokens: 16384,
|
|
7599
|
+
reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
|
|
7600
|
+
supportsTemperature: false,
|
|
7601
|
+
thinkingDefaultOn: true
|
|
7602
|
+
},
|
|
7603
|
+
{
|
|
7604
|
+
id: "gpt-6.1-sol",
|
|
7605
|
+
displayName: "GPT-6.1 Sol",
|
|
7606
|
+
// Measured slow: 30–76 s for 500–1,100 output tokens (2026-10-08), roughly
|
|
7607
|
+
// twice gpt-6-sol on the same request — say so where the picker shows it.
|
|
7608
|
+
desc: "Newest GPT-6 Sol, thorough but slower",
|
|
7609
|
+
tier: "premium",
|
|
7610
|
+
kieFormat: "responses",
|
|
7611
|
+
kieSlugOrModel: "gpt-6-1-sol",
|
|
7612
|
+
vendor: "openai",
|
|
7613
|
+
structuredOutputMode: "responses-json-schema",
|
|
7614
|
+
supportsImages: true,
|
|
7615
|
+
maxOutputTokens: 16384,
|
|
7616
|
+
// NO `none`: every probe at `reasoning.effort: none` failed (502, a 120 s
|
|
7617
|
+
// timeout, 502, 429 — 0/4, 2026-10-08) while every other level answered,
|
|
7618
|
+
// and the same request at `none` succeeded on luna and sol. Clamping maps a
|
|
7619
|
+
// `none` request to nothing sent (Auto) rather than to a level that fails.
|
|
7620
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7621
|
+
supportsTemperature: false,
|
|
7622
|
+
thinkingDefaultOn: true
|
|
7623
|
+
},
|
|
7386
7624
|
{
|
|
7387
7625
|
id: "grok-4.6",
|
|
7388
7626
|
displayName: "Grok 4.6",
|
|
7389
|
-
|
|
7627
|
+
// Demoted 2026-10-08 when grok-4.7 registered — the flagship copy moved up.
|
|
7628
|
+
desc: "Previous Grok, strong reasoning",
|
|
7390
7629
|
tier: "standard",
|
|
7391
7630
|
kieFormat: "responses",
|
|
7392
7631
|
// KIE serves Grok on the responses dialect under its own family path —
|
|
@@ -7412,10 +7651,35 @@ var LLM_MODELS = [
|
|
|
7412
7651
|
// call needs output headroom, not just xhigh.
|
|
7413
7652
|
thinkingDefaultOn: true
|
|
7414
7653
|
},
|
|
7654
|
+
{
|
|
7655
|
+
id: "grok-4.7",
|
|
7656
|
+
displayName: "Grok 4.7",
|
|
7657
|
+
desc: "xAI flagship, strong reasoning",
|
|
7658
|
+
tier: "standard",
|
|
7659
|
+
kieFormat: "responses",
|
|
7660
|
+
// Same grok/v1/responses family path and wire as grok-4.6 (the KIE doc
|
|
7661
|
+
// pages differ only in the model name). Live-probed 2026-10-08: non-stream
|
|
7662
|
+
// 6/6, `text.format` json_schema enforced, data-URI vision, SSE deltas.
|
|
7663
|
+
kieSlugOrModel: "grok-4-7",
|
|
7664
|
+
vendor: "xai",
|
|
7665
|
+
structuredOutputMode: "responses-json-schema",
|
|
7666
|
+
supportsImages: true,
|
|
7667
|
+
maxOutputTokens: 16384,
|
|
7668
|
+
// 4.6's ladder. `none` is NOT honoured: the endpoint echoed it back as
|
|
7669
|
+
// "minimal" and still reasoned (33 of 35 output tokens), so offering it
|
|
7670
|
+
// would promise a lever the wire overrides.
|
|
7671
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh"],
|
|
7672
|
+
// `temperature: 0.2` → echo stayed at the 0.7 default: ignored.
|
|
7673
|
+
supportsTemperature: false,
|
|
7674
|
+
// "Capital of France" with no reasoning param spent 310 of 311 output
|
|
7675
|
+
// tokens reasoning.
|
|
7676
|
+
thinkingDefaultOn: true
|
|
7677
|
+
},
|
|
7415
7678
|
{
|
|
7416
7679
|
id: "claude-sonnet-5",
|
|
7417
7680
|
displayName: "Claude Sonnet 5",
|
|
7418
|
-
|
|
7681
|
+
// Demoted 2026-10-08 when claude-sonnet-5.5 registered.
|
|
7682
|
+
desc: "Previous Sonnet, near-Opus quality",
|
|
7419
7683
|
tier: "standard",
|
|
7420
7684
|
kieFormat: "messages",
|
|
7421
7685
|
kieSlugOrModel: "claude-sonnet-5",
|
|
@@ -7425,9 +7689,43 @@ var LLM_MODELS = [
|
|
|
7425
7689
|
maxOutputTokens: 16384,
|
|
7426
7690
|
directFallbackModel: "claude-sonnet-5",
|
|
7427
7691
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7692
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7693
|
+
effortRequiresDirect: true,
|
|
7428
7694
|
supportsTemperature: false,
|
|
7429
7695
|
preferKie: true
|
|
7430
7696
|
},
|
|
7697
|
+
{
|
|
7698
|
+
id: "claude-sonnet-5.5",
|
|
7699
|
+
displayName: "Claude Sonnet 5.5",
|
|
7700
|
+
desc: "Latest Sonnet, near-Opus quality at Sonnet cost",
|
|
7701
|
+
tier: "standard",
|
|
7702
|
+
kieFormat: "messages",
|
|
7703
|
+
// KIE serves it on the Claude-native messages dialect under its plain id
|
|
7704
|
+
// (docs.kie.ai/market/claude/claude-sonnet-5-5.md — the page is
|
|
7705
|
+
// claude-opus-5's with the model name swapped). Live-probed 2026-10-08 on
|
|
7706
|
+
// the streaming wire: plain, effort, and forced/auto+strict tool calls all
|
|
7707
|
+
// answered.
|
|
7708
|
+
kieSlugOrModel: "claude-sonnet-5-5",
|
|
7709
|
+
vendor: "anthropic",
|
|
7710
|
+
structuredOutputMode: "anthropic-tool",
|
|
7711
|
+
// Anthropic 400s a forced tool_choice on this model. KIE's proxy happened
|
|
7712
|
+
// to accept one in the probe, but the direct lane is where every
|
|
7713
|
+
// effort-bearing and every streamed structured call goes.
|
|
7714
|
+
supportsForcedToolChoice: false,
|
|
7715
|
+
conversationBoundThinking: true,
|
|
7716
|
+
supportsImages: true,
|
|
7717
|
+
maxOutputTokens: 16384,
|
|
7718
|
+
directFallbackModel: "claude-sonnet-5-5",
|
|
7719
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7720
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7721
|
+
effortRequiresDirect: true,
|
|
7722
|
+
// Anthropic rejects non-default sampling values on this model (KIE's proxy
|
|
7723
|
+
// accepted temperature: 0.2 in the probe; the direct lane is the contract).
|
|
7724
|
+
supportsTemperature: false,
|
|
7725
|
+
preferKie: true,
|
|
7726
|
+
// Adaptive thinking runs when no thinking param is sent (vendor default).
|
|
7727
|
+
thinkingDefaultOn: true
|
|
7728
|
+
},
|
|
7431
7729
|
{
|
|
7432
7730
|
id: "claude-opus-4.8",
|
|
7433
7731
|
displayName: "Claude Opus 4.8",
|
|
@@ -7441,13 +7739,16 @@ var LLM_MODELS = [
|
|
|
7441
7739
|
maxOutputTokens: 16384,
|
|
7442
7740
|
directFallbackModel: "claude-opus-4-8",
|
|
7443
7741
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7742
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7743
|
+
effortRequiresDirect: true,
|
|
7444
7744
|
supportsTemperature: false,
|
|
7445
7745
|
preferKie: true
|
|
7446
7746
|
},
|
|
7447
7747
|
{
|
|
7448
7748
|
id: "claude-opus-5",
|
|
7449
7749
|
displayName: "Claude Opus 5",
|
|
7450
|
-
|
|
7750
|
+
// Demoted 2026-10-08 when claude-opus-5.5 registered.
|
|
7751
|
+
desc: "Previous Opus, deep agentic reasoning",
|
|
7451
7752
|
tier: "premium",
|
|
7452
7753
|
kieFormat: "messages",
|
|
7453
7754
|
// KIE serves Opus 5 on the Claude-native messages dialect under the plain
|
|
@@ -7460,12 +7761,44 @@ var LLM_MODELS = [
|
|
|
7460
7761
|
maxOutputTokens: 16384,
|
|
7461
7762
|
directFallbackModel: "claude-opus-5",
|
|
7462
7763
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7764
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7765
|
+
effortRequiresDirect: true,
|
|
7463
7766
|
supportsTemperature: false,
|
|
7464
7767
|
preferKie: true,
|
|
7465
7768
|
// Opus 5 reasons with NO thinking param sent (vendor default flipped from
|
|
7466
7769
|
// Opus 4.8/4.7) — so every call needs output headroom, not just xhigh/max.
|
|
7467
7770
|
thinkingDefaultOn: true
|
|
7468
7771
|
},
|
|
7772
|
+
{
|
|
7773
|
+
id: "claude-opus-5.5",
|
|
7774
|
+
displayName: "Claude Opus 5.5",
|
|
7775
|
+
// Positioned as Fable-class (decided 2026-10-08: offered wherever Fable is).
|
|
7776
|
+
desc: "Latest Opus, frontier-class reasoning",
|
|
7777
|
+
tier: "premium",
|
|
7778
|
+
kieFormat: "messages",
|
|
7779
|
+
// KIE plain id on the messages dialect (docs.kie.ai/market/claude/
|
|
7780
|
+
// claude-opus-5-5 — claude-opus-5's page with the name swapped).
|
|
7781
|
+
// Live-probed 2026-10-08 on the streaming wire (plain + effort); the KIE
|
|
7782
|
+
// Claude lane was erroring for claude-opus-5 too during the tool probes.
|
|
7783
|
+
kieSlugOrModel: "claude-opus-5-5",
|
|
7784
|
+
vendor: "anthropic",
|
|
7785
|
+
structuredOutputMode: "anthropic-tool",
|
|
7786
|
+
// Forced tool_choice is a 400 on this model (vendor docs) — see the field.
|
|
7787
|
+
supportsForcedToolChoice: false,
|
|
7788
|
+
conversationBoundThinking: true,
|
|
7789
|
+
supportsImages: true,
|
|
7790
|
+
maxOutputTokens: 16384,
|
|
7791
|
+
directFallbackModel: "claude-opus-5-5",
|
|
7792
|
+
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7793
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7794
|
+
effortRequiresDirect: true,
|
|
7795
|
+
supportsTemperature: false,
|
|
7796
|
+
preferKie: true,
|
|
7797
|
+
// Thinking cannot be turned off on this model at all (`disabled` is a 400
|
|
7798
|
+
// at every effort); with no effort sent it runs adaptive at the vendor's
|
|
7799
|
+
// `medium` default. Nothing on our wire sends `disabled`.
|
|
7800
|
+
thinkingDefaultOn: true
|
|
7801
|
+
},
|
|
7469
7802
|
{
|
|
7470
7803
|
id: "claude-fable-5",
|
|
7471
7804
|
displayName: "Claude Fable 5",
|
|
@@ -7479,18 +7812,75 @@ var LLM_MODELS = [
|
|
|
7479
7812
|
maxOutputTokens: 16384,
|
|
7480
7813
|
directFallbackModel: "claude-fable-5",
|
|
7481
7814
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7815
|
+
// KIE ignores Claude effort (measured 2026-10-08): an effort call runs direct and bills as Advanced.
|
|
7816
|
+
effortRequiresDirect: true,
|
|
7482
7817
|
supportsTemperature: false,
|
|
7483
|
-
preferKie: true
|
|
7818
|
+
preferKie: true,
|
|
7819
|
+
// Thinking is always on (vendor docs: `disabled` is not supported), so it
|
|
7820
|
+
// shares the output cap on every call.
|
|
7821
|
+
thinkingDefaultOn: true
|
|
7822
|
+
},
|
|
7823
|
+
// ── Moonshot / DeepSeek ───────────────────────────────────────────────────
|
|
7824
|
+
// Both on KIE's THIRD responses family path, openai/v1/responses (llm-client
|
|
7825
|
+
// derives it from `vendor`). KIE labels both pages "Chat only — not adapted
|
|
7826
|
+
// for agent use": fine for single (structured) completions, so neither may
|
|
7827
|
+
// back a tool-loop feature.
|
|
7828
|
+
{
|
|
7829
|
+
id: "kimi-k3",
|
|
7830
|
+
displayName: "Kimi K3",
|
|
7831
|
+
desc: "Moonshot flagship, 1M context, careful reasoning",
|
|
7832
|
+
tier: "premium",
|
|
7833
|
+
kieFormat: "responses",
|
|
7834
|
+
kieSlugOrModel: "kimi-k3",
|
|
7835
|
+
vendor: "moonshot",
|
|
7836
|
+
// Live-probed 2026-10-08: `text.format` json_schema is ENFORCED — asked to
|
|
7837
|
+
// answer "no json here" in plain prose, it returned schema-shaped JSON.
|
|
7838
|
+
structuredOutputMode: "responses-json-schema",
|
|
7839
|
+
supportsImages: true,
|
|
7840
|
+
maxOutputTokens: 16384,
|
|
7841
|
+
// KIE's documented enum. The endpoint accepted xhigh/none without error but
|
|
7842
|
+
// never echoes an effort back, so nothing beyond the doc is verifiable.
|
|
7843
|
+
reasoningEfforts: ["low", "medium", "high"],
|
|
7844
|
+
// The doc lists no `temperature` field at all.
|
|
7845
|
+
supportsTemperature: false,
|
|
7846
|
+
// "Reasons by default" per KIE's doc (its usage reports no reasoning-token
|
|
7847
|
+
// split, so this is the doc's word, not a measurement).
|
|
7848
|
+
thinkingDefaultOn: true
|
|
7849
|
+
},
|
|
7850
|
+
{
|
|
7851
|
+
id: "deepseek-v4.1-flash",
|
|
7852
|
+
displayName: "DeepSeek V4.1 Flash",
|
|
7853
|
+
desc: "Very cheap and fast, solid reasoning",
|
|
7854
|
+
tier: "economy",
|
|
7855
|
+
kieFormat: "responses",
|
|
7856
|
+
kieSlugOrModel: "deepseek-v4-1-flash",
|
|
7857
|
+
vendor: "deepseek",
|
|
7858
|
+
// Live-probed 2026-10-08: json_schema echoed `strict: true` and enforced.
|
|
7859
|
+
structuredOutputMode: "responses-json-schema",
|
|
7860
|
+
supportsImages: true,
|
|
7861
|
+
// ADVISORY ONLY: KIE documents `max_output_tokens` as "not supported … no
|
|
7862
|
+
// effect" on this model (a probe sending it was accepted and ignored), so
|
|
7863
|
+
// neither this cap nor the reasoning floor binds its output length, and the
|
|
7864
|
+
// `incomplete` cap-stop signal cannot fire from our own cap.
|
|
7865
|
+
maxOutputTokens: 16384,
|
|
7866
|
+
// The endpoint takes none/minimal/low/medium/high/xhigh/max; each of none,
|
|
7867
|
+
// low and xhigh was echoed back. `minimal` is not in our ladder.
|
|
7868
|
+
reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
|
|
7869
|
+
// Documented "not supported … no effect".
|
|
7870
|
+
supportsTemperature: false,
|
|
7871
|
+
thinkingDefaultOn: true
|
|
7484
7872
|
}
|
|
7485
7873
|
];
|
|
7486
7874
|
var LLM_MODEL_IDS = LLM_MODELS.map((m) => m.id);
|
|
7487
7875
|
var STRUCTURED_VISION_MODELS = LLM_MODELS.filter(
|
|
7488
7876
|
(m) => m.supportsImages && m.structuredOutputMode != null
|
|
7489
7877
|
);
|
|
7490
|
-
var LLM_VENDOR_ORDER = ["anthropic", "google", "openai", "xai"];
|
|
7878
|
+
var LLM_VENDOR_ORDER = ["anthropic", "deepseek", "google", "moonshot", "openai", "xai"];
|
|
7491
7879
|
var LLM_VENDOR_LABELS = {
|
|
7492
7880
|
anthropic: "Anthropic",
|
|
7881
|
+
deepseek: "DeepSeek",
|
|
7493
7882
|
google: "Google",
|
|
7883
|
+
moonshot: "Moonshot AI",
|
|
7494
7884
|
openai: "OpenAI",
|
|
7495
7885
|
xai: "xAI"
|
|
7496
7886
|
};
|
|
@@ -7525,7 +7915,9 @@ var LLM_FEATURE_DEFAULTS = {
|
|
|
7525
7915
|
// runs once per returned ad — volume, not depth. Must stay an image-capable
|
|
7526
7916
|
// structured-output model (STRUCTURED_VISION_MODELS); a registry test pins it.
|
|
7527
7917
|
"meta-ads-analysis": "gemini-3.6-flash",
|
|
7528
|
-
|
|
7918
|
+
// Moved from claude-opus-5 on 2026-10-08 (decided: Opus 5.5 takes the Opus 5
|
|
7919
|
+
// defaults). Still an image-capable structured model — a registry test pins it.
|
|
7920
|
+
"describe-to-picker": "claude-opus-5.5",
|
|
7529
7921
|
"qa-check": "gemini-3.6-flash",
|
|
7530
7922
|
"generate-script": "gemini-3.6-flash",
|
|
7531
7923
|
"translate": "gemini-3.6-flash",
|
|
@@ -7538,6 +7930,19 @@ var LLM_FEATURE_DEFAULTS = {
|
|
|
7538
7930
|
"content-recipe": "gemini-3.6-flash",
|
|
7539
7931
|
"content-ideas": "gemini-3.6-flash"
|
|
7540
7932
|
};
|
|
7933
|
+
var LLM_FEATURE_DEFAULT_EFFORTS = {
|
|
7934
|
+
// Decided 2026-10-09 from the picker bake-off v2: Opus 5.5 at `high` read
|
|
7935
|
+
// 4/4 portraits with the most attributes per image, ~9 s a read. Its effort
|
|
7936
|
+
// only takes effect on Anthropic's own API (`effortRequiresDirect`), so the
|
|
7937
|
+
// default analysis runs direct — and bills as such (`llmServesDirect`).
|
|
7938
|
+
"describe-to-picker": "high"
|
|
7939
|
+
};
|
|
7940
|
+
function defaultReasoningEffort(feature, modelId) {
|
|
7941
|
+
const effort = LLM_FEATURE_DEFAULT_EFFORTS[feature];
|
|
7942
|
+
if (!effort) return void 0;
|
|
7943
|
+
if (!modelId) return effort;
|
|
7944
|
+
return getLlmModel(modelId)?.id === LLM_FEATURE_DEFAULTS[feature] ? effort : void 0;
|
|
7945
|
+
}
|
|
7541
7946
|
var LLM_MODALITY_CAPS = {
|
|
7542
7947
|
"gemini-3-flash": { image: true, video: true, audio: true },
|
|
7543
7948
|
"gemini-3.6-flash": { image: true, video: true, audio: true },
|
|
@@ -7558,6 +7963,7 @@ var LLM_MODALITY_CAPS = {
|
|
|
7558
7963
|
"gemini-3.8-flash": { image: true, video: false, audio: false },
|
|
7559
7964
|
"gemini-3.1-pro": { image: true, video: true, audio: true },
|
|
7560
7965
|
"claude-haiku-4.5": { image: true, video: false, audio: false },
|
|
7966
|
+
"claude-haiku-5.5": { image: true, video: false, audio: false },
|
|
7561
7967
|
"claude-sonnet-4.6": { image: true, video: false, audio: false },
|
|
7562
7968
|
"claude-opus-4.7": { image: true, video: false, audio: false },
|
|
7563
7969
|
"gpt-5.2": { image: true, video: false, audio: false },
|
|
@@ -7568,11 +7974,21 @@ var LLM_MODALITY_CAPS = {
|
|
|
7568
7974
|
"gpt-5.6-sol": { image: true, video: false, audio: false },
|
|
7569
7975
|
// KIE's GPT-6 doc lists text + image + file inputs only — no video, no audio.
|
|
7570
7976
|
"gpt-6-astra": { image: true, video: false, audio: false },
|
|
7977
|
+
// Same KIE doc as astra: text + image + file inputs only.
|
|
7978
|
+
"gpt-6-luna": { image: true, video: false, audio: false },
|
|
7979
|
+
"gpt-6-sol": { image: true, video: false, audio: false },
|
|
7980
|
+
"gpt-6.1-sol": { image: true, video: false, audio: false },
|
|
7571
7981
|
"grok-4.6": { image: true, video: false, audio: false },
|
|
7982
|
+
"grok-4.7": { image: true, video: false, audio: false },
|
|
7572
7983
|
"claude-sonnet-5": { image: true, video: false, audio: false },
|
|
7984
|
+
"claude-sonnet-5.5": { image: true, video: false, audio: false },
|
|
7573
7985
|
"claude-opus-4.8": { image: true, video: false, audio: false },
|
|
7574
7986
|
"claude-opus-5": { image: true, video: false, audio: false },
|
|
7575
|
-
"claude-
|
|
7987
|
+
"claude-opus-5.5": { image: true, video: false, audio: false },
|
|
7988
|
+
"claude-fable-5": { image: true, video: false, audio: false },
|
|
7989
|
+
// KIE documents text + image input only for both.
|
|
7990
|
+
"kimi-k3": { image: true, video: false, audio: false },
|
|
7991
|
+
"deepseek-v4.1-flash": { image: true, video: false, audio: false }
|
|
7576
7992
|
};
|
|
7577
7993
|
function getLlmModalityCaps(modelId) {
|
|
7578
7994
|
if (!modelId) return { image: true, video: false, audio: false };
|
|
@@ -7643,17 +8059,34 @@ function bumpTier(tier) {
|
|
|
7643
8059
|
return tier;
|
|
7644
8060
|
}
|
|
7645
8061
|
function supportsAdvancedMode(modelId) {
|
|
7646
|
-
|
|
8062
|
+
const model = modelId ? getLlmModel(modelId) : void 0;
|
|
8063
|
+
return Boolean(model?.directGeminiModel || model?.directFallbackModel);
|
|
8064
|
+
}
|
|
8065
|
+
var ADVANCED_MODE_UNAVAILABLE_REASON = "Advanced mode is available on Gemini and Claude models \u2014 switch the model to enable it.";
|
|
8066
|
+
function llmServesDirect(modelId, reasoningEffort, advancedMode) {
|
|
8067
|
+
if (!supportsAdvancedMode(modelId)) return false;
|
|
8068
|
+
if (advancedMode) return true;
|
|
8069
|
+
return Boolean(
|
|
8070
|
+
getLlmModel(modelId)?.effortRequiresDirect && effectiveReasoningEffort(modelId, reasoningEffort) !== void 0
|
|
8071
|
+
);
|
|
8072
|
+
}
|
|
8073
|
+
var LLM_CREDIT_RUNGS = ["economy", "standard", "premium", "premium-direct"];
|
|
8074
|
+
function llmCreditIdForRung(feature, rung) {
|
|
8075
|
+
return rung === "standard" ? feature : `${feature}:${rung}`;
|
|
8076
|
+
}
|
|
8077
|
+
function llmTierCreditIds(feature) {
|
|
8078
|
+
return LLM_CREDIT_RUNGS.map((rung) => llmCreditIdForRung(feature, rung));
|
|
7647
8079
|
}
|
|
7648
|
-
var ADVANCED_MODE_UNAVAILABLE_REASON = "Advanced mode is available on Gemini models \u2014 switch the model to enable it.";
|
|
7649
8080
|
function buildLlmCreditIdentifier(feature, modelId, reasoningEffort, advancedMode) {
|
|
7650
8081
|
if (!modelId) return feature;
|
|
7651
8082
|
let tier = getLlmTier(modelId);
|
|
7652
8083
|
const eff = effectiveReasoningEffort(modelId, reasoningEffort);
|
|
7653
8084
|
if (eff !== void 0 && EFFORT_TIER_BUMP.has(eff)) tier = bumpTier(tier);
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
8085
|
+
const rung = llmServesDirect(modelId, reasoningEffort, advancedMode) ? bumpToDirectRung(tier) : tier;
|
|
8086
|
+
return llmCreditIdForRung(feature, rung);
|
|
8087
|
+
}
|
|
8088
|
+
function bumpToDirectRung(tier) {
|
|
8089
|
+
return tier === "premium" ? "premium-direct" : bumpTier(tier);
|
|
7657
8090
|
}
|
|
7658
8091
|
function resolveLlmCreditId(feature, body) {
|
|
7659
8092
|
const b = body;
|
|
@@ -9325,7 +9758,7 @@ var NON_PROMPT_TEXT_LANES = {
|
|
|
9325
9758
|
negative: "*",
|
|
9326
9759
|
"system-prompt": "*",
|
|
9327
9760
|
script: ["ai-avatar"],
|
|
9328
|
-
transcript: ["add-captions", "apply-edl", "edit-plan", "camera-switch", "speaker-view"],
|
|
9761
|
+
transcript: ["add-captions", "apply-edl", "edit-plan", "camera-switch", "speaker-view", "speaker-frames"],
|
|
9329
9762
|
edl: ["apply-edl", "camera-switch", "speaker-view"],
|
|
9330
9763
|
silence: ["edit-plan"],
|
|
9331
9764
|
offsets: ["edit-plan"],
|
|
@@ -10438,6 +10871,9 @@ var QUALITY_MAP = {
|
|
|
10438
10871
|
"seedream-5-lite-i2i": { field: "quality", values: { low: "basic", mid: "basic", high: "high" } },
|
|
10439
10872
|
"seedream-5-pro": { field: "quality", values: { low: "basic", mid: "basic", high: "high" } },
|
|
10440
10873
|
"seedream-5-pro-i2i": { field: "quality", values: { low: "basic", mid: "basic", high: "high" } },
|
|
10874
|
+
// Seedream 5 Flash's lever is size (sent as KIE `size`), flat-priced — resolution-style.
|
|
10875
|
+
"seedream-5-flash": { field: "resolution", values: { low: "1K", mid: "2K", high: "2K" } },
|
|
10876
|
+
"seedream-5-flash-i2i": { field: "resolution", values: { low: "1K", mid: "2K", high: "2K" } },
|
|
10441
10877
|
// Video gen — resolution-style (720p/1080p)
|
|
10442
10878
|
"veo3": { field: "resolution", values: { low: "720p", mid: "1080p", high: "1080p" } },
|
|
10443
10879
|
"veo3.1": { field: "resolution", values: { low: "720p", mid: "1080p", high: "1080p" } },
|
|
@@ -10506,6 +10942,30 @@ function deriveLinkedFields(nodeType, value) {
|
|
|
10506
10942
|
return {};
|
|
10507
10943
|
}
|
|
10508
10944
|
|
|
10945
|
+
// src/image-model-roles.ts
|
|
10946
|
+
var IMAGE_MODEL_ROLE_DEFAULTS = {
|
|
10947
|
+
character: "gpt-image-2",
|
|
10948
|
+
general: "gpt-image-2",
|
|
10949
|
+
anchor: "gpt-image-2",
|
|
10950
|
+
edit: "gpt-image-2-5-flare-i2i"
|
|
10951
|
+
};
|
|
10952
|
+
var IMAGE_MODEL_RATIO_FALLBACKS = {
|
|
10953
|
+
character: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
10954
|
+
general: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
10955
|
+
anchor: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
10956
|
+
edit: ["gpt-image-2-5-sunburst-i2i", "nano-banana-pro"]
|
|
10957
|
+
};
|
|
10958
|
+
function imageModelDrawsRatio(modelId, aspectRatio) {
|
|
10959
|
+
if (!aspectRatio) return true;
|
|
10960
|
+
const ratios = MODEL_CATALOG[modelId]?.aspectRatios;
|
|
10961
|
+
return ratios === void 0 || ratios.includes(aspectRatio);
|
|
10962
|
+
}
|
|
10963
|
+
function defaultImageModel(role, aspectRatio) {
|
|
10964
|
+
const primary = IMAGE_MODEL_ROLE_DEFAULTS[role];
|
|
10965
|
+
if (imageModelDrawsRatio(primary, aspectRatio)) return primary;
|
|
10966
|
+
return IMAGE_MODEL_RATIO_FALLBACKS[role].find((id) => imageModelDrawsRatio(id, aspectRatio)) ?? primary;
|
|
10967
|
+
}
|
|
10968
|
+
|
|
10509
10969
|
// src/settings-input.ts
|
|
10510
10970
|
var SETTINGS_INPUT_HANDLE = "settings";
|
|
10511
10971
|
var SETTINGS_SOURCE_FIELDS = {
|
|
@@ -10544,7 +11004,7 @@ var SETTINGS_CONSUMERS = {
|
|
|
10544
11004
|
models: IMAGE_GEN_PROVIDERS,
|
|
10545
11005
|
// The node's own default (NODE_DEFINITIONS) — only used to fit a wired
|
|
10546
11006
|
// ratio when the node names no model.
|
|
10547
|
-
defaultModel:
|
|
11007
|
+
defaultModel: IMAGE_MODEL_ROLE_DEFAULTS.general,
|
|
10548
11008
|
modelList: "providers"
|
|
10549
11009
|
}
|
|
10550
11010
|
};
|
|
@@ -10917,6 +11377,9 @@ var JSON_OUTPUT_KINDS = Object.freeze({
|
|
|
10917
11377
|
transcribe: { primary: "json", pips: { json: "transcript" } },
|
|
10918
11378
|
// Camera Switch: the switched edit and the renamed (still a Transcript) transcript.
|
|
10919
11379
|
"camera-switch": { primary: "edl", pips: { edl: "edl", transcript: "transcript" } },
|
|
11380
|
+
// Speaker Frames: the stored track file's descriptor (P3-22) — neither a
|
|
11381
|
+
// Transcript nor an EDL, read by Speaker View's `tracks` input (P3.9).
|
|
11382
|
+
"speaker-frames": { primary: "tracks", pips: { tracks: "other" } },
|
|
10920
11383
|
// Text to Dialogue: the Transcript built from the model's own word timings (its default read is the audio).
|
|
10921
11384
|
"text-to-dialogue": { pips: { json: "transcript" } },
|
|
10922
11385
|
// ── JSON that is neither a Transcript nor an EDL (decided 2026-10-08) ──
|
|
@@ -10944,7 +11407,6 @@ var JSON_OUTPUT_KINDS = Object.freeze({
|
|
|
10944
11407
|
// Describe to Picker: the picker values read off an image.
|
|
10945
11408
|
"describe-to-picker": { primary: "picker-json", pips: { "picker-json": "other" } }
|
|
10946
11409
|
});
|
|
10947
|
-
var RENDER_JSON_PIP = "json";
|
|
10948
11410
|
var JSON_INPUT_KINDS = Object.freeze({
|
|
10949
11411
|
transcript: "transcript",
|
|
10950
11412
|
edl: "edl"
|
|
@@ -10953,7 +11415,11 @@ var own = (table, key) => Object.hasOwn(table, key) ? table[key] : void 0;
|
|
|
10953
11415
|
function declaredJsonOutput(nodeType, sourceHandle, renders = RENDER_NODE_TYPES) {
|
|
10954
11416
|
if (typeof nodeType !== "string") return void 0;
|
|
10955
11417
|
const render = own(renders, nodeType);
|
|
10956
|
-
if (render)
|
|
11418
|
+
if (render) {
|
|
11419
|
+
const pip2 = sourceHandle ?? RENDER_JSON_HANDLE;
|
|
11420
|
+
if (pip2 === RENDER_JSON_HANDLE) return render.jsonKind;
|
|
11421
|
+
return pip2 === render.transcriptOutput.handle ? "transcript" : void 0;
|
|
11422
|
+
}
|
|
10957
11423
|
const outputs = own(JSON_OUTPUT_KINDS, nodeType);
|
|
10958
11424
|
if (!outputs) return void 0;
|
|
10959
11425
|
const pip = sourceHandle ?? outputs.primary;
|
|
@@ -12036,6 +12502,114 @@ var SOCIAL_READ_PERIODS = ["window", "day"];
|
|
|
12036
12502
|
var COMPETITOR_READ_ROLES = ["own", "about", "all"];
|
|
12037
12503
|
var SOCIAL_READ_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
12038
12504
|
|
|
12505
|
+
// src/entity-node-fields.ts
|
|
12506
|
+
var ENTITY_NODE_KINDS = ["character", "object", "creature", "location"];
|
|
12507
|
+
var ENTITY_DB_ID_FIELD = {
|
|
12508
|
+
character: "characterDbId",
|
|
12509
|
+
object: "objectDbId",
|
|
12510
|
+
creature: "creatureDbId",
|
|
12511
|
+
location: "locationDbId"
|
|
12512
|
+
};
|
|
12513
|
+
var ENTITY_NAME_FIELD = {
|
|
12514
|
+
character: "characterName",
|
|
12515
|
+
object: "objectName",
|
|
12516
|
+
creature: "creatureName",
|
|
12517
|
+
location: "locationName"
|
|
12518
|
+
};
|
|
12519
|
+
var ENTITY_TABLE = {
|
|
12520
|
+
character: "characters",
|
|
12521
|
+
object: "objects",
|
|
12522
|
+
creature: "creatures",
|
|
12523
|
+
location: "locations"
|
|
12524
|
+
};
|
|
12525
|
+
var ENTITY_BUCKET_FIELDS = {
|
|
12526
|
+
character: [
|
|
12527
|
+
["expressions", "expressions"],
|
|
12528
|
+
["poses", "poses"],
|
|
12529
|
+
["motions", "motions"],
|
|
12530
|
+
["angles", "angles"],
|
|
12531
|
+
["body_angles", "bodyAngles"],
|
|
12532
|
+
["lighting_variations", "lightingVariations"],
|
|
12533
|
+
["outfit_variations", "outfitVariations"],
|
|
12534
|
+
["detail_closeups", "detailCloseups"],
|
|
12535
|
+
["sheets", "sheets"]
|
|
12536
|
+
],
|
|
12537
|
+
object: [
|
|
12538
|
+
["angles", "angles"],
|
|
12539
|
+
["materials", "materials"],
|
|
12540
|
+
["variations", "variations"],
|
|
12541
|
+
["motion_clips", "motionClips"],
|
|
12542
|
+
["detail_closeups", "detailCloseups"],
|
|
12543
|
+
["sheets", "sheets"]
|
|
12544
|
+
],
|
|
12545
|
+
creature: [
|
|
12546
|
+
["angles", "angles"],
|
|
12547
|
+
["poses", "poses"],
|
|
12548
|
+
["variations", "variations"],
|
|
12549
|
+
["motion_clips", "motionClips"],
|
|
12550
|
+
["detail_closeups", "detailCloseups"],
|
|
12551
|
+
["sheets", "sheets"]
|
|
12552
|
+
],
|
|
12553
|
+
location: [
|
|
12554
|
+
["time_of_day", "timeOfDay"],
|
|
12555
|
+
["weather", "weather"],
|
|
12556
|
+
["angles", "angles"],
|
|
12557
|
+
["lighting", "lighting"],
|
|
12558
|
+
["seasons", "seasons"],
|
|
12559
|
+
["atmosphere_motions", "atmosphereMotions"],
|
|
12560
|
+
["detail_closeups", "detailCloseups"],
|
|
12561
|
+
["sheets", "sheets"]
|
|
12562
|
+
]
|
|
12563
|
+
};
|
|
12564
|
+
var ENTITY_SCALAR_FIELDS = [
|
|
12565
|
+
["name", "__name"],
|
|
12566
|
+
// routed to the kind's own name field by the caller
|
|
12567
|
+
["description", "description"],
|
|
12568
|
+
["canonical_description", "canonicalDescription"],
|
|
12569
|
+
["source_image_url", "sourceImageUrl"]
|
|
12570
|
+
];
|
|
12571
|
+
var ENTITY_KIND_SCALAR_FIELDS = {
|
|
12572
|
+
character: [],
|
|
12573
|
+
object: [["style_lock", "styleLock"]],
|
|
12574
|
+
creature: [["style_lock", "styleLock"]],
|
|
12575
|
+
location: [["style_lock", "styleLock"]]
|
|
12576
|
+
};
|
|
12577
|
+
function entityHydrationColumns(kind) {
|
|
12578
|
+
return [
|
|
12579
|
+
"id",
|
|
12580
|
+
...entityScalarFields(kind).map(([column]) => column),
|
|
12581
|
+
...ENTITY_BUCKET_FIELDS[kind].map(([column]) => column)
|
|
12582
|
+
];
|
|
12583
|
+
}
|
|
12584
|
+
function entityScalarFields(kind) {
|
|
12585
|
+
return [...ENTITY_SCALAR_FIELDS, ...ENTITY_KIND_SCALAR_FIELDS[kind]];
|
|
12586
|
+
}
|
|
12587
|
+
|
|
12588
|
+
// src/lone-media-url.ts
|
|
12589
|
+
var IMAGE_FILE_RE = /\.(png|jpe?g|gif|webp)$/i;
|
|
12590
|
+
var VIDEO_FILE_RE = /\.(mp4|mov|webm|m4v)$/i;
|
|
12591
|
+
function loneMediaUrlKind(value) {
|
|
12592
|
+
const s = value.trim();
|
|
12593
|
+
if (s.length === 0 || /[\s,]/.test(s) || !/^https?:\/\//i.test(s)) return null;
|
|
12594
|
+
let pathname;
|
|
12595
|
+
try {
|
|
12596
|
+
pathname = new URL(s).pathname;
|
|
12597
|
+
} catch {
|
|
12598
|
+
return null;
|
|
12599
|
+
}
|
|
12600
|
+
if (IMAGE_FILE_RE.test(pathname)) return "image";
|
|
12601
|
+
if (VIDEO_FILE_RE.test(pathname)) return "video";
|
|
12602
|
+
return null;
|
|
12603
|
+
}
|
|
12604
|
+
var MESSAGE_TRIGGER_TYPES = /* @__PURE__ */ new Set(["telegram-trigger", "telegram-account-trigger"]);
|
|
12605
|
+
function isLoneMediaLinkSource(nodeType) {
|
|
12606
|
+
if (!nodeType) return false;
|
|
12607
|
+
if (IMAGE_PRODUCER_TYPES.has(nodeType) || VIDEO_PRODUCER_TYPES.has(nodeType) || AUDIO_PRODUCER_TYPES.has(nodeType)) return false;
|
|
12608
|
+
if (DYNAMIC_PRODUCER_TYPES.has(nodeType) || MESSAGE_TRIGGER_TYPES.has(nodeType)) return false;
|
|
12609
|
+
if (ENTITY_NODE_KINDS.includes(nodeType) || nodeType === "face") return false;
|
|
12610
|
+
return true;
|
|
12611
|
+
}
|
|
12612
|
+
|
|
12039
12613
|
// src/collections.ts
|
|
12040
12614
|
var COLLECTION_NAME_MAX = 80;
|
|
12041
12615
|
var COLLECTION_DESCRIPTION_MAX = 500;
|
|
@@ -12063,6 +12637,11 @@ var COLLECTION_TIER_CAPS = {
|
|
|
12063
12637
|
function collectionCapsForTier(tier) {
|
|
12064
12638
|
return tier ? COLLECTION_TIER_CAPS[tier] : void 0;
|
|
12065
12639
|
}
|
|
12640
|
+
var COLLECTION_USAGES = ["all", "unused", "used"];
|
|
12641
|
+
var COLLECTION_RECORD_STATUSES = ["active", "trash"];
|
|
12642
|
+
var COLLECTION_BULK_MAX = 100;
|
|
12643
|
+
var COLLECTION_BULK_ACTIONS = ["trash", "restore", "delete"];
|
|
12644
|
+
var COLLECTION_RECORDS_OFFSET_MAX = 1e6;
|
|
12066
12645
|
var COLLECTION_DIGEST_SEPARATOR = "\n\n---\n\n";
|
|
12067
12646
|
var COLLECTION_READ_WINDOW_HOURS_MAX = 720;
|
|
12068
12647
|
var COLLECTION_READ_LIMIT_MAX = 200;
|
|
@@ -12222,8 +12801,14 @@ function mediaFromItem(item) {
|
|
|
12222
12801
|
for (const key of IMAGE_KEYS) if (isHttpUrl(item[key]) && !push({ type: "image", url: item[key] })) break;
|
|
12223
12802
|
for (const key of VIDEO_KEYS) if (isHttpUrl(item[key]) && !push({ type: "video", url: item[key] })) break;
|
|
12224
12803
|
for (const key of AUDIO_KEYS) if (isHttpUrl(item[key]) && !push({ type: "audio", url: item[key] })) break;
|
|
12804
|
+
if (isHttpUrl(item.mediaUrl)) push({ type: mediaKindOf(item.mediaKind, item.mediaUrl), url: item.mediaUrl });
|
|
12225
12805
|
return out;
|
|
12226
12806
|
}
|
|
12807
|
+
function mediaKindOf(kind, url) {
|
|
12808
|
+
if (kind === "photo" || kind === "image") return "image";
|
|
12809
|
+
if (kind === "video" || kind === "audio") return kind;
|
|
12810
|
+
return loneMediaUrlKind(url) ?? "link";
|
|
12811
|
+
}
|
|
12227
12812
|
function ingestRecordFromJson(item) {
|
|
12228
12813
|
if (!isRecord2(item)) {
|
|
12229
12814
|
const text2 = typeof item === "string" ? item : item === void 0 || item === null ? "" : JSON.stringify(item);
|
|
@@ -12336,7 +12921,7 @@ function buildConditionVariables(targetNodeId, edges, nodes, extractOutput) {
|
|
|
12336
12921
|
if (edge.targetHandle !== VARIABLES_HANDLE_ID) continue;
|
|
12337
12922
|
const src = nodes.find((n) => n.id === edge.source);
|
|
12338
12923
|
if (!src) continue;
|
|
12339
|
-
const output = extractOutput(src);
|
|
12924
|
+
const output = extractOutput(src)?.trim();
|
|
12340
12925
|
if (output === void 0 || output === "") continue;
|
|
12341
12926
|
const label = src.data.label || src.type || src.id;
|
|
12342
12927
|
pairs.push({ label, output });
|
|
@@ -13926,7 +14511,6 @@ function transcribeWordTimestampsRefusal(provider) {
|
|
|
13926
14511
|
}
|
|
13927
14512
|
var TRANSCRIBE_JSON_OUT = "json";
|
|
13928
14513
|
var TRANSCRIPT_IN = "transcript";
|
|
13929
|
-
var RENDER_JSON_OUT = "json";
|
|
13930
14514
|
function findWordlessTranscriptFeeds(nodes, edges) {
|
|
13931
14515
|
const byId = new Map(nodes.map((n) => [n.id, n]));
|
|
13932
14516
|
const isSkipped = (n) => !n || n.data?.skipped === true;
|
|
@@ -13951,9 +14535,12 @@ function findWordlessTranscriptFeeds(nodes, edges) {
|
|
|
13951
14535
|
provider,
|
|
13952
14536
|
message: `Captions need word timings, but ${refusal}.`
|
|
13953
14537
|
});
|
|
13954
|
-
} else if (
|
|
13955
|
-
|
|
13956
|
-
|
|
14538
|
+
} else if (!seen.has(target.id)) {
|
|
14539
|
+
const remapped = renderTranscriptOutputOf(target.type);
|
|
14540
|
+
if (remapped) {
|
|
14541
|
+
seen.add(target.id);
|
|
14542
|
+
frontier.push({ id: target.id, outHandle: remapped.handle });
|
|
14543
|
+
}
|
|
13957
14544
|
}
|
|
13958
14545
|
}
|
|
13959
14546
|
}
|
|
@@ -14142,6 +14729,9 @@ var EXECUTION_DATA_KEYS = /* @__PURE__ */ new Set([
|
|
|
14142
14729
|
"__pickedTotal",
|
|
14143
14730
|
"__restTotal",
|
|
14144
14731
|
"generatedJson",
|
|
14732
|
+
// A render's remapped transcript on its own pip (Speaker View's
|
|
14733
|
+
// `transcript`, RENDER_NODE_TYPES transcriptOutput) — run-result data.
|
|
14734
|
+
"generatedTranscript",
|
|
14145
14735
|
// Edit Plan: a person's review of the plan (`EditedEdl`, edit-plan-review.ts),
|
|
14146
14736
|
// kept beside `generatedJson` and fingerprinted against it. Run-result data
|
|
14147
14737
|
// (TA14, decided 2026-10-04): out of undo, presets, templates and exports,
|
|
@@ -15269,14 +15859,19 @@ var PIPELINE_PINNABLE_VIDEO_MODELS = [
|
|
|
15269
15859
|
"bytedance-pro"
|
|
15270
15860
|
];
|
|
15271
15861
|
var PIPELINE_PINNABLE_SCRIPT_LLMS = [
|
|
15272
|
-
"claude-haiku-
|
|
15862
|
+
"claude-haiku-5-5",
|
|
15273
15863
|
"claude-sonnet-4-6",
|
|
15274
15864
|
"claude-opus-4-7",
|
|
15275
15865
|
"claude-opus-5"
|
|
15276
15866
|
];
|
|
15867
|
+
var PIPELINE_LEGACY_PINNED_SCRIPT_LLMS = ["claude-haiku-4-5"];
|
|
15868
|
+
var PIPELINE_ACCEPTED_SCRIPT_LLMS = [
|
|
15869
|
+
...PIPELINE_PINNABLE_SCRIPT_LLMS,
|
|
15870
|
+
...PIPELINE_LEGACY_PINNED_SCRIPT_LLMS
|
|
15871
|
+
];
|
|
15277
15872
|
var ImageModelEnum = zod.z.enum(PIPELINE_ACCEPTED_IMAGE_MODELS);
|
|
15278
15873
|
var VideoModelEnum = zod.z.enum(PIPELINE_PINNABLE_VIDEO_MODELS);
|
|
15279
|
-
var ScriptLlmEnum = zod.z.enum(
|
|
15874
|
+
var ScriptLlmEnum = zod.z.enum(PIPELINE_ACCEPTED_SCRIPT_LLMS);
|
|
15280
15875
|
var StageModelsSchema = zod.z.object({
|
|
15281
15876
|
characters_image: ImageModelEnum.optional(),
|
|
15282
15877
|
locations_image: ImageModelEnum.optional(),
|
|
@@ -16995,6 +17590,15 @@ var MODEL_PARAM_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
|
16995
17590
|
"modify-image",
|
|
16996
17591
|
"edit-image"
|
|
16997
17592
|
]);
|
|
17593
|
+
var SOURCE_IMAGE_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
17594
|
+
"image-to-image",
|
|
17595
|
+
"modify-image",
|
|
17596
|
+
"edit-image"
|
|
17597
|
+
]);
|
|
17598
|
+
var AUTO_ASPECT_AT_RUN_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
17599
|
+
...SOURCE_IMAGE_NODE_TYPES,
|
|
17600
|
+
"generate-image"
|
|
17601
|
+
]);
|
|
16998
17602
|
function normalizeNodeModelParams(nodes) {
|
|
16999
17603
|
const adjustments = [];
|
|
17000
17604
|
const out = nodes.map((node) => {
|
|
@@ -17007,12 +17611,14 @@ function normalizeNodeModelParams(nodes) {
|
|
|
17007
17611
|
if (multi.length > 1) return node;
|
|
17008
17612
|
const provider = typeof d.provider === "string" ? d.provider : typeof multi[0] === "string" ? multi[0] : void 0;
|
|
17009
17613
|
if (!provider) return node;
|
|
17614
|
+
const deferAuto = AUTO_ASPECT_AT_RUN_NODE_TYPES.has(type) && (type === "generate-image" ? imageGenAutoAspectNeedsSourceImage({ provider, aspectRatio: d.aspectRatio }) : autoAspectNeedsSourceImage(provider, d.aspectRatio));
|
|
17010
17615
|
const normalized = normalizeModelInput(provider, {
|
|
17011
|
-
aspectRatio: typeof d.aspectRatio === "string" ? d.aspectRatio : void 0,
|
|
17616
|
+
aspectRatio: !deferAuto && typeof d.aspectRatio === "string" ? d.aspectRatio : void 0,
|
|
17012
17617
|
resolution: typeof d.resolution === "string" ? d.resolution : void 0,
|
|
17013
17618
|
quality: typeof d.quality === "string" ? d.quality : void 0
|
|
17014
17619
|
});
|
|
17015
|
-
|
|
17620
|
+
const respell = deferAuto && d.aspectRatio !== "auto";
|
|
17621
|
+
if (normalized.adjustments.length === 0 && !respell) return node;
|
|
17016
17622
|
const nodeId = typeof node.id === "string" ? node.id : "(unknown node)";
|
|
17017
17623
|
for (const adj of normalized.adjustments) {
|
|
17018
17624
|
adjustments.push({ ...adj, nodeId, provider });
|
|
@@ -17021,7 +17627,7 @@ function normalizeNodeModelParams(nodes) {
|
|
|
17021
17627
|
...node,
|
|
17022
17628
|
data: {
|
|
17023
17629
|
...d,
|
|
17024
|
-
aspectRatio: normalized.aspectRatio,
|
|
17630
|
+
aspectRatio: deferAuto ? "auto" : normalized.aspectRatio,
|
|
17025
17631
|
resolution: normalized.resolution,
|
|
17026
17632
|
quality: normalized.quality
|
|
17027
17633
|
}
|
|
@@ -19095,12 +19701,15 @@ var CONTENT_RECIPE_IDEAS_CREDIT_IDS = [
|
|
|
19095
19701
|
"content-recipe:economy",
|
|
19096
19702
|
"content-recipe",
|
|
19097
19703
|
"content-recipe:premium",
|
|
19704
|
+
"content-recipe:premium-direct",
|
|
19098
19705
|
"content-ideas:economy",
|
|
19099
19706
|
"content-ideas",
|
|
19100
19707
|
"content-ideas:premium",
|
|
19708
|
+
"content-ideas:premium-direct",
|
|
19101
19709
|
"content-ideas:10:economy",
|
|
19102
19710
|
"content-ideas:10",
|
|
19103
|
-
"content-ideas:10:premium"
|
|
19711
|
+
"content-ideas:10:premium",
|
|
19712
|
+
"content-ideas:10:premium-direct"
|
|
19104
19713
|
];
|
|
19105
19714
|
|
|
19106
19715
|
// src/smart-cut-windows.ts
|
|
@@ -19202,89 +19811,6 @@ var OrgSettingsSchema = PresetSettingsSchema.partial().extend({
|
|
|
19202
19811
|
/** Per-org relabelling of the kind vocabulary (./vocabulary.ts). */
|
|
19203
19812
|
vocabulary_overrides: zod.z.record(zod.z.string(), zod.z.string()).optional()
|
|
19204
19813
|
});
|
|
19205
|
-
|
|
19206
|
-
// src/entity-node-fields.ts
|
|
19207
|
-
var ENTITY_NODE_KINDS = ["character", "object", "creature", "location"];
|
|
19208
|
-
var ENTITY_DB_ID_FIELD = {
|
|
19209
|
-
character: "characterDbId",
|
|
19210
|
-
object: "objectDbId",
|
|
19211
|
-
creature: "creatureDbId",
|
|
19212
|
-
location: "locationDbId"
|
|
19213
|
-
};
|
|
19214
|
-
var ENTITY_NAME_FIELD = {
|
|
19215
|
-
character: "characterName",
|
|
19216
|
-
object: "objectName",
|
|
19217
|
-
creature: "creatureName",
|
|
19218
|
-
location: "locationName"
|
|
19219
|
-
};
|
|
19220
|
-
var ENTITY_TABLE = {
|
|
19221
|
-
character: "characters",
|
|
19222
|
-
object: "objects",
|
|
19223
|
-
creature: "creatures",
|
|
19224
|
-
location: "locations"
|
|
19225
|
-
};
|
|
19226
|
-
var ENTITY_BUCKET_FIELDS = {
|
|
19227
|
-
character: [
|
|
19228
|
-
["expressions", "expressions"],
|
|
19229
|
-
["poses", "poses"],
|
|
19230
|
-
["motions", "motions"],
|
|
19231
|
-
["angles", "angles"],
|
|
19232
|
-
["body_angles", "bodyAngles"],
|
|
19233
|
-
["lighting_variations", "lightingVariations"],
|
|
19234
|
-
["outfit_variations", "outfitVariations"],
|
|
19235
|
-
["detail_closeups", "detailCloseups"],
|
|
19236
|
-
["sheets", "sheets"]
|
|
19237
|
-
],
|
|
19238
|
-
object: [
|
|
19239
|
-
["angles", "angles"],
|
|
19240
|
-
["materials", "materials"],
|
|
19241
|
-
["variations", "variations"],
|
|
19242
|
-
["motion_clips", "motionClips"],
|
|
19243
|
-
["detail_closeups", "detailCloseups"],
|
|
19244
|
-
["sheets", "sheets"]
|
|
19245
|
-
],
|
|
19246
|
-
creature: [
|
|
19247
|
-
["angles", "angles"],
|
|
19248
|
-
["poses", "poses"],
|
|
19249
|
-
["variations", "variations"],
|
|
19250
|
-
["motion_clips", "motionClips"],
|
|
19251
|
-
["detail_closeups", "detailCloseups"],
|
|
19252
|
-
["sheets", "sheets"]
|
|
19253
|
-
],
|
|
19254
|
-
location: [
|
|
19255
|
-
["time_of_day", "timeOfDay"],
|
|
19256
|
-
["weather", "weather"],
|
|
19257
|
-
["angles", "angles"],
|
|
19258
|
-
["lighting", "lighting"],
|
|
19259
|
-
["seasons", "seasons"],
|
|
19260
|
-
["atmosphere_motions", "atmosphereMotions"],
|
|
19261
|
-
["detail_closeups", "detailCloseups"],
|
|
19262
|
-
["sheets", "sheets"]
|
|
19263
|
-
]
|
|
19264
|
-
};
|
|
19265
|
-
var ENTITY_SCALAR_FIELDS = [
|
|
19266
|
-
["name", "__name"],
|
|
19267
|
-
// routed to the kind's own name field by the caller
|
|
19268
|
-
["description", "description"],
|
|
19269
|
-
["canonical_description", "canonicalDescription"],
|
|
19270
|
-
["source_image_url", "sourceImageUrl"]
|
|
19271
|
-
];
|
|
19272
|
-
var ENTITY_KIND_SCALAR_FIELDS = {
|
|
19273
|
-
character: [],
|
|
19274
|
-
object: [["style_lock", "styleLock"]],
|
|
19275
|
-
creature: [["style_lock", "styleLock"]],
|
|
19276
|
-
location: [["style_lock", "styleLock"]]
|
|
19277
|
-
};
|
|
19278
|
-
function entityHydrationColumns(kind) {
|
|
19279
|
-
return [
|
|
19280
|
-
"id",
|
|
19281
|
-
...entityScalarFields(kind).map(([column]) => column),
|
|
19282
|
-
...ENTITY_BUCKET_FIELDS[kind].map(([column]) => column)
|
|
19283
|
-
];
|
|
19284
|
-
}
|
|
19285
|
-
function entityScalarFields(kind) {
|
|
19286
|
-
return [...ENTITY_SCALAR_FIELDS, ...ENTITY_KIND_SCALAR_FIELDS[kind]];
|
|
19287
|
-
}
|
|
19288
19814
|
var SCENE3D_PLAN_TYPE = "3d-scene";
|
|
19289
19815
|
var SCENE3D_SCHEMA_VERSION = 1;
|
|
19290
19816
|
var SCENE3D_DEFAULT_FPS = 24;
|
|
@@ -22172,6 +22698,8 @@ function speakerPresentationWarnings(edl) {
|
|
|
22172
22698
|
var EDL_VERSION = 1;
|
|
22173
22699
|
var EDL_SOURCE_ROLES = ["master-audio", "camera", "wide", "screen"];
|
|
22174
22700
|
var KNOWN_SOURCE_ROLES = new Set(EDL_SOURCE_ROLES);
|
|
22701
|
+
var FOLLOW_MOTIONS = ["static", "glide"];
|
|
22702
|
+
var KNOWN_FOLLOW_MOTIONS = new Set(FOLLOW_MOTIONS);
|
|
22175
22703
|
function transcriptDurationSec(transcript) {
|
|
22176
22704
|
if (!transcript || typeof transcript !== "object") return void 0;
|
|
22177
22705
|
const t2 = transcript;
|
|
@@ -22298,6 +22826,7 @@ function validateEdl(edl) {
|
|
|
22298
22826
|
}
|
|
22299
22827
|
if (slot.weight !== void 0 && !inRange(slot.weight)) issues.push(`${at}: slot.weight=${slot.weight} out of 0..1`);
|
|
22300
22828
|
if (slot.region) issues.push(...regionIssues(slot.region, `${at} slot "${slot.source}"`));
|
|
22829
|
+
if (slot.follow) issues.push(...followIssues(slot.follow, slot.source, `${at} slot "${slot.source}"`));
|
|
22301
22830
|
}
|
|
22302
22831
|
});
|
|
22303
22832
|
for (const d of edl.dropped ?? []) {
|
|
@@ -22352,6 +22881,11 @@ function outputMsToMasterMs(edl, outputMs) {
|
|
|
22352
22881
|
function remapTranscriptThroughEdl(edl, transcript) {
|
|
22353
22882
|
const off = offsetFor(edl, transcript.sourceId);
|
|
22354
22883
|
const starts = segmentOutputStarts(edl);
|
|
22884
|
+
const touches = (j) => {
|
|
22885
|
+
const a = edl.segments[j];
|
|
22886
|
+
const b = edl.segments[j + 1];
|
|
22887
|
+
return b.inMs === a.outMs && starts[j + 1] === starts[j] + Math.max(0, a.outMs - a.inMs);
|
|
22888
|
+
};
|
|
22355
22889
|
const mapWord = (w) => {
|
|
22356
22890
|
const startMaster = w.startMs + off;
|
|
22357
22891
|
const endMaster = w.endMs + off;
|
|
@@ -22368,8 +22902,11 @@ function remapTranscriptThroughEdl(edl, transcript) {
|
|
|
22368
22902
|
for (let i = 0; i < edl.segments.length; i++) {
|
|
22369
22903
|
const seg = edl.segments[i];
|
|
22370
22904
|
const lo = Math.max(startMaster, seg.inMs);
|
|
22371
|
-
|
|
22905
|
+
let hi = Math.min(endMaster, seg.outMs);
|
|
22372
22906
|
if (lo < hi) {
|
|
22907
|
+
for (let j = i; hi < endMaster && j + 1 < edl.segments.length && touches(j); j++) {
|
|
22908
|
+
hi = Math.min(endMaster, edl.segments[j + 1].outMs);
|
|
22909
|
+
}
|
|
22373
22910
|
return {
|
|
22374
22911
|
...w,
|
|
22375
22912
|
startMs: Math.round(starts[i] + (lo - seg.inMs)),
|
|
@@ -22483,6 +23020,24 @@ function normalizeEdl(input) {
|
|
|
22483
23020
|
...meta ? { meta } : {}
|
|
22484
23021
|
};
|
|
22485
23022
|
}
|
|
23023
|
+
function followIssues(follow, slotSource, at) {
|
|
23024
|
+
const f = follow;
|
|
23025
|
+
const issues = [];
|
|
23026
|
+
if (f.sourceId !== slotSource) issues.push(`${at}: follow.sourceId ${JSON.stringify(f.sourceId)} is not the slot's source "${slotSource}"`);
|
|
23027
|
+
if (typeof f.trackId !== "string" || !f.trackId.trim()) issues.push(`${at}: follow.trackId is empty`);
|
|
23028
|
+
if (typeof f.motion !== "string" || !KNOWN_FOLLOW_MOTIONS.has(f.motion)) {
|
|
23029
|
+
issues.push(`${at}: follow.motion ${JSON.stringify(f.motion)} is not one of ${FOLLOW_MOTIONS.join(", ")}`);
|
|
23030
|
+
}
|
|
23031
|
+
return issues;
|
|
23032
|
+
}
|
|
23033
|
+
function normalizeFollow(input) {
|
|
23034
|
+
if (!input || typeof input !== "object") return void 0;
|
|
23035
|
+
const o = input;
|
|
23036
|
+
const sourceId = str3(o.sourceId);
|
|
23037
|
+
const trackId = str3(o.trackId);
|
|
23038
|
+
if (!sourceId || !trackId || typeof o.motion !== "string" || !KNOWN_FOLLOW_MOTIONS.has(o.motion)) return void 0;
|
|
23039
|
+
return { sourceId, trackId, motion: o.motion };
|
|
23040
|
+
}
|
|
22486
23041
|
function normalizeLayout(input, dropTransition = false) {
|
|
22487
23042
|
if (!input || typeof input !== "object") return void 0;
|
|
22488
23043
|
const o = input;
|
|
@@ -22492,11 +23047,13 @@ function normalizeLayout(input, dropTransition = false) {
|
|
|
22492
23047
|
const source = str3(s.source);
|
|
22493
23048
|
if (!source) return null;
|
|
22494
23049
|
const region = normalizeRegion(s.region);
|
|
23050
|
+
const follow = normalizeFollow(s.follow);
|
|
22495
23051
|
return {
|
|
22496
23052
|
source,
|
|
22497
23053
|
...region ? { region } : {},
|
|
22498
23054
|
...str3(s.speaker) ? { speaker: str3(s.speaker) } : {},
|
|
22499
|
-
...s.weight !== void 0 ? { weight: clamp012(num(s.weight)) } : {}
|
|
23055
|
+
...s.weight !== void 0 ? { weight: clamp012(num(s.weight)) } : {},
|
|
23056
|
+
...follow ? { follow } : {}
|
|
22500
23057
|
};
|
|
22501
23058
|
}).filter((x) => x !== null) : void 0;
|
|
22502
23059
|
const emphasis = o.emphasis && typeof o.emphasis === "object" ? { style: str3(o.emphasis.style) ?? "none", durationMs: Math.round(num(o.emphasis.durationMs)) } : void 0;
|
|
@@ -22508,34 +23065,57 @@ function normalizeLayout(input, dropTransition = false) {
|
|
|
22508
23065
|
...transition ? { transition } : {}
|
|
22509
23066
|
};
|
|
22510
23067
|
}
|
|
23068
|
+
function timeMs(v) {
|
|
23069
|
+
const n = typeof v === "number" ? v : typeof v === "string" && v.trim() !== "" ? Number(v) : Number.NaN;
|
|
23070
|
+
return Number.isFinite(n) && n >= 0 ? Math.round(n) : void 0;
|
|
23071
|
+
}
|
|
23072
|
+
function spanMs(o) {
|
|
23073
|
+
const startMs = timeMs(o.startMs ?? o.start);
|
|
23074
|
+
const endMs = timeMs(o.endMs ?? o.end);
|
|
23075
|
+
if (startMs === void 0 || endMs === void 0 || endMs < startMs) return void 0;
|
|
23076
|
+
return { startMs, endMs };
|
|
23077
|
+
}
|
|
22511
23078
|
function normalizeTranscript(input) {
|
|
22512
23079
|
const o = input && typeof input === "object" ? input : {};
|
|
22513
|
-
const words =
|
|
22514
|
-
|
|
22515
|
-
const
|
|
22516
|
-
|
|
22517
|
-
|
|
22518
|
-
|
|
22519
|
-
|
|
22520
|
-
|
|
22521
|
-
|
|
22522
|
-
|
|
22523
|
-
|
|
22524
|
-
|
|
22525
|
-
|
|
22526
|
-
|
|
22527
|
-
|
|
22528
|
-
|
|
22529
|
-
|
|
23080
|
+
const words = [];
|
|
23081
|
+
if (Array.isArray(o.words)) {
|
|
23082
|
+
for (const raw of o.words) {
|
|
23083
|
+
if (!raw || typeof raw !== "object") continue;
|
|
23084
|
+
const w = raw;
|
|
23085
|
+
const span = spanMs(w);
|
|
23086
|
+
if (!span) continue;
|
|
23087
|
+
words.push({
|
|
23088
|
+
text: str3(w.text) ?? "",
|
|
23089
|
+
...span,
|
|
23090
|
+
...str3(w.speaker) ? { speaker: str3(w.speaker) } : {},
|
|
23091
|
+
...typeof w.confidence === "number" ? { confidence: w.confidence } : {}
|
|
23092
|
+
});
|
|
23093
|
+
}
|
|
23094
|
+
words.sort((a, b) => a.startMs - b.startMs);
|
|
23095
|
+
}
|
|
23096
|
+
const segments = Array.isArray(o.segments) ? o.segments.flatMap((raw) => {
|
|
23097
|
+
if (!raw || typeof raw !== "object") return [];
|
|
23098
|
+
const s = raw;
|
|
23099
|
+
const span = spanMs(s);
|
|
23100
|
+
return span ? [{ ...span, text: str3(s.text) ?? "", ...str3(s.speaker) ? { speaker: str3(s.speaker) } : {} }] : [];
|
|
22530
23101
|
}) : void 0;
|
|
23102
|
+
const speakerNames = speakerNamesOf(o.speakerNames);
|
|
22531
23103
|
return {
|
|
22532
23104
|
version: EDL_VERSION,
|
|
22533
23105
|
...str3(o.sourceId) ? { sourceId: str3(o.sourceId) } : {},
|
|
22534
23106
|
...str3(o.language) ? { language: str3(o.language) } : {},
|
|
22535
23107
|
words,
|
|
22536
|
-
...segments ? { segments } : {}
|
|
23108
|
+
...segments ? { segments } : {},
|
|
23109
|
+
...speakerNames ? { speakerNames } : {}
|
|
22537
23110
|
};
|
|
22538
23111
|
}
|
|
23112
|
+
function speakerNamesOf(v) {
|
|
23113
|
+
if (!v || typeof v !== "object" || Array.isArray(v)) return void 0;
|
|
23114
|
+
const entries = Object.entries(v).filter(
|
|
23115
|
+
(e) => e[0].length > 0 && typeof e[1] === "string" && e[1].length > 0
|
|
23116
|
+
);
|
|
23117
|
+
return entries.length > 0 ? Object.fromEntries(entries) : void 0;
|
|
23118
|
+
}
|
|
22539
23119
|
|
|
22540
23120
|
// src/speaker-tracks.ts
|
|
22541
23121
|
var SPEAKER_TRACKS_VERSION = 1;
|
|
@@ -22903,12 +23483,11 @@ var parseMaybe = (raw) => {
|
|
|
22903
23483
|
}
|
|
22904
23484
|
};
|
|
22905
23485
|
function transcriptSpeakerLabels(transcript) {
|
|
22906
|
-
const
|
|
22907
|
-
if (!
|
|
23486
|
+
const parsed = parseMaybe(transcript);
|
|
23487
|
+
if (!parsed || typeof parsed !== "object") return [];
|
|
22908
23488
|
const seen = /* @__PURE__ */ new Set();
|
|
22909
|
-
for (const w of words) {
|
|
22910
|
-
|
|
22911
|
-
if (typeof s === "string" && s && !seen.has(s)) seen.add(s);
|
|
23489
|
+
for (const w of normalizeTranscript(parsed).words) {
|
|
23490
|
+
if (w.speaker && !seen.has(w.speaker)) seen.add(w.speaker);
|
|
22912
23491
|
}
|
|
22913
23492
|
return [...seen];
|
|
22914
23493
|
}
|
|
@@ -23824,6 +24403,7 @@ exports.AUDIO_FX_PRESET_SET = AUDIO_FX_PRESET_SET;
|
|
|
23824
24403
|
exports.AUDIO_FX_REVERB_PRESETS = AUDIO_FX_REVERB_PRESETS;
|
|
23825
24404
|
exports.AUDIO_PRODUCER_TYPES = AUDIO_PRODUCER_TYPES;
|
|
23826
24405
|
exports.AUDIO_SYNC_MIN_CONFIDENCE = AUDIO_SYNC_MIN_CONFIDENCE;
|
|
24406
|
+
exports.AUTO_ASPECT_AT_RUN_NODE_TYPES = AUTO_ASPECT_AT_RUN_NODE_TYPES;
|
|
23827
24407
|
exports.AUTO_DOWNLOAD_MAX_SEC = AUTO_DOWNLOAD_MAX_SEC;
|
|
23828
24408
|
exports.AddBRollResultSchema = AddBRollResultSchema;
|
|
23829
24409
|
exports.AnchorSceneStyleResultSchema = AnchorSceneStyleResultSchema;
|
|
@@ -23882,6 +24462,8 @@ exports.CINEMATIC_RESERVE_IDS = CINEMATIC_RESERVE_IDS;
|
|
|
23882
24462
|
exports.COLLABORATOR_ROLES = COLLABORATOR_ROLES;
|
|
23883
24463
|
exports.COLLECTIONS_PAGE_DEFAULT = COLLECTIONS_PAGE_DEFAULT;
|
|
23884
24464
|
exports.COLLECTIONS_PAGE_MAX = COLLECTIONS_PAGE_MAX;
|
|
24465
|
+
exports.COLLECTION_BULK_ACTIONS = COLLECTION_BULK_ACTIONS;
|
|
24466
|
+
exports.COLLECTION_BULK_MAX = COLLECTION_BULK_MAX;
|
|
23885
24467
|
exports.COLLECTION_DEDUPE_KEY_MAX = COLLECTION_DEDUPE_KEY_MAX;
|
|
23886
24468
|
exports.COLLECTION_DESCRIPTION_MAX = COLLECTION_DESCRIPTION_MAX;
|
|
23887
24469
|
exports.COLLECTION_DIGEST_SEPARATOR = COLLECTION_DIGEST_SEPARATOR;
|
|
@@ -23892,13 +24474,16 @@ exports.COLLECTION_MEDIA_TYPES = COLLECTION_MEDIA_TYPES;
|
|
|
23892
24474
|
exports.COLLECTION_NAME_MAX = COLLECTION_NAME_MAX;
|
|
23893
24475
|
exports.COLLECTION_READ_LIMIT_MAX = COLLECTION_READ_LIMIT_MAX;
|
|
23894
24476
|
exports.COLLECTION_READ_WINDOW_HOURS_MAX = COLLECTION_READ_WINDOW_HOURS_MAX;
|
|
24477
|
+
exports.COLLECTION_RECORDS_OFFSET_MAX = COLLECTION_RECORDS_OFFSET_MAX;
|
|
23895
24478
|
exports.COLLECTION_RECORD_FIELDS_BYTES_MAX = COLLECTION_RECORD_FIELDS_BYTES_MAX;
|
|
23896
24479
|
exports.COLLECTION_RECORD_FIELDS_MAX = COLLECTION_RECORD_FIELDS_MAX;
|
|
23897
24480
|
exports.COLLECTION_RECORD_MEDIA_MAX = COLLECTION_RECORD_MEDIA_MAX;
|
|
24481
|
+
exports.COLLECTION_RECORD_STATUSES = COLLECTION_RECORD_STATUSES;
|
|
23898
24482
|
exports.COLLECTION_RECORD_TEXT_MAX = COLLECTION_RECORD_TEXT_MAX;
|
|
23899
24483
|
exports.COLLECTION_RECORD_TITLE_MAX = COLLECTION_RECORD_TITLE_MAX;
|
|
23900
24484
|
exports.COLLECTION_RECORD_URL_MAX = COLLECTION_RECORD_URL_MAX;
|
|
23901
24485
|
exports.COLLECTION_TIER_CAPS = COLLECTION_TIER_CAPS;
|
|
24486
|
+
exports.COLLECTION_USAGES = COLLECTION_USAGES;
|
|
23902
24487
|
exports.COLLECT_IN_HANDLE = COLLECT_IN_HANDLE;
|
|
23903
24488
|
exports.COMBINE_TRANSITIONS = COMBINE_TRANSITIONS;
|
|
23904
24489
|
exports.COMBINE_TRANSITION_GROUP_LABELS = COMBINE_TRANSITION_GROUP_LABELS;
|
|
@@ -24072,6 +24657,8 @@ exports.IMAGE_EDIT_PROVIDERS = IMAGE_EDIT_PROVIDERS;
|
|
|
24072
24657
|
exports.IMAGE_GEN_PROVIDERS = IMAGE_GEN_PROVIDERS;
|
|
24073
24658
|
exports.IMAGE_I2I_PROVIDERS = IMAGE_I2I_PROVIDERS;
|
|
24074
24659
|
exports.IMAGE_MASK_MODE = IMAGE_MASK_MODE;
|
|
24660
|
+
exports.IMAGE_MODEL_RATIO_FALLBACKS = IMAGE_MODEL_RATIO_FALLBACKS;
|
|
24661
|
+
exports.IMAGE_MODEL_ROLE_DEFAULTS = IMAGE_MODEL_ROLE_DEFAULTS;
|
|
24075
24662
|
exports.IMAGE_OVERLAY_BASE_CREDITS = IMAGE_OVERLAY_BASE_CREDITS;
|
|
24076
24663
|
exports.IMAGE_OVERLAY_VARIANT_CREDITS = IMAGE_OVERLAY_VARIANT_CREDITS;
|
|
24077
24664
|
exports.IMAGE_PRODUCER_TYPES = IMAGE_PRODUCER_TYPES;
|
|
@@ -24114,7 +24701,9 @@ exports.LEGACY_TEMPLATE_CATEGORIES = LEGACY_TEMPLATE_CATEGORIES;
|
|
|
24114
24701
|
exports.LIP_SYNC_DURATION_BUCKETS = LIP_SYNC_DURATION_BUCKETS;
|
|
24115
24702
|
exports.LIP_SYNC_MAX_AUDIO_SECONDS = LIP_SYNC_MAX_AUDIO_SECONDS;
|
|
24116
24703
|
exports.LIP_SYNC_PROVIDERS = LIP_SYNC_PROVIDERS;
|
|
24704
|
+
exports.LLM_CREDIT_RUNGS = LLM_CREDIT_RUNGS;
|
|
24117
24705
|
exports.LLM_FEATURE_DEFAULTS = LLM_FEATURE_DEFAULTS;
|
|
24706
|
+
exports.LLM_FEATURE_DEFAULT_EFFORTS = LLM_FEATURE_DEFAULT_EFFORTS;
|
|
24118
24707
|
exports.LLM_MODALITY_CAPS = LLM_MODALITY_CAPS;
|
|
24119
24708
|
exports.LLM_MODELS = LLM_MODELS;
|
|
24120
24709
|
exports.LLM_MODEL_IDS = LLM_MODEL_IDS;
|
|
@@ -24241,10 +24830,12 @@ exports.PAYG_RETENTION_DAYS = PAYG_RETENTION_DAYS;
|
|
|
24241
24830
|
exports.PER_FORMAT_DURATION_BOUNDS = PER_FORMAT_DURATION_BOUNDS;
|
|
24242
24831
|
exports.PICKER_TO_COMBINE_TRANSITION = PICKER_TO_COMBINE_TRANSITION;
|
|
24243
24832
|
exports.PIPELINE_ACCEPTED_IMAGE_MODELS = PIPELINE_ACCEPTED_IMAGE_MODELS;
|
|
24833
|
+
exports.PIPELINE_ACCEPTED_SCRIPT_LLMS = PIPELINE_ACCEPTED_SCRIPT_LLMS;
|
|
24244
24834
|
exports.PIPELINE_ACTIVATION_MODES = PIPELINE_ACTIVATION_MODES;
|
|
24245
24835
|
exports.PIPELINE_FORMATS = PIPELINE_FORMATS;
|
|
24246
24836
|
exports.PIPELINE_HARD_TIMEOUT_MS = PIPELINE_HARD_TIMEOUT_MS;
|
|
24247
24837
|
exports.PIPELINE_LEGACY_PINNED_IMAGE_MODELS = PIPELINE_LEGACY_PINNED_IMAGE_MODELS;
|
|
24838
|
+
exports.PIPELINE_LEGACY_PINNED_SCRIPT_LLMS = PIPELINE_LEGACY_PINNED_SCRIPT_LLMS;
|
|
24248
24839
|
exports.PIPELINE_MODEL_STAGES = PIPELINE_MODEL_STAGES;
|
|
24249
24840
|
exports.PIPELINE_MODES = PIPELINE_MODES;
|
|
24250
24841
|
exports.PIPELINE_OUTPUT_RESOLUTIONS = PIPELINE_OUTPUT_RESOLUTIONS;
|
|
@@ -24318,6 +24909,7 @@ exports.RENDERING_SPEED_SUPPORT = RENDERING_SPEED_SUPPORT;
|
|
|
24318
24909
|
exports.RENDER_FINAL_CODES = RENDER_FINAL_CODES;
|
|
24319
24910
|
exports.RENDER_FINAL_NODE_NOT_FOUND = RENDER_FINAL_NODE_NOT_FOUND;
|
|
24320
24911
|
exports.RENDER_FINAL_NOT_A_RENDER = RENDER_FINAL_NOT_A_RENDER;
|
|
24912
|
+
exports.RENDER_JSON_HANDLE = RENDER_JSON_HANDLE;
|
|
24321
24913
|
exports.RENDER_NODE_TYPES = RENDER_NODE_TYPES;
|
|
24322
24914
|
exports.RENDER_NODE_TYPE_IDS = RENDER_NODE_TYPE_IDS;
|
|
24323
24915
|
exports.RENDER_VIDEO_CREDIT_ID = RENDER_VIDEO_CREDIT_ID;
|
|
@@ -24450,6 +25042,7 @@ exports.SOCIAL_SEARCH_PLATFORM_MODES = SOCIAL_SEARCH_PLATFORM_MODES;
|
|
|
24450
25042
|
exports.SOCIAL_SEARCH_SORTS = SOCIAL_SEARCH_SORTS;
|
|
24451
25043
|
exports.SOCIAL_SEARCH_VIDEO_KINDS = SOCIAL_SEARCH_VIDEO_KINDS;
|
|
24452
25044
|
exports.SOCIAL_VIDEO_HOSTS = SOCIAL_VIDEO_HOSTS;
|
|
25045
|
+
exports.SOURCE_IMAGE_NODE_TYPES = SOURCE_IMAGE_NODE_TYPES;
|
|
24453
25046
|
exports.SPEAKER_EMPHASIS_STYLES = SPEAKER_EMPHASIS_STYLES;
|
|
24454
25047
|
exports.SPEAKER_LAYOUTS = SPEAKER_LAYOUTS;
|
|
24455
25048
|
exports.SPEAKER_LAYOUT_IDS = SPEAKER_LAYOUT_IDS;
|
|
@@ -24695,6 +25288,7 @@ exports.aspectRatioToNumber = aspectRatioToNumber;
|
|
|
24695
25288
|
exports.assembleNarratedVideoCredits = assembleNarratedVideoCredits;
|
|
24696
25289
|
exports.assembleVideoOverlayRequest = assembleVideoOverlayRequest;
|
|
24697
25290
|
exports.assertCanvasExecutionAllowed = assertCanvasExecutionAllowed;
|
|
25291
|
+
exports.autoAspectNeedsSourceImage = autoAspectNeedsSourceImage;
|
|
24698
25292
|
exports.autoStrokeWidth = autoStrokeWidth;
|
|
24699
25293
|
exports.availableReasoningEfforts = availableReasoningEfforts;
|
|
24700
25294
|
exports.bucketSecondsFromAuditCreditId = bucketSecondsFromAuditCreditId;
|
|
@@ -24796,6 +25390,8 @@ exports.declaredJsonOutputRows = declaredJsonOutputRows;
|
|
|
24796
25390
|
exports.decodeProviderItem = decodeProviderItem;
|
|
24797
25391
|
exports.defaultCarriedFraction = defaultCarriedFraction;
|
|
24798
25392
|
exports.defaultEdgeOutputMode = defaultEdgeOutputMode;
|
|
25393
|
+
exports.defaultImageModel = defaultImageModel;
|
|
25394
|
+
exports.defaultReasoningEffort = defaultReasoningEffort;
|
|
24799
25395
|
exports.defaultResolutionFor = defaultResolutionFor;
|
|
24800
25396
|
exports.defaultRoleForSource = defaultRoleForSource;
|
|
24801
25397
|
exports.defaultSpeakerMap = defaultSpeakerMap;
|
|
@@ -24950,8 +25546,10 @@ exports.hexToRgbaArray = hexToRgbaArray;
|
|
|
24950
25546
|
exports.holdsPreviewRender = holdsPreviewRender;
|
|
24951
25547
|
exports.hostnameMatchesAllowlist = hostnameMatchesAllowlist;
|
|
24952
25548
|
exports.humanizeSlotSid = humanizeSlotSid;
|
|
25549
|
+
exports.imageGenAutoAspectNeedsSourceImage = imageGenAutoAspectNeedsSourceImage;
|
|
24953
25550
|
exports.imageMentionSlug = imageMentionSlug;
|
|
24954
25551
|
exports.imageMentionSlugForRef = imageMentionSlugForRef;
|
|
25552
|
+
exports.imageModelDrawsRatio = imageModelDrawsRatio;
|
|
24955
25553
|
exports.imageOverlayBillableVariants = imageOverlayBillableVariants;
|
|
24956
25554
|
exports.imageOverlayCredits = imageOverlayCredits;
|
|
24957
25555
|
exports.imageReferenceLimit = imageReferenceLimit;
|
|
@@ -24966,6 +25564,7 @@ exports.instagramScrapeMode = instagramScrapeMode;
|
|
|
24966
25564
|
exports.instagramScrapeSources = instagramScrapeSources;
|
|
24967
25565
|
exports.instagramScrapeTier = instagramScrapeTier;
|
|
24968
25566
|
exports.isAggregateableType = isAggregateableType;
|
|
25567
|
+
exports.isAutoAspectToken = isAutoAspectToken;
|
|
24969
25568
|
exports.isAutoVideoDuration = isAutoVideoDuration;
|
|
24970
25569
|
exports.isCharacterAspectRatio = isCharacterAspectRatio;
|
|
24971
25570
|
exports.isCollectInEdge = isCollectInEdge;
|
|
@@ -24993,6 +25592,7 @@ exports.isKnownSpeakerEmphasisStyle = isKnownSpeakerEmphasisStyle;
|
|
|
24993
25592
|
exports.isLegacySunoModel = isLegacySunoModel;
|
|
24994
25593
|
exports.isLocalOrPrivateHostname = isLocalOrPrivateHostname;
|
|
24995
25594
|
exports.isLocationUsageMode = isLocationUsageMode;
|
|
25595
|
+
exports.isLoneMediaLinkSource = isLoneMediaLinkSource;
|
|
24996
25596
|
exports.isMeasurableCard = isMeasurableCard;
|
|
24997
25597
|
exports.isMetaAdsFormat = isMetaAdsFormat;
|
|
24998
25598
|
exports.isMetaAdsPlatform = isMetaAdsPlatform;
|
|
@@ -25009,6 +25609,7 @@ exports.isPro3DRenderJobOutput = isPro3DRenderJobOutput;
|
|
|
25009
25609
|
exports.isPro3DRenderQuote = isPro3DRenderQuote;
|
|
25010
25610
|
exports.isPro3DRenderRenderOnly = isPro3DRenderRenderOnly;
|
|
25011
25611
|
exports.isProjectedTriggerNodeType = isProjectedTriggerNodeType;
|
|
25612
|
+
exports.isRenderDataHandle = isRenderDataHandle;
|
|
25012
25613
|
exports.isRenderNodeType = isRenderNodeType;
|
|
25013
25614
|
exports.isRtlText = isRtlText;
|
|
25014
25615
|
exports.isScene3DAuthoringEngine = isScene3DAuthoringEngine;
|
|
@@ -25054,12 +25655,16 @@ exports.listModels = listModels;
|
|
|
25054
25655
|
exports.listResultsServeHandle = listResultsServeHandle;
|
|
25055
25656
|
exports.listSlotSids = listSlotSids;
|
|
25056
25657
|
exports.liveRowColumn = liveRowColumn;
|
|
25658
|
+
exports.llmCreditIdForRung = llmCreditIdForRung;
|
|
25057
25659
|
exports.llmRouteDefaults = llmRouteDefaults;
|
|
25660
|
+
exports.llmServesDirect = llmServesDirect;
|
|
25661
|
+
exports.llmTierCreditIds = llmTierCreditIds;
|
|
25058
25662
|
exports.localMinuteKey = localMinuteKey;
|
|
25059
25663
|
exports.localTimeIn = localTimeIn;
|
|
25060
25664
|
exports.locationMentionSlug = locationMentionSlug;
|
|
25061
25665
|
exports.locationReferencePhotoKindLabel = locationReferencePhotoKindLabel;
|
|
25062
25666
|
exports.locationUsageModeLabel = locationUsageModeLabel;
|
|
25667
|
+
exports.loneMediaUrlKind = loneMediaUrlKind;
|
|
25063
25668
|
exports.ltxExtendDurationSec = ltxExtendDurationSec;
|
|
25064
25669
|
exports.ltxRetakeDurationSec = ltxRetakeDurationSec;
|
|
25065
25670
|
exports.mapAspectRatio = mapAspectRatio;
|
|
@@ -25094,6 +25699,7 @@ exports.modelToNodeTarget = modelToNodeTarget;
|
|
|
25094
25699
|
exports.modelsForInputMode = modelsForInputMode;
|
|
25095
25700
|
exports.modelsWithFeature = modelsWithFeature;
|
|
25096
25701
|
exports.motionGraphicsFeature = motionGraphicsFeature;
|
|
25702
|
+
exports.nearestCatalogAspectRatio = nearestCatalogAspectRatio;
|
|
25097
25703
|
exports.newScene3DRevisionId = newScene3DRevisionId;
|
|
25098
25704
|
exports.nextScheduleRuns = nextScheduleRuns;
|
|
25099
25705
|
exports.nodeFeedsAnything = nodeFeedsAnything;
|
|
@@ -25121,6 +25727,7 @@ exports.normalizeTtsNeighbourText = normalizeTtsNeighbourText;
|
|
|
25121
25727
|
exports.normalizeVideoOverlayNodes = normalizeVideoOverlayNodes;
|
|
25122
25728
|
exports.normalizeVideoRequestParams = normalizeVideoRequestParams;
|
|
25123
25729
|
exports.normalizeWan3Resolution = normalizeWan3Resolution;
|
|
25730
|
+
exports.normalizedImageGenModelId = normalizedImageGenModelId;
|
|
25124
25731
|
exports.orderedLlmModels = orderedLlmModels;
|
|
25125
25732
|
exports.outputMsToMasterMs = outputMsToMasterMs;
|
|
25126
25733
|
exports.overlayFontById = overlayFontById;
|
|
@@ -25207,8 +25814,10 @@ exports.renderPlanValue = renderPlanValue;
|
|
|
25207
25814
|
exports.renderReadBasis = renderReadBasis;
|
|
25208
25815
|
exports.renderResultStamp = renderResultStamp;
|
|
25209
25816
|
exports.renderRunQuality = renderRunQuality;
|
|
25817
|
+
exports.renderSavedJsonOutputs = renderSavedJsonOutputs;
|
|
25210
25818
|
exports.renderSentRowStamps = renderSentRowStamps;
|
|
25211
25819
|
exports.renderSettingsBasis = renderSettingsBasis;
|
|
25820
|
+
exports.renderTranscriptOutputOf = renderTranscriptOutputOf;
|
|
25212
25821
|
exports.renderVideoCreditId = renderVideoCreditId;
|
|
25213
25822
|
exports.renderedSourceHandle = renderedSourceHandle;
|
|
25214
25823
|
exports.rendersAsPreview = rendersAsPreview;
|