@shop-os/modelkit 0.17.0 → 0.17.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 +7 -0
- package/dist/catalog.cjs +70 -0
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.js +70 -0
- package/dist/catalog.js.map +1 -1
- package/dist/index.cjs +70 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +70 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -593,6 +593,76 @@ var IMAGE_MODELS = [
|
|
|
593
593
|
logo: "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/1204b494-8962-4f7f-af5e-699a8bdc98e3_compressed.png"
|
|
594
594
|
}
|
|
595
595
|
},
|
|
596
|
+
{
|
|
597
|
+
// Same Images API surface as gpt-image-2.5 (live-checked 2026-11-05; 2.6 also takes a `complexity` field the kit does not send).
|
|
598
|
+
id: "gpt-image-2.6-sunburst",
|
|
599
|
+
aliases: [],
|
|
600
|
+
label: "GPT Image 2.6 Sunburst",
|
|
601
|
+
type: "image",
|
|
602
|
+
adapter: "openai-image",
|
|
603
|
+
providerModelId: "gpt-image-2.6-sunburst",
|
|
604
|
+
lifecycle: "active",
|
|
605
|
+
exposure: ["cowork", "space_builder"],
|
|
606
|
+
constraints: {
|
|
607
|
+
exactSizes: {
|
|
608
|
+
"1:1": "1024x1024",
|
|
609
|
+
"3:2": "1536x1024",
|
|
610
|
+
"2:3": "1024x1536",
|
|
611
|
+
"16:9": "2048x1152",
|
|
612
|
+
"9:16": "1152x2048",
|
|
613
|
+
"4:5": "1024x1280",
|
|
614
|
+
"5:4": "1280x1024"
|
|
615
|
+
},
|
|
616
|
+
aspectRatios: ["1:1", "3:2", "2:3", "16:9", "9:16", "4:5", "5:4", "adaptive"],
|
|
617
|
+
sizes: ["1K", "2K", "4K"],
|
|
618
|
+
qualityOptions: ["auto", "low", "medium", "high", "xhigh", "max"],
|
|
619
|
+
references: { images: 16 },
|
|
620
|
+
supports: ["quality", "count", "outputFormat"],
|
|
621
|
+
prompt: GPT_IMAGE_PROMPT
|
|
622
|
+
},
|
|
623
|
+
defaults: { size: "1K", aspectRatio: "adaptive", quality: "auto" },
|
|
624
|
+
usage: { ...IMAGE_USAGE3 },
|
|
625
|
+
pricingKind: "image_size",
|
|
626
|
+
display: {
|
|
627
|
+
provider: "openai",
|
|
628
|
+
description: "OpenAI's most detailed GPT Image 2.6 tier, built for intricate detail and editing precision; takes text and image input and outputs images in low, medium, high, xhigh, or max quality."
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
// Same Images API surface as gpt-image-2.5 (live-checked 2026-11-05; 2.6 also takes a `complexity` field the kit does not send).
|
|
633
|
+
id: "gpt-image-2.6-flare",
|
|
634
|
+
aliases: [],
|
|
635
|
+
label: "GPT Image 2.6 Flare",
|
|
636
|
+
type: "image",
|
|
637
|
+
adapter: "openai-image",
|
|
638
|
+
providerModelId: "gpt-image-2.6-flare",
|
|
639
|
+
lifecycle: "active",
|
|
640
|
+
exposure: ["cowork", "space_builder"],
|
|
641
|
+
constraints: {
|
|
642
|
+
exactSizes: {
|
|
643
|
+
"1:1": "1024x1024",
|
|
644
|
+
"3:2": "1536x1024",
|
|
645
|
+
"2:3": "1024x1536",
|
|
646
|
+
"16:9": "2048x1152",
|
|
647
|
+
"9:16": "1152x2048",
|
|
648
|
+
"4:5": "1024x1280",
|
|
649
|
+
"5:4": "1280x1024"
|
|
650
|
+
},
|
|
651
|
+
aspectRatios: ["1:1", "3:2", "2:3", "16:9", "9:16", "4:5", "5:4", "adaptive"],
|
|
652
|
+
sizes: ["1K", "2K", "4K"],
|
|
653
|
+
qualityOptions: ["auto", "low", "medium", "high", "xhigh", "max"],
|
|
654
|
+
references: { images: 16 },
|
|
655
|
+
supports: ["quality", "count", "outputFormat"],
|
|
656
|
+
prompt: GPT_IMAGE_PROMPT
|
|
657
|
+
},
|
|
658
|
+
defaults: { size: "1K", aspectRatio: "adaptive", quality: "auto" },
|
|
659
|
+
usage: { ...IMAGE_USAGE3 },
|
|
660
|
+
pricingKind: "image_size",
|
|
661
|
+
display: {
|
|
662
|
+
provider: "openai",
|
|
663
|
+
description: "OpenAI's fast GPT Image 2.6 tier for everyday image generation and editing, with natural lighting, rich textures and complex layouts; takes text and image input and outputs images in low, medium, high, xhigh, or max quality."
|
|
664
|
+
}
|
|
665
|
+
},
|
|
596
666
|
{
|
|
597
667
|
// Same Images API surface as gpt-image-2 plus the "xhigh" and "max" quality tiers.
|
|
598
668
|
id: "gpt-image-2.5-sunburst",
|