@shop-os/modelkit 0.24.1 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -8365,7 +8365,7 @@ var AspectRatioSchema = import_zod3.z.enum([
8365
8365
  "8:1",
8366
8366
  "adaptive"
8367
8367
  ]);
8368
- var ImageSizeSchema = import_zod3.z.enum(["512", "1K", "2K", "4K"]);
8368
+ var ImageSizeSchema = import_zod3.z.enum(["512", "1K", "2K", "4K", "8K"]);
8369
8369
  var VideoResolutionSchema = import_zod3.z.enum(["360p", "480p", "720p", "768p", "1080p", "2k", "4k"]);
8370
8370
  var ImageQualitySchema = import_zod3.z.enum(["auto", "low", "medium", "high", "xhigh", "max"]);
8371
8371
  var OutputFormatSchema = import_zod3.z.enum(["png", "jpeg", "webp", "gif", "svg"]);
@@ -12110,7 +12110,7 @@ var KLING_V3 = klingImage(
12110
12110
  );
12111
12111
  var KLING_V42 = klingImage(
12112
12112
  "kling/v4/image-to-image",
12113
- { "2K": "2K", "4K": "4K" },
12113
+ { "2K": "2K", "4K": "4K", "8K": "8K" },
12114
12114
  "image_urls",
12115
12115
  "2K"
12116
12116
  );
@@ -18956,7 +18956,7 @@ function resolveOutputFormat(model, format, onUnsupported, warnings) {
18956
18956
  }
18957
18957
 
18958
18958
  // src/resolve-options.ts
18959
- var SIZE_ORDER = ["512", "1K", "2K", "4K"];
18959
+ var SIZE_ORDER = ["512", "1K", "2K", "4K", "8K"];
18960
18960
  var RESOLUTION_ORDER = ["360p", "480p", "720p", "768p", "1080p", "2k", "4k"];
18961
18961
  function ratioValue(r) {
18962
18962
  if (r === "adaptive") return 1;
@@ -20760,7 +20760,7 @@ function textAbortOptions(sdk, context) {
20760
20760
  var catalogId = import_zod38.z.string();
20761
20761
  var exactSize = import_zod38.z.templateLiteral([import_zod38.z.number(), "x", import_zod38.z.number()]);
20762
20762
  var sdkRatio = import_zod38.z.templateLiteral([import_zod38.z.number(), ":", import_zod38.z.number()]);
20763
- var sizeTier = import_zod38.z.enum(["512", "1K", "2K", "4K"]);
20763
+ var sizeTier = import_zod38.z.enum(["512", "1K", "2K", "4K", "8K"]);
20764
20764
  function isCatalogId(model) {
20765
20765
  return catalogId.safeParse(model).success;
20766
20766
  }