@shop-os/modelkit 0.15.0 → 0.15.1

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,19 @@ header in the release PR.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.15.1] - Unreleased
13
+
14
+ Model names and descriptions now match what each row offers (ENG-3364). The stored `model_catalog` rows are seeded once and never updated, so each environment needs the same edits in pro-admin; the PR lists them.
15
+
16
+ ### Changed
17
+ - Labels use one style, short names with consistent casing: `gpt-image-2` "GPT-image-2" is now "GPT Image 2", `flux-2-pro` "Flux 2 Pro" is now "FLUX 2 Pro" (like the FLUX 3 rows), `wan-2.7-image-pro` "WAN 2.7 Image Pro" is now "Wan 2.7 Image Pro" (like Wan 3).
18
+ - `kling-v3-omni-video` no longer offers `4k` (`resolutions` is `720p`, `1080p`), matching the stored rows; its description says up to 1080p. The fal adapter still maps the 4k tier.
19
+
20
+ ### Fixed
21
+ - Descriptions that contradicted their row's limits: `flux-2-pro` said up to 4096x4096 (it offers 1K), `grok-imagine` said 5 reference images (it takes 7, the cap xAI documents for `grok-imagine-video`), `minimax-h3` said up to 2K (it offers 4K), `seedream-5-0-pro` listed a 1.5K size it does not offer.
22
+ - Descriptions of rows with duration presets give the longest clip instead of a range, since Creative Studio offers the presets and the canvas offers the range: `wan-3.0`, `wan-3.0-prime`, `kling-4.0`, `grok-imagine-1.5`, `seedance-2.0`.
23
+ - Descriptions no longer name the serving provider or carry internal notes, matching the public text already in the stored rows: `bg-remove`, `elevenlabs-multilingual-v2`, `fish-s2.1-pro-free`, `minimax-h3-max-reference`, `mmaudio`, `sam-3-image`, `seedvr2-upscale`, `lipsync-2`, `topaz`, `veed-lipsync-v2`.
24
+
12
25
  ## [0.15.0] - Unreleased
13
26
 
14
27
  Reference and source videos have a minimum frame size, checked before the provider call (ENG-3453).
