@shop-os/modelkit 0.26.1 → 0.28.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/CHANGELOG.md CHANGED
@@ -9,6 +9,40 @@ header in the release PR.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.28.0] - Unreleased
13
+
14
+ ### Added
15
+ - `kling-4.0` and `kling-4.0-edit` list `4k` in `constraints.resolutions` (fal `kling/v4`,
16
+ `resolution: "4k"` on text-, image- and reference-to-video and on the edit, 2026-11-19). The
17
+ default stays 1080p. 4K renders at most 15 s for now (the resolver refuses longer, and an
18
+ edit at 4K needs a measured source): a 3 s 4K clip took 138 s, so a 30 s one may outrun the
19
+ 15-minute result wait while fal still bills it. fal bills 4K at $0.549 per output second, or $0.329 per billable second
20
+ with a video input, so a consumer needs a `4k` price row for both rows before it takes this
21
+ version. The endpoints' new `hdr` flag is not sent: no request field or price shape carries
22
+ its per-output-second fee yet.
23
+
24
+ ### Changed
25
+ - The saved fal schemas for the four `kling/v4` endpoints are refreshed, so the row tests check
26
+ every body against the schema that lists `4k`.
27
+
28
+ ## [0.27.0] - Unreleased
29
+
30
+ ### Added
31
+ - Seven avatar rows on fal (ENG-4289): one photo and one speech clip make a talking video as long
32
+ as the speech. `heygen-avatar-6` and `heygen-avatar-6-turbo` (1080p or 2K, an optional motion
33
+ prompt), `kling-ai-avatar-v2-standard` and `kling-ai-avatar-v2-pro` (an optional prompt),
34
+ `veed-fabric-1.0` and `veed-fabric-1.0-fast` (480p or 720p, no prompt) and `sync-3-image-to-video` (no
35
+ prompt). They have `omnihuman-2`'s shape (`requires: ["references"]`, one reference image, one
36
+ reference audio, no `durations`), so a caller that runs that row runs these.
37
+ - Only Kling reports the output's length. The other five bill the `durationSeconds` of the audio
38
+ ref, so the caller must measure the audio and set it.
39
+ - VEED Fabric and sync-3 take public URLs only: a byte ref is refused before the call.
40
+
41
+ ### Not stated by the provider
42
+ - fal publishes no audio length limit for these endpoints. Kling uses its own API limit (2-300 s).
43
+ HeyGen (its own limit is 600 s), VEED Fabric and sync-3 use a kit cap of 300 s, the same as
44
+ `omnihuman-2`, so a hold on audio we cannot measure stays small.
45
+
12
46
  ## [0.26.1] - Unreleased
13
47
 
14
48
  ### Fixed
package/dist/catalog.cjs CHANGED
@@ -5507,10 +5507,119 @@ var TEXT_MODELS = [
5507
5507
  })
5508
5508
  ];
5509
5509
 
5510
- // src/catalog/video-families.ts
5511
- var VIDEO_USAGE = { unit: "seconds" };
5510
+ // src/catalog/video-avatars.ts
5512
5511
  var MB = 1024 * 1024;
5513
5512
  var KLING_LOGO = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/kling-color.png";
