@nodaro/shared 2.24.0 → 2.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.d.ts CHANGED
@@ -3065,7 +3065,7 @@ declare function groupLlmModelsByVendor(models?: readonly LlmModelDef[]): LlmMod
3065
3065
  * group headers (e.g. the compact node quick strips) but should still read
3066
3066
  * vendor-clustered and tier-ordered. */
3067
3067
  declare function orderedLlmModels(models?: readonly LlmModelDef[]): LlmModelDef[];
3068
- type LlmFeature = "ai-writer" | "llm-chat" | "prompt-helper" | "scene-graph-ai" | "after-effects" | "motion-graphics" | "motion-graphics-lottie" | "lottie-overlay" | "3d-title" | "image-to-text" | "describe-to-picker" | "qa-check" | "generate-script" | "translate" | "image-critic" | "pick-best-llm" | "workflow-copilot";
3068
+ type LlmFeature = "ai-writer" | "llm-chat" | "prompt-helper" | "scene-graph-ai" | "after-effects" | "motion-graphics" | "motion-graphics-lottie" | "lottie-overlay" | "3d-title" | "3d-scene" | "image-to-text" | "describe-to-picker" | "qa-check" | "generate-script" | "translate" | "image-critic" | "pick-best-llm" | "workflow-copilot";
3069
3069
  /** Engine-dependent LlmFeature for the motion-graphics node (design §8: every credit-id site must branch on engine). */
3070
3070
  declare function motionGraphicsFeature(engine?: string): LlmFeature;
3071
3071
  /** Feature → default model when user hasn't selected one */
@@ -11831,317 +11831,795 @@ declare function entityHydrationColumns(kind: EntityNodeKind): string[];
11831
11831
  declare function entityScalarFields(kind: EntityNodeKind): ReadonlyArray<readonly [string, string]>;
11832
11832
 
11833
11833
  /**
11834
- * The wire contract of `/v1/studio/productions` — TYPES ONLY.
11835
- *
11836
- * A studio production is a Nodaro workflow whose `settings.studio` holds the
11837
- * shots. Its CODE — the codec that reads and writes that document, the plan
11838
- * format, the catalogs and the reducers — lives in `@nodaro/studio-production`,
11839
- * which is FSL-licensed. What lives here is the ENVELOPE the routes return and
11840
- * the bodies they take, because the SDK is typed against this package and an
11841
- * SDK caller has to know the shape of a reply.
11842
- *
11843
- * The document's own sub-objects (the cast, the looks, the scene plan, the
11844
- * cuts) are therefore named JSON aliases rather than re-declared shapes. That
11845
- * is deliberate on both counts:
11846
- *
11847
- * - **Named**, not one anonymous `unknown`, so a `.d.ts` reader can still see
11848
- * which field is which and the SDK's surface documents itself.
11849
- * - **Not re-declared**, because a second definition of the document is exactly
11850
- * the disagreement this contract exists to end — and publishing the studio's
11851
- * domain types under Apache would be an irrevocable grant of code that was
11852
- * deliberately placed one tier down.
11853
- *
11854
- * `@nodaro/studio-production` narrows every one of them to its real type and
11855
- * pins the narrowed view against this one at build time, so the two cannot
11856
- * drift apart in silence. A consumer that wants the narrow types depends on
11857
- * that package; a consumer that only reads the wire uses these.
11858
- */
11859
- /**
11860
- * How a result is ADDRESSED: its job id when it has one, its url otherwise.
11861
- *
11862
- * Never a position. An index is meaningless the moment another writer inserts
11863
- * a result — and two writers is the normal case here, since an agent and the
11864
- * editor hold the same production open. Uploaded and hand-attached media have
11865
- * no job, which is why the url is the fallback rather than the key.
11866
- */
11867
- type ResultKey = string;
11868
- /** `LookSelectionMap` — cinematic picks by dimension key. */
11869
- type StudioLookMapJson = Record<string, unknown>;
11870
- /** `Cast` — the production's roles, keyed by role slug. */
11871
- type StudioCastJson = Record<string, unknown>;
11872
- /** `CastLookMap` — which view of each actor a scene pins. */
11873
- type StudioCastLookMapJson = Record<string, unknown>;
11874
- /** `ProductionFolder` — a named timeline folder. */
11875
- type StudioFolderJson = Record<string, unknown>;
11876
- /** `StoryboardSettings` — the Storyboard tab's persisted state (`brief` lives here). */
11877
- type StudioStoryboardJson = Record<string, unknown>;
11878
- /** `ProductionMusic` — the rendered soundtrack muxed over the export. */
11879
- type StudioMusicJson = Record<string, unknown>;
11880
- /** `PlanMusic` — the soundtrack PLAN (prompt + pickers), kept beside the track. */
11881
- type StudioMusicPlanJson = Record<string, unknown>;
11882
- /** `ProductionCut` — one exported cut of the film. */
11883
- type StudioCutJson = Record<string, unknown>;
11884
- /** `ScenePlan` — a scene's authored framing / motion / voice, before it renders. */
11885
- type StudioPlanJson = Record<string, unknown>;
11886
- /** `ShotBeat` — one timed motion window inside a scene. */
11887
- type StudioBeatJson = Record<string, unknown>;
11888
- /** `ShotTransition` — how a scene's last frames go out. */
11889
- type StudioTransitionJson = Record<string, unknown>;
11890
- /** `ShotVoice` — the scene's generated voiceover. */
11891
- type StudioVoiceJson = Record<string, unknown>;
11892
- /** `DirectionFields` / `SubjectFields` — platform catalog ids carried on a result. */
11893
- type StudioIdFieldsJson = Record<string, unknown>;
11894
- /** `ConnectedReference` — a bound `@`-entity chip. */
11895
- type StudioReferenceJson = Record<string, unknown>;
11896
- /** `TrashedItem` — one deleted shot, still or clip, restorable by id. */
11897
- type StudioTrashItemJson = Record<string, unknown>;
11898
- /**
11899
- * One generated STILL, with the context that regenerates it.
11900
- *
11901
- * Result histories ACCUMULATE — a generate appends, it never replaces — so a
11902
- * shot's stills are every framing candidate it has ever had, and each one
11903
- * carries what it was made with. That is what makes "go back to the second
11904
- * one" a read rather than a re-run.
11905
- */
11906
- interface StudioResultView {
11907
- key: ResultKey;
11834
+ * Scene3D previsualization — the frozen wire contract (v1).
11835
+ *
11836
+ * ONE validated `Scene3DPlan` revision is shared by four consumers that must
11837
+ * never disagree about what a scene IS: the authoring LLM jobs
11838
+ * (`backend/src/routes/3d-scene.ts` + its worker), the browser preview and the
11839
+ * frame-deterministic Remotion export (`packages/remotion`), the canvas
11840
+ * (`frontend/`), and the SDK/MCP surface. Everything here is STRUCTURE —
11841
+ * geometry, timing, identity, validation. No creative prompts, no provider
11842
+ * names, no pricing: those live in the backend (see the IP-placement rule in
11843
+ * the repo CLAUDE.md — this package is published Apache-2.0 and every
11844
+ * published version is an irrevocable grant).
11845
+ *
11846
+ * ## World conventions (fixed for v1, relied on by the renderer)
11847
+ *
11848
+ * - Units are METERS, Y is up, right-handed (Three.js default).
11849
+ * - Rotations are Euler angles in RADIANS applied XYZ.
11850
+ * - Frames are ZERO-BASED; `fps` defaults to 24 at the authoring layer.
11851
+ * - Interpolation between keyframes is deterministic and closed-form:
11852
+ * `linear` or `easeInOut` (smoothstep). There is no spring, no physics and
11853
+ * no randomness — the browser preview and the export MUST agree frame for
11854
+ * frame, so nothing here may depend on wall-clock time or a RNG.
11855
+ * - A channel's BASE value (the object's/camera's own `position`/`rotation`/
11856
+ * `scale`/`target`/`focalLengthMm`) behaves as an implicit keyframe at frame
11857
+ * 0. So a track whose first key is at frame 30 INTERPOLATES from the base
11858
+ * value at frame 0 to that key — it does not hold the base and then jump.
11859
+ * Author a real key at frame 0 when you want a hold. Before frame 0 and
11860
+ * after the last key the nearest key's value is held.
11861
+ * - `easing` belongs to the DESTINATION keyframe: the easing named on a key
11862
+ * governs the segment ENDING at it. The easing on the first key therefore
11863
+ * governs base → first key; a key's own easing never affects the segment
11864
+ * leaving it.
11865
+ * Sampling itself lives with the renderer (`packages/remotion`) — this file
11866
+ * only guarantees the data it samples is well-formed.
11867
+ *
11868
+ * ## Revisions
11869
+ *
11870
+ * A plan is IMMUTABLE. Every accepted edit produces a NEW `revisionId` and
11871
+ * records the one it came from in `parentRevisionId`; the input object is
11872
+ * never mutated (deep-copied before any write). That is what lets an
11873
+ * asynchronous job completion be REJECTED when the canvas has moved on — the
11874
+ * completion carries the parent it was computed from.
11875
+ */
11876
+
11877
+ /** Discriminates a Scene3D plan from every other composer plan on the wire. */
11878
+ declare const SCENE3D_PLAN_TYPE = "3d-scene";
11879
+ /** Bumped only for a BREAKING change to the shape below. */
11880
+ declare const SCENE3D_SCHEMA_VERSION = 1;
11881
+ /** Frames per second an authoring request gets when it does not say. */
11882
+ declare const SCENE3D_DEFAULT_FPS = 24;
11883
+ /** Seconds a generate request gets when it does not say. */
11884
+ declare const SCENE3D_DEFAULT_DURATION_SECONDS = 4;
11885
+ /**
11886
+ * Every bound in one object so the route Zod, the canvas inputs, the LLM
11887
+ * draft schema and the docs quote the SAME numbers. Widening one of these is
11888
+ * a contract change, not a tweak.
11889
+ */
11890
+ declare const SCENE3D_LIMITS: {
11891
+ readonly minDimensionPx: 100;
11892
+ readonly maxDimensionPx: 1920;
11893
+ readonly minFps: 15;
11894
+ readonly maxFps: 60;
11895
+ readonly minDurationInFrames: 1;
11896
+ readonly maxDurationInFrames: 3600;
11897
+ /** Shortest scene an authoring request may ask for, in seconds. One second
11898
+ * is the frozen v1 floor the SDK/MCP surface and the public docs state; the
11899
+ * route Zod and the canvas path both quote it from here so they cannot
11900
+ * drift below it. */
11901
+ readonly minDurationSeconds: 1;
11902
+ /** Hard ceiling on wall-clock length, checked against fps × frames. */
11903
+ readonly maxDurationSeconds: 60;
11904
+ readonly minObjects: 1;
11905
+ readonly maxObjects: 100;
11906
+ /** Per-object and per-camera track length. */
11907
+ readonly maxKeyframes: 240;
11908
+ readonly maxReferences: 8;
11909
+ readonly maxOperations: 100;
11910
+ /** |x|, |y|, |z| ceiling for positions and camera/target coordinates. */
11911
+ readonly maxCoordinate: 1000;
11912
+ readonly minSize: 0.001;
11913
+ readonly maxSize: 1000;
11914
+ readonly minScale: 0.001;
11915
+ readonly maxScale: 1000;
11916
+ readonly minFocalLengthMm: 10;
11917
+ readonly maxFocalLengthMm: 200;
11918
+ readonly defaultSensorWidthMm: 36;
11919
+ readonly minSensorWidthMm: 1;
11920
+ readonly maxSensorWidthMm: 200;
11921
+ readonly maxIntensity: 100;
11922
+ /** How deep a parent chain may nest. Bounds the renderer's transform walk. */
11923
+ readonly maxHierarchyDepth: 8;
11924
+ readonly maxIdLength: 64;
11925
+ readonly maxNameLength: 120;
11926
+ readonly maxUrlLength: 2048;
11927
+ readonly maxChangeSummaryLength: 2000;
11928
+ };
11929
+ type Vec3 = [number, number, number];
11930
+ type Scene3DPrimitive = "box" | "sphere" | "cylinder" | "cone" | "plane" | "capsule"
11931
+ /** A transform-only node: no geometry of its own, children inherit it. */
11932
+ | "group";
11933
+ declare const SCENE3D_PRIMITIVES: readonly Scene3DPrimitive[];
11934
+ type Scene3DEasing = "linear" | "easeInOut";
11935
+ type Scene3DReferenceKind = "image" | "video";
11936
+ /**
11937
+ * What the reference is FOR. The role is not decoration: it decides how the
11938
+ * authoring backend conditions on the asset (appearance → colour/material
11939
+ * cues, layout → placement, motion → timing), and it is stored with the job
11940
+ * so a re-run reproduces the same conditioning.
11941
+ */
11942
+ type Scene3DReferenceRole = "appearance" | "layout" | "motion";
11943
+ interface Scene3DObjectKeyframe {
11944
+ /** Zero-based, integral, inside the scene's duration. */
11945
+ frame: number;
11946
+ position?: Vec3;
11947
+ rotation?: Vec3;
11948
+ scale?: Vec3;
11949
+ easing?: Scene3DEasing;
11950
+ }
11951
+ interface Scene3DCameraKeyframe {
11952
+ frame: number;
11953
+ position?: Vec3;
11954
+ target?: Vec3;
11955
+ focalLengthMm?: number;
11956
+ easing?: Scene3DEasing;
11957
+ }
11958
+ interface Scene3DObject {
11959
+ id: string;
11960
+ name: string;
11961
+ primitive: Scene3DPrimitive;
11962
+ /** Transform parent. Absent = a root object. Cycles are rejected. */
11963
+ parentId?: string;
11964
+ /** Intrinsic size in meters BEFORE `scale` (width/height/depth). */
11965
+ dimensions: Vec3;
11966
+ position: Vec3;
11967
+ /** Euler XYZ, radians. */
11968
+ rotation: Vec3;
11969
+ scale: Vec3;
11970
+ /** `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa`. */
11971
+ color: string;
11972
+ keyframes?: Scene3DObjectKeyframe[];
11973
+ }
11974
+ interface Scene3DCamera {
11975
+ position: Vec3;
11976
+ target: Vec3;
11977
+ focalLengthMm: number;
11978
+ /** Full-frame 36mm by default; together with focal length it fixes the FOV. */
11979
+ sensorWidthMm: number;
11980
+ keyframes?: Scene3DCameraKeyframe[];
11981
+ }
11982
+ interface Scene3DLighting {
11983
+ ambientIntensity: number;
11984
+ keyIntensity: number;
11985
+ keyPosition: Vec3;
11986
+ }
11987
+ interface Scene3DReference {
11988
+ id: string;
11989
+ /** HTTP(S) only — the BACKEND additionally applies `safeUrlSchema` and the
11990
+ * platform's per-model reference limits before anything is fetched. */
11908
11991
  url: string;
11909
- jobId?: string;
11910
- name?: string;
11911
- prompt?: string;
11912
- negativePrompt?: string;
11913
- provider?: string;
11914
- referenceImageUrls?: string[];
11915
- references?: StudioReferenceJson[];
11916
- aspectRatio?: string;
11917
- resolution?: string;
11918
- /** The look layers this generation was sent with — film, scene, then the shot's own. */
11919
- filmLook?: StudioLookMapJson;
11920
- sceneLook?: StudioLookMapJson;
11921
- look?: StudioLookMapJson;
11922
- subject?: StudioIdFieldsJson;
11992
+ kind: Scene3DReferenceKind;
11993
+ role: Scene3DReferenceRole;
11994
+ /** Scopes the reference to one object instead of the whole scene. */
11995
+ objectId?: string;
11996
+ /** Window inside a video reference, in seconds. */
11997
+ startSeconds?: number;
11998
+ endSeconds?: number;
11999
+ }
12000
+ interface Scene3DPlan {
12001
+ planType: typeof SCENE3D_PLAN_TYPE;
12002
+ schemaVersion: typeof SCENE3D_SCHEMA_VERSION;
12003
+ /** UUID. Changes on EVERY accepted edit. */
12004
+ revisionId: string;
12005
+ /** The revision this one was derived from; absent on a first generation. */
12006
+ parentRevisionId?: string;
12007
+ width: number;
12008
+ height: number;
12009
+ fps: number;
12010
+ durationInFrames: number;
12011
+ backgroundColor: string;
12012
+ camera: Scene3DCamera;
12013
+ objects: Scene3DObject[];
12014
+ lighting: Scene3DLighting;
12015
+ references?: Scene3DReference[];
12016
+ }
12017
+ declare const vec3Schema: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12018
+ declare const sizeVec3Schema: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12019
+ declare const scaleVec3Schema: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12020
+ /** Euler radians. Bounded well past ±2π so multi-turn spins stay expressible
12021
+ * while a runaway value still cannot reach the renderer. */
12022
+ declare const rotationVec3Schema: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12023
+ declare const scene3DColorSchema: z.ZodString;
12024
+ declare const scene3DIdSchema: z.ZodString;
12025
+ /** HTTP(S) only. This is the STRUCTURAL half of URL safety; the backend adds
12026
+ * `safeUrlSchema` (SSRF host rules) on top before anything is fetched. */
12027
+ declare function isScene3DHttpUrl(value: string): boolean;
12028
+ declare const scene3DUrlSchema: z.ZodString;
12029
+ declare const scene3DEasingSchema: z.ZodEnum<{
12030
+ linear: "linear";
12031
+ easeInOut: "easeInOut";
12032
+ }>;
12033
+ declare const scene3DPrimitiveSchema: z.ZodEnum<{
12034
+ group: "group";
12035
+ box: "box";
12036
+ sphere: "sphere";
12037
+ cylinder: "cylinder";
12038
+ cone: "cone";
12039
+ plane: "plane";
12040
+ capsule: "capsule";
12041
+ }>;
12042
+ declare const scene3DObjectKeyframeSchema: z.ZodObject<{
12043
+ frame: z.ZodNumber;
12044
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12045
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12046
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12047
+ easing: z.ZodOptional<z.ZodEnum<{
12048
+ linear: "linear";
12049
+ easeInOut: "easeInOut";
12050
+ }>>;
12051
+ }, z.core.$strict>;
12052
+ declare const scene3DCameraKeyframeSchema: z.ZodObject<{
12053
+ frame: z.ZodNumber;
12054
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12055
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12056
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12057
+ easing: z.ZodOptional<z.ZodEnum<{
12058
+ linear: "linear";
12059
+ easeInOut: "easeInOut";
12060
+ }>>;
12061
+ }, z.core.$strict>;
12062
+ declare const scene3DObjectSchema: z.ZodObject<{
12063
+ id: z.ZodString;
12064
+ name: z.ZodString;
12065
+ primitive: z.ZodEnum<{
12066
+ group: "group";
12067
+ box: "box";
12068
+ sphere: "sphere";
12069
+ cylinder: "cylinder";
12070
+ cone: "cone";
12071
+ plane: "plane";
12072
+ capsule: "capsule";
12073
+ }>;
12074
+ parentId: z.ZodOptional<z.ZodString>;
12075
+ dimensions: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12076
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12077
+ rotation: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12078
+ scale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12079
+ color: z.ZodString;
12080
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12081
+ frame: z.ZodNumber;
12082
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12083
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12084
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12085
+ easing: z.ZodOptional<z.ZodEnum<{
12086
+ linear: "linear";
12087
+ easeInOut: "easeInOut";
12088
+ }>>;
12089
+ }, z.core.$strict>>>;
12090
+ }, z.core.$strict>;
12091
+ declare const scene3DCameraSchema: z.ZodObject<{
12092
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12093
+ target: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12094
+ focalLengthMm: z.ZodNumber;
12095
+ sensorWidthMm: z.ZodDefault<z.ZodNumber>;
12096
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12097
+ frame: z.ZodNumber;
12098
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12099
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12100
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12101
+ easing: z.ZodOptional<z.ZodEnum<{
12102
+ linear: "linear";
12103
+ easeInOut: "easeInOut";
12104
+ }>>;
12105
+ }, z.core.$strict>>>;
12106
+ }, z.core.$strict>;
12107
+ declare const scene3DLightingSchema: z.ZodObject<{
12108
+ ambientIntensity: z.ZodNumber;
12109
+ keyIntensity: z.ZodNumber;
12110
+ keyPosition: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12111
+ }, z.core.$strict>;
12112
+ declare const scene3DReferenceSchema: z.ZodObject<{
12113
+ id: z.ZodString;
12114
+ url: z.ZodString;
12115
+ kind: z.ZodEnum<{
12116
+ image: "image";
12117
+ video: "video";
12118
+ }>;
12119
+ role: z.ZodEnum<{
12120
+ motion: "motion";
12121
+ layout: "layout";
12122
+ appearance: "appearance";
12123
+ }>;
12124
+ objectId: z.ZodOptional<z.ZodString>;
12125
+ startSeconds: z.ZodOptional<z.ZodNumber>;
12126
+ endSeconds: z.ZodOptional<z.ZodNumber>;
12127
+ }, z.core.$strict>;
12128
+ interface SemanticIssue {
12129
+ path: (string | number)[];
12130
+ message: string;
11923
12131
  }