package/dist/catalog.cjs CHANGED
@@ -636,7 +636,7 @@ var IMAGE_MODELS = [
636
636
  // Cowork "auto" lets OpenAI pick the size; the canonical equivalent is adaptive.
637
637
  id: "gpt-image-2",
638
638
  aliases: [],
639
- label: "GPT-image-2",
639
+ label: "GPT Image 2",
640
640
  type: "image",
641
641
  adapter: "openai-image",
642
642
  providerModelId: "gpt-image-2",
@@ -823,7 +823,7 @@ var IMAGE_MODELS = [
823
823
  display: {
824
824
  provider: "bytedance",
825
825
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
826
- description: "ByteDance Seedream 5.0 Pro text-to-image and multi-reference image-to-image (up to 10 inputs) with region editing; outputs 1K, 1.5K, or 2K."
826
+ description: "ByteDance Seedream 5.0 Pro text-to-image and multi-reference image-to-image (up to 10 inputs) with region editing; outputs 1K or 2K."
827
827
  }
828
828
  },
829
829
  {
@@ -866,7 +866,7 @@ var IMAGE_MODELS = [
866
866
  {
867
867
  id: "flux-2-pro",
868
868
  aliases: [],
869
- label: "Flux 2 Pro",
869
+ label: "FLUX 2 Pro",
870
870
  type: "image",
871
871
  adapter: "prodia",
872
872
  providerModelId: "flux-2-pro",
@@ -887,7 +887,7 @@ var IMAGE_MODELS = [
887
887
  display: {
888
888
  provider: "black-forest-labs",
889
889
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/flux.png",
890
- description: "Black Forest Labs FLUX.2 [pro] text-to-image and multi-reference editing model served via Prodia; takes a prompt and up to 8 input images and outputs up to 4096x4096."
890
+ description: "Black Forest Labs FLUX.2 [pro] text-to-image and multi-reference editing model; takes a prompt and up to 8 input images and outputs 1K images."
891
891
  }
892
892
  },
893
893
  {
@@ -947,7 +947,7 @@ var IMAGE_MODELS = [
947
947
  // https://replicate.com/wan-video/wan-2.7-image-pro (input schema)
948
948
  id: "wan-2.7-image-pro",
949
949
  aliases: [],
950
- label: "WAN 2.7 Image Pro",
950
+ label: "Wan 2.7 Image Pro",
951
951
  type: "image",
952
952
  adapter: "replicate",
953
953
  providerModelId: "wan-video/wan-2.7-image-pro",
@@ -1271,7 +1271,7 @@ var SAM_3_IMAGE = {
1271
1271
  display: {
1272
1272
  provider: "meta",
1273
1273
  logo: META_LOGO,
1274
- description: "Meta SAM 3 on fal; finds every object a prompt names in one image and returns a black-and-white mask for each."
1274
+ description: "Meta SAM 3; finds every object a prompt names in one image and returns a black-and-white mask for each."
1275
1275
  }
1276
1276
  };
1277
1277
  var VEED_SUBTITLES = {
@@ -2113,7 +2113,7 @@ var FISH_MODELS = [
2113
2113
  "fish-s2.1-pro-free",
2114
2114
  "Fish Audio S2.1 Pro Free",
2115
2115
  "s2.1-pro-free",
2116
- "Fish Audio S2.1 Pro on the free developer tier: the same voices at no cost, without latency or data-processing guarantees."
2116
+ "Fish Audio S2.1 Pro text to speech, with the same voices as S2.1 Pro."
2117
2117
  ),
2118
2118
  fishTts(
2119
2119
  "fish-drama-3",
@@ -3851,7 +3851,7 @@ var MEDIA_NODE_MODELS = [
3851
3851
  formats: false,
3852
3852
  // fal's schema states no limit; ElevenLabs documents 10,000 characters per request.
3853
3853
  maxChars: 1e4,
3854
- description: "ElevenLabs Multilingual v2 text to speech in 29 languages; the voice the canvas TTS node has always used."
3854
+ description: "ElevenLabs Multilingual v2 text to speech in 29 languages."
3855
3855
  }),
3856
3856
  geminiTts(
3857
3857
  "gemini-3.8-flash-tts",
@@ -3947,7 +3947,7 @@ var MEDIA_NODE_MODELS = [
3947
3947
  "Sync Lipsync 2",
3948
3948
  "fal-ai/sync-lipsync/v2",
3949
3949
  "lipsync-2",
3950
- "Sync Lipsync 2 re-times the mouth in a video to new speech; the canvas Lipsync node's original model."
3950
+ "Sync Lipsync 2 re-times the mouth in a video to new speech."
3951
3951
  ),
3952
3952
  syncLipsync(
3953
3953
  "lipsync-2-pro",
@@ -3985,7 +3985,7 @@ var MEDIA_NODE_MODELS = [
3985
3985
  display: {
3986
3986
  provider: "veed",
3987
3987
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/d540d2bb-0022-4371-8889-48aefaf46bbe.png",
3988
- description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track; billed per second of output."
3988
+ description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track."
3989
3989
  },
3990
3990
  capabilities: { acceptsSourceVideo: true }
3991
3991
  },
@@ -4330,7 +4330,7 @@ var OTHER_MODELS = [
4330
4330
  pricingKind: "flat",
4331
4331
  display: {
4332
4332
  provider: "mmaudio",
4333
- description: "MMAudio V2 video-to-audio model on Replicate; takes a source video and prompt and synthesizes synchronized environmental, action, and speech-like audio."
4333
+ description: "MMAudio V2 video-to-audio model; takes a source video and a prompt and synthesizes synchronized environmental, action, and speech-like audio."
4334
4334
  },
4335
4335
  capabilities: {}
4336
4336
  },
@@ -4540,7 +4540,7 @@ var OTHER_MODELS = [
4540
4540
  display: {
4541
4541
  provider: "topaz",
4542
4542
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/topazlabs.png",
4543
- description: "Topaz Labs AI image upscaling on Replicate; takes one input image and upscales up to 6x with selectable enhancement models and optional face enhancement."
4543
+ description: "Topaz Labs AI image upscaling; takes one input image and upscales up to 6x with selectable enhancement models and optional face enhancement."
4544
4544
  }
4545
4545
  },
4546
4546
  {
@@ -4566,7 +4566,7 @@ var OTHER_MODELS = [
4566
4566
  display: {
4567
4567
  provider: "bytedance",
4568
4568
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
4569
- description: "ByteDance SeedVR2 one-step image upscaling and restoration on fal; takes one input image and upscales it 2x or 4x with sharp, faithful detail."
4569
+ description: "ByteDance SeedVR2 one-step image upscaling and restoration; takes one input image and upscales it 2x or 4x with sharp, faithful detail."
4570
4570
  }
4571
4571
  },
4572
4572
  {
@@ -4590,7 +4590,7 @@ var OTHER_MODELS = [
4590
4590
  pricingKind: "flat",
4591
4591
  display: {
4592
4592
  provider: "prodia",
4593
- description: "Prodia background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4593
+ description: "Background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4594
4594
  }
4595
4595
  }
4596
4596
  ];
@@ -5289,7 +5289,7 @@ var VIDEO_FAMILY_MODELS = [
5289
5289
  display: {
5290
5290
  provider: "kuaishou",
5291
5291
  logo: KLING_LOGO,
5292
- 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), 3-30 seconds at 720p or 1080p. Prompts name references @Image1, @Video1."
5292
+ 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."
5293
5293
  },
5294
5294
  capabilities: { lastFrameRequiresFirstFrame: true }
5295
5295
  },
@@ -5634,7 +5634,7 @@ var VIDEO_FAMILY_MODELS = [
5634
5634
  display: {
5635
5635
  provider: "xai",
5636
5636
  logo: XAI_LOGO,
5637
- description: "xAI Grok Imagine 1.5: text- and image-to-video at native 1080p with lip-synced audio, or up to 14 reference images and pinned first and last frames at 720p, 1-15 seconds."
5637
+ description: "xAI Grok Imagine 1.5: text- and image-to-video at native 1080p with lip-synced audio, or up to 14 reference images and pinned first and last frames at 720p, up to 15 seconds."
5638
5638
  },
5639
5639
  capabilities: {}
5640
5640
  }
@@ -5991,7 +5991,7 @@ var VIDEO_MODELS = [
5991
5991
  pricingKind: "video_per_second",
5992
5992
  display: {
5993
5993
  provider: "bytedance",
5994
- description: "High-quality AI video generation with reference image conditioning. Supports 4-15 second clips with human preprocessing.",
5994
+ description: "High-quality ByteDance video generation guided by reference images, for clips up to 15 seconds.",
5995
5995
  logo: BYTEDANCE_LOGO2
5996
5996
  },
5997
5997
  capabilities: { acceptsSourceVideo: true, videoEdit: false, ...FRAMES_EXCLUDE_REFERENCES }
@@ -6115,7 +6115,7 @@ var VIDEO_MODELS = [
6115
6115
  pricingKind: "video_per_second",
6116
6116
  display: {
6117
6117
  provider: "xai",
6118
- description: "xAI's reference-to-video model. Generates short clips conditioned on up to 5 reference images with flexible aspect ratios.",
6118
+ description: "xAI's reference-to-video model. Generates short clips conditioned on up to 7 reference images with flexible aspect ratios.",
6119
6119
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/858b7fcc-9bd5-411d-aea1-a7b35ecfffab_compressed.png"
6120
6120
  },
6121
6121
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
@@ -6199,7 +6199,7 @@ var VIDEO_MODELS = [
6199
6199
  exposure: ["cowork", "space_builder"],
6200
6200
  constraints: {
6201
6201
  aspectRatios: [...KLING_OMNI_RATIOS],
6202
- resolutions: ["720p", "1080p", "4k"],
6202
+ resolutions: ["720p", "1080p"],
6203
6203
  durations: { min: 3, max: 15 },
6204
6204
  references: { images: 7, videos: 0, audios: 0 },
6205
6205
  supports: ["generateAudio", "lastFrame"],
@@ -6212,7 +6212,7 @@ var VIDEO_MODELS = [
6212
6212
  display: {
6213
6213
  provider: "kuaishou",
6214
6214
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/kling-color.png",
6215
- description: "Kuaishou Kling Video 3.0 Omni generation from text, start/end images and up to 7 reference images, with optional native audio; up to 15 seconds at up to 4K."
6215
+ description: "Kuaishou Kling Video 3.0 Omni generation from text, start/end images and up to 7 reference images, with optional native audio; up to 15 seconds at up to 1080p."
6216
6216
  }
6217
6217
  // No lastFrameRequiresFirstFrame: fal image-to-video needs a start frame, so the adapter
6218
6218
  // sends a lone end frame as the start frame, as the Replicate model took it.
@@ -6247,7 +6247,7 @@ var VIDEO_MODELS = [
6247
6247
  display: {
6248
6248
  provider: "minimax",
6249
6249
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6250
- description: "MiniMax H3 multimodal video model for text-to-video, image-to-video (first/last frame), and reference-to-video with native audio, up to 2K."
6250
+ description: "MiniMax H3 multimodal video model for text-to-video, image-to-video (first/last frame), and reference-to-video with native audio, up to 4K."
6251
6251
  },
6252
6252
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
6253
6253
  },
@@ -6367,7 +6367,7 @@ var VIDEO_MODELS = [
6367
6367
  display: {
6368
6368
  provider: "minimax",
6369
6369
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6370
- description: "MiniMax H3 Max reference-to-video on fal; conditions on reference images, videos, and audio. MiniMax's own docs do not list a reference mode for H3 Max."
6370
+ description: "MiniMax H3 Max reference-to-video; conditions on reference images, videos, and audio."
6371
6371
  },
6372
6372
  // fal's reference-to-video endpoint never reads a frame; the resolver must drop the
6373
6373
  // references instead of the adapter silently dropping the frame.
@@ -6411,7 +6411,7 @@ var VIDEO_MODELS = [
6411
6411
  pricingKind: "video_per_second",
6412
6412
  display: {
6413
6413
  provider: "alibaba",
6414
- description: "Alibaba Wan 3 video model for text-to-video, image-to-video (start/end frame), and reference-to-video from up to 10 images, 5 videos and 5 audio clips, with native audio; 2-30 seconds at up to 1080p."
6414
+ description: "Alibaba Wan 3 video model for text-to-video, image-to-video (start/end frame), and reference-to-video from up to 10 images, 5 videos and 5 audio clips, with native audio; up to 30 seconds at up to 1080p."
6415
6415
  },
6416
6416
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6417
6417
  },
@@ -6453,7 +6453,7 @@ var VIDEO_MODELS = [
6453
6453
  pricingKind: "video_per_second",
6454
6454
  display: {
6455
6455
  provider: "alibaba",
6456
- description: "Alibaba Wan 3 Prime, the faster-generating tier of Wan 3, for text-to-video, image-to-video (start/end frame), and reference-to-video from up to 10 images, 5 videos and 5 audio clips, with native audio; 2-30 seconds at up to 1080p."
6456
+ description: "Alibaba Wan 3 Prime, the faster-generating tier of Wan 3, for text-to-video, image-to-video (start/end frame), and reference-to-video from up to 10 images, 5 videos and 5 audio clips, with native audio; up to 30 seconds at up to 1080p."
6457
6457
  },
6458
6458
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6459
6459
  },