5513
+ var VEED_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/d540d2bb-0022-4371-8889-48aefaf46bbe.png";
5514
+ var SYNC_LOGO2 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/sync.png";
5515
+ var KIT_AUDIO_CAP_SECONDS = 300;
5516
+ function avatar(row2) {
5517
+ const { min, max, formats, maxBytes } = row2.audio;
5518
+ return {
5519
+ id: row2.id,
5520
+ aliases: row2.aliases,
5521
+ label: row2.label,
5522
+ type: "video",
5523
+ adapter: "fal",
5524
+ providerModelId: row2.providerModelId,
5525
+ lifecycle: "active",
5526
+ exposure: ["cowork", "space_builder"],
5527
+ constraints: {
5528
+ ...row2.resolutions !== void 0 && { resolutions: [...row2.resolutions] },
5529
+ references: {
5530
+ images: 1,
5531
+ videos: 0,
5532
+ audios: 1,
5533
+ audioOnly: false,
5534
+ audioSeconds: { ...min !== void 0 && { min }, max },
5535
+ audioFormats: formats,
5536
+ ...maxBytes !== void 0 && { audioMaxBytes: maxBytes },
5537
+ min: { images: 1, audios: 1 }
5538
+ },
5539
+ requires: ["references"],
5540
+ supports: [],
5541
+ ...row2.promptMaxChars === void 0 ? { noPrompt: true } : { prompt: { referenceSyntax: "descriptive", maxChars: row2.promptMaxChars } },
5542
+ audio: "always"
5543
+ },
5544
+ defaults: row2.resolutions === void 0 ? {} : { resolution: row2.resolutions[0] },
5545
+ usage: { unit: "seconds" },
5546
+ pricingKind: "video_per_second",
5547
+ display: {
5548
+ provider: row2.provider,
5549
+ ...row2.logo !== void 0 && { logo: row2.logo },
5550
+ description: row2.description
5551
+ },
5552
+ capabilities: {}
5553
+ };
5554
+ }
5555
+ function heygenAvatar6(tier) {
5556
+ const turbo = tier === "turbo";
5557
+ return avatar({
5558
+ id: turbo ? "heygen-avatar-6-turbo" : "heygen-avatar-6",
5559
+ aliases: [],
5560
+ label: turbo ? "HeyGen Avatar 6 Turbo" : "HeyGen Avatar 6",
5561
+ providerModelId: turbo ? "heygen/avatar-6/turbo/image-to-video" : "heygen/avatar-6/image-to-video",
5562
+ provider: "heygen",
5563
+ description: turbo ? "HeyGen Avatar 6 Turbo: the lower-cost tier; turns one photo of a person and a speech clip of up to 5 minutes into a talking video as long as the speech, at 1080p or 2K, with an optional motion prompt." : "HeyGen Avatar 6: turns one photo of a person and a speech clip of up to 5 minutes into a talking video as long as the speech, at 1080p or 2K, with an optional motion prompt.",
5564
+ audio: { max: KIT_AUDIO_CAP_SECONDS, formats: ["wav", "mp3"], maxBytes: 50 * MB },
5565
+ resolutions: ["1080p", "2k"],
5566
+ promptMaxChars: 1200
5567
+ });
5568
+ }
5569
+ function klingAvatar(tier) {
5570
+ const label = tier === "pro" ? "Pro" : "Standard";
5571
+ return avatar({
5572
+ id: `kling-ai-avatar-v2-${tier}`,
5573
+ aliases: [],
5574
+ label: `Kling AI Avatar 2.0 ${label}`,
5575
+ providerModelId: `fal-ai/kling-video/ai-avatar/v2/${tier}`,
5576
+ provider: "kuaishou",
5577
+ logo: KLING_LOGO,
5578
+ description: `Kuaishou Kling AI Avatar 2.0 (${label}): turns one image of a person, animal or character and a 2-300 second audio clip into a talking video as long as the audio.`,
5579
+ audio: { min: 2, max: 300, formats: ["mp3", "wav", "m4a", "aac"], maxBytes: 5 * MB },
5580
+ promptMaxChars: 2500
5581
+ });
5582
+ }
5583
+ function veedFabric(tier) {
5584
+ const fast = tier === "fast";
5585
+ return avatar({
5586
+ id: fast ? "veed-fabric-1.0-fast" : "veed-fabric-1.0",
5587
+ aliases: [fast ? "veed/fabric-1.0/fast" : "veed/fabric-1.0"],
5588
+ label: fast ? "VEED Fabric 1.0 Fast" : "VEED Fabric 1.0",
5589
+ providerModelId: fast ? "veed/fabric-1.0/fast" : "veed/fabric-1.0",
5590
+ provider: "veed",
5591
+ logo: VEED_LOGO,
5592
+ description: fast ? "VEED Fabric 1.0 Fast: the quicker tier; turns one image and a speech clip into a lip-synced talking video as long as the speech, at 480p or 720p." : "VEED Fabric 1.0: turns one image and a speech clip into a lip-synced talking video as long as the speech, at 480p or 720p.",
5593
+ audio: { max: KIT_AUDIO_CAP_SECONDS, formats: ["mp3", "ogg", "wav", "m4a", "aac"] },
5594
+ resolutions: ["720p", "480p"]
5595
+ });
5596
+ }
5597
+ var VIDEO_AVATAR_MODELS = [
5598
+ heygenAvatar6("regular"),
5599
+ heygenAvatar6("turbo"),
5600
+ klingAvatar("standard"),
5601
+ klingAvatar("pro"),
5602
+ veedFabric("regular"),
5603
+ veedFabric("fast"),
5604
+ // https://fal.ai/models/fal-ai/sync-lipsync/v3/image-to-video/api: image_url and audio_url
5605
+ // only; the video matches the audio's length. sync takes WAV or MP3
5606
+ // (https://sync.so/docs/quickstart); the length is the kit cap.
5607
+ avatar({
5608
+ id: "sync-3-image-to-video",
5609
+ aliases: ["fal-ai/sync-lipsync/v3/image-to-video"],
5610
+ label: "Sync 3 Avatar",
5611
+ providerModelId: "fal-ai/sync-lipsync/v3/image-to-video",
5612
+ provider: "sync",
5613
+ logo: SYNC_LOGO2,
5614
+ description: "Sync 3 (sync-3) image-to-video: animates the face in one image so it lip-syncs to a speech clip, as long as the speech.",
5615
+ audio: { max: KIT_AUDIO_CAP_SECONDS, formats: ["wav", "mp3"] }
5616
+ })
5617
+ ];
5618
+
5619
+ // src/catalog/video-families.ts
5620
+ var VIDEO_USAGE = { unit: "seconds" };
5621
+ var MB2 = 1024 * 1024;
5622
+ var KLING_LOGO2 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/kling-color.png";
5514
5623
  var MINIMAX_LOGO4 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png";
5515
5624
  var BYTEDANCE_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png";
5516
5625
  var XAI_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/858b7fcc-9bd5-411d-aea1-a7b35ecfffab_compressed.png";
@@ -5568,7 +5677,7 @@ function klingMotionControl(tier) {
5568
5677
  pricingKind: "video_per_second",
5569
5678
  display: {
5570
5679
  provider: "kuaishou",
5571
- logo: KLING_LOGO,
5680
+ logo: KLING_LOGO2,
5572
5681
  description: `Kuaishou Kling 3.0 Motion Control (${label}): a character image performs the motion of a 3-30 second reference video, keeping its timing and sound.`
5573
5682
  },
5574
5683
  capabilities: {}
@@ -5601,7 +5710,7 @@ var VIDEO_FAMILY_MODELS = [
5601
5710
  pricingKind: "video_per_second",
5602
5711
  display: {
5603
5712
  provider: "kuaishou",
5604
- logo: KLING_LOGO,
5713
+ logo: KLING_LOGO2,
5605
5714
  description: "Kuaishou Kling O3 Pro: text, start/end frames and up to 7 reference images in one 3-15 second clip with consistent characters and optional native audio."
5606
5715
  },
5607
5716
  capabilities: { lastFrameRequiresFirstFrame: true }
@@ -5632,7 +5741,7 @@ var VIDEO_FAMILY_MODELS = [
5632
5741
  pricingKind: "video_per_second",
5633
5742
  display: {
5634
5743
  provider: "kuaishou",
5635
- logo: KLING_LOGO,
5744
+ logo: KLING_LOGO2,
5636
5745
  description: "Kuaishou Kling O3 Pro video edit: change a 3-15 second clip with a prompt and up to 4 reference images while keeping its motion and timing."
5637
5746
  },
5638
5747
  capabilities: { acceptsSourceVideo: true, videoEdit: true }
@@ -5644,7 +5753,9 @@ var VIDEO_FAMILY_MODELS = [
5644
5753
  // start frame included (fal: "counts toward the image reference limit"), 300 px min.
5645
5754
  // Reference videos: 5, 3-30.05 s each and 30 s combined, 700 px min, 23.9-60.05 fps.
5646
5755
  // The prompt names references as @Image1, @Video1 (no space; @Element1 for elements,
5647
- // which the kit does not send). No sound switch on any endpoint.
5756
+ // which the kit does not send). No sound switch on any endpoint. 4K since 2026-11-19;
5757
+ // the endpoints also take `hdr` (10-bit, 1080p and 4K, billed per output second on top),
5758
+ // which the kit does not send: no price row can carry that fee yet (ENG-4272).
5648
5759
  id: "kling-4.0",
5649
5760
  aliases: ["kling-4", "kling-v4"],
5650
5761
  label: "Kling 4.0",
@@ -5656,7 +5767,7 @@ var VIDEO_FAMILY_MODELS = [
5656
5767
  constraints: {
5657
5768
  inputBilling: "kling-v4",
5658
5769
  aspectRatios: ["adaptive", "16:9", "9:16", "1:1", "21:9"],
5659
- resolutions: ["720p", "1080p"],
5770
+ resolutions: ["720p", "1080p", "4k"],
5660
5771
  durations: { min: 3, max: 30 },
5661
5772
  durationPresets: [5, 10, 15, 30],
5662
5773
  references: {
@@ -5676,8 +5787,8 @@ var VIDEO_FAMILY_MODELS = [
5676
5787
  pricingKind: "video_per_second",
5677
5788
  display: {
5678
5789
  provider: "kuaishou",
5679
- logo: KLING_LOGO,
5680
- description: "Kuaishou Kling 4.0: text-to-video, start/end frames, or reference-to-video from up to 10 images and 5 videos (30 seconds combined), up to 30 seconds at 720p or 1080p. Prompts name references @Image1, @Video1."
5790
+ logo: KLING_LOGO2,
5791
+ description: "Kuaishou Kling 4.0: text-to-video, start/end frames, or reference-to-video from up to 10 images and 5 videos (30 seconds combined), up to 30 seconds at 720p or 1080p and up to 15 seconds at 4K. Prompts name references @Image1, @Video1."
5681
5792
  },
5682
5793
  capabilities: { lastFrameRequiresFirstFrame: true }
5683
5794
  },
@@ -5695,7 +5806,7 @@ var VIDEO_FAMILY_MODELS = [
5695
5806
  exposure: ["cowork", "space_builder"],
5696
5807
  constraints: {
5697
5808
  inputBilling: "kling-v4",
5698
- resolutions: ["720p", "1080p"],
5809
+ resolutions: ["720p", "1080p", "4k"],
5699
5810
  durations: { min: 3, max: 30 },
5700
5811
  references: { ...NO_REFERENCES, images: 10 },
5701
5812
  requires: ["sourceVideo"],
@@ -5710,8 +5821,8 @@ var VIDEO_FAMILY_MODELS = [
5710
5821
  pricingKind: "video_per_second",
5711
5822
  display: {
5712
5823
  provider: "kuaishou",
5713
- logo: KLING_LOGO,
5714
- description: "Kuaishou Kling 4.0 video edit: change a 3-30 second clip with a prompt and up to 10 reference images, at 720p or 1080p, as long as the source or a set 3-30 seconds. Prompts name the source @Video1 and images @Image1."
5824
+ logo: KLING_LOGO2,
5825
+ description: "Kuaishou Kling 4.0 video edit: change a 3-30 second clip with a prompt and up to 10 reference images, at 720p, 1080p or 4K (up to 15 seconds at 4K), as long as the source or a set 3-30 seconds. Prompts name the source @Video1 and images @Image1."
5715
5826
  },
5716
5827
  capabilities: { acceptsSourceVideo: true, videoEdit: true }
5717
5828
  },
@@ -5751,7 +5862,7 @@ var VIDEO_FAMILY_MODELS = [
5751
5862
  pricingKind: "video_per_second",
5752
5863
  display: {
5753
5864
  provider: "kuaishou",
5754
- logo: KLING_LOGO,
5865
+ logo: KLING_LOGO2,
5755
5866
  description: "Kuaishou Kling 4.0 Flash: fast text-to-video, a start frame, or reference-to-video from up to 10 images and 5 videos (20 seconds combined), 3 to 20 seconds at 720p. Prompts name references @Image1, @Video1."
5756
5867
  }
5757
5868
  },
@@ -5791,7 +5902,7 @@ var VIDEO_FAMILY_MODELS = [
5791
5902
  pricingKind: "video_per_second",
5792
5903
  display: {
5793
5904
  provider: "kuaishou",
5794
- logo: KLING_LOGO,
5905
+ logo: KLING_LOGO2,
5795
5906
  description: "Kuaishou Kling 4.0 Flash video edit: change a 3-20 second clip with a prompt, up to 10 reference images and 4 reference videos (20 seconds in all with the source), at 720p, as long as the source or a set 3-20 seconds. Prompts name the source @Video1."
5796
5907
  },
5797
5908
  capabilities: { acceptsSourceVideo: true, videoEdit: true }
@@ -5818,7 +5929,7 @@ var VIDEO_FAMILY_MODELS = [
5818
5929
  ...NO_REFERENCES,
5819
5930
  audios: 1,
5820
5931
  audioSeconds: { min: 2 },
5821
- audioMaxBytes: 15 * MB
5932
+ audioMaxBytes: 15 * MB2
5822
5933
  },
5823
5934
  supports: ["seed", "promptExpansion", "lastFrame", "safetyChecker"],
5824
5935
  prompt: H3_PROMPT,
@@ -6017,7 +6128,7 @@ var VIDEO_FAMILY_MODELS = [
6017
6128
  audioOnly: false,
6018
6129
  audioSeconds: { min: 3, max: 12 },
6019
6130
  audioFormats: ["mp3"],
6020
- audioMaxBytes: 50 * MB
6131
+ audioMaxBytes: 50 * MB2
6021
6132
  },
6022
6133
  // Sound (dialogue and effects) is a reference-to-video option; image-to-video is silent.
6023
6134
  supports: ["seed", "generateAudio", "safetyChecker"],
@@ -6058,7 +6169,7 @@ var VIDEO_FAMILY_MODELS = [
6058
6169
  audioOnly: false,
6059
6170
  audioSeconds: { min: 4, max: 300 },
6060
6171
  audioFormats: ["wav", "mp3"],
6061
- audioMaxBytes: 15 * MB,
6172
+ audioMaxBytes: 15 * MB2,
6062
6173
  min: { images: 1, audios: 1 }
6063
6174
  },
6064
6175
  requires: ["references"],
@@ -7161,6 +7272,7 @@ var VIDEO_MODELS = [
7161
7272
  capabilities: {}
7162
7273
  },
7163
7274
  ...VIDEO_FAMILY_MODELS,
7275
+ ...VIDEO_AVATAR_MODELS,
7164
7276
  ...LUMA_VIDEO_MODELS
7165
7277
  ];
7166
7278
 
@@ -9977,6 +10089,15 @@ var KLING_O3_IMAGE_CAP = 7;
9977
10089
  var KLING_V4_IMAGE_CAP = 10;
9978
10090
  var TURBO_AUDIO_MIN_SECONDS = 2;
9979
10091
  var OMNIHUMAN_AUDIO_SECONDS = { min: 4, max: 300 };
10092
+ var AVATAR_AUDIO = [
10093
+ ["heygen/avatar-6/image-to-video", { max: 300 }],
10094
+ ["heygen/avatar-6/turbo/image-to-video", { max: 300 }],
10095
+ ["fal-ai/kling-video/ai-avatar/v2/standard", { min: 2, max: 300 }],
10096
+ ["fal-ai/kling-video/ai-avatar/v2/pro", { min: 2, max: 300 }],
10097
+ ["veed/fabric-1.0", { max: 300, urlOnly: true }],
10098
+ ["veed/fabric-1.0/fast", { max: 300, urlOnly: true }],
10099
+ ["fal-ai/sync-lipsync/v3/image-to-video", { max: 300, urlOnly: true }]
10100
+ ];
9980
10101
  function missing(message) {
9981
10102
  return { code: "missing_input", message };
9982
10103
  }
@@ -10033,7 +10154,17 @@ function o3Reference(req) {
10033
10154
  function hasReferences(req) {
10034
10155
  return count(req.referenceImages) + count(req.referenceVideos) > 0;
10035
10156
  }
10157
+ var KLING_V4_4K_MAX_SECONDS = 15;
10158
+ function klingV4FourK(seconds3, req) {
10159
+ if (req.resolution !== "4k") return void 0;
10160
+ if (seconds3 === void 0) {
10161
+ return missing(`needs a measured source video of up to ${KLING_V4_4K_MAX_SECONDS} s at 4K`);
10162
+ }
10163
+ return seconds3 > KLING_V4_4K_MAX_SECONDS ? unsupported2(`renders at most ${KLING_V4_4K_MAX_SECONDS} s at 4K`) : void 0;
10164
+ }
10036
10165
  function klingV4(req) {
10166
+ const fourK = klingV4FourK(req.durationSeconds ?? 5, req);
10167
+ if (fourK !== void 0) return fourK;
10037
10168
  if (hasReferences(req)) {
10038
10169
  if (req.lastFrame !== void 0) {
10039
10170
  return unsupported2("takes an end frame only without reference images or videos");
@@ -10110,7 +10241,10 @@ function viduQ4(req) {
10110
10241
  }
10111
10242
  return req.firstFrame === void 0 ? missing("needs a start frame or reference images") : void 0;
10112
10243
  }
10113
- function omnihuman(req) {
10244
+ function isPublicUrl(ref) {
10245
+ return "url" in ref && !ref.url.startsWith("data:");
10246
+ }
10247
+ function imageAndAudio(req, audioSeconds) {
10114
10248
  const frames = noFrames(req);
10115
10249
  if (frames !== void 0) return frames;
10116
10250
  if (count(req.referenceVideos) > 0) return unsupported2("takes no reference videos");
@@ -10122,16 +10256,22 @@ function omnihuman(req) {
10122
10256
  if (extraImages.length > 0 || extraAudios.length > 0) {
10123
10257
  return unsupported2("takes exactly one image and one audio clip");
10124
10258
  }
10125
- return inputSeconds("audio", audio, OMNIHUMAN_AUDIO_SECONDS);
10259
+ if (audioSeconds.urlOnly === true && !(isPublicUrl(image) && isPublicUrl(audio))) {
10260
+ return unsupported2("takes its image and audio as public URLs, not inline bytes");
10261
+ }
10262
+ return inputSeconds("audio", audio, audioSeconds);
10126
10263
  }
10127
- var RULES = /* @__PURE__ */ new Map([
10264
+ var RULES = new Map([
10128
10265
  [MOTION_PRO, motionControl],
10129
10266
  [MOTION_STANDARD, motionControl],
10130
10267
  [O3_REFERENCE, o3Reference],
10131
10268
  [KLING_O3_OMNI, o3Reference],
10132
10269
  [O3_EDIT, (req) => needsSource(req) ?? needsPrompt(req)],
10133
10270
  [KLING_V4, klingV4],
10134
- [KLING_V4_EDIT, (req) => needsSource(req) ?? needsPrompt(req)],
10271
+ [
10272
+ KLING_V4_EDIT,
10273
+ (req) => needsSource(req) ?? klingV4FourK(req.durationSeconds ?? req.sourceVideo?.durationSeconds, req) ?? needsPrompt(req)
10274
+ ],
10135
10275
  [KLING_V4_FLASH, klingV4Flash],
10136
10276
  [KLING_V4_FLASH_EDIT, (req) => needsSource(req) ?? needsPrompt(req)],
10137
10277
  [H3_TURBO, h3Turbo],
@@ -10141,7 +10281,10 @@ var RULES = /* @__PURE__ */ new Map([
10141
10281
  [HAPPY_HORSE, happyHorse],
10142
10282
  [HAPPY_HORSE_EDIT, happyHorseEdit],
10143
10283
  [VIDU_Q4, viduQ4],
10144
- [OMNIHUMAN_V2, omnihuman]
10284
+ [OMNIHUMAN_V2, (req) => imageAndAudio(req, OMNIHUMAN_AUDIO_SECONDS)],
10285
+ ...AVATAR_AUDIO.map(
10286
+ ([id, limits]) => [id, (req) => imageAndAudio(req, limits)]
10287
+ )
10145
10288
  ]);
10146
10289
  function falVideoProblem(providerModelId, req) {
10147
10290
  return RULES.get(providerModelId.toLowerCase())?.(req);