11924
12132
  /**
11925
- * One generated CLIP, with the frames it was animated from.
12133
+ * Every rule that needs more than one field: duration, identity, hierarchy,
12134
+ * reference resolution and keyframe tracks.
11926
12135
  *
11927
- * The frames matter more here than they look: selecting a past clip restores
11928
- * the start and end frames THAT clip was made from, which is why they are
11929
- * stored per result rather than read off the shot.
12136
+ * Split out of the schema's `superRefine` so `applyScene3DEditOperations` can
12137
+ * report the SAME sentences without re-parsing, and so a caller holding an
12138
+ * already-parsed plan can re-check it cheaply.
11930
12139
  */
11931
- interface StudioClipResultView {
11932
- key: ResultKey;
11933
- url: string;
11934
- jobId?: string;
11935
- name?: string;
11936
- prompt?: string;
11937
- provider?: string;
11938
- negativePrompt?: string;
11939
- duration?: number;
11940
- /** The frames THIS clip was animated from — restored with it, never derived. */
11941
- startFrameUrl?: string;
11942
- endFrameUrl?: string;
11943
- referenceImageUrls?: string[];
11944
- references?: StudioReferenceJson[];
11945
- beats?: StudioBeatJson[];
11946
- scenePrompt?: string;
11947
- endTransition?: StudioTransitionJson;
11948
- filmLook?: StudioLookMapJson;
11949
- sceneLook?: StudioLookMapJson;
11950
- look?: StudioLookMapJson;
11951
- subject?: StudioIdFieldsJson;
11952
- }
11953
- /**
11954
- * A framing batch that is STILL RUNNING, with everything needed to land it.
11955
- *
11956
- * A marker rather than a promise: any client — or none — can finish the job,
11957
- * because the context that turns a finished job into a result is written down
11958
- * on the production instead of living in the browser tab that started it.
11959
- */
11960
- interface PendingStillView {
11961
- jobId: string;
11962
- batchId?: string;
11963
- provider?: string;
11964
- prompt?: string;
11965
- count?: number;
11966
- startedAt?: string;
11967
- }
11968
- /** An animate that is still running. The clip mirror of {@link PendingStillView}. */
11969
- interface PendingClipView {
11970
- jobId: string;
11971
- provider?: string;
11972
- prompt?: string;
11973
- startedAt?: string;
11974
- }
11975
- /** A shot's framed STILL: the active frame, and (at `detail: "full"`) its history. */
11976
- interface StudioStillView {
11977
- nodeId: string;
11978
- provider: string;
11979
- prompt: string;
11980
- active: ResultKey | null;
11981
- activeUrl: string;
11982
- count: number;
11983
- /** Cinematic direction as PLATFORM catalog ids — never baked hint text. */
11984
- direction?: StudioIdFieldsJson;
11985
- subject?: StudioIdFieldsJson;
11986
- /** Present only at `detail: "full"` — a list read returns counts, not histories. */
11987
- results?: StudioResultView[];
11988
- pending: PendingStillView[];
11989
- }
11990
- /** A shot's animated CLIP. Independent of the still: deleting one never touches the other. */
11991
- interface StudioClipView {
11992
- nodeId: string;
11993
- provider: string;
11994
- prompt: string;
11995
- duration?: number;
11996
- active: ResultKey | null;
11997
- activeUrl: string;
11998
- count: number;
11999
- direction?: StudioIdFieldsJson;
12000
- /** The voice this clip was revoiced into, when it was. */
12001
- revoicedVoiceId?: string;
12002
- revoicedVoiceName?: string;
12003
- /** Present only at `detail: "full"`. */
12004
- results?: StudioClipResultView[];
12005
- pending: PendingClipView[];
12006
- }
12007
- /** One shot, in timeline order. */
12008
- interface StudioShotView {
12009
- id: string;
12010
- index: number;
12011
- name?: string;
12012
- folderId?: string;
12013
- still?: StudioStillView;
12014
- clip?: StudioClipView;
12015
- /** Explicit and sticky: selecting a still never moves them. */
12016
- startFrame?: string;
12017
- endFrame?: string;
12018
- directingReferences?: {
12019
- images?: string[];
12020
- videos?: string[];
12021
- audio?: string[];
12022
- };
12023
- plan?: StudioPlanJson;
12024
- scenePrompt?: string;
12025
- beats?: StudioBeatJson[];
12026
- endTransition?: StudioTransitionJson;
12027
- look?: StudioLookMapJson;
12028
- castLook?: StudioCastLookMapJson;
12029
- voice?: StudioVoiceJson;
12030
- }
12031
- /** What is in flight, at a glance — the reason a `get` can reconcile before it reads. */
12032
- interface StudioPendingView {
12033
- stills: number;
12034
- clips: number;
12035
- music: boolean;
12036
- draft: {
12037
- jobId: string;
12038
- mode: "replace" | "append";
12039
- } | null;
12040
- }
12041
- /** The bin: a count always, the items only at `detail: "full"`. */
12042
- interface StudioTrashView {
12043
- count: number;
12044
- items?: StudioTrashItemJson[];
12045
- }
12046
- /** The read shape of every `/v1/studio/productions` route and every studio MCP tool. */
12047
- interface StudioProductionView {
12048
- id: string;
12049
- name: string;
12050
- version: number;
12051
- updatedAt: string;
12052
- thumbnailUrl: string | null;
12053
- shared: boolean;
12054
- archived: boolean;
12055
- film?: StudioLookMapJson;
12056
- cast?: StudioCastJson;
12057
- folders: StudioFolderJson[];
12058
- storyboard?: StudioStoryboardJson;
12059
- music?: StudioMusicJson;
12060
- musicPlan?: StudioMusicPlanJson;
12061
- cuts: StudioCutJson[];
12062
- trash: StudioTrashView;
12063
- pending: StudioPendingView;
12064
- /** In timeline order. */
12065
- shots: StudioShotView[];
12066
- }
12067
- /** A dashboard row — what a list returns, with no shot bodies at all. */
12068
- interface StudioProductionSummary {
12069
- id: string;
12070
- name: string;
12071
- version: number;
12072
- updatedAt: string;
12073
- thumbnailUrl: string | null;
12074
- shared: boolean;
12075
- archived: boolean;
12076
- shotCount: number;
12077
- }
12078
- /** `GET …/skill` — the authoring skill, rendered from the package at request time. */
12079
- interface StudioSkillResponse {
12080
- /** SKILL.md — the authoring guide. */
12081
- skill: string;
12082
- /** references/catalog.md — every picker, model and enum, in full. */
12083
- catalog: string;
12084
- /** schema.json — the strict JSON Schema a plan is validated against. */
12085
- schema: Record<string, unknown>;
12086
- /** The operating guide: the tool map, the loops, the rules. */
12087
- operating: string;
12088
- /** The catalog versions the three were rendered from. */
12089
- generatedFrom: {
12090
- prompts: string;
12091
- shared: string;
12092
- };
12093
- }
12094
- /** One thing wrong with a plan, addressed at the field that is wrong. */
12095
- interface StudioPlanIssue {
12096
- path: string;
12140
+ declare function scene3DPlanIssues(plan: Scene3DPlan): SemanticIssue[];
12141
+ /**
12142
+ * THE plan validator. Structure first (zod), then the cross-field rules — a
12143
+ * consumer that parses with this cannot be handed a cycle, a dangling parent,
12144
+ * an out-of-range keyframe or a 90-second "one-minute-max" scene.
12145
+ */
12146
+ declare const scene3DPlanSchema: z.ZodObject<{
12147
+ planType: z.ZodLiteral<"3d-scene">;
12148
+ schemaVersion: z.ZodLiteral<1>;
12149
+ revisionId: z.ZodUUID;
12150
+ parentRevisionId: z.ZodOptional<z.ZodUUID>;
12151
+ width: z.ZodNumber;
12152
+ height: z.ZodNumber;
12153
+ fps: z.ZodNumber;
12154
+ durationInFrames: z.ZodNumber;
12155
+ backgroundColor: z.ZodString;
12156
+ camera: z.ZodObject<{
12157
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12158
+ target: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12159
+ focalLengthMm: z.ZodNumber;
12160
+ sensorWidthMm: z.ZodDefault<z.ZodNumber>;
12161
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12162
+ frame: z.ZodNumber;
12163
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12164
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12165
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12166
+ easing: z.ZodOptional<z.ZodEnum<{
12167
+ linear: "linear";
12168
+ easeInOut: "easeInOut";
12169
+ }>>;
12170
+ }, z.core.$strict>>>;
12171
+ }, z.core.$strict>;
12172
+ objects: z.ZodArray<z.ZodObject<{
12173
+ id: z.ZodString;
12174
+ name: z.ZodString;
12175
+ primitive: z.ZodEnum<{
12176
+ group: "group";
12177
+ box: "box";
12178
+ sphere: "sphere";
12179
+ cylinder: "cylinder";
12180
+ cone: "cone";
12181
+ plane: "plane";
12182
+ capsule: "capsule";
12183
+ }>;
12184
+ parentId: z.ZodOptional<z.ZodString>;
12185
+ dimensions: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12186
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12187
+ rotation: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12188
+ scale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12189
+ color: z.ZodString;
12190
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12191
+ frame: z.ZodNumber;
12192
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12193
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12194
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12195
+ easing: z.ZodOptional<z.ZodEnum<{
12196
+ linear: "linear";
12197
+ easeInOut: "easeInOut";
12198
+ }>>;
12199
+ }, z.core.$strict>>>;
12200
+ }, z.core.$strict>>;
12201
+ lighting: z.ZodObject<{
12202
+ ambientIntensity: z.ZodNumber;
12203
+ keyIntensity: z.ZodNumber;
12204
+ keyPosition: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12205
+ }, z.core.$strict>;
12206
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
12207
+ id: z.ZodString;
12208
+ url: z.ZodString;
12209
+ kind: z.ZodEnum<{
12210
+ image: "image";
12211
+ video: "video";
12212
+ }>;
12213
+ role: z.ZodEnum<{
12214
+ motion: "motion";
12215
+ layout: "layout";
12216
+ appearance: "appearance";
12217
+ }>;
12218
+ objectId: z.ZodOptional<z.ZodString>;
12219
+ startSeconds: z.ZodOptional<z.ZodNumber>;
12220
+ endSeconds: z.ZodOptional<z.ZodNumber>;
12221
+ }, z.core.$strict>>>;
12222
+ }, z.core.$strict>;
12223
+ /** Order-insensitive deep equality over the JSON subset a plan is made of. */
12224
+ declare function scene3DDeepEqual(a: unknown, b: unknown): boolean;
12225
+ /** RFC-4122 v4 id, from the platform CSPRNG where there is one. Browser,
12226
+ * Node 18+ and the Remotion renderer all expose `globalThis.crypto`. */
12227
+ declare function newScene3DRevisionId(): string;
12228
+ /** Narrowing helper for callers holding `unknown` (job output, workflow JSON). */
12229
+ declare function isScene3DPlan(value: unknown): value is Scene3DPlan;
12230
+ /** What a finished `generate-3d-scene` / `edit-3d-scene` job carries in
12231
+ * `output_data`. The canvas, the SDK and the DAG output extractor all read
12232
+ * THIS shape — `scenePlan` is also the node's stored plan field. */
12233
+ interface Scene3DJobOutput {
12234
+ scenePlan: Scene3DPlan;
12235
+ /** One paragraph naming what changed. Absent on a first generation. */
12236
+ changeSummary?: string;
12237
+ }
12238
+ /** The node data field a Scene3D plan is stored under, on both nodes.
12239
+ * `COMPOSER_PLAN_MAP` (model-constants.ts) must agree with this. */
12240
+ declare const SCENE3D_PLAN_FIELD = "scenePlan";
12241
+ /** The two canvas node types that produce a Scene3D plan. */
12242
+ declare const SCENE3D_GENERATE_NODE_TYPE = "generate-3d-scene";
12243
+ declare const SCENE3D_EDIT_NODE_TYPE = "edit-3d-scene";
12244
+
12245
+ /**
12246
+ * Scene3D edit operations — the ONLY way a Scene3D plan changes.
12247
+ *
12248
+ * Split out of `scene3d.ts` (which owns the shape) because this file owns the
12249
+ * TRANSITION: given a plan, a list of operations and the caller's locks, it
12250
+ * produces the next immutable revision or an explained refusal. Both edit
12251
+ * lanes go through it — the deterministic one (the caller sent operations) and
12252
+ * the instruction one (an LLM authored the operations from a sentence) — so
12253
+ * locks, staleness and whole-scene validation cannot be enforced twice and
12254
+ * differently. The model never writes a plan and never writes code; it writes
12255
+ * operations that this function is free to refuse.
12256
+ */
12257
+
12258
+ /** Everything about an object EXCEPT its identity. `id` is deliberately absent
12259
+ * (and the schema is strict) so no operation can rename an object out from
12260
+ * under a lock, a parent link or a reference. */
12261
+ declare const scene3DObjectChangesSchema: z.ZodObject<{
12262
+ name: z.ZodOptional<z.ZodString>;
12263
+ primitive: z.ZodOptional<z.ZodEnum<{
12264
+ group: "group";
12265
+ box: "box";
12266
+ sphere: "sphere";
12267
+ cylinder: "cylinder";
12268
+ cone: "cone";
12269
+ plane: "plane";
12270
+ capsule: "capsule";
12271
+ }>>;
12272
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12273
+ dimensions: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12274
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12275
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12276
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12277
+ color: z.ZodOptional<z.ZodString>;
12278
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12279
+ frame: z.ZodNumber;
12280
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12281
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12282
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12283
+ easing: z.ZodOptional<z.ZodEnum<{
12284
+ linear: "linear";
12285
+ easeInOut: "easeInOut";
12286
+ }>>;
12287
+ }, z.core.$strict>>>;
12288
+ }, z.core.$strict>;
12289
+ declare const scene3DCameraChangesSchema: z.ZodObject<{
12290
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12291
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12292
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12293
+ sensorWidthMm: z.ZodOptional<z.ZodNumber>;
12294
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12295
+ frame: z.ZodNumber;
12296
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12297
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12298
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12299
+ easing: z.ZodOptional<z.ZodEnum<{
12300
+ linear: "linear";
12301
+ easeInOut: "easeInOut";
12302
+ }>>;
12303
+ }, z.core.$strict>>>;
12304
+ }, z.core.$strict>;
12305
+ declare const scene3DLightingChangesSchema: z.ZodObject<{
12306
+ ambientIntensity: z.ZodOptional<z.ZodNumber>;
12307
+ keyIntensity: z.ZodOptional<z.ZodNumber>;
12308
+ keyPosition: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12309
+ }, z.core.$strict>;
12310
+ declare const scene3DEditOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12311
+ op: z.ZodLiteral<"set-object">;
12312
+ objectId: z.ZodString;
12313
+ changes: z.ZodObject<{
12314
+ name: z.ZodOptional<z.ZodString>;
12315
+ primitive: z.ZodOptional<z.ZodEnum<{
12316
+ group: "group";
12317
+ box: "box";
12318
+ sphere: "sphere";
12319
+ cylinder: "cylinder";
12320
+ cone: "cone";
12321
+ plane: "plane";
12322
+ capsule: "capsule";
12323
+ }>>;
12324
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12325
+ dimensions: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12326
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12327
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12328
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12329
+ color: z.ZodOptional<z.ZodString>;
12330
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12331
+ frame: z.ZodNumber;
12332
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12333
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12334
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12335
+ easing: z.ZodOptional<z.ZodEnum<{
12336
+ linear: "linear";
12337
+ easeInOut: "easeInOut";
12338
+ }>>;
12339
+ }, z.core.$strict>>>;
12340
+ }, z.core.$strict>;
12341
+ }, z.core.$strict>, z.ZodObject<{
12342
+ op: z.ZodLiteral<"add-object">;
12343
+ object: z.ZodObject<{
12344
+ id: z.ZodString;
12345
+ name: z.ZodString;
12346
+ primitive: z.ZodEnum<{
12347
+ group: "group";
12348
+ box: "box";
12349
+ sphere: "sphere";
12350
+ cylinder: "cylinder";
12351
+ cone: "cone";
12352
+ plane: "plane";
12353
+ capsule: "capsule";
12354
+ }>;
12355
+ parentId: z.ZodOptional<z.ZodString>;
12356
+ dimensions: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12357
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12358
+ rotation: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12359
+ scale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12360
+ color: z.ZodString;
12361
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12362
+ frame: z.ZodNumber;
12363
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12364
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12365
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12366
+ easing: z.ZodOptional<z.ZodEnum<{
12367
+ linear: "linear";
12368
+ easeInOut: "easeInOut";
12369
+ }>>;
12370
+ }, z.core.$strict>>>;
12371
+ }, z.core.$strict>;
12372
+ }, z.core.$strict>, z.ZodObject<{
12373
+ op: z.ZodLiteral<"remove-object">;
12374
+ objectId: z.ZodString;
12375
+ }, z.core.$strict>, z.ZodObject<{
12376
+ op: z.ZodLiteral<"set-camera">;
12377
+ changes: z.ZodObject<{
12378
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12379
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12380
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12381
+ sensorWidthMm: z.ZodOptional<z.ZodNumber>;
12382
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12383
+ frame: z.ZodNumber;
12384
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12385
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12386
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12387
+ easing: z.ZodOptional<z.ZodEnum<{
12388
+ linear: "linear";
12389
+ easeInOut: "easeInOut";
12390
+ }>>;
12391
+ }, z.core.$strict>>>;
12392
+ }, z.core.$strict>;
12393
+ }, z.core.$strict>, z.ZodObject<{
12394
+ op: z.ZodLiteral<"set-lighting">;
12395
+ changes: z.ZodObject<{
12396
+ ambientIntensity: z.ZodOptional<z.ZodNumber>;
12397
+ keyIntensity: z.ZodOptional<z.ZodNumber>;
12398
+ keyPosition: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12399
+ }, z.core.$strict>;
12400
+ }, z.core.$strict>, z.ZodObject<{
12401
+ op: z.ZodLiteral<"set-background">;
12402
+ color: z.ZodString;
12403
+ }, z.core.$strict>], "op">;
12404
+ declare const scene3DEditOperationsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
12405
+ op: z.ZodLiteral<"set-object">;
12406
+ objectId: z.ZodString;
12407
+ changes: z.ZodObject<{
12408
+ name: z.ZodOptional<z.ZodString>;
12409
+ primitive: z.ZodOptional<z.ZodEnum<{
12410
+ group: "group";
12411
+ box: "box";
12412
+ sphere: "sphere";
12413
+ cylinder: "cylinder";
12414
+ cone: "cone";
12415
+ plane: "plane";
12416
+ capsule: "capsule";
12417
+ }>>;
12418
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12419
+ dimensions: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12420
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12421
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12422
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12423
+ color: z.ZodOptional<z.ZodString>;
12424
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12425
+ frame: z.ZodNumber;
12426
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12427
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12428
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12429
+ easing: z.ZodOptional<z.ZodEnum<{
12430
+ linear: "linear";
12431
+ easeInOut: "easeInOut";
12432
+ }>>;
12433
+ }, z.core.$strict>>>;
12434
+ }, z.core.$strict>;
12435
+ }, z.core.$strict>, z.ZodObject<{
12436
+ op: z.ZodLiteral<"add-object">;
12437
+ object: z.ZodObject<{
12438
+ id: z.ZodString;
12439
+ name: z.ZodString;
12440
+ primitive: z.ZodEnum<{
12441
+ group: "group";
12442
+ box: "box";
12443
+ sphere: "sphere";
12444
+ cylinder: "cylinder";
12445
+ cone: "cone";
12446
+ plane: "plane";
12447
+ capsule: "capsule";
12448
+ }>;
12449
+ parentId: z.ZodOptional<z.ZodString>;
12450
+ dimensions: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12451
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12452
+ rotation: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12453
+ scale: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
12454
+ color: z.ZodString;
12455
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12456
+ frame: z.ZodNumber;
12457
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12458
+ rotation: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12459
+ scale: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12460
+ easing: z.ZodOptional<z.ZodEnum<{
12461
+ linear: "linear";
12462
+ easeInOut: "easeInOut";
12463
+ }>>;
12464
+ }, z.core.$strict>>>;
12465
+ }, z.core.$strict>;
12466
+ }, z.core.$strict>, z.ZodObject<{
12467
+ op: z.ZodLiteral<"remove-object">;
12468
+ objectId: z.ZodString;
12469
+ }, z.core.$strict>, z.ZodObject<{
12470
+ op: z.ZodLiteral<"set-camera">;
12471
+ changes: z.ZodObject<{
12472
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12473
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12474
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12475
+ sensorWidthMm: z.ZodOptional<z.ZodNumber>;
12476
+ keyframes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12477
+ frame: z.ZodNumber;
12478
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12479
+ target: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12480
+ focalLengthMm: z.ZodOptional<z.ZodNumber>;
12481
+ easing: z.ZodOptional<z.ZodEnum<{
12482
+ linear: "linear";
12483
+ easeInOut: "easeInOut";
12484
+ }>>;
12485
+ }, z.core.$strict>>>;
12486
+ }, z.core.$strict>;
12487
+ }, z.core.$strict>, z.ZodObject<{
12488
+ op: z.ZodLiteral<"set-lighting">;
12489
+ changes: z.ZodObject<{
12490
+ ambientIntensity: z.ZodOptional<z.ZodNumber>;
12491
+ keyIntensity: z.ZodOptional<z.ZodNumber>;
12492
+ keyPosition: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
12493
+ }, z.core.$strict>;
12494
+ }, z.core.$strict>, z.ZodObject<{
12495
+ op: z.ZodLiteral<"set-background">;
12496
+ color: z.ZodString;
12497
+ }, z.core.$strict>], "op">>;
12498
+ type Scene3DObjectChanges = z.infer<typeof scene3DObjectChangesSchema>;
12499
+ type Scene3DCameraChanges = z.infer<typeof scene3DCameraChangesSchema>;
12500
+ type Scene3DLightingChanges = z.infer<typeof scene3DLightingChangesSchema>;
12501
+ type Scene3DEditOperation = z.infer<typeof scene3DEditOperationSchema>;
12502
+ type Scene3DEditErrorCode =
12503
+ /** `expectedRevisionId` did not match the plan handed in. */
12504
+ "stale_revision"
12505
+ /** The operation list itself is malformed or over the cap. */
12506
+ | "invalid_operations"
12507
+ /** An operation targets an object that is not in the scene. */
12508
+ | "unknown_object"
12509
+ /** `add-object` collided with an existing id. */
12510
+ | "duplicate_object"
12511
+ /** An operation touched an id the caller declared locked. */
12512
+ | "locked_object"
12513
+ /** The plan handed in, or the plan the operations produced, is invalid. */
12514
+ | "invalid_plan";
12515
+ interface Scene3DEditOptions {
12516
+ /** Optimistic concurrency: reject unless the plan is still this revision. */
12517
+ expectedRevisionId?: string;
12518
+ /** Object ids the caller declared untouchable. Enforced as a POST-condition
12519
+ * (see `applyScene3DEditOperations`), which is what makes it total. */
12520
+ lockedObjectIds?: readonly string[];
12521
+ /** Pin the produced revision id — tests and deterministic replay only. */
12522
+ revisionId?: string;
12523
+ }
12524
+ type Scene3DEditResult = {
12525
+ ok: true;
12526
+ plan: Scene3DPlan;
12527
+ changedObjectIds: string[];
12528
+ changeSummary: string;
12529
+ } | {
12530
+ ok: false;
12531
+ code: Scene3DEditErrorCode;
12097
12532
  message: string;
12098
- hint?: string;
12099
- }
12100
- /** `POST …/validate` — free, persists nothing, and resolves against the caller's library. */
12101
- interface StudioValidatePlanRequest {
12102
- plan: Record<string, unknown>;
12103
- }
12104
- interface StudioValidatePlanResponse {
12105
- valid: boolean;
12106
- errors: StudioPlanIssue[];
12107
- warnings: StudioPlanIssue[];
12108
- summary?: {
12109
- name?: string;
12110
- scenes: number;
12111
- shots: number;
12112
- cast: number;
12113
- /** Cast entries that matched a row in the caller's library. */
12114
- bound: number;
12115
- };
12116
- }
12117
- /** `GET …?limit&cursor` — the caller's "Studio" project, archived and hidden filtered. */
12118
- interface StudioListProductionsResponse {
12119
- data: StudioProductionSummary[];
12120
- nextCursor?: string;
12121
- }
12122
- /** `POST …` — a new production, optionally landed from a plan in the same call. */
12123
- interface StudioCreateProductionRequest {
12124
- name?: string;
12125
- plan?: Record<string, unknown>;
12126
- }
12127
- /** `POST …/:id/import` — add a plan's scenes to a production that already exists. */
12128
- interface StudioImportPlanRequest {
12129
- plan: Record<string, unknown>;
12130
- mode?: "append";
12131
- }
12132
- /** What an import did, in the words a receipt would use. */
12133
- interface StudioImportSummary {
12134
- shotsAdded: number;
12135
- castEnrolled: number;
12136
- /** Cast entries that resolved to a row in the caller's library. */
12137
- castBound: number;
12138
- }
12139
- interface StudioProductionResponse {
12140
- production: StudioProductionView;
12141
- warnings?: StudioPlanIssue[];
12142
- summary?: StudioImportSummary;
12143
- }
12144
- /** How much of a production a read returns. */
12145
- type StudioProductionDetail = "summary" | "full";
12533
+ operationIndex?: number;
12534
+ };
12535
+ /** One human sentence per operation — the deterministic lane's answer to the
12536
+ * LLM lane's `changeSummary`, so both edit paths return the same shape. */
12537
+ declare function summarizeScene3DOperations(operations: readonly Scene3DEditOperation[]): string;
12538
+ /**
12539
+ * Apply an operation list to a plan, producing a NEW revision.
12540
+ *
12541
+ * Guarantees, in this order — each one is a distinct failure mode that was
12542
+ * cheap to get wrong:
12543
+ *
12544
+ * 1. The input plan is never mutated (deep clone before the first write).
12545
+ * 2. A stale `expectedRevisionId` is refused before anything is applied, so a
12546
+ * late async completion can never overwrite a newer manual edit.
12547
+ * 3. Operations are schema-validated as a list; the failing INDEX is reported.
12548
+ * 4. Locks are enforced as a POST-CONDITION — every locked object must still
12549
+ * exist and be deep-equal to the original. Reasoning per-operation would
12550
+ * have to anticipate remove + re-add, a reparent from a sibling's `set-
12551
+ * object`, and whatever the next operation kind turns out to be; the
12552
+ * post-condition covers all of them by construction. (`selectedObjectIds`
12553
+ * is CONTEXT for the model, never permission — the caller passes locks
12554
+ * explicitly and they are checked here, after the model has spoken.)
12555
+ * 5. The WHOLE resulting plan is re-validated, which is what makes "no silent
12556
+ * orphaning" free: removing a parent leaves a dangling `parentId` and the
12557
+ * plan validator rejects it, as does removing an object a reference points
12558
+ * at.
12559
+ */
12560
+ declare function applyScene3DEditOperations(plan: Scene3DPlan, operations: readonly Scene3DEditOperation[] | unknown, options?: Scene3DEditOptions): Scene3DEditResult;
12561
+
12562
+ /**
12563
+ * The parts of `settings.studio` that must not leave the owner's account.
12564
+ *
12565
+ * A shared production is read by anyone with the link. Three things inside the
12566
+ * document are the OWNER'S working state and nobody else's business:
12567
+ *
12568
+ * - `trash` — the recycle bin, which holds every shot, still and clip they
12569
+ * deleted, with prompts and urls intact. A share viewer receiving the bin is
12570
+ * the sharpest of the three: it hands out work the owner explicitly threw away.
12571
+ * - the in-flight job markers — `pendingClips` / `pendingStills` per shot, and
12572
+ * `pendingMusic` / `pendingDraft` on the document. A viewer cannot land any
12573
+ * of them and does not own them; all they carry across is job ids.
12574
+ * - `freecutDraftUrl` — an unsaved editor draft.
12575
+ *
12576
+ * They do NOT all live at the same level, and that is the whole reason this
12577
+ * file exists rather than one array: the writer puts `trash` and
12578
+ * `freecutDraftUrl` on `settings.studio` itself, and puts the per-shot markers
12579
+ * on the `settings.studio.shots[]` entry. A strip that walked only the top
12580
+ * level would pass its own test and still hand a share viewer every marker in
12581
+ * the production.
12582
+ *
12583
+ * It lives in `@nodaro/shared` because two independent readers need the SAME
12584
+ * list: the public share read (which is the reason the list exists) and the
12585
+ * production writer's own bundle projection. A second copy of a list like this
12586
+ * does not stay equal — it goes one key stale and the stale side is the one
12587
+ * that publishes.
12588
+ *
12589
+ * This is a plain JSON walker on purpose. `settings` is a free-form column that
12590
+ * a client owns end to end; the projection reads the keys it must drop and
12591
+ * nothing else, so it never needs — and must never grow — a dependency on
12592
+ * whatever writes the rest of the document.
12593
+ */
12594
+ /**
12595
+ * `settings.studio`'s OWN transient keys.
12596
+ *
12597
+ * The per-shot pending lists are on this list as well as the shot one on
12598
+ * purpose: nothing writes them here today, and a stray one from an older
12599
+ * client — or from a client that is not the studio editor at all — still must
12600
+ * not ride out to a viewer.
12601
+ */
12602
+ declare const STUDIO_TRANSIENT_KEYS: readonly ["trash", "pendingStills", "pendingClips", "pendingMusic", "pendingDraft", "freecutDraftUrl"];
12603
+ /**
12604
+ * ...and a SHOT entry's, which is where the per-shot markers actually are.
12605
+ *
12606
+ * `pendingClip` (singular) is the pre-concurrent-markers shape; the editor's
12607
+ * reader still migrates it on parse, so a row can still be carrying one and it
12608
+ * is still in-flight state.
12609
+ */
12610
+ declare const STUDIO_SHOT_TRANSIENT_KEYS: readonly ["pendingClips", "pendingClip", "pendingStills"];
12611
+ /**
12612
+ * A production's `settings` with the owner's working state removed.
12613
+ *
12614
+ * Copy-on-write, and structurally: it rebuilds the objects without those keys
12615
+ * rather than deleting from the caller's, so the stored row is untouched. A
12616
+ * `settings` with no `studio` comes back unchanged — this is a studio concern,
12617
+ * and a workflow that is not a production has nothing here to strip.
12618
+ *
12619
+ * Takes and returns `unknown` because the column is free-form and every caller
12620
+ * already holds it as whatever its own layer calls JSON; narrowing here would
12621
+ * only move the cast one line up.
12622
+ */
12623
+ declare function stripStudioTransientSettings(settings: unknown): unknown;
12146
12624
 
