@slatesvideo/shared 0.7.16 → 0.7.17

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.
@@ -876,11 +876,11 @@ export declare const getCreditBalance: Operation<Record<string, never>>;
876
876
  export declare const listAvailableModels: Operation<{
877
877
  filter?: string;
878
878
  }>;
879
- export declare const VIDEO_MODELS: readonly ["kling-v3.0-std", "kling-v3.0-pro", "kling-v3.0-omni", "seedance-2", "seedance-2.5", "omni-flash", "wan-3.0", "kling-v4.0", "minimax-h3", "minimax-h3-max", "minimax-h3-max-turbo", "ltx-2-5", "ltx-2-5-pro"];
879
+ export declare const VIDEO_MODELS: readonly ["kling-v3.0-std", "kling-v3.0-pro", "kling-v3.0-omni", "seedance-2", "seedance-2.5", "omni-flash-1-2", "wan-3.0", "kling-v4.0", "minimax-h3", "minimax-h3-max", "minimax-h3-max-turbo", "ltx-2-5", "ltx-2-5-pro"];
880
880
  type VideoModel = (typeof VIDEO_MODELS)[number];
881
881
  /** The exact `model` ids `slates_edit_video` accepts. Edit rows are deliberately
882
882
  * NOT in VIDEO_MODELS — they take a source clip, not frames. */
883
- export declare const EDIT_VIDEO_MODELS: readonly ["kling-v3.0-omni-edit", "kling-v3.0-omni-pro-edit", "omni-flash-edit", "seedance-2.5-edit"];
883
+ export declare const EDIT_VIDEO_MODELS: readonly ["kling-v3.0-omni-edit", "kling-v3.0-omni-pro-edit", "omni-flash-1-2-edit", "seedance-2.5-edit"];
884
884
  type EditVideoModel = (typeof EDIT_VIDEO_MODELS)[number];
