@everworker/oneringai 0.4.5 → 0.4.6
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/README.md +16 -6
- package/dist/{ImageModel-OWbA277F.d.ts → ImageModel-1uP-2vk7.d.ts} +8 -2
- package/dist/{ImageModel-Ds5_6sf7.d.cts → ImageModel-BDI37OED.d.cts} +8 -2
- package/dist/capabilities/agents/index.d.cts +1 -1
- package/dist/capabilities/agents/index.d.ts +1 -1
- package/dist/capabilities/images/index.cjs +149 -7
- package/dist/capabilities/images/index.cjs.map +1 -1
- package/dist/capabilities/images/index.d.cts +1 -1
- package/dist/capabilities/images/index.d.ts +1 -1
- package/dist/capabilities/images/index.js +149 -7
- package/dist/capabilities/images/index.js.map +1 -1
- package/dist/{index-CsQOVhqe.d.cts → index-DJ-qAK15.d.cts} +7 -5
- package/dist/{index-C6ApwIzB.d.ts → index-oBtp-8Qn.d.ts} +7 -5
- package/dist/index.cjs +1316 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -13
- package/dist/index.d.ts +47 -13
- package/dist/index.js +1316 -185
- package/dist/index.js.map +1 -1
- package/dist/shared/index.cjs +785 -133
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.d.cts +20 -2
- package/dist/shared/index.d.ts +20 -2
- package/dist/shared/index.js +785 -133
- package/dist/shared/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, m as ImageResponse, n as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-
|
|
1
|
+
export { g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, m as ImageResponse, n as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-BDI37OED.cjs';
|
|
2
2
|
import '../../IProvider-B8sqUzJG.cjs';
|
|
3
3
|
import '../../Vendor-DYh_bzwo.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, m as ImageResponse, n as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-
|
|
1
|
+
export { g as ImageEditOptions, h as ImageGenerateOptions, i as ImageGeneration, j as ImageGenerationCreateOptions, m as ImageResponse, n as ImageVariationOptions, S as SimpleGenerateOptions } from '../../ImageModel-1uP-2vk7.js';
|
|
2
2
|
import '../../IProvider-CxDUGl6n.js';
|
|
3
3
|
import '../../Vendor-DYh_bzwo.js';
|
|
@@ -3201,7 +3201,13 @@ var IMAGE_MODELS = {
|
|
|
3201
3201
|
/** Imagen 4.0 Ultra: Highest quality */
|
|
3202
3202
|
IMAGEN_4_ULTRA: "imagen-4.0-ultra-generate-001",
|
|
3203
3203
|
/** Imagen 4.0 Fast: Optimized for speed */
|
|
3204
|
-
IMAGEN_4_FAST: "imagen-4.0-fast-generate-001"
|
|
3204
|
+
IMAGEN_4_FAST: "imagen-4.0-fast-generate-001",
|
|
3205
|
+
/** Nano Banana 2: Gemini 3.1 Flash native image gen with 4K support */
|
|
3206
|
+
GEMINI_3_1_FLASH_IMAGE: "gemini-3.1-flash-image-preview",
|
|
3207
|
+
/** Nano Banana Pro: Gemini 3 Pro professional design engine with reasoning */
|
|
3208
|
+
GEMINI_3_PRO_IMAGE: "gemini-3-pro-image-preview",
|
|
3209
|
+
/** Nano Banana: Gemini 2.5 Flash native image gen/editing */
|
|
3210
|
+
GEMINI_2_5_FLASH_IMAGE: "gemini-2.5-flash-image"
|
|
3205
3211
|
},
|
|
3206
3212
|
[Vendor.Grok]: {
|
|
3207
3213
|
/** Grok Imagine Image: xAI image generation with editing support */
|
|
@@ -3385,7 +3391,7 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3385
3391
|
sources: {
|
|
3386
3392
|
documentation: "https://ai.google.dev/gemini-api/docs/imagen",
|
|
3387
3393
|
pricing: "https://ai.google.dev/pricing",
|
|
3388
|
-
lastVerified: "2026-
|
|
3394
|
+
lastVerified: "2026-03-04"
|
|
3389
3395
|
},
|
|
3390
3396
|
capabilities: {
|
|
3391
3397
|
sizes: ["1024x1024"],
|
|
@@ -3496,7 +3502,7 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3496
3502
|
sources: {
|
|
3497
3503
|
documentation: "https://ai.google.dev/gemini-api/docs/imagen",
|
|
3498
3504
|
pricing: "https://ai.google.dev/pricing",
|
|
3499
|
-
lastVerified: "2026-
|
|
3505
|
+
lastVerified: "2026-03-04"
|
|
3500
3506
|
},
|
|
3501
3507
|
capabilities: {
|
|
3502
3508
|
sizes: ["1024x1024"],
|
|
@@ -3593,7 +3599,8 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3593
3599
|
}
|
|
3594
3600
|
},
|
|
3595
3601
|
pricing: {
|
|
3596
|
-
perImage: 0.
|
|
3602
|
+
perImage: 0.06,
|
|
3603
|
+
// Updated per official pricing page (was $0.08)
|
|
3597
3604
|
currency: "USD"
|
|
3598
3605
|
}
|
|
3599
3606
|
},
|
|
@@ -3607,7 +3614,7 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3607
3614
|
sources: {
|
|
3608
3615
|
documentation: "https://ai.google.dev/gemini-api/docs/imagen",
|
|
3609
3616
|
pricing: "https://ai.google.dev/pricing",
|
|
3610
|
-
lastVerified: "2026-
|
|
3617
|
+
lastVerified: "2026-03-04"
|
|
3611
3618
|
},
|
|
3612
3619
|
capabilities: {
|
|
3613
3620
|
sizes: ["1024x1024"],
|
|
@@ -3708,6 +3715,141 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3708
3715
|
currency: "USD"
|
|
3709
3716
|
}
|
|
3710
3717
|
},
|
|
3718
|
+
// ======================== Google Nano Banana (Gemini Native Image) ========================
|
|
3719
|
+
"gemini-3.1-flash-image-preview": {
|
|
3720
|
+
name: "gemini-3.1-flash-image-preview",
|
|
3721
|
+
displayName: "Nano Banana 2 (Gemini 3.1 Flash Image)",
|
|
3722
|
+
provider: Vendor.Google,
|
|
3723
|
+
description: "High-efficiency native image generation and editing with 4K support and thinking capabilities",
|
|
3724
|
+
isActive: true,
|
|
3725
|
+
releaseDate: "2026-02-01",
|
|
3726
|
+
sources: {
|
|
3727
|
+
documentation: "https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image-preview",
|
|
3728
|
+
pricing: "https://ai.google.dev/pricing",
|
|
3729
|
+
lastVerified: "2026-03-04"
|
|
3730
|
+
},
|
|
3731
|
+
capabilities: {
|
|
3732
|
+
sizes: ["512x512", "1024x1024", "1536x1536", "auto"],
|
|
3733
|
+
aspectRatios: ["1:1", "1:4", "4:1", "1:8", "8:1"],
|
|
3734
|
+
maxImagesPerRequest: 4,
|
|
3735
|
+
outputFormats: ["png", "jpeg"],
|
|
3736
|
+
features: {
|
|
3737
|
+
generation: true,
|
|
3738
|
+
editing: true,
|
|
3739
|
+
variations: false,
|
|
3740
|
+
styleControl: false,
|
|
3741
|
+
qualityControl: true,
|
|
3742
|
+
// Multiple resolution tiers: 0.5K, 1K, 2K, 4K
|
|
3743
|
+
transparency: false,
|
|
3744
|
+
promptRevision: false
|
|
3745
|
+
},
|
|
3746
|
+
limits: { maxPromptLength: 131072 },
|
|
3747
|
+
// 131K input tokens
|
|
3748
|
+
vendorOptions: {
|
|
3749
|
+
outputImageResolution: {
|
|
3750
|
+
type: "enum",
|
|
3751
|
+
label: "Resolution",
|
|
3752
|
+
description: "Output image resolution tier",
|
|
3753
|
+
enum: ["0.5K", "1K", "2K", "4K"],
|
|
3754
|
+
default: "1K",
|
|
3755
|
+
controlType: "select"
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
},
|
|
3759
|
+
pricing: {
|
|
3760
|
+
// Per-image, varies by resolution: $0.045 (512px), $0.067 (1K), $0.101 (2K), $0.151 (4K)
|
|
3761
|
+
perImageStandard: 0.067,
|
|
3762
|
+
// 1K default
|
|
3763
|
+
perImageHD: 0.151,
|
|
3764
|
+
// 4K
|
|
3765
|
+
currency: "USD"
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
"gemini-3-pro-image-preview": {
|
|
3769
|
+
name: "gemini-3-pro-image-preview",
|
|
3770
|
+
displayName: "Nano Banana Pro (Gemini 3 Pro Image)",
|
|
3771
|
+
provider: Vendor.Google,
|
|
3772
|
+
description: "Professional design engine with reasoning for studio-quality 4K visuals, complex layouts, and precise text rendering",
|
|
3773
|
+
isActive: true,
|
|
3774
|
+
releaseDate: "2025-11-01",
|
|
3775
|
+
sources: {
|
|
3776
|
+
documentation: "https://ai.google.dev/gemini-api/docs/models/gemini-3-pro-image-preview",
|
|
3777
|
+
pricing: "https://ai.google.dev/pricing",
|
|
3778
|
+
lastVerified: "2026-03-04"
|
|
3779
|
+
},
|
|
3780
|
+
capabilities: {
|
|
3781
|
+
sizes: ["1024x1024", "auto"],
|
|
3782
|
+
aspectRatios: ["1:1", "3:4", "4:3", "9:16", "16:9"],
|
|
3783
|
+
maxImagesPerRequest: 4,
|
|
3784
|
+
outputFormats: ["png", "jpeg"],
|
|
3785
|
+
features: {
|
|
3786
|
+
generation: true,
|
|
3787
|
+
editing: true,
|
|
3788
|
+
variations: false,
|
|
3789
|
+
styleControl: true,
|
|
3790
|
+
// Reasoning-driven design
|
|
3791
|
+
qualityControl: true,
|
|
3792
|
+
// 1K, 2K, 4K tiers
|
|
3793
|
+
transparency: false,
|
|
3794
|
+
promptRevision: false
|
|
3795
|
+
},
|
|
3796
|
+
limits: { maxPromptLength: 65536 },
|
|
3797
|
+
// 65K input tokens
|
|
3798
|
+
vendorOptions: {
|
|
3799
|
+
outputImageResolution: {
|
|
3800
|
+
type: "enum",
|
|
3801
|
+
label: "Resolution",
|
|
3802
|
+
description: "Output image resolution tier",
|
|
3803
|
+
enum: ["1K", "2K", "4K"],
|
|
3804
|
+
default: "1K",
|
|
3805
|
+
controlType: "select"
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
pricing: {
|
|
3810
|
+
// $0.134 per 1K/2K image, $0.24 per 4K image
|
|
3811
|
+
perImageStandard: 0.134,
|
|
3812
|
+
// 1K/2K
|
|
3813
|
+
perImageHD: 0.24,
|
|
3814
|
+
// 4K
|
|
3815
|
+
currency: "USD"
|
|
3816
|
+
}
|
|
3817
|
+
},
|
|
3818
|
+
"gemini-2.5-flash-image": {
|
|
3819
|
+
name: "gemini-2.5-flash-image",
|
|
3820
|
+
displayName: "Nano Banana (Gemini 2.5 Flash Image)",
|
|
3821
|
+
provider: Vendor.Google,
|
|
3822
|
+
description: "Native image generation and editing designed for fast, creative workflows",
|
|
3823
|
+
isActive: true,
|
|
3824
|
+
releaseDate: "2025-10-01",
|
|
3825
|
+
sources: {
|
|
3826
|
+
documentation: "https://ai.google.dev/gemini-api/docs/models/gemini-2.5-flash-image",
|
|
3827
|
+
pricing: "https://ai.google.dev/pricing",
|
|
3828
|
+
lastVerified: "2026-03-04"
|
|
3829
|
+
},
|
|
3830
|
+
capabilities: {
|
|
3831
|
+
sizes: ["1024x1024", "auto"],
|
|
3832
|
+
aspectRatios: ["1:1", "3:4", "4:3", "9:16", "16:9"],
|
|
3833
|
+
maxImagesPerRequest: 4,
|
|
3834
|
+
outputFormats: ["png", "jpeg"],
|
|
3835
|
+
features: {
|
|
3836
|
+
generation: true,
|
|
3837
|
+
editing: true,
|
|
3838
|
+
variations: false,
|
|
3839
|
+
styleControl: false,
|
|
3840
|
+
qualityControl: false,
|
|
3841
|
+
transparency: false,
|
|
3842
|
+
promptRevision: false
|
|
3843
|
+
},
|
|
3844
|
+
limits: { maxPromptLength: 65536 }
|
|
3845
|
+
// 65K input tokens
|
|
3846
|
+
},
|
|
3847
|
+
pricing: {
|
|
3848
|
+
perImage: 0.039,
|
|
3849
|
+
// $0.039 per image
|
|
3850
|
+
currency: "USD"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3711
3853
|
// ======================== xAI Grok ========================
|
|
3712
3854
|
"grok-imagine-image": {
|
|
3713
3855
|
name: "grok-imagine-image",
|
|
@@ -3719,11 +3861,11 @@ var IMAGE_MODEL_REGISTRY = {
|
|
|
3719
3861
|
sources: {
|
|
3720
3862
|
documentation: "https://docs.x.ai/docs/guides/image-generation",
|
|
3721
3863
|
pricing: "https://docs.x.ai/docs/models",
|
|
3722
|
-
lastVerified: "2026-
|
|
3864
|
+
lastVerified: "2026-03-04"
|
|
3723
3865
|
},
|
|
3724
3866
|
capabilities: {
|
|
3725
3867
|
sizes: ["1024x1024"],
|
|
3726
|
-
aspectRatios: ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3"],
|
|
3868
|
+
aspectRatios: ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "2:1", "1:2"],
|
|
3727
3869
|
maxImagesPerRequest: 10,
|
|
3728
3870
|
outputFormats: ["png", "jpeg"],
|
|
3729
3871
|
features: {
|