12147
- export { ACCESS_LEVELS, ACTIVE_SCENE_HELPERS, ADVANCED_MODE_UNAVAILABLE_REASON, AGGREGATEABLE_TYPES, AGGREGATE_LANE_SOURCE_TYPES, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AI_WRITER_PROVIDERS, ALA_CARTE_BOARDS, ALL_CAPTION_STYLES, ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, ASPECT_RATIO_DIMENSIONS, AUDIO_ADDON_PROVIDERS, AUDIO_CROSSFADE_CURVES, AUDIO_CROSSFADE_CURVE_IDS, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, AUDIO_PRODUCER_TYPES, type AccessLevel, type AddBRollResult, AddBRollResultSchema, type AggregateableType, type AggregationBuckets, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, type AiWriterProvider, type AlaCarteBoard, type AnalyzedScene, type AnchorSceneStyleResult, AnchorSceneStyleResultSchema, type Animal, type AnimalSubcategory, type AssetRef, AssetRefSchema, type AudioCrossfadeCurve, type AudioFxPreset, type AudioLayer, type AuditImagesResult, AuditImagesResultSchema, type AuditImagesShotEntry, AuditImagesShotEntrySchema, AuditPromptIssueSchema, type AuditPromptResult, AuditPromptResultSchema, AvatarPayloadError, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, BridgeToNextSceneInputSchema, type BridgeToNextSceneResult, BridgeToNextSceneResultSchema, type BrowseCommunityParams, type BrowseCommunityResult, CATEGORY_DURATION_DEFAULTS, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_ASSET_TYPES, CHARACTER_ASSET_VARIANTS, CHARACTER_ATTACH_COLUMNS, CHARACTER_FACETS, CHARACTER_FACET_IDS, CHARACTER_LORA_TRAINING_JOB_TYPE, CHARACTER_MOTION_PROVIDERS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_REFERENCE_PHOTO_KINDS, CHARACTER_STYLES, CHARACTER_VARIANT_ASSET_BUCKETS, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, COLLABORATOR_ROLES, COLLECT_IN_HANDLE, COMBINE_TRANSITIONS, COMBINE_TRANSITION_GROUP_LABELS, COMBINE_TRANSITION_GROUP_ORDER, COMBINE_TRANSITION_IDS, COMPOSER_PLAN_FIELDS, COMPOSER_PLAN_MAP, CONTENT_TYPES_BY_PLATFORM, CREATURE_ATTACH_COLUMNS, CREDIT_BASE_USD, CREDIT_ROUNDING_RESOLUTION, type CaptionStyle, type CastCoverageCriticVerdict, CastCoverageCriticVerdictSchema, type CharacterAspectRatio, type CharacterAssetType, type CharacterAssetTypeForAspect, type CharacterAttachColumn, type CharacterDef, type CharacterFacet, type CharacterImageCriticVerdict, CharacterImageCriticVerdictSchema, type CharacterLoraFields, type CharacterMentionTokenInfo, CharacterMetadataSchema, type CharacterMotionProvider, type CharacterReferencePhoto, type CharacterReferencePhotoKind, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CharacterVoiceSpec, type ChatEnabledStage, type ChatTurnResponse, ChatTurnResponseSchema, type CinematicResolution, type ClipLook, type CloneListingResult, type CollaboratorRole, type CombineTransition, type CombineTransitionGroup, type CombineVideosEstimatorInput, type CommunityCard, type CommunityEntityType, type CommunityFullDetail, type CommunityReportReason, type CommunitySort, type ComponentHandle, type ComponentMetadata, type ConnectedReference, type CreatureAttachColumn, CriticIssueSchema, type CustomEntry, DEFAULT_AUDIO_CROSSFADE_CURVE_ID, DEFAULT_CARRIED_FRACTION, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DEFAULT_CHARACTER_FACET, DEFAULT_LABEL_BY_SOURCE, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_REF_IMAGE_MAX, DEFAULT_SECTIONS, DEFAULT_USAGE_MODE, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DEFAULT_VIDEO_CLIP_COST, DEFAULT_VIDEO_DURATION_SEC, DEFAULT_VIDEO_PROVIDER, DEFAULT_VOICE_CHANGER_MODEL, DEFAULT_VOICE_DESIGN_MODEL, DETAIL_VARIANTS, DURATION_PRICED_PROVIDERS, DYNAMIC_PRODUCER_TYPES, type DescribedReference, type DetectionResult, DetectionResultSchema, type DialogueLine, EFFORT_TIER_BUMP, EMOTIONAL_BEAT, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_STATUSES, ENTITY_TABLE, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EXECUTION_DATA_KEYS, EXTEND_VIDEO_PROVIDERS, type EntityKind, type EntityMentionTokenInfo, type EntityMetadata, EntityMetadataSchema, type EntityNodeKind, type EntityReferenceInput, type EntityRejectInput, EntityRejectInputSchema, type EntitySlot, type EntityStaleEvent, EntityStaleEventSchema, type EntityStateChangeEvent, EntityStateChangeEventSchema, type EntityStatus, type EntityStudioKind, type EntityStyle, type EntityType, type EvaluateConditionOptions, type ExportedPreset, type ExposableField, type ExposableOutput, type ExposedSetting, type ExtendVideoProvider, type ExtraRefCharacterContext, type ExtraRefInput, FACE_SWAP_PROVIDERS, FAL_LIP_SYNC_PROVIDERS, FAN_OUT_EACH_TYPES, FEATURED_ENTITIES, FILM_BASE_CREDITS, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS, FLUX2_RES_MP, FLUX_LORA_CHARACTER_MODEL_ID, FRAME_MODE_ADAPTIVE_ONLY_ASPECT, FRAME_TARGET_HANDLES, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, type FaceSwapProvider, type FavoriteListingResult, type FeaturedEntity, type FilmCreditEstimate, type FilterListCondition, type FilterListOperator, type FilterOperator, type FixContinuityInput, FixContinuityInputSchema, type FixContinuityResult, FixContinuityResultSchema, type Flux2Model, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, type FullSelectorMode, type Furniture, type FurnitureSubcategory, GEMINI_OMNI_PROVIDERS, GENERATE_TEXT_DELIMITER, GLOBAL_MAX_DURATION_SECONDS, GRANTED_ACCESS, GROUP_HANDLE_PREFIX, GUIDANCE_SCALE_SUPPORT, GVP_ANCHOR_CHOICES, GVP_DEFAULT_PROVIDER, GVP_END_FRAME_PROVIDERS, GVP_EXTEND_PROVIDERS, GVP_SUPPORTED_PROVIDERS, GenerateMotionInputSchema, type GenerateMotionResult, GenerateMotionResultSchema, type GenericEdge, type GenericNode, type GrantedAccess, type GvpAnchorChoice, type GvpAnchorWireMode, HANDLE_PORT_SEPARATOR, HELPERS_SHIPPED_IN_1B3, HIGH_QUALITY_PROVIDERS, HINT_EXEMPT_PARAMETER_TYPES, type HintEdgeLike, type HintGraphContext, type HintNodeLike, type I18nCatalogId, I2I_MASK_SUPPORT, I2I_STRENGTH_SUPPORT, IDEOGRAM_PROVIDERS, IMAGE_ASPECT_RATIO_VALUES, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, IMAGE_EDIT_PROVIDERS, IMAGE_GEN_PROVIDERS, IMAGE_I2I_PROVIDERS, IMAGE_MASK_MODE, IMAGE_PROMPT_MAX, IMAGE_REF_TYPES, IMAGE_TO_VIDEO_PROVIDERS, INPUT_FIELD_MAP, INPUT_NODE_TYPES, INSTAGRAM_CAROUSEL_MAX_ITEMS, INSTAGRAM_CAROUSEL_MIN_ITEMS, ITER_CLONE_PATTERN, type IdentityFidelity, type IdentityMeta, type ImageAspectRatio, type ImageCriticIssue, ImageCriticIssueSchema, type ImageCriticLeafMode, type ImageCriticMetadataKey, type ImageCriticMode, type ImageCriticNodeIssue, type ImageCriticResult, ImageCriticResultSchema, type ImageCriticVerdict, ImageCriticVerdictSchema, type ImageEditProvider, type ImageGenProvider, type ImageI2IProvider, type ImageMaskMode, type ImageMentionTokenInfo, type ImageToVideoProvider, type ImprovePromptInput, ImprovePromptInputSchema, type ImprovePromptResult, ImprovePromptResultSchema, type InputFieldSchema, type InvitationDelivery, type InvitationPreview, type InvitationState, type InvitationView, type JoinCodeView, type JsonEvalResult, type JsonFilter, type JsonPatch, KEYFRAME_CREDITS_PER_SHOT, KINETIC_CAPTION_STYLES, type KieApiFormat, type KineticCaptionStyle, LANGUAGES, LEGACY_LOTTIE_HOST_REMAP, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LIP_SYNC_PROVIDERS, LLM_FEATURE_DEFAULTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_TEXT_INPUT_MAX, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, LOCATION_ASSET_TYPES, LOCATION_ASSET_VARIANTS, LOCATION_ATMOSPHERE_PROVIDERS, LOCATION_ATTACH_COLUMNS, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, LOCATION_REFERENCE_PHOTO_KINDS, LOCATION_REFERENCE_PHOTO_KIND_LABELS, LOCATION_USAGE_MODES, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LabeledOption, type LipSyncDurationBucket, type LipSyncProvider, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, type LocaleCatalogMap, type LocaleDirection, type LocaleId, type LocationAssetType, type LocationAtmosphereProvider, type LocationAttachColumn, type LocationCatalogRef, type LocationImageCriticVerdict, LocationImageCriticVerdictSchema, type LocationMentionTokenInfo, LocationMetadataSchema, type LocationReferencePhotoKind, type LocationUsageMode, LocationsCoverageCriticIssueSchema, type LocationsCoverageCriticVerdict, LocationsCoverageCriticVerdictSchema, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type LoraEligibleRef, type LoraRouting, type LottieOverlayCatalogEntry, type LottieSlotField, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER, MAX_LOCATION_VARIANTS, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER, MAX_PANELS_PER_SHEET, MAX_TTS_CHARS_BY_PROVIDER, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER, MEMBER_STATUSES, MINIMAX_H3_DEFAULT_RESOLUTION, MINIMAX_H3_PROVIDERS, MODELS_WITH_REFERENCE_IMAGE_SUPPORT, MODEL_CATALOG, MODEL_PARAM_NODE_TYPES, MODEL_RECOMMENDATIONS, MODIFY_IMAGE_PROVIDERS, MOTION_COLUMN, MOTION_TRANSFER_PROVIDERS, MUSIC_PROVIDERS, type MaskRegionDescriptor, type MatchCutVerdict, MatchCutVerdictSchema, type MeOrganizations, type Member, type MemberStatus, type MinimalEdge, type MinimalNode, type ModelCatalogEntry, type ModelInputAdjustment, type ModelKind, type ModelMenuOption, type ModelMode, type ModelNodeTarget, type ModelPromptingStyle, type ModelRecommendation, type ModelTreeLine, type ModelTreeVariant, type ModelValidationIssue, type ModifyImageProvider, type MotionTransferProviderType, type MusicProvider, NATIVE_ADAPTIVE_ASPECT, NATIVE_NEGATIVE_PROMPT_MODELS, NATIVE_NEGATIVE_VIDEO_PROVIDERS, NEGATIVE_PROMPT_MAX, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, NODE_DEFAULT_TYPES, NODE_MAPPABLE_FIELDS, NODE_PRESET_EXPORT_KIND, NODE_REF_PATTERN, NON_EN_LOCALE_IDS, NO_SPLIT_DELIMITER, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, type NodeDefaultType, type NodeParamAdjustment, type NodePresetExport, type NormalizedImageGen, type NormalizedModelInput, type NormalizedNodes, type NormalizedVideoRequest, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ASSET_VARIANTS, OBJECT_ATTACH_COLUMNS, OBJECT_MOTION_PROVIDERS, OBJECT_PICKER_NODE_TYPES, ORG_ERROR_CODES, ORG_KINDS, ORG_ROLES, ORG_STATUSES, OUTPUT_FIELD_MAP, OUTPUT_FORMATS, type ObjectAspectRatio, type ObjectAssetType, type ObjectAssetTypeForAspect, type ObjectAttachColumn, ObjectMetadataSchema, type ObjectMotionProvider, type ObjectsValidationIssue, type ObjectsValidationResult, OptimizeForModelInputSchema, type OptimizeForModelResult, OptimizeForModelResultSchema, type OrgAuditEntry, type OrgErrorCode, type OrgKind, type OrgMemberView, type OrgPage, type OrgRole, type OrgSettings, OrgSettingsSchema, type OrgStatus, type OrganizationSummary, type OrganizationView, type OutputFormat, type OutputMode, type OutputType, PARAMETER_NODE_TYPES, PASSTHROUGH_TYPES, PAYG_RETENTION_DAYS, PER_FORMAT_DURATION_BOUNDS, PICKER_TO_COMBINE_TRANSITION, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PLACEHOLDER_CHARACTER_NAME, PLATFORM_LABELS, PLATFORM_SPECS, PRESET_APPLY_CLEAR_KEYS, PRESET_EXCLUDED_KEYS, PRESET_LABELS, PRESET_SETTING_KEYS, PRICING_DEFAULT_DURATION_SEC, PRICING_DEFAULT_RESOLUTION, PROMPT_HARD_CEILING, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PROVIDER_DIRECTIVE_DEFAULTS, PROVIDER_PLACEHOLDER_PREFIX, type PanelGenRequest, type PanelRequest, type PanelSource, type PendingClipView, type PendingStillView, type PipelineActivationMode, type PipelineCompletedEvent, PipelineCompletedEventSchema, type PipelineConfig, PipelineConfigSchema, type PipelineDriftSummary, PipelineDriftSummarySchema, type PipelineEditorDecisionsReadyEvent, PipelineEditorDecisionsReadyEventSchema, type PipelineEvent, type PipelineForkedEvent, PipelineForkedEventSchema, type PipelineFormat, type PipelineInput, PipelineInputSchema, type PipelineLifecycleEvent, type PipelineMode, type PipelineModelStage, type PipelineMusicReadyEvent, PipelineMusicReadyEventSchema, type PipelineOutputResolution, type PipelinePinnableImageModel, type PipelinePinnableScriptLlm, type PipelinePinnableVideoModel, type PipelineStageName, PipelineStageNameSchema, type PipelineStageStatus, PipelineStageStatusSchema, type PipelineState, PipelineStateSchema, type PipelineStatus, PipelineStatusSchema, type PipelineType, type PixelBox, type PresentationItem, type PresetEntry, type PresetSettingKey, type PresetSettings, PresetSettingsSchema, type PriceVariant, type PricedVideoSelection, type ProgressSegment, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type PromptAffixFields, type PromptAffixes, type ProposedChange, type PublishListingParams, type PublishListingResult, QA_CHECK_PROVIDERS, type QaCheckProvider, type QualityLevel, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_HANDLE_MAP, REFERENCE_ROLE_PRESETS, REF_HANDLE_CATEGORY, REF_IMAGE_MAX_LIMITS, REF_TOKEN_NAMESPACE_PREFIXES, RENDERING_SPEED_SUPPORT, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, REPLICATE_LIP_SYNC_PROVIDERS, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type RefVideoDurationLimit, type ReferenceBoardProvider, type ReferenceModality, type ReferenceSheet, type ReferenceSource, type ReportListingResult, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, type ResolveSeparatorOptions, type ResolvedDialogueVoiceLine, type ResultKey, type RouterConditionGroup, SCENE_HELPER_NAMES, SCRAPER_ACTOR_LABELS, SCRAPER_CREDIT_COSTS, SCRAPER_OUTPUT_FIELDS, SCRIPT_PROVIDERS, SEASONS, SECTION_BOARD, SECTION_KINDS, SEEDANCE_2_5_REF_LIMITS, SEEDANCE_2_CONTINUATION_REF_SEC, SEEDANCE_2_EXTEND_STITCH, SEEDANCE_2_PROVIDERS, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC, SEEDANCE_2_REF_LIMITS, SEEDANCE_LIP_SYNC_PROVIDERS, SEED_SUPPORT, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, SLOT_TOKEN_RE, SMART_CUT_WINDOW_DEFAULT, SMART_CUT_WINDOW_MAX, SMART_CUT_WINDOW_MIN, SOCIAL_POST_NODE_TYPES, STAGE_PATCH_SCHEMA, STATIC_CAPTION_STYLES, STRUCTURAL_SECTIONS, STRUCTURED_VISION_MODELS, SUBMISSION_STATUSES, SUNO_ADD_TRACK_MODELS, SUNO_FIELD_HANDLE_FIELDS, SUNO_HARD_CEILING, SUNO_MODELS, SUNO_SELECT_OPERATIONS, SUNO_TEXT_MAX, SUNO_TITLE_MAX, SUNO_TRACK_SOURCE_TYPES, SUNO_VERSION_PRICED_OPERATIONS, SUPPORTED_FONT_NAMES, SURROUND_DIRECTIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SafetyRetryPolicy, type SceneData, type SceneHelperName, SceneHelperNameSchema, type SceneInputMode, SceneInputModeSchema, type SceneMetadata, SceneMetadataSchema, type SceneNodeData, SceneNodeDataSchema, SceneSpecSchema, type ScraperActorId, type ScriptCriticVerdict, ScriptCriticVerdictSchema, type ScriptProvider, type Season, type SectionKind, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SemanticAspectRatio, type SeparatorPreset, type SharedListing, type SharedVoice, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type ShotElement, type ShotImageElement, type ShotShapeElement, type ShotSpec, ShotSpecSchema, type ShotTextElement, type ShowrunnerPlan, ShowrunnerPlanSchema, type SidecarLoader, type SlotControlDescriptor, type SlotControlKind, type SlotVariation, type SocialMediaContentType, type SocialMediaPlatform, type SocialMediaSpec, type SortDirection, type SortListOptions, type SortType, type StageAwaitingSubGateEvent, StageAwaitingSubGateEventSchema, type StaticCaptionStyle, type StoryboardCohesionCriticVerdict, StoryboardCohesionCriticVerdictSchema, type StudioBeatJson, type StudioCastJson, type StudioCastLookMapJson, type StudioClipResultView, type StudioClipView, type StudioCreateProductionRequest, type StudioCutJson, type StudioFolderJson, type StudioIdFieldsJson, type StudioImportPlanRequest, type StudioImportSummary, type StudioListProductionsResponse, type StudioLookMapJson, type StudioMusicJson, type StudioMusicPlanJson, type StudioPendingView, type StudioPlanIssue, type StudioPlanJson, type StudioProductionDetail, type StudioProductionResponse, type StudioProductionSummary, type StudioProductionView, type StudioReferenceJson, type StudioResultView, type StudioShotView, type StudioSkillResponse, type StudioStillView, type StudioStoryboardJson, type StudioTransitionJson, type StudioTrashItemJson, type StudioTrashView, type StudioValidatePlanRequest, type StudioValidatePlanResponse, type StudioVoiceJson, type StyleDirectives, StyleDirectivesSchema, type SubGateName, SubGateNameSchema, type SubmissionStatus, type SunoAddTrackModel, type SunoModel, type SupportedFontName, type SurroundDirection, type Swatch, T2I_TO_I2I_VARIANT, TASK_CHAINED_EDIT_PROVIDERS, TEXT_TO_AUDIO_PROVIDERS, TEXT_TO_VIDEO_PROVIDERS, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TILT_CARRIED_FRACTION, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, TRANSCRIBE_PROVIDERS, TRANSIENT_RUNTIME_KEYS, TTS_PROVIDERS, TTS_TEXT_MAX, TWO_K_RESOLUTION_PROVIDERS, type TextToAudioProvider, type TextToVideoProvider, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TranscribeProvider, type TransitionType, TransitionTypeSchema, type TrimVideoEstimatorInput, type TtsProvider, UPSCALE_IMAGE_PROVIDERS, USAGE_GROUP_BYS, USAGE_MODES, type UpscaleImageProvider, type UsageGroupBy, type UsageLogEntry, type UsageMode, type UsageQuery, type UsageReport, type UsageReportRow, type UsageReportTotals, type UsageVarianceRow, VARIABLES_HANDLE_ID, VARIABLE_PRICING_MODELS, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, VEO_PROVIDERS, VIDEO_ANALYSIS_AUDIO_MODES, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_CLIP_TRANSITIONS_IN, VIDEO_ANALYSIS_DEFAULT_VARIATION, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_ENTITY_SOURCES, VIDEO_ANALYSIS_FACELESS_ANGLES, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_MAX_SCENE_SEC, VIDEO_ANALYSIS_MAX_VARIATIONS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_SHOT_ANGLES, VIDEO_ANALYSIS_SPEED_EFFECTS, VIDEO_ANALYSIS_STORY_JUMPS, VIDEO_ANALYSIS_TEXT_KINDS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, VIDEO_ANALYSIS_TIMES_OF_DAY, VIDEO_ANALYSIS_TRANSITIONS, VIDEO_ANALYSIS_VARIATION_SLUGS, VIDEO_ANALYSIS_VISUAL_EFFECTS, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIO_CAPABILITY, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_DURATION_TIERS, VIDEO_GEN_COLLAPSED_T2V_IDS, VIDEO_GEN_PROVIDERS, VIDEO_INPUT_LIP_SYNC_PROVIDERS, VIDEO_MODEL_CAPS, VIDEO_MODE_ALIASES, VIDEO_PRODUCER_TYPES, VIDEO_PROMPT_MAX, VIDEO_PROVIDERS_REQUIRING_IMAGE, VIDEO_PROVIDERS_WITHOUT_DISPATCH, VIDEO_REF_LIMITS_BY_PROVIDER, VIDEO_REF_VIDEO_DURATION_LIMITS, VIDEO_TO_VIDEO_PROVIDERS, VIDEO_UPSCALE_PROVIDERS, VIDEO_UTIL_PRICING, VIDEO_VARIABLE_PRICING, VOICE_CHANGER_MODELS, VOICE_CHANGER_MODEL_IDS, VOICE_DESIGN_MODELS, type ValidateMatchCutInput, ValidateMatchCutInputSchema, type ValidateMatchCutResult, ValidateMatchCutResultSchema, type ValidationField, type Vehicle, type VehicleSubcategory, type VideoAnalysisAudioMode, type VideoAnalysisClipTransitionIn, type VideoAnalysisEntitySource, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisResult, type VideoAnalysisShotAngle, type VideoAnalysisSpeedEffect, type VideoAnalysisTextKind, type VideoAnalysisTier, type VideoAnalysisTransition, type VideoAnalysisVisualEffect, type VideoAudioCapability, type VideoAudioMode, type VideoClipCost, type VideoCriticFrameMode, type VideoCriticMetadataKey, type VideoCriticShotFields, type VideoCriticVerdict, VideoCriticVerdictSchema, type VideoGenProvider, type VideoModeAlias, type VideoModelCapabilities, type VideoToVideoProvider, type VideoUpscaleProvider, type Voice, type VoiceChangerModel, type VoiceClone, type VoiceDesignModel, type VoiceLibraryParams, type VoiceLibraryResponse, type VoiceMatch, VoiceMatchSchema, type VoiceType, WAN_3_DEFAULT_RESOLUTION, WAN_3_PROVIDERS, WARDROBE_VARIANTS, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, WORKFLOW_VISIBILITIES, WORKSPACE_HEADER, WORKSPACE_HEADER_LOWER, WORKSPACE_ROLES, type Weapon, type WeaponSubcategory, type WindowAnalysis, type WindowScene, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, type WorkflowVisibility, type WorkspaceMemberView, type WorkspaceRole, type WorkspaceSettings, WorkspaceSettingsSchema, type WorkspaceSummary, type WorkspaceView, aggregateByType, aiAvatarReserveCreditId, analyzedSceneSchema, applyDefaultVideoSelection, applyHandleInputOverride, applyRange, applyRangeIndices, applySlots, applyVideoAudioToggle, applyVideoNegativePrompt, aspectRatioFromDims, aspectRatioOptionsByKind, aspectRatioToNumber, assembleNarratedVideoCredits, availableReasoningEfforts, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildBoardPrompt, buildChildrenByParent, buildConditionVariables, buildCreditModelIdentifier, buildExpressionFromVisual, buildLipSyncCreditId, buildLlmCreditIdentifier, buildModelMenu, buildModelTree, buildMotionCreditModelIdentifier, buildNodePresetExport, buildPanelPrompt, buildProgressSegments, buildRangeLabel, buildScraperCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateCombinedProgress, calculateMonetizationMarkup, calculateMonetizedCost, calculateProgress, canonicalVarName, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, checkRefVideoDurations, cinematicCreditId, clampCinematicDuration, clampSmartCutWindow, classifyRefToken, cleanOrphanedItems, clearImageCriticMetadata, clearVideoCriticMetadata, clipLookSchema, collectAncestorRefs, combineSameLabelRefs, computeAggregateLanes, countRefModalityEdges, creditRangesAll, creditsToUsd, decodeProviderItem, defaultCarriedFraction, defaultResolutionFor, defaultRoleForSource, defaultVideoAspectRatio, deriveLinkedFields, deriveLottieSlotFields, deriveSlotRefs, describeEdgeBehavior, describeMaskRegion, describeNodeAdjustments, describeSlotControl, dropUnknownBindings, dropUnknownSpeakers, durationsByMode, effectiveReasoningEffort, encodeProviderItem, ensureLocaleCatalogLoaded, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, entitySlotSchema, entryMatchesQuery, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateSheetCost, estimateTrimVideoCredits, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, expandExtraRefsToConnectedReferences, expandItemsWithRepeat, extractAllGeneratedResults, extractCharacterLoraFields, extractGeneratedJsonAsList, extractPresetData, extractReferencedLabels, extractVideoDurationFromNode, fieldKeyFromHandle, filterCloneNodes, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, findSeedance2AudioOverLimit, firstSightExtraRole, flattenItems, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getAspectRatioOptions, getAudioCrossfadeCurve, getCharacterFacet, getCombineTransition, getCreditRange, getDurationsForModel, getEffectiveRepeatCount, getFeaturedEntities, getFurniture, getFurnitureLabel, getInputFieldSchema, getInputNodes, getItemSortId, getLipSyncMaxAudioSeconds, getLlmModalityCaps, getLlmModel, getLlmTier, getLocaleDirection, getMaxImagePromptChars, getMaxNegativePromptChars, getMaxSunoPromptChars, getMaxSunoStyleChars, getMaxTtsChars, getMaxVideoPromptChars, getModel, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, getParameterValue, getQualityOptions, getResolutionOptions, getRouteReachableNodeIds, getStrategy, getTargetField, getValidValues, getVehicle, getVehicleLabel, getVideoAudioCapability, getWeapon, getWeaponLabel, groupByFamily, groupHandleId, groupLlmModelsByVendor, hasContiguousSegmentDurations, hasFeature, hexToRgbaArray, humanizeSlotSid, imageMentionSlug, imageMentionSlugForRef, imageReferenceLimit, inferMusicVideo, isAggregateableType, isCharacterAspectRatio, isCollectInEdge, isDefaultSelectorConfig, isExpandedClone, isFlux2Model, isGeminiOmniProvider, isGvpSupportedProvider, isHandleInputWired, isKineticCaptionStyle, isLocationUsageMode, isMinimaxH3Provider, isObjectAspectRatio, isOversizedScene, isPaygRetentionActive, isPerSecondLipSyncProvider, isScraperActor, isSeedance2Provider, isTiltDirection, isUsageMode, isVeoProvider, isVideoAnalysisMixedTier, isVideoAnalysisTier, isWan3Provider, jsonResultToList, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, listModels, listSlotSids, llmRouteDefaults, locationMentionSlug, locationReferencePhotoKindLabel, locationUsageModeLabel, mapAspectRatio, mapQuality, mapShotIntentToProviderDirectives, matchVariant, maxSegmentSecFor, maxSegmentsFor, mergeClipLook, mergeExposedSettings, migrateEdgeOutputMode, migrateToItems, minSegmentSecFor, modelIdsByKindMode, modelToNodeTarget, modelsForInputMode, modelsWithFeature, motionGraphicsFeature, normalizeLottieLayers, normalizeMinimaxH3Resolution, normalizeModelInput, normalizeNodeModelParams, normalizePinterestUrl, normalizeRoleSlug, normalizeVideoRequestParams, normalizeWan3Resolution, orderedLlmModels, parseAttributedDialogue, parseCharacterMentionToken, parseEntityMentionToken, parseGroupHandle, parseHandleId, parseImageMentionToken, parseListExpression, parseLocationMentionToken, parseNodePresetExport, parseNodeRef, pickAiAvatarBucket, pickIds, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, planSheetGeneration, planSheetPanels, preferredInputModeForModel, presentTypes, presetApplyClearKeys, presetDataMatches, presetEntries, pricedVideoSelection, qualityOptionsByKind, readPromptAffixes, refHandleCategory, referenceModalityForHandle, referenceSheetCreditId, registerCatalogSidecars, registerSidecarLoaders, renderAnalyzedScene, resetCatalogSidecars, resolutionOptionsByKind, resolveAiAvatarCreditId, resolveAudioCrossfadeCurve, resolveCharacterAspectRatio, resolveCinematicCreditId, resolveConditionValue, resolveDefaultRole, resolveDescription, resolveDialogueVoices, resolveEffectiveSourceType, resolveEffectiveTier, resolveEntityAspect, resolveFieldMappings, resolveGvpAnchorWire, resolveImageGenCreditIdentifier, resolveIndex, resolveLabel, resolveListExpression, resolveLlmCreditId, resolveLocationFields, resolveLocationPresetCatalog, resolveLottieOverlaySrc, resolveNodeRefs, resolveNormalizedImageGen, resolveObjectAspectRatio, resolvePipelineModel, resolveRelativeWindowToken, resolveScraperCreditId, resolveSelectorRefs, resolveSeparator, resolveSheetSections, resolveSlideshowTransition, resolveSourceThroughConnectedList, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveVideoAnalysisModel, resolveVideoModeForInputs, resolveVideoProviderForMode, resolveXfadeName, rewriteSceneBindings, rewriteSlotTokens, rewriteSpeakerSlots, rgbaArrayToHex, roleToPhrase, runSelector, safetyRetryPolicy, sanitizeRole, searchModelVariants, seedance2AudioLimitSec, segmentDurationsFor, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectLoraRoutingForMentions, selectRandom, setRegisteredPersonPackFields, settledWithLimit, slotVariationSchema, sortCharacterEntriesForDisplay, sortListItems, sourceRefKey, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripDerivedAnalysisFields, stripExportContent, stripTransientRuntimeData, sunoCreditType, supportedDefaultDimensions, supportsAdvancedMode, supportsEndAnchor, supportsExtendRender, toConnectedReference, toConnectedReferences, togglePick, tryParseJson, uiAspectRatioFill, uiDurationFill, uiResolutionFill, unresolvedRefTokens, unwrapUnresolvedTokens, usageModeDirective, usageModeIncludesName, usageModeLabel, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, validateDurationForFormat, validateModeActivation, validateModelInput, validateNoNestedGroups, validateObjects, validateProviderForNodeType, validateSubWorkflowRoutes, variantJobId, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAnalysisResultSchema, videoAuditCreditsForBucket, videoModelCanSpeakDialogue, videoModelSupportsAudio, videoNegativeSuffix, videoProviderFoldsLoneEndFrame, videoProviderRequiresImage, windowAnalysisSchema, zipMergeLists };
12625
+ export { ACCESS_LEVELS, ACTIVE_SCENE_HELPERS, ADVANCED_MODE_UNAVAILABLE_REASON, AGGREGATEABLE_TYPES, AGGREGATE_LANE_SOURCE_TYPES, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AI_WRITER_PROVIDERS, ALA_CARTE_BOARDS, ALL_CAPTION_STYLES, ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, ASPECT_RATIO_DIMENSIONS, AUDIO_ADDON_PROVIDERS, AUDIO_CROSSFADE_CURVES, AUDIO_CROSSFADE_CURVE_IDS, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, AUDIO_PRODUCER_TYPES, type AccessLevel, type AddBRollResult, AddBRollResultSchema, type AggregateableType, type AggregationBuckets, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, type AiWriterProvider, type AlaCarteBoard, type AnalyzedScene, type AnchorSceneStyleResult, AnchorSceneStyleResultSchema, type Animal, type AnimalSubcategory, type AssetRef, AssetRefSchema, type AudioCrossfadeCurve, type AudioFxPreset, type AudioLayer, type AuditImagesResult, AuditImagesResultSchema, type AuditImagesShotEntry, AuditImagesShotEntrySchema, AuditPromptIssueSchema, type AuditPromptResult, AuditPromptResultSchema, AvatarPayloadError, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, BridgeToNextSceneInputSchema, type BridgeToNextSceneResult, BridgeToNextSceneResultSchema, type BrowseCommunityParams, type BrowseCommunityResult, CATEGORY_DURATION_DEFAULTS, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_ASSET_TYPES, CHARACTER_ASSET_VARIANTS, CHARACTER_ATTACH_COLUMNS, CHARACTER_FACETS, CHARACTER_FACET_IDS, CHARACTER_LORA_TRAINING_JOB_TYPE, CHARACTER_MOTION_PROVIDERS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_REFERENCE_PHOTO_KINDS, CHARACTER_STYLES, CHARACTER_VARIANT_ASSET_BUCKETS, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, COLLABORATOR_ROLES, COLLECT_IN_HANDLE, COMBINE_TRANSITIONS, COMBINE_TRANSITION_GROUP_LABELS, COMBINE_TRANSITION_GROUP_ORDER, COMBINE_TRANSITION_IDS, COMPOSER_PLAN_FIELDS, COMPOSER_PLAN_MAP, CONTENT_TYPES_BY_PLATFORM, CREATURE_ATTACH_COLUMNS, CREDIT_BASE_USD, CREDIT_ROUNDING_RESOLUTION, type CaptionStyle, type CastCoverageCriticVerdict, CastCoverageCriticVerdictSchema, type CharacterAspectRatio, type CharacterAssetType, type CharacterAssetTypeForAspect, type CharacterAttachColumn, type CharacterDef, type CharacterFacet, type CharacterImageCriticVerdict, CharacterImageCriticVerdictSchema, type CharacterLoraFields, type CharacterMentionTokenInfo, CharacterMetadataSchema, type CharacterMotionProvider, type CharacterReferencePhoto, type CharacterReferencePhotoKind, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CharacterVoiceSpec, type ChatEnabledStage, type ChatTurnResponse, ChatTurnResponseSchema, type CinematicResolution, type ClipLook, type CloneListingResult, type CollaboratorRole, type CombineTransition, type CombineTransitionGroup, type CombineVideosEstimatorInput, type CommunityCard, type CommunityEntityType, type CommunityFullDetail, type CommunityReportReason, type CommunitySort, type ComponentHandle, type ComponentMetadata, type ConnectedReference, type CreatureAttachColumn, CriticIssueSchema, type CustomEntry, DEFAULT_AUDIO_CROSSFADE_CURVE_ID, DEFAULT_CARRIED_FRACTION, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DEFAULT_CHARACTER_FACET, DEFAULT_LABEL_BY_SOURCE, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_REF_IMAGE_MAX, DEFAULT_SECTIONS, DEFAULT_USAGE_MODE, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DEFAULT_VIDEO_CLIP_COST, DEFAULT_VIDEO_DURATION_SEC, DEFAULT_VIDEO_PROVIDER, DEFAULT_VOICE_CHANGER_MODEL, DEFAULT_VOICE_DESIGN_MODEL, DETAIL_VARIANTS, DURATION_PRICED_PROVIDERS, DYNAMIC_PRODUCER_TYPES, type DescribedReference, type DetectionResult, DetectionResultSchema, type DialogueLine, EFFORT_TIER_BUMP, EMOTIONAL_BEAT, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_STATUSES, ENTITY_TABLE, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EXECUTION_DATA_KEYS, EXTEND_VIDEO_PROVIDERS, type EntityKind, type EntityMentionTokenInfo, type EntityMetadata, EntityMetadataSchema, type EntityNodeKind, type EntityReferenceInput, type EntityRejectInput, EntityRejectInputSchema, type EntitySlot, type EntityStaleEvent, EntityStaleEventSchema, type EntityStateChangeEvent, EntityStateChangeEventSchema, type EntityStatus, type EntityStudioKind, type EntityStyle, type EntityType, type EvaluateConditionOptions, type ExportedPreset, type ExposableField, type ExposableOutput, type ExposedSetting, type ExtendVideoProvider, type ExtraRefCharacterContext, type ExtraRefInput, FACE_SWAP_PROVIDERS, FAL_LIP_SYNC_PROVIDERS, FAN_OUT_EACH_TYPES, FEATURED_ENTITIES, FILM_BASE_CREDITS, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS, FLUX2_RES_MP, FLUX_LORA_CHARACTER_MODEL_ID, FRAME_MODE_ADAPTIVE_ONLY_ASPECT, FRAME_TARGET_HANDLES, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, type FaceSwapProvider, type FavoriteListingResult, type FeaturedEntity, type FilmCreditEstimate, type FilterListCondition, type FilterListOperator, type FilterOperator, type FixContinuityInput, FixContinuityInputSchema, type FixContinuityResult, FixContinuityResultSchema, type Flux2Model, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, type FullSelectorMode, type Furniture, type FurnitureSubcategory, GEMINI_OMNI_PROVIDERS, GENERATE_TEXT_DELIMITER, GLOBAL_MAX_DURATION_SECONDS, GRANTED_ACCESS, GROUP_HANDLE_PREFIX, GUIDANCE_SCALE_SUPPORT, GVP_ANCHOR_CHOICES, GVP_DEFAULT_PROVIDER, GVP_END_FRAME_PROVIDERS, GVP_EXTEND_PROVIDERS, GVP_SUPPORTED_PROVIDERS, GenerateMotionInputSchema, type GenerateMotionResult, GenerateMotionResultSchema, type GenericEdge, type GenericNode, type GrantedAccess, type GvpAnchorChoice, type GvpAnchorWireMode, HANDLE_PORT_SEPARATOR, HELPERS_SHIPPED_IN_1B3, HIGH_QUALITY_PROVIDERS, HINT_EXEMPT_PARAMETER_TYPES, type HintEdgeLike, type HintGraphContext, type HintNodeLike, type I18nCatalogId, I2I_MASK_SUPPORT, I2I_STRENGTH_SUPPORT, IDEOGRAM_PROVIDERS, IMAGE_ASPECT_RATIO_VALUES, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, IMAGE_EDIT_PROVIDERS, IMAGE_GEN_PROVIDERS, IMAGE_I2I_PROVIDERS, IMAGE_MASK_MODE, IMAGE_PROMPT_MAX, IMAGE_REF_TYPES, IMAGE_TO_VIDEO_PROVIDERS, INPUT_FIELD_MAP, INPUT_NODE_TYPES, INSTAGRAM_CAROUSEL_MAX_ITEMS, INSTAGRAM_CAROUSEL_MIN_ITEMS, ITER_CLONE_PATTERN, type IdentityFidelity, type IdentityMeta, type ImageAspectRatio, type ImageCriticIssue, ImageCriticIssueSchema, type ImageCriticLeafMode, type ImageCriticMetadataKey, type ImageCriticMode, type ImageCriticNodeIssue, type ImageCriticResult, ImageCriticResultSchema, type ImageCriticVerdict, ImageCriticVerdictSchema, type ImageEditProvider, type ImageGenProvider, type ImageI2IProvider, type ImageMaskMode, type ImageMentionTokenInfo, type ImageToVideoProvider, type ImprovePromptInput, ImprovePromptInputSchema, type ImprovePromptResult, ImprovePromptResultSchema, type InputFieldSchema, type InvitationDelivery, type InvitationPreview, type InvitationState, type InvitationView, type JoinCodeView, type JsonEvalResult, type JsonFilter, type JsonPatch, KEYFRAME_CREDITS_PER_SHOT, KINETIC_CAPTION_STYLES, type KieApiFormat, type KineticCaptionStyle, LANGUAGES, LEGACY_LOTTIE_HOST_REMAP, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LIP_SYNC_PROVIDERS, LLM_FEATURE_DEFAULTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_TEXT_INPUT_MAX, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, LOCATION_ASSET_TYPES, LOCATION_ASSET_VARIANTS, LOCATION_ATMOSPHERE_PROVIDERS, LOCATION_ATTACH_COLUMNS, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, LOCATION_REFERENCE_PHOTO_KINDS, LOCATION_REFERENCE_PHOTO_KIND_LABELS, LOCATION_USAGE_MODES, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LabeledOption, type LipSyncDurationBucket, type LipSyncProvider, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, type LocaleCatalogMap, type LocaleDirection, type LocaleId, type LocationAssetType, type LocationAtmosphereProvider, type LocationAttachColumn, type LocationCatalogRef, type LocationImageCriticVerdict, LocationImageCriticVerdictSchema, type LocationMentionTokenInfo, LocationMetadataSchema, type LocationReferencePhotoKind, type LocationUsageMode, LocationsCoverageCriticIssueSchema, type LocationsCoverageCriticVerdict, LocationsCoverageCriticVerdictSchema, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type LoraEligibleRef, type LoraRouting, type LottieOverlayCatalogEntry, type LottieSlotField, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER, MAX_LOCATION_VARIANTS, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER, MAX_PANELS_PER_SHEET, MAX_TTS_CHARS_BY_PROVIDER, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER, MEMBER_STATUSES, MINIMAX_H3_DEFAULT_RESOLUTION, MINIMAX_H3_PROVIDERS, MODELS_WITH_REFERENCE_IMAGE_SUPPORT, MODEL_CATALOG, MODEL_PARAM_NODE_TYPES, MODEL_RECOMMENDATIONS, MODIFY_IMAGE_PROVIDERS, MOTION_COLUMN, MOTION_TRANSFER_PROVIDERS, MUSIC_PROVIDERS, type MaskRegionDescriptor, type MatchCutVerdict, MatchCutVerdictSchema, type MeOrganizations, type Member, type MemberStatus, type MinimalEdge, type MinimalNode, type ModelCatalogEntry, type ModelInputAdjustment, type ModelKind, type ModelMenuOption, type ModelMode, type ModelNodeTarget, type ModelPromptingStyle, type ModelRecommendation, type ModelTreeLine, type ModelTreeVariant, type ModelValidationIssue, type ModifyImageProvider, type MotionTransferProviderType, type MusicProvider, NATIVE_ADAPTIVE_ASPECT, NATIVE_NEGATIVE_PROMPT_MODELS, NATIVE_NEGATIVE_VIDEO_PROVIDERS, NEGATIVE_PROMPT_MAX, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, NODE_DEFAULT_TYPES, NODE_MAPPABLE_FIELDS, NODE_PRESET_EXPORT_KIND, NODE_REF_PATTERN, NON_EN_LOCALE_IDS, NO_SPLIT_DELIMITER, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, type NodeDefaultType, type NodeParamAdjustment, type NodePresetExport, type NormalizedImageGen, type NormalizedModelInput, type NormalizedNodes, type NormalizedVideoRequest, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ASSET_VARIANTS, OBJECT_ATTACH_COLUMNS, OBJECT_MOTION_PROVIDERS, OBJECT_PICKER_NODE_TYPES, ORG_ERROR_CODES, ORG_KINDS, ORG_ROLES, ORG_STATUSES, OUTPUT_FIELD_MAP, OUTPUT_FORMATS, type ObjectAspectRatio, type ObjectAssetType, type ObjectAssetTypeForAspect, type ObjectAttachColumn, ObjectMetadataSchema, type ObjectMotionProvider, type ObjectsValidationIssue, type ObjectsValidationResult, OptimizeForModelInputSchema, type OptimizeForModelResult, OptimizeForModelResultSchema, type OrgAuditEntry, type OrgErrorCode, type OrgKind, type OrgMemberView, type OrgPage, type OrgRole, type OrgSettings, OrgSettingsSchema, type OrgStatus, type OrganizationSummary, type OrganizationView, type OutputFormat, type OutputMode, type OutputType, PARAMETER_NODE_TYPES, PASSTHROUGH_TYPES, PAYG_RETENTION_DAYS, PER_FORMAT_DURATION_BOUNDS, PICKER_TO_COMBINE_TRANSITION, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PLACEHOLDER_CHARACTER_NAME, PLATFORM_LABELS, PLATFORM_SPECS, PRESET_APPLY_CLEAR_KEYS, PRESET_EXCLUDED_KEYS, PRESET_LABELS, PRESET_SETTING_KEYS, PRICING_DEFAULT_DURATION_SEC, PRICING_DEFAULT_RESOLUTION, PROMPT_HARD_CEILING, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PROVIDER_DIRECTIVE_DEFAULTS, PROVIDER_PLACEHOLDER_PREFIX, type PanelGenRequest, type PanelRequest, type PanelSource, type PipelineActivationMode, type PipelineCompletedEvent, PipelineCompletedEventSchema, type PipelineConfig, PipelineConfigSchema, type PipelineDriftSummary, PipelineDriftSummarySchema, type PipelineEditorDecisionsReadyEvent, PipelineEditorDecisionsReadyEventSchema, type PipelineEvent, type PipelineForkedEvent, PipelineForkedEventSchema, type PipelineFormat, type PipelineInput, PipelineInputSchema, type PipelineLifecycleEvent, type PipelineMode, type PipelineModelStage, type PipelineMusicReadyEvent, PipelineMusicReadyEventSchema, type PipelineOutputResolution, type PipelinePinnableImageModel, type PipelinePinnableScriptLlm, type PipelinePinnableVideoModel, type PipelineStageName, PipelineStageNameSchema, type PipelineStageStatus, PipelineStageStatusSchema, type PipelineState, PipelineStateSchema, type PipelineStatus, PipelineStatusSchema, type PipelineType, type PixelBox, type PresentationItem, type PresetEntry, type PresetSettingKey, type PresetSettings, PresetSettingsSchema, type PriceVariant, type PricedVideoSelection, type ProgressSegment, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type PromptAffixFields, type PromptAffixes, type ProposedChange, type PublishListingParams, type PublishListingResult, QA_CHECK_PROVIDERS, type QaCheckProvider, type QualityLevel, REDUCE_STRATEGIES, REDUCE_STRATEGY_IDS, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_HANDLE_MAP, REFERENCE_ROLE_PRESETS, REF_HANDLE_CATEGORY, REF_IMAGE_MAX_LIMITS, REF_TOKEN_NAMESPACE_PREFIXES, RENDERING_SPEED_SUPPORT, REPEATABLE_NODE_TYPES, REPEAT_PLACEHOLDER, REPLICATE_LIP_SYNC_PROVIDERS, RESERVED_TEMPLATE_VARS, type ReduceMeta, type ReduceStrategy, type ReduceStrategyId, type RefCandidate, type RefModalityEdge, type RefTokenKind, type RefVideoDurationLimit, type ReferenceBoardProvider, type ReferenceModality, type ReferenceSheet, type ReferenceSource, type ReportListingResult, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, type ResolveSeparatorOptions, type ResolvedDialogueVoiceLine, type RouterConditionGroup, SCENE3D_DEFAULT_DURATION_SECONDS, SCENE3D_DEFAULT_FPS, SCENE3D_EDIT_NODE_TYPE, SCENE3D_GENERATE_NODE_TYPE, SCENE3D_LIMITS, SCENE3D_PLAN_FIELD, SCENE3D_PLAN_TYPE, SCENE3D_PRIMITIVES, SCENE3D_SCHEMA_VERSION, SCENE_HELPER_NAMES, SCRAPER_ACTOR_LABELS, SCRAPER_CREDIT_COSTS, SCRAPER_OUTPUT_FIELDS, SCRIPT_PROVIDERS, SEASONS, SECTION_BOARD, SECTION_KINDS, SEEDANCE_2_5_REF_LIMITS, SEEDANCE_2_CONTINUATION_REF_SEC, SEEDANCE_2_EXTEND_STITCH, SEEDANCE_2_PROVIDERS, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC, SEEDANCE_2_REF_LIMITS, SEEDANCE_LIP_SYNC_PROVIDERS, SEED_SUPPORT, SEPARATOR_DISPLAY, SEPARATOR_PRESETS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, SLOT_TOKEN_RE, SMART_CUT_WINDOW_DEFAULT, SMART_CUT_WINDOW_MAX, SMART_CUT_WINDOW_MIN, SOCIAL_POST_NODE_TYPES, STAGE_PATCH_SCHEMA, STATIC_CAPTION_STYLES, STRUCTURAL_SECTIONS, STRUCTURED_VISION_MODELS, STUDIO_SHOT_TRANSIENT_KEYS, STUDIO_TRANSIENT_KEYS, SUBMISSION_STATUSES, SUNO_ADD_TRACK_MODELS, SUNO_FIELD_HANDLE_FIELDS, SUNO_HARD_CEILING, SUNO_MODELS, SUNO_SELECT_OPERATIONS, SUNO_TEXT_MAX, SUNO_TITLE_MAX, SUNO_TRACK_SOURCE_TYPES, SUNO_VERSION_PRICED_OPERATIONS, SUPPORTED_FONT_NAMES, SURROUND_DIRECTIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SafetyRetryPolicy, type Scene3DCamera, type Scene3DCameraChanges, type Scene3DCameraKeyframe, type Scene3DEasing, type Scene3DEditErrorCode, type Scene3DEditOperation, type Scene3DEditOptions, type Scene3DEditResult, type Scene3DJobOutput, type Scene3DLighting, type Scene3DLightingChanges, type Scene3DObject, type Scene3DObjectChanges, type Scene3DObjectKeyframe, type Scene3DPlan, type Scene3DPrimitive, type Scene3DReference, type Scene3DReferenceKind, type Scene3DReferenceRole, type SceneData, type SceneHelperName, SceneHelperNameSchema, type SceneInputMode, SceneInputModeSchema, type SceneMetadata, SceneMetadataSchema, type SceneNodeData, SceneNodeDataSchema, SceneSpecSchema, type ScraperActorId, type ScriptCriticVerdict, ScriptCriticVerdictSchema, type ScriptProvider, type Season, type SectionKind, type SelectorConfig, type SelectorFields, type SelectorMode, type SelectorPredicateOp, type SelectorResult, type SemanticAspectRatio, type SeparatorPreset, type SharedListing, type SharedVoice, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type ShotElement, type ShotImageElement, type ShotShapeElement, type ShotSpec, ShotSpecSchema, type ShotTextElement, type ShowrunnerPlan, ShowrunnerPlanSchema, type SidecarLoader, type SlotControlDescriptor, type SlotControlKind, type SlotVariation, type SocialMediaContentType, type SocialMediaPlatform, type SocialMediaSpec, type SortDirection, type SortListOptions, type SortType, type StageAwaitingSubGateEvent, StageAwaitingSubGateEventSchema, type StaticCaptionStyle, type StoryboardCohesionCriticVerdict, StoryboardCohesionCriticVerdictSchema, type StyleDirectives, StyleDirectivesSchema, type SubGateName, SubGateNameSchema, type SubmissionStatus, type SunoAddTrackModel, type SunoModel, type SupportedFontName, type SurroundDirection, type Swatch, T2I_TO_I2I_VARIANT, TASK_CHAINED_EDIT_PROVIDERS, TEXT_TO_AUDIO_PROVIDERS, TEXT_TO_VIDEO_PROVIDERS, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TILT_CARRIED_FRACTION, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, TRANSCRIBE_PROVIDERS, TRANSIENT_RUNTIME_KEYS, TTS_PROVIDERS, TTS_TEXT_MAX, TWO_K_RESOLUTION_PROVIDERS, type TextToAudioProvider, type TextToVideoProvider, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TranscribeProvider, type TransitionType, TransitionTypeSchema, type TrimVideoEstimatorInput, type TtsProvider, UPSCALE_IMAGE_PROVIDERS, USAGE_GROUP_BYS, USAGE_MODES, type UpscaleImageProvider, type UsageGroupBy, type UsageLogEntry, type UsageMode, type UsageQuery, type UsageReport, type UsageReportRow, type UsageReportTotals, type UsageVarianceRow, VARIABLES_HANDLE_ID, VARIABLE_PRICING_MODELS, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, VEO_PROVIDERS, VIDEO_ANALYSIS_AUDIO_MODES, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_CLIP_TRANSITIONS_IN, VIDEO_ANALYSIS_DEFAULT_VARIATION, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_ENTITY_SOURCES, VIDEO_ANALYSIS_FACELESS_ANGLES, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_MAX_SCENE_SEC, VIDEO_ANALYSIS_MAX_VARIATIONS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_SHOT_ANGLES, VIDEO_ANALYSIS_SPEED_EFFECTS, VIDEO_ANALYSIS_STORY_JUMPS, VIDEO_ANALYSIS_TEXT_KINDS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, VIDEO_ANALYSIS_TIMES_OF_DAY, VIDEO_ANALYSIS_TRANSITIONS, VIDEO_ANALYSIS_VARIATION_SLUGS, VIDEO_ANALYSIS_VISUAL_EFFECTS, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIO_CAPABILITY, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_DURATION_TIERS, VIDEO_GEN_COLLAPSED_T2V_IDS, VIDEO_GEN_PROVIDERS, VIDEO_INPUT_LIP_SYNC_PROVIDERS, VIDEO_MODEL_CAPS, VIDEO_MODE_ALIASES, VIDEO_PRODUCER_TYPES, VIDEO_PROMPT_MAX, VIDEO_PROVIDERS_REQUIRING_IMAGE, VIDEO_PROVIDERS_WITHOUT_DISPATCH, VIDEO_REF_LIMITS_BY_PROVIDER, VIDEO_REF_VIDEO_DURATION_LIMITS, VIDEO_TO_VIDEO_PROVIDERS, VIDEO_UPSCALE_PROVIDERS, VIDEO_UTIL_PRICING, VIDEO_VARIABLE_PRICING, VOICE_CHANGER_MODELS, VOICE_CHANGER_MODEL_IDS, VOICE_DESIGN_MODELS, type ValidateMatchCutInput, ValidateMatchCutInputSchema, type ValidateMatchCutResult, ValidateMatchCutResultSchema, type ValidationField, type Vec3, type Vehicle, type VehicleSubcategory, type VideoAnalysisAudioMode, type VideoAnalysisClipTransitionIn, type VideoAnalysisEntitySource, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisResult, type VideoAnalysisShotAngle, type VideoAnalysisSpeedEffect, type VideoAnalysisTextKind, type VideoAnalysisTier, type VideoAnalysisTransition, type VideoAnalysisVisualEffect, type VideoAudioCapability, type VideoAudioMode, type VideoClipCost, type VideoCriticFrameMode, type VideoCriticMetadataKey, type VideoCriticShotFields, type VideoCriticVerdict, VideoCriticVerdictSchema, type VideoGenProvider, type VideoModeAlias, type VideoModelCapabilities, type VideoToVideoProvider, type VideoUpscaleProvider, type Voice, type VoiceChangerModel, type VoiceClone, type VoiceDesignModel, type VoiceLibraryParams, type VoiceLibraryResponse, type VoiceMatch, VoiceMatchSchema, type VoiceType, WAN_3_DEFAULT_RESOLUTION, WAN_3_PROVIDERS, WARDROBE_VARIANTS, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, WORKFLOW_VISIBILITIES, WORKSPACE_HEADER, WORKSPACE_HEADER_LOWER, WORKSPACE_ROLES, type Weapon, type WeaponSubcategory, type WindowAnalysis, type WindowScene, type WorkflowAssetKind, type WorkflowExport, type WorkflowExportCharacter, type WorkflowExportCreature, type WorkflowExportLocation, type WorkflowExportObject, type WorkflowImportReport, type WorkflowImportSkippedAsset, type WorkflowMediaRef, type WorkflowPortability, type WorkflowVisibility, type WorkspaceMemberView, type WorkspaceRole, type WorkspaceSettings, WorkspaceSettingsSchema, type WorkspaceSummary, type WorkspaceView, aggregateByType, aiAvatarReserveCreditId, analyzedSceneSchema, applyDefaultVideoSelection, applyHandleInputOverride, applyRange, applyRangeIndices, applyScene3DEditOperations, applySlots, applyVideoAudioToggle, applyVideoNegativePrompt, aspectRatioFromDims, aspectRatioOptionsByKind, aspectRatioToNumber, assembleNarratedVideoCredits, availableReasoningEfforts, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildBoardPrompt, buildChildrenByParent, buildConditionVariables, buildCreditModelIdentifier, buildExpressionFromVisual, buildLipSyncCreditId, buildLlmCreditIdentifier, buildModelMenu, buildModelTree, buildMotionCreditModelIdentifier, buildNodePresetExport, buildPanelPrompt, buildProgressSegments, buildRangeLabel, buildScraperCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateCombinedProgress, calculateMonetizationMarkup, calculateMonetizedCost, calculateProgress, canonicalVarName, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, checkRefVideoDurations, cinematicCreditId, clampCinematicDuration, clampSmartCutWindow, classifyRefToken, cleanOrphanedItems, clearImageCriticMetadata, clearVideoCriticMetadata, clipLookSchema, collectAncestorRefs, combineSameLabelRefs, computeAggregateLanes, countRefModalityEdges, creditRangesAll, creditsToUsd, decodeProviderItem, defaultCarriedFraction, defaultResolutionFor, defaultRoleForSource, defaultVideoAspectRatio, deriveLinkedFields, deriveLottieSlotFields, deriveSlotRefs, describeEdgeBehavior, describeMaskRegion, describeNodeAdjustments, describeSlotControl, dropUnknownBindings, dropUnknownSpeakers, durationsByMode, effectiveReasoningEffort, encodeProviderItem, ensureLocaleCatalogLoaded, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, entitySlotSchema, entryMatchesQuery, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateSheetCost, estimateTrimVideoCredits, evaluateCondition, evaluateConditionGroup, evaluateJsonExpression, evaluateJsonPath, expandExtraRefsToConnectedReferences, expandItemsWithRepeat, extractAllGeneratedResults, extractCharacterLoraFields, extractGeneratedJsonAsList, extractPresetData, extractReferencedLabels, extractVideoDurationFromNode, fieldKeyFromHandle, filterCloneNodes, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, findSeedance2AudioOverLimit, firstSightExtraRole, flattenItems, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getAspectRatioOptions, getAudioCrossfadeCurve, getCharacterFacet, getCombineTransition, getCreditRange, getDurationsForModel, getEffectiveRepeatCount, getFeaturedEntities, getFurniture, getFurnitureLabel, getInputFieldSchema, getInputNodes, getItemSortId, getLipSyncMaxAudioSeconds, getLlmModalityCaps, getLlmModel, getLlmTier, getLocaleDirection, getMaxImagePromptChars, getMaxNegativePromptChars, getMaxSunoPromptChars, getMaxSunoStyleChars, getMaxTtsChars, getMaxVideoPromptChars, getModel, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, getParameterValue, getQualityOptions, getResolutionOptions, getRouteReachableNodeIds, getStrategy, getTargetField, getValidValues, getVehicle, getVehicleLabel, getVideoAudioCapability, getWeapon, getWeaponLabel, groupByFamily, groupHandleId, groupLlmModelsByVendor, hasContiguousSegmentDurations, hasFeature, hexToRgbaArray, humanizeSlotSid, imageMentionSlug, imageMentionSlugForRef, imageReferenceLimit, inferMusicVideo, isAggregateableType, isCharacterAspectRatio, isCollectInEdge, isDefaultSelectorConfig, isExpandedClone, isFlux2Model, isGeminiOmniProvider, isGvpSupportedProvider, isHandleInputWired, isKineticCaptionStyle, isLocationUsageMode, isMinimaxH3Provider, isObjectAspectRatio, isOversizedScene, isPaygRetentionActive, isPerSecondLipSyncProvider, isScene3DHttpUrl, isScene3DPlan, isScraperActor, isSeedance2Provider, isTiltDirection, isUsageMode, isVeoProvider, isVideoAnalysisMixedTier, isVideoAnalysisTier, isWan3Provider, jsonResultToList, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, listModels, listSlotSids, llmRouteDefaults, locationMentionSlug, locationReferencePhotoKindLabel, locationUsageModeLabel, mapAspectRatio, mapQuality, mapShotIntentToProviderDirectives, matchVariant, maxSegmentSecFor, maxSegmentsFor, mergeClipLook, mergeExposedSettings, migrateEdgeOutputMode, migrateToItems, minSegmentSecFor, modelIdsByKindMode, modelToNodeTarget, modelsForInputMode, modelsWithFeature, motionGraphicsFeature, newScene3DRevisionId, normalizeLottieLayers, normalizeMinimaxH3Resolution, normalizeModelInput, normalizeNodeModelParams, normalizePinterestUrl, normalizeRoleSlug, normalizeVideoRequestParams, normalizeWan3Resolution, orderedLlmModels, parseAttributedDialogue, parseCharacterMentionToken, parseEntityMentionToken, parseGroupHandle, parseHandleId, parseImageMentionToken, parseListExpression, parseLocationMentionToken, parseNodePresetExport, parseNodeRef, pickAiAvatarBucket, pickIds, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, planSheetGeneration, planSheetPanels, preferredInputModeForModel, presentTypes, presetApplyClearKeys, presetDataMatches, presetEntries, pricedVideoSelection, qualityOptionsByKind, readPromptAffixes, refHandleCategory, referenceModalityForHandle, referenceSheetCreditId, registerCatalogSidecars, registerSidecarLoaders, renderAnalyzedScene, resetCatalogSidecars, resolutionOptionsByKind, resolveAiAvatarCreditId, resolveAudioCrossfadeCurve, resolveCharacterAspectRatio, resolveCinematicCreditId, resolveConditionValue, resolveDefaultRole, resolveDescription, resolveDialogueVoices, resolveEffectiveSourceType, resolveEffectiveTier, resolveEntityAspect, resolveFieldMappings, resolveGvpAnchorWire, resolveImageGenCreditIdentifier, resolveIndex, resolveLabel, resolveListExpression, resolveLlmCreditId, resolveLocationFields, resolveLocationPresetCatalog, resolveLottieOverlaySrc, resolveNodeRefs, resolveNormalizedImageGen, resolveObjectAspectRatio, resolvePipelineModel, resolveRelativeWindowToken, resolveScraperCreditId, resolveSelectorRefs, resolveSeparator, resolveSheetSections, resolveSlideshowTransition, resolveSourceThroughConnectedList, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveVideoAnalysisModel, resolveVideoModeForInputs, resolveVideoProviderForMode, resolveXfadeName, rewriteSceneBindings, rewriteSlotTokens, rewriteSpeakerSlots, rgbaArrayToHex, roleToPhrase, rotationVec3Schema, runSelector, safetyRetryPolicy, sanitizeRole, scaleVec3Schema, scene3DCameraChangesSchema, scene3DCameraKeyframeSchema, scene3DCameraSchema, scene3DColorSchema, scene3DDeepEqual, scene3DEasingSchema, scene3DEditOperationSchema, scene3DEditOperationsSchema, scene3DIdSchema, scene3DLightingChangesSchema, scene3DLightingSchema, scene3DObjectChangesSchema, scene3DObjectKeyframeSchema, scene3DObjectSchema, scene3DPlanIssues, scene3DPlanSchema, scene3DPrimitiveSchema, scene3DReferenceSchema, scene3DUrlSchema, searchModelVariants, seedance2AudioLimitSec, segmentDurationsFor, selectByModulo, selectByNamedKey, selectByPredicate, selectListItems, selectLoraRoutingForMentions, selectRandom, setRegisteredPersonPackFields, settledWithLimit, sizeVec3Schema, slotVariationSchema, sortCharacterEntriesForDisplay, sortListItems, sourceRefKey, spliceDelimitedRows, splitByLoopDelimiter, splitGeneratedItems, spreadJsonArrayIfSingleton, stringifyPathResults, stripDerivedAnalysisFields, stripExportContent, stripStudioTransientSettings, stripTransientRuntimeData, summarizeScene3DOperations, sunoCreditType, supportedDefaultDimensions, supportsAdvancedMode, supportsEndAnchor, supportsExtendRender, toConnectedReference, toConnectedReferences, togglePick, tryParseJson, uiAspectRatioFill, uiDurationFill, uiResolutionFill, unresolvedRefTokens, unwrapUnresolvedTokens, usageModeDirective, usageModeIncludesName, usageModeLabel, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, validateDurationForFormat, validateModeActivation, validateModelInput, validateNoNestedGroups, validateObjects, validateProviderForNodeType, validateSubWorkflowRoutes, variantJobId, vec3Schema, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAnalysisResultSchema, videoAuditCreditsForBucket, videoModelCanSpeakDialogue, videoModelSupportsAudio, videoNegativeSuffix, videoProviderFoldsLoneEndFrame, videoProviderRequiresImage, windowAnalysisSchema, zipMergeLists };