@cherrystudio/provider-registry 0.3.0 → 0.3.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.
@@ -16435,6 +16435,191 @@
16435
16435
  },
16436
16436
  "providerId": "gateway"
16437
16437
  },
16438
+ {
16439
+ "endpointTypes": ["openai-image-generation"],
16440
+ "imageGeneration": {
16441
+ "modes": {
16442
+ "edit": {
16443
+ "maxInputImages": 3,
16444
+ "supports": {
16445
+ "aspectRatio": {
16446
+ "default": "auto",
16447
+ "options": [
16448
+ "1:1",
16449
+ "3:4",
16450
+ "4:3",
16451
+ "9:16",
16452
+ "16:9",
16453
+ "2:3",
16454
+ "3:2",
16455
+ "9:19.5",
16456
+ "19.5:9",
16457
+ "9:20",
16458
+ "20:9",
16459
+ "1:2",
16460
+ "2:1",
16461
+ "auto"
16462
+ ],
16463
+ "render": "chips",
16464
+ "type": "enum"
16465
+ }
16466
+ }
16467
+ },
16468
+ "generate": {
16469
+ "supports": {
16470
+ "aspectRatio": {
16471
+ "default": "auto",
16472
+ "options": [
16473
+ "1:1",
16474
+ "3:4",
16475
+ "4:3",
16476
+ "9:16",
16477
+ "16:9",
16478
+ "2:3",
16479
+ "3:2",
16480
+ "9:19.5",
16481
+ "19.5:9",
16482
+ "9:20",
16483
+ "20:9",
16484
+ "1:2",
16485
+ "2:1",
16486
+ "auto"
16487
+ ],
16488
+ "render": "chips",
16489
+ "type": "enum"
16490
+ }
16491
+ }
16492
+ }
16493
+ }
16494
+ },
16495
+ "modelId": "grok-imagine-image",
16496
+ "providerId": "grok"
16497
+ },
16498
+ {
16499
+ "apiModelId": "grok-imagine-image-2.0",
16500
+ "endpointTypes": ["openai-image-generation"],
16501
+ "imageGeneration": {
16502
+ "modes": {
16503
+ "edit": {
16504
+ "maxInputImages": 5,
16505
+ "supports": {
16506
+ "aspectRatio": {
16507
+ "default": "auto",
16508
+ "options": [
16509
+ "1:1",
16510
+ "16:9",
16511
+ "9:16",
16512
+ "4:3",
16513
+ "3:4",
16514
+ "3:2",
16515
+ "2:3",
16516
+ "2:1",
16517
+ "1:2",
16518
+ "19.5:9",
16519
+ "9:19.5",
16520
+ "20:9",
16521
+ "9:20",
16522
+ "21:9",
16523
+ "5:2",
16524
+ "auto"
16525
+ ],
16526
+ "render": "chips",
16527
+ "type": "enum"
16528
+ }
16529
+ }
16530
+ },
16531
+ "generate": {
16532
+ "supports": {
16533
+ "aspectRatio": {
16534
+ "default": "auto",
16535
+ "options": [
16536
+ "1:1",
16537
+ "16:9",
16538
+ "9:16",
16539
+ "4:3",
16540
+ "3:4",
16541
+ "3:2",
16542
+ "2:3",
16543
+ "2:1",
16544
+ "1:2",
16545
+ "19.5:9",
16546
+ "9:19.5",
16547
+ "20:9",
16548
+ "9:20",
16549
+ "21:9",
16550
+ "5:2",
16551
+ "auto"
16552
+ ],
16553
+ "render": "chips",
16554
+ "type": "enum"
16555
+ }
16556
+ }
16557
+ }
16558
+ }
16559
+ },
16560
+ "modelId": "grok-imagine-image-2-0",
16561
+ "providerId": "grok"
16562
+ },
16563
+ {
16564
+ "endpointTypes": ["openai-image-generation"],
16565
+ "imageGeneration": {
16566
+ "modes": {
16567
+ "edit": {
16568
+ "maxInputImages": 3,
16569
+ "supports": {
16570
+ "aspectRatio": {
16571
+ "default": "auto",
16572
+ "options": [
16573
+ "1:1",
16574
+ "3:4",
16575
+ "4:3",
16576
+ "9:16",
16577
+ "16:9",
16578
+ "2:3",
16579
+ "3:2",
16580
+ "9:19.5",
16581
+ "19.5:9",
16582
+ "9:20",
16583
+ "20:9",
16584
+ "1:2",
16585
+ "2:1",
16586
+ "auto"
16587
+ ],
16588
+ "render": "chips",
16589
+ "type": "enum"
16590
+ }
16591
+ }
16592
+ },
16593
+ "generate": {
16594
+ "supports": {
16595
+ "aspectRatio": {
16596
+ "default": "auto",
16597
+ "options": [
16598
+ "1:1",
16599
+ "3:4",
16600
+ "4:3",
16601
+ "9:16",
16602
+ "16:9",
16603
+ "2:3",
16604
+ "3:2",
16605
+ "9:19.5",
16606
+ "19.5:9",
16607
+ "9:20",
16608
+ "20:9",
16609
+ "1:2",
16610
+ "2:1",
16611
+ "auto"
16612
+ ],
16613
+ "render": "chips",
16614
+ "type": "enum"
16615
+ }
16616
+ }
16617
+ }
16618
+ }
16619
+ },
16620
+ "modelId": "grok-imagine-image-quality",
16621
+ "providerId": "grok"
16622
+ },
16438
16623
  {
16439
16624
  "apiModelId": "grok-4.20-0309-non-reasoning",
16440
16625
  "capabilities": {
@@ -44397,5 +44582,5 @@
44397
44582
  "providerId": "zhipu"
44398
44583
  }
44399
44584
  ],