885
885
  export declare const estimateGenerationCost: Operation<{
886
886
  model: string;
@@ -1038,7 +1038,7 @@ export declare const generateCharacterIdentity: Operation<{
1038
1038
  projectId: string;
1039
1039
  baseAssetId: string;
1040
1040
  userNotes?: string;
1041
- model?: 'nano-banana-2-1' | 'gpt-image-2-5-flare' | 'gpt-image-2-5-sunburst';
1041
+ model?: 'nano-banana-2-1' | 'gpt-image-2-6-flare' | 'gpt-image-2-6-sunburst';
1042
1042
  confirm?: boolean;
1043
1043
  }>;
1044
1044
  export declare const generateEnvironmentPlate: Operation<{
@@ -1073,14 +1073,16 @@ export declare const addFrame: Operation<{
1073
1073
  notes?: string;
1074
1074
  position?: number;
1075
1075
  }>;
1076
- export type ImageModelId = 'nano-banana-2-1' | 'gpt-image-2-5-flare' | 'gpt-image-2-5-sunburst' | 'flux-3' | 'seedream-5-lite';
1076
+ export type ImageModelId = 'nano-banana-2-1' | 'gpt-image-2-6-flare' | 'gpt-image-2-6-sunburst' | 'flux-3' | 'seedream-5-lite';
1077
1077
  /** The exact `model` ids `slates_generate_image` accepts. */
1078
1078
  /** Derived compatibility export for callers enumerating the 3k ladder. */
1079
1079
  export declare const THREE_K_IMAGE_MODELS: string[];
1080
- export declare const IMAGE_MODELS: readonly ["nano-banana-2-1", "gpt-image-2-5-flare", "gpt-image-2-5-sunburst", "flux-3", "seedream-5-lite"];
1081
- /** True for either GPT Image 2.5 seat. Flare and Sunburst differ in latency
1080
+ export declare const IMAGE_MODELS: readonly ["nano-banana-2-1", "gpt-image-2-6-flare", "gpt-image-2-6-sunburst", "flux-3", "seedream-5-lite"];
1081
+ /** True for either GPT Image seat. Flare and Sunburst differ in latency
1082
1082
  * and routing advice, never in pricing shape or param surface. */
1083
1083
  export declare function isGptImageModel(model: string | undefined): boolean;
1084
+ /** True for either Gemini Omni Flash 1.2 seat, generation or edit. */
1085
+ export declare function isOmniFlash12Model(model: string | null | undefined): boolean;
1084
1086
  /**
1085
1087
  * The seats that arrived 2026-10-23, which only a desktop advertising
1086
1088
  * `image-models-v4` knows. 🚨 A NEW TOKEN, as v3 was for GPT Image 2.5: an older
@@ -1089,8 +1091,8 @@ export declare function isGptImageModel(model: string | undefined): boolean;
1089
1091
  */
1090
1092
  export declare function isImageModelV4(model: string | undefined): boolean;
1091
1093
  /**
1092
- * GPT Image 2.5's quality ladder — the full enum fal accepts, all five rungs
1093
- * exposed (Eric, 2026-09-09).
1094
+ * GPT Image's quality ladder (2.5, and 2.6 unchanged) — the full enum fal
1095
+ * accepts, all five rungs exposed (Eric, 2026-09-09).
1094
1096
  *
1095
1097
  * 🚨 THE NAMES MOVED BETWEEN VERSIONS AND THE STRINGS DID NOT. GPT Image 2's
1096
1098
  * `medium` is this model's `high`, and its `high` is this model's `max` — same
@@ -1453,7 +1455,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1453
1455
  action: z.ZodOptional<z.ZodOptional<z.ZodEnum<["start", "status", "cancel"]>>>;
1454
1456
  }, "strict", z.ZodTypeAny, {
1455
1457
  projectId: string;
1456
- version?: 2 | undefined;
1457
1458
  items?: ({
1458
1459
  timelineId: string;
1459
1460
  format: "mp4" | "xml";
@@ -1475,6 +1476,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1475
1476
  action?: "status" | "cancel" | "start" | undefined;
1476
1477
  directory?: string | undefined;
1477
1478
  manifestId?: string | undefined;
1479
+ version?: 2 | undefined;
1478
1480
  batchId?: string | undefined;
1479
1481
  exportRoot?: string | undefined;
1480
1482
  variants?: {
@@ -1496,7 +1498,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1496
1498
  }> | undefined;
1497
1499
  }, {
1498
1500
  projectId: string;
1499
- version?: 2 | undefined;
1500
1501
  items?: ({
1501
1502
  timelineId: string;
1502
1503
  format: "mp4" | "xml";
@@ -1518,6 +1519,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1518
1519
  action?: "status" | "cancel" | "start" | undefined;
1519
1520
  directory?: string | undefined;
1520
1521
  manifestId?: string | undefined;
1522
+ version?: 2 | undefined;
1521
1523
  batchId?: string | undefined;
1522
1524
  exportRoot?: string | undefined;
1523
1525
  variants?: {
@@ -1539,7 +1541,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1539
1541
  }> | undefined;
1540
1542
  }>, {
1541
1543
  projectId: string;
1542
- version?: 2 | undefined;
1543
1544
  items?: ({
1544
1545
  timelineId: string;
1545
1546
  format: "mp4" | "xml";
@@ -1561,6 +1562,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1561
1562
  action?: "status" | "cancel" | "start" | undefined;
1562
1563
  directory?: string | undefined;
1563
1564
  manifestId?: string | undefined;
1565
+ version?: 2 | undefined;
1564
1566
  batchId?: string | undefined;
1565
1567
  exportRoot?: string | undefined;
1566
1568
  variants?: {
@@ -1582,7 +1584,6 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1582
1584
  }> | undefined;
1583
1585
  }, {
1584
1586
  projectId: string;
1585
- version?: 2 | undefined;
1586
1587
  items?: ({
1587
1588
  timelineId: string;
1588
1589
  format: "mp4" | "xml";
@@ -1604,6 +1605,7 @@ declare const exportCutsInput: z.ZodEffects<z.ZodObject<{
1604
1605
  action?: "status" | "cancel" | "start" | undefined;
1605
1606
  directory?: string | undefined;
1606
1607
  manifestId?: string | undefined;
1608
+ version?: 2 | undefined;
1607
1609
  batchId?: string | undefined;
1608
1610
  exportRoot?: string | undefined;
1609
1611
  variants?: {
@@ -3420,6 +3422,21 @@ export declare const editCut: Operation<{
3420
3422
  skipPresent?: boolean;
3421
3423
  }>;
3422
3424
  export declare function resolveGuideTopic(topic: string): string | null;
3425
+ /**
3426
+ * The seat that replaced a retired model a topic names, or null. The topic is a model id or a guide name
3427
+ * (`gpt-image-2-5-sunburst`, `gpt-image-2-5`, `slates-prompting-gpt-image-2-5`); it names a retired model
3428
+ * when it is a retired id, or a stem of retired ids that no current id shares (`gpt-image-2-5`, never
3429
+ * `flux` or `nano-banana`). The guide op serves the replacement's guide and says so first, as it does for
3430
+ * a typo: an agent asking for the 2.5 guide learns 2.5 is gone, not that 2.6 is what it asked for.
3431
+ *
3432
+ * A stem covering several seats names their family (`gpt-image-2-6`), never one of them. A topic under the
3433
+ * stem of its replacement's own guide is that guide, not a retired model: `omni-flash` is the retired 1.1 id
3434
+ * and also the name of the live `slates-prompting-omni-flash`, so it and `omni-flash-edit` are null.
3435
+ */
3436
+ export declare function retiredModelOfTopic(topic: string): {
3437
+ retired: string;
3438
+ replacement: string;
3439
+ } | null;
3423
3440
  /**
3424
3441
  * The one guide a near-miss name means: the name without its `slates-` prefix, or a typo of one name
3425
3442
  * ("slaes-direct-response-ad"). Two names equally close come back as `tied`, for the caller to name rather