@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/dist/index.js CHANGED
@@ -561,7 +561,7 @@ var IMAGE_MODELS = [
561
561
  // Cowork "auto" lets OpenAI pick the size; the canonical equivalent is adaptive.
562
562
  id: "gpt-image-2",
563
563
  aliases: [],
564
- label: "GPT-image-2",
564
+ label: "GPT Image 2",
565
565
  type: "image",
566
566
  adapter: "openai-image",
567
567
  providerModelId: "gpt-image-2",
@@ -748,7 +748,7 @@ var IMAGE_MODELS = [
748
748
  display: {
749
749
  provider: "bytedance",
750
750
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
751
- 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."
751
+ 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."
752
752
  }
753
753
  },
754
754
  {
@@ -791,7 +791,7 @@ var IMAGE_MODELS = [
791
791
  {
792
792
  id: "flux-2-pro",
793
793
  aliases: [],
794
- label: "Flux 2 Pro",
794
+ label: "FLUX 2 Pro",
795
795
  type: "image",
796
796
  adapter: "prodia",
797
797
  providerModelId: "flux-2-pro",
@@ -812,7 +812,7 @@ var IMAGE_MODELS = [
812
812
  display: {
813
813
  provider: "black-forest-labs",
814
814
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/flux.png",
815
- 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."
815
+ 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."
816
816
  }
817
817
  },
818
818
  {
@@ -872,7 +872,7 @@ var IMAGE_MODELS = [
872
872
  // https://replicate.com/wan-video/wan-2.7-image-pro (input schema)
873
873
  id: "wan-2.7-image-pro",
874
874
  aliases: [],
875
- label: "WAN 2.7 Image Pro",
875
+ label: "Wan 2.7 Image Pro",
876
876
  type: "image",
877
877
  adapter: "replicate",
878
878
  providerModelId: "wan-video/wan-2.7-image-pro",
@@ -1196,7 +1196,7 @@ var SAM_3_IMAGE = {
1196
1196
  display: {
1197
1197
  provider: "meta",
1198
1198
  logo: META_LOGO,
1199
- description: "Meta SAM 3 on fal; finds every object a prompt names in one image and returns a black-and-white mask for each."
1199
+ description: "Meta SAM 3; finds every object a prompt names in one image and returns a black-and-white mask for each."
1200
1200
  }
1201
1201
  };
1202
1202
  var VEED_SUBTITLES = {
@@ -2038,7 +2038,7 @@ var FISH_MODELS = [
2038
2038
  "fish-s2.1-pro-free",
2039
2039
  "Fish Audio S2.1 Pro Free",
2040
2040
  "s2.1-pro-free",
2041
- "Fish Audio S2.1 Pro on the free developer tier: the same voices at no cost, without latency or data-processing guarantees."
2041
+ "Fish Audio S2.1 Pro text to speech, with the same voices as S2.1 Pro."
2042
2042
  ),
2043
2043
  fishTts(
2044
2044
  "fish-drama-3",
@@ -3776,7 +3776,7 @@ var MEDIA_NODE_MODELS = [
3776
3776
  formats: false,
3777
3777
  // fal's schema states no limit; ElevenLabs documents 10,000 characters per request.
3778
3778
  maxChars: 1e4,
3779
- description: "ElevenLabs Multilingual v2 text to speech in 29 languages; the voice the canvas TTS node has always used."
3779
+ description: "ElevenLabs Multilingual v2 text to speech in 29 languages."
3780
3780
  }),
3781
3781
  geminiTts(
3782
3782
  "gemini-3.8-flash-tts",
@@ -3872,7 +3872,7 @@ var MEDIA_NODE_MODELS = [
3872
3872
  "Sync Lipsync 2",
3873
3873
  "fal-ai/sync-lipsync/v2",
3874
3874
  "lipsync-2",
3875
- "Sync Lipsync 2 re-times the mouth in a video to new speech; the canvas Lipsync node's original model."
3875
+ "Sync Lipsync 2 re-times the mouth in a video to new speech."
3876
3876
  ),
3877
3877
  syncLipsync(
3878
3878
  "lipsync-2-pro",
@@ -3910,7 +3910,7 @@ var MEDIA_NODE_MODELS = [
3910
3910
  display: {
3911
3911
  provider: "veed",
3912
3912
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/d540d2bb-0022-4371-8889-48aefaf46bbe.png",
3913
- description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track; billed per second of output."
3913
+ description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track."
3914
3914
  },
3915
3915
  capabilities: { acceptsSourceVideo: true }
3916
3916
  },
@@ -4255,7 +4255,7 @@ var OTHER_MODELS = [
4255
4255
  pricingKind: "flat",
4256
4256
  display: {
4257
4257
  provider: "mmaudio",
4258
- description: "MMAudio V2 video-to-audio model on Replicate; takes a source video and prompt and synthesizes synchronized environmental, action, and speech-like audio."
4258
+ description: "MMAudio V2 video-to-audio model; takes a source video and a prompt and synthesizes synchronized environmental, action, and speech-like audio."
4259
4259
  },
4260
4260
  capabilities: {}
4261
4261
  },
@@ -4465,7 +4465,7 @@ var OTHER_MODELS = [
4465
4465
  display: {
4466
4466
  provider: "topaz",
4467
4467
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/topazlabs.png",
4468
- 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."
4468
+ description: "Topaz Labs AI image upscaling; takes one input image and upscales up to 6x with selectable enhancement models and optional face enhancement."
4469
4469
  }
4470
4470
  },
4471
4471
  {
@@ -4491,7 +4491,7 @@ var OTHER_MODELS = [
4491
4491
  display: {
4492
4492
  provider: "bytedance",
4493
4493
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
4494
- 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."
4494
+ description: "ByteDance SeedVR2 one-step image upscaling and restoration; takes one input image and upscales it 2x or 4x with sharp, faithful detail."
4495
4495
  }
4496
4496
  },
4497
4497
  {
@@ -4515,7 +4515,7 @@ var OTHER_MODELS = [
4515
4515
  pricingKind: "flat",
4516
4516
  display: {
4517
4517
  provider: "prodia",
4518
- description: "Prodia background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4518
+ description: "Background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4519
4519
  }
4520
4520
  }
4521
4521
  ];
@@ -5214,7 +5214,7 @@ var VIDEO_FAMILY_MODELS = [
5214
5214
  display: {
5215
5215
  provider: "kuaishou",
5216
5216
  logo: KLING_LOGO,
5217
- 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."
5217
+ 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."
5218
5218
  },
5219
5219
  capabilities: { lastFrameRequiresFirstFrame: true }
5220
5220
  },
@@ -5559,7 +5559,7 @@ var VIDEO_FAMILY_MODELS = [
5559
5559
  display: {
5560
5560
  provider: "xai",
5561
5561
  logo: XAI_LOGO,
5562
- 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."
5562
+ 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."
5563
5563
  },
5564
5564
  capabilities: {}
5565
5565
  }
@@ -5916,7 +5916,7 @@ var VIDEO_MODELS = [
5916
5916
  pricingKind: "video_per_second",
5917
5917
  display: {
5918
5918
  provider: "bytedance",
5919
- description: "High-quality AI video generation with reference image conditioning. Supports 4-15 second clips with human preprocessing.",
5919
+ description: "High-quality ByteDance video generation guided by reference images, for clips up to 15 seconds.",
5920
5920
  logo: BYTEDANCE_LOGO2
5921
5921
  },
5922
5922
  capabilities: { acceptsSourceVideo: true, videoEdit: false, ...FRAMES_EXCLUDE_REFERENCES }
@@ -6040,7 +6040,7 @@ var VIDEO_MODELS = [
6040
6040
  pricingKind: "video_per_second",
6041
6041
  display: {
6042
6042
  provider: "xai",
6043
- description: "xAI's reference-to-video model. Generates short clips conditioned on up to 5 reference images with flexible aspect ratios.",
6043
+ description: "xAI's reference-to-video model. Generates short clips conditioned on up to 7 reference images with flexible aspect ratios.",
6044
6044
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/858b7fcc-9bd5-411d-aea1-a7b35ecfffab_compressed.png"
6045
6045
  },
6046
6046
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
@@ -6124,7 +6124,7 @@ var VIDEO_MODELS = [
6124
6124
  exposure: ["cowork", "space_builder"],
6125
6125
  constraints: {
6126
6126
  aspectRatios: [...KLING_OMNI_RATIOS],
6127
- resolutions: ["720p", "1080p", "4k"],
6127
+ resolutions: ["720p", "1080p"],
6128
6128
  durations: { min: 3, max: 15 },
6129
6129
  references: { images: 7, videos: 0, audios: 0 },
6130
6130
  supports: ["generateAudio", "lastFrame"],
@@ -6137,7 +6137,7 @@ var VIDEO_MODELS = [
6137
6137
  display: {
6138
6138
  provider: "kuaishou",
6139
6139
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/kling-color.png",
6140
- 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."
6140
+ 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."
6141
6141
  }
6142
6142
  // No lastFrameRequiresFirstFrame: fal image-to-video needs a start frame, so the adapter
6143
6143
  // sends a lone end frame as the start frame, as the Replicate model took it.
@@ -6172,7 +6172,7 @@ var VIDEO_MODELS = [
6172
6172
  display: {
6173
6173
  provider: "minimax",
6174
6174
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6175
- 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."
6175
+ 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."
6176
6176
  },
6177
6177
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
6178
6178
  },
@@ -6292,7 +6292,7 @@ var VIDEO_MODELS = [
6292
6292
  display: {
6293
6293
  provider: "minimax",
6294
6294
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6295
- 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."
6295
+ description: "MiniMax H3 Max reference-to-video; conditions on reference images, videos, and audio."
6296
6296
  },
6297
6297
  // fal's reference-to-video endpoint never reads a frame; the resolver must drop the
6298
6298
  // references instead of the adapter silently dropping the frame.
@@ -6336,7 +6336,7 @@ var VIDEO_MODELS = [
6336
6336
  pricingKind: "video_per_second",
6337
6337
  display: {
6338
6338
  provider: "alibaba",
6339
- 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."
6339
+ 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."
6340
6340
  },
6341
6341
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6342
6342
  },
@@ -6378,7 +6378,7 @@ var VIDEO_MODELS = [
6378
6378
  pricingKind: "video_per_second",
6379
6379
  display: {
6380
6380
  provider: "alibaba",
6381
- 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."
6381
+ 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."
6382
6382
  },
6383
6383
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6384
6384
  },