44400
- "version": "193ff765371fa1fb"
44585
+ "version": "d5c315bd1da2fbdb"
44401
44586
  }
@@ -2163,6 +2163,9 @@
2163
2163
  "adapterFamily": "xai",
2164
2164
  "baseUrl": "https://api.x.ai"
2165
2165
  },
2166
+ "openai-image-generation": {
2167
+ "adapterFamily": "xai"
2168
+ },
2166
2169
  "openai-responses": {
2167
2170
  "adapterFamily": "xai-responses",
2168
2171
  "baseUrl": "https://api.x.ai/v1",
@@ -2841,5 +2844,5 @@
2841
2844
  "presetProviderId": "minimax"
2842
2845
  }
2843
2846
  ],
2844
- "version": "5e1a39c021b56ec0"
2847
+ "version": "e1952ef3858002a8"
2845
2848
  }
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_bundled_models = require("./bundled-models-BqRQFAXZ.cjs");
3
- const require_bundled_provider_models = require("./bundled-provider-models-DLkIpKBv.cjs");
4
- const require_bundled_providers = require("./bundled-providers-BzPqWSIv.cjs");
3
+ const require_bundled_provider_models = require("./bundled-provider-models-BamyeDMo.cjs");
4
+ const require_bundled_providers = require("./bundled-providers-DDaIJr0L.cjs");
5
5
  //#region src/bundled-catalog.ts
6
6
  const bundledCatalog = {
7
7
  models: require_bundled_models.bundledModels,
@@ -1,6 +1,6 @@
1
1
  import { t as bundledModels } from "./bundled-models-z48mPPS8.mjs";
2
- import { t as bundledProviderModels } from "./bundled-provider-models-CZkfWU7M.mjs";
3
- import { t as bundledProviders } from "./bundled-providers-HLwq2Mc8.mjs";
2
+ import { t as bundledProviderModels } from "./bundled-provider-models-Dq6gyi6y.mjs";
3
+ import { t as bundledProviders } from "./bundled-providers-DVkp3JYL.mjs";
4
4
  //#region src/bundled-catalog.ts
5
5
  const bundledCatalog = {
6
6
  models: bundledModels,
@@ -14623,6 +14623,167 @@ const bundledProviderModels = require("./provider-models-WeMLH-Dl.cjs").Provider
14623
14623
  },
14624
14624
  "providerId": "gateway"
14625
14625
  },
