@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.cjs CHANGED
@@ -704,7 +704,7 @@ var IMAGE_MODELS = [
704
704
  // Cowork "auto" lets OpenAI pick the size; the canonical equivalent is adaptive.
705
705
  id: "gpt-image-2",
706
706
  aliases: [],
707
- label: "GPT-image-2",
707
+ label: "GPT Image 2",
708
708
  type: "image",
709
709
  adapter: "openai-image",
710
710
  providerModelId: "gpt-image-2",
@@ -891,7 +891,7 @@ var IMAGE_MODELS = [
891
891
  display: {
892
892
  provider: "bytedance",
893
893
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
894
- 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."
894
+ 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."
895
895
  }
896
896
  },
897
897
  {
@@ -934,7 +934,7 @@ var IMAGE_MODELS = [
934
934
  {
935
935
  id: "flux-2-pro",
936
936
  aliases: [],
937
- label: "Flux 2 Pro",
937
+ label: "FLUX 2 Pro",
938
938
  type: "image",
939
939
  adapter: "prodia",
940
940
  providerModelId: "flux-2-pro",
@@ -955,7 +955,7 @@ var IMAGE_MODELS = [
955
955
  display: {
956
956
  provider: "black-forest-labs",
957
957
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/flux.png",
958
- 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."
958
+ 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."
959
959
  }
960
960
  },
961
961
  {
@@ -1015,7 +1015,7 @@ var IMAGE_MODELS = [
1015
1015
  // https://replicate.com/wan-video/wan-2.7-image-pro (input schema)
1016
1016
  id: "wan-2.7-image-pro",
1017
1017
  aliases: [],
1018
- label: "WAN 2.7 Image Pro",
1018
+ label: "Wan 2.7 Image Pro",
1019
1019
  type: "image",
1020
1020
  adapter: "replicate",
1021
1021
  providerModelId: "wan-video/wan-2.7-image-pro",
@@ -1339,7 +1339,7 @@ var SAM_3_IMAGE = {
1339
1339
  display: {
1340
1340
  provider: "meta",
1341
1341
  logo: META_LOGO,
1342
- description: "Meta SAM 3 on fal; finds every object a prompt names in one image and returns a black-and-white mask for each."
1342
+ description: "Meta SAM 3; finds every object a prompt names in one image and returns a black-and-white mask for each."
1343
1343
  }
1344
1344
  };
1345
1345
  var VEED_SUBTITLES = {
@@ -2181,7 +2181,7 @@ var FISH_MODELS = [
2181
2181
  "fish-s2.1-pro-free",
2182
2182
  "Fish Audio S2.1 Pro Free",
2183
2183
  "s2.1-pro-free",
2184
- "Fish Audio S2.1 Pro on the free developer tier: the same voices at no cost, without latency or data-processing guarantees."
2184
+ "Fish Audio S2.1 Pro text to speech, with the same voices as S2.1 Pro."
2185
2185
  ),
2186
2186
  fishTts(
2187
2187
  "fish-drama-3",
@@ -3919,7 +3919,7 @@ var MEDIA_NODE_MODELS = [
3919
3919
  formats: false,
3920
3920
  // fal's schema states no limit; ElevenLabs documents 10,000 characters per request.
3921
3921
  maxChars: 1e4,
3922
- description: "ElevenLabs Multilingual v2 text to speech in 29 languages; the voice the canvas TTS node has always used."
3922
+ description: "ElevenLabs Multilingual v2 text to speech in 29 languages."
3923
3923
  }),
3924
3924
  geminiTts(
3925
3925
  "gemini-3.8-flash-tts",
@@ -4015,7 +4015,7 @@ var MEDIA_NODE_MODELS = [
4015
4015
  "Sync Lipsync 2",
4016
4016
  "fal-ai/sync-lipsync/v2",
4017
4017
  "lipsync-2",
4018
- "Sync Lipsync 2 re-times the mouth in a video to new speech; the canvas Lipsync node's original model."
4018
+ "Sync Lipsync 2 re-times the mouth in a video to new speech."
4019
4019
  ),
4020
4020
  syncLipsync(
4021
4021
  "lipsync-2-pro",
@@ -4053,7 +4053,7 @@ var MEDIA_NODE_MODELS = [
4053
4053
  display: {
4054
4054
  provider: "veed",
4055
4055
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/d540d2bb-0022-4371-8889-48aefaf46bbe.png",
4056
- description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track; billed per second of output."
4056
+ description: "VEED Lipsync v2 re-times the mouth in a video to a new audio track."
4057
4057
  },
4058
4058
  capabilities: { acceptsSourceVideo: true }
4059
4059
  },
@@ -4398,7 +4398,7 @@ var OTHER_MODELS = [
4398
4398
  pricingKind: "flat",
4399
4399
  display: {
4400
4400
  provider: "mmaudio",
4401
- description: "MMAudio V2 video-to-audio model on Replicate; takes a source video and prompt and synthesizes synchronized environmental, action, and speech-like audio."
4401
+ description: "MMAudio V2 video-to-audio model; takes a source video and a prompt and synthesizes synchronized environmental, action, and speech-like audio."
4402
4402
  },
4403
4403
  capabilities: {}
4404
4404
  },
@@ -4608,7 +4608,7 @@ var OTHER_MODELS = [
4608
4608
  display: {
4609
4609
  provider: "topaz",
4610
4610
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/topazlabs.png",
4611
- 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."
4611
+ description: "Topaz Labs AI image upscaling; takes one input image and upscales up to 6x with selectable enhancement models and optional face enhancement."
4612
4612
  }
4613
4613
  },
4614
4614
  {
@@ -4634,7 +4634,7 @@ var OTHER_MODELS = [
4634
4634
  display: {
4635
4635
  provider: "bytedance",
4636
4636
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png",
4637
- 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."
4637
+ description: "ByteDance SeedVR2 one-step image upscaling and restoration; takes one input image and upscales it 2x or 4x with sharp, faithful detail."
4638
4638
  }
4639
4639
  },
4640
4640
  {
@@ -4658,7 +4658,7 @@ var OTHER_MODELS = [
4658
4658
  pricingKind: "flat",
4659
4659
  display: {
4660
4660
  provider: "prodia",
4661
- description: "Prodia background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4661
+ description: "Background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4662
4662
  }
4663
4663
  }
4664
4664
  ];
@@ -5357,7 +5357,7 @@ var VIDEO_FAMILY_MODELS = [
5357
5357
  display: {
5358
5358
  provider: "kuaishou",
5359
5359
  logo: KLING_LOGO,
5360
- 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."
5360
+ 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."
5361
5361
  },
5362
5362
  capabilities: { lastFrameRequiresFirstFrame: true }
5363
5363
  },
@@ -5702,7 +5702,7 @@ var VIDEO_FAMILY_MODELS = [
5702
5702
  display: {
5703
5703
  provider: "xai",
5704
5704
  logo: XAI_LOGO,
5705
- 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."
5705
+ 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."
5706
5706
  },
5707
5707
  capabilities: {}
5708
5708
  }
@@ -6059,7 +6059,7 @@ var VIDEO_MODELS = [
6059
6059
  pricingKind: "video_per_second",
6060
6060
  display: {
6061
6061
  provider: "bytedance",
6062
- description: "High-quality AI video generation with reference image conditioning. Supports 4-15 second clips with human preprocessing.",
6062
+ description: "High-quality ByteDance video generation guided by reference images, for clips up to 15 seconds.",
6063
6063
  logo: BYTEDANCE_LOGO2
6064
6064
  },
6065
6065
  capabilities: { acceptsSourceVideo: true, videoEdit: false, ...FRAMES_EXCLUDE_REFERENCES }
@@ -6183,7 +6183,7 @@ var VIDEO_MODELS = [
6183
6183
  pricingKind: "video_per_second",
6184
6184
  display: {
6185
6185
  provider: "xai",
6186
- description: "xAI's reference-to-video model. Generates short clips conditioned on up to 5 reference images with flexible aspect ratios.",
6186
+ description: "xAI's reference-to-video model. Generates short clips conditioned on up to 7 reference images with flexible aspect ratios.",
6187
6187
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/858b7fcc-9bd5-411d-aea1-a7b35ecfffab_compressed.png"
6188
6188
  },
6189
6189
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
@@ -6267,7 +6267,7 @@ var VIDEO_MODELS = [
6267
6267
  exposure: ["cowork", "space_builder"],
6268
6268
  constraints: {
6269
6269
  aspectRatios: [...KLING_OMNI_RATIOS],
6270
- resolutions: ["720p", "1080p", "4k"],
6270
+ resolutions: ["720p", "1080p"],
6271
6271
  durations: { min: 3, max: 15 },
6272
6272
  references: { images: 7, videos: 0, audios: 0 },
6273
6273
  supports: ["generateAudio", "lastFrame"],
@@ -6280,7 +6280,7 @@ var VIDEO_MODELS = [
6280
6280
  display: {
6281
6281
  provider: "kuaishou",
6282
6282
  logo: "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/kling-color.png",
6283
- 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."
6283
+ 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."
6284
6284
  }
6285
6285
  // No lastFrameRequiresFirstFrame: fal image-to-video needs a start frame, so the adapter
6286
6286
  // sends a lone end frame as the start frame, as the Replicate model took it.
@@ -6315,7 +6315,7 @@ var VIDEO_MODELS = [
6315
6315
  display: {
6316
6316
  provider: "minimax",
6317
6317
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6318
- 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."
6318
+ 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."
6319
6319
  },
6320
6320
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES }
6321
6321
  },
@@ -6435,7 +6435,7 @@ var VIDEO_MODELS = [
6435
6435
  display: {
6436
6436
  provider: "minimax",
6437
6437
  logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png",
6438
- 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."
6438
+ description: "MiniMax H3 Max reference-to-video; conditions on reference images, videos, and audio."
6439
6439
  },
6440
6440
  // fal's reference-to-video endpoint never reads a frame; the resolver must drop the
6441
6441
  // references instead of the adapter silently dropping the frame.
@@ -6479,7 +6479,7 @@ var VIDEO_MODELS = [
6479
6479
  pricingKind: "video_per_second",
6480
6480
  display: {
6481
6481
  provider: "alibaba",
6482
- 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."
6482
+ 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."
6483
6483
  },
6484
6484
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6485
6485
  },
@@ -6521,7 +6521,7 @@ var VIDEO_MODELS = [
6521
6521
  pricingKind: "video_per_second",
6522
6522
  display: {
6523
6523
  provider: "alibaba",
6524
- 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."
6524
+ 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."
6525
6525
  },
6526
6526
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
6527
6527
  },