14626
+ {
14627
+ "endpointTypes": ["openai-image-generation"],
14628
+ "imageGeneration": { "modes": {
14629
+ "edit": {
14630
+ "maxInputImages": 3,
14631
+ "supports": { "aspectRatio": {
14632
+ "default": "auto",
14633
+ "options": [
14634
+ "1:1",
14635
+ "3:4",
14636
+ "4:3",
14637
+ "9:16",
14638
+ "16:9",
14639
+ "2:3",
14640
+ "3:2",
14641
+ "9:19.5",
14642
+ "19.5:9",
14643
+ "9:20",
14644
+ "20:9",
14645
+ "1:2",
14646
+ "2:1",
14647
+ "auto"
14648
+ ],
14649
+ "render": "chips",
14650
+ "type": "enum"
14651
+ } }
14652
+ },
14653
+ "generate": { "supports": { "aspectRatio": {
14654
+ "default": "auto",
14655
+ "options": [
14656
+ "1:1",
14657
+ "3:4",
14658
+ "4:3",
14659
+ "9:16",
14660
+ "16:9",
14661
+ "2:3",
14662
+ "3:2",
14663
+ "9:19.5",
14664
+ "19.5:9",
14665
+ "9:20",
14666
+ "20:9",
14667
+ "1:2",
14668
+ "2:1",
14669
+ "auto"
14670
+ ],
14671
+ "render": "chips",
14672
+ "type": "enum"
14673
+ } } }
14674
+ } },
14675
+ "modelId": "grok-imagine-image",
14676
+ "providerId": "grok"
14677
+ },
14678
+ {
14679
+ "apiModelId": "grok-imagine-image-2.0",
14680
+ "endpointTypes": ["openai-image-generation"],
14681
+ "imageGeneration": { "modes": {
14682
+ "edit": {
14683
+ "maxInputImages": 5,
14684
+ "supports": { "aspectRatio": {
14685
+ "default": "auto",
14686
+ "options": [
14687
+ "1:1",
14688
+ "16:9",
14689
+ "9:16",
14690
+ "4:3",
14691
+ "3:4",
14692
+ "3:2",
14693
+ "2:3",
14694
+ "2:1",
14695
+ "1:2",
14696
+ "19.5:9",
14697
+ "9:19.5",
14698
+ "20:9",
14699
+ "9:20",
14700
+ "21:9",
14701
+ "5:2",
14702
+ "auto"
14703
+ ],
14704
+ "render": "chips",
14705
+ "type": "enum"
14706
+ } }
14707
+ },
14708
+ "generate": { "supports": { "aspectRatio": {
14709
+ "default": "auto",
14710
+ "options": [
14711
+ "1:1",
14712
+ "16:9",
14713
+ "9:16",
14714
+ "4:3",
14715
+ "3:4",
14716
+ "3:2",
14717
+ "2:3",
14718
+ "2:1",
14719
+ "1:2",
14720
+ "19.5:9",
14721
+ "9:19.5",
14722
+ "20:9",
14723
+ "9:20",
14724
+ "21:9",
14725
+ "5:2",
14726
+ "auto"
14727
+ ],
14728
+ "render": "chips",
14729
+ "type": "enum"
14730
+ } } }
14731
+ } },
14732
+ "modelId": "grok-imagine-image-2-0",
14733
+ "providerId": "grok"
14734
+ },
14735
+ {
14736
+ "endpointTypes": ["openai-image-generation"],
14737
+ "imageGeneration": { "modes": {
14738
+ "edit": {
14739
+ "maxInputImages": 3,
14740
+ "supports": { "aspectRatio": {
14741
+ "default": "auto",
14742
+ "options": [
14743
+ "1:1",
14744
+ "3:4",
14745
+ "4:3",
14746
+ "9:16",
14747
+ "16:9",
14748
+ "2:3",
14749
+ "3:2",
14750
+ "9:19.5",
14751
+ "19.5:9",
14752
+ "9:20",
14753
+ "20:9",
14754
+ "1:2",
14755
+ "2:1",
14756
+ "auto"
14757
+ ],
14758
+ "render": "chips",
14759
+ "type": "enum"
14760
+ } }
14761
+ },
14762
+ "generate": { "supports": { "aspectRatio": {
14763
+ "default": "auto",
14764
+ "options": [
14765
+ "1:1",
14766
+ "3:4",
14767
+ "4:3",
14768
+ "9:16",
14769
+ "16:9",
14770
+ "2:3",
14771
+ "3:2",
14772
+ "9:19.5",
14773
+ "19.5:9",
14774
+ "9:20",
14775
+ "20:9",
14776
+ "1:2",
14777
+ "2:1",
14778
+ "auto"
14779
+ ],
14780
+ "render": "chips",
14781
+ "type": "enum"
14782
+ } } }
14783
+ } },
14784
+ "modelId": "grok-imagine-image-quality",
14785
+ "providerId": "grok"
14786
+ },
14626
14787
  {
14627
14788
  "apiModelId": "grok-4.20-0309-non-reasoning",
14628
14789
  "capabilities": { "force": ["function-call", "image-recognition"] },
@@ -40308,7 +40469,7 @@ const bundledProviderModels = require("./provider-models-WeMLH-Dl.cjs").Provider
40308
40469
  "providerId": "zhipu"
40309
40470
  }
40310
40471
  ],
40311
- version: "193ff765371fa1fb"
40472
+ version: "d5c315bd1da2fbdb"
40312
40473
  });
40313
40474
  //#endregion
40314
40475
  Object.defineProperty(exports, "bundledProviderModels", {
@@ -14624,6 +14624,167 @@ const bundledProviderModels = ProviderModelListSchema.parse({
14624
14624
  },
14625
14625
  "providerId": "gateway"
14626
14626
  },
14627
+ {
14628
+ "endpointTypes": ["openai-image-generation"],
14629
+ "imageGeneration": { "modes": {
14630
+ "edit": {
14631
+ "maxInputImages": 3,
14632
+ "supports": { "aspectRatio": {
14633
+ "default": "auto",
14634
+ "options": [
14635
+ "1:1",
14636
+ "3:4",
14637
+ "4:3",
14638
+ "9:16",
14639
+ "16:9",
14640
+ "2:3",
14641
+ "3:2",
14642
+ "9:19.5",
14643
+ "19.5:9",
14644
+ "9:20",
14645
+ "20:9",
14646
+ "1:2",
14647
+ "2:1",
14648
+ "auto"
14649
+ ],
14650
+ "render": "chips",
14651
+ "type": "enum"
14652
+ } }
14653
+ },
14654
+ "generate": { "supports": { "aspectRatio": {
14655
+ "default": "auto",
14656
+ "options": [
14657
+ "1:1",
14658
+ "3:4",
14659
+ "4:3",
14660
+ "9:16",
14661
+ "16:9",
14662
+ "2:3",
14663
+ "3:2",
14664
+ "9:19.5",
14665
+ "19.5:9",
14666
+ "9:20",
14667
+ "20:9",
14668
+ "1:2",
14669
+ "2:1",
14670
+ "auto"
14671
+ ],
14672
+ "render": "chips",
14673
+ "type": "enum"
14674
+ } } }
14675
+ } },
14676
+ "modelId": "grok-imagine-image",
14677
+ "providerId": "grok"
14678
+ },
14679
+ {
14680
+ "apiModelId": "grok-imagine-image-2.0",
14681
+ "endpointTypes": ["openai-image-generation"],
14682
+ "imageGeneration": { "modes": {
14683
+ "edit": {
14684
+ "maxInputImages": 5,
14685
+ "supports": { "aspectRatio": {
14686
+ "default": "auto",
14687
+ "options": [
14688
+ "1:1",
14689
+ "16:9",
14690
+ "9:16",
14691
+ "4:3",
14692
+ "3:4",
14693
+ "3:2",
14694
+ "2:3",
14695
+ "2:1",
14696
+ "1:2",
14697
+ "19.5:9",
14698
+ "9:19.5",
14699
+ "20:9",
14700
+ "9:20",
14701
+ "21:9",
14702
+ "5:2",
14703
+ "auto"
14704
+ ],
14705
+ "render": "chips",
14706
+ "type": "enum"
14707
+ } }
14708
+ },
14709
+ "generate": { "supports": { "aspectRatio": {
14710
+ "default": "auto",
14711
+ "options": [
14712
+ "1:1",
14713
+ "16:9",
14714
+ "9:16",
14715
+ "4:3",
14716
+ "3:4",
14717
+ "3:2",
14718
+ "2:3",
14719
+ "2:1",
14720
+ "1:2",
14721
+ "19.5:9",
14722
+ "9:19.5",
14723
+ "20:9",
14724
+ "9:20",
14725
+ "21:9",
14726
+ "5:2",
14727
+ "auto"
14728
+ ],
14729
+ "render": "chips",
14730
+ "type": "enum"
14731
+ } } }
14732
+ } },
14733
+ "modelId": "grok-imagine-image-2-0",
14734
+ "providerId": "grok"
14735
+ },
14736
+ {
14737
+ "endpointTypes": ["openai-image-generation"],
14738
+ "imageGeneration": { "modes": {
14739
+ "edit": {
14740
+ "maxInputImages": 3,
14741
+ "supports": { "aspectRatio": {
14742
+ "default": "auto",
14743
+ "options": [
14744
+ "1:1",
14745
+ "3:4",
14746
+ "4:3",
14747
+ "9:16",
14748
+ "16:9",
14749
+ "2:3",
14750
+ "3:2",
14751
+ "9:19.5",
14752
+ "19.5:9",
14753
+ "9:20",
14754
+ "20:9",
14755
+ "1:2",
14756
+ "2:1",
14757
+ "auto"
14758
+ ],
14759
+ "render": "chips",
14760
+ "type": "enum"
14761
+ } }
14762
+ },
14763
+ "generate": { "supports": { "aspectRatio": {
14764
+ "default": "auto",
14765
+ "options": [
14766
+ "1:1",
14767
+ "3:4",
14768
+ "4:3",
14769
+ "9:16",
14770
+ "16:9",
14771
+ "2:3",
14772
+ "3:2",
14773
+ "9:19.5",
14774
+ "19.5:9",
14775
+ "9:20",
14776
+ "20:9",
14777
+ "1:2",
14778
+ "2:1",
14779
+ "auto"
14780
+ ],
14781
+ "render": "chips",
14782
+ "type": "enum"
14783
+ } } }
14784
+ } },
14785
+ "modelId": "grok-imagine-image-quality",
14786
+ "providerId": "grok"
14787
+ },
14627
14788
  {
14628
14789
  "apiModelId": "grok-4.20-0309-non-reasoning",
14629
14790
  "capabilities": { "force": ["function-call", "image-recognition"] },
@@ -40309,7 +40470,7 @@ const bundledProviderModels = ProviderModelListSchema.parse({
40309
40470
  "providerId": "zhipu"
40310
40471
  }
40311
40472
  ],
40312
- version: "193ff765371fa1fb"
40473
+ version: "d5c315bd1da2fbdb"
40313
40474
  });
40314
40475
  //#endregion
40315
40476
  export { bundledProviderModels as t };
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_bundled_provider_models = require("./bundled-provider-models-DLkIpKBv.cjs");
2
+ const require_bundled_provider_models = require("./bundled-provider-models-BamyeDMo.cjs");
3
3
  exports.bundledProviderModels = require_bundled_provider_models.bundledProviderModels;
@@ -1,2 +1,2 @@
1
- import { t as bundledProviderModels } from "./bundled-provider-models-CZkfWU7M.mjs";
1
+ import { t as bundledProviderModels } from "./bundled-provider-models-Dq6gyi6y.mjs";
2
2
  export { bundledProviderModels };
@@ -1742,6 +1742,7 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
1742
1742
  "adapterFamily": "xai",
1743
1743
  "baseUrl": "https://api.x.ai"
1744
1744
  },
1745
+ "openai-image-generation": { "adapterFamily": "xai" },
1745
1746
  "openai-responses": {
1746
1747
  "adapterFamily": "xai-responses",
1747
1748
  "baseUrl": "https://api.x.ai/v1",
@@ -2275,7 +2276,7 @@ const bundledProviders = require("./provider-C_xJo-Py.cjs").ProviderListSchema.p
2275
2276
  "presetProviderId": "minimax"
2276
2277
  }
2277
2278
  ],
2278
- version: "5e1a39c021b56ec0"
2279
+ version: "e1952ef3858002a8"
2279
2280
  });
2280
2281
  //#endregion
2281
2282
  Object.defineProperty(exports, "bundledProviders", {
@@ -1743,6 +1743,7 @@ const bundledProviders = ProviderListSchema.parse({
1743
1743
  "adapterFamily": "xai",
1744
1744
  "baseUrl": "https://api.x.ai"
1745
1745
  },
1746
+ "openai-image-generation": { "adapterFamily": "xai" },
1746
1747
  "openai-responses": {
1747
1748
  "adapterFamily": "xai-responses",
1748
1749
  "baseUrl": "https://api.x.ai/v1",
@@ -2276,7 +2277,7 @@ const bundledProviders = ProviderListSchema.parse({
2276
2277
  "presetProviderId": "minimax"
2277
2278
  }
2278
2279
  ],
2279
- version: "5e1a39c021b56ec0"
2280
+ version: "e1952ef3858002a8"
2280
2281
  });
2281
2282
  //#endregion
2282
2283
  export { bundledProviders as t };
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_bundled_providers = require("./bundled-providers-BzPqWSIv.cjs");
2
+ const require_bundled_providers = require("./bundled-providers-DDaIJr0L.cjs");
3
3
  exports.bundledProviders = require_bundled_providers.bundledProviders;
@@ -1,2 +1,2 @@
1
- import { t as bundledProviders } from "./bundled-providers-HLwq2Mc8.mjs";
1
+ import { t as bundledProviders } from "./bundled-providers-DVkp3JYL.mjs";
2
2
  export { bundledProviders };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherrystudio/provider-registry",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Cross-platform AI provider and model catalogs, schemas, and lookup utilities",
5
5
  "homepage": "https://github.com/CherryHQ/cherry-studio#readme",
6
6
  "bugs": {