@picsart/ai-sdk 6.14.0 → 6.15.0
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/index.d.ts +13 -1
- package/index.js +40 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -500,6 +500,16 @@ type ModelInputById = {
|
|
|
500
500
|
imageUrls?: string[];
|
|
501
501
|
thinking?: "off" | "low" | "medium" | "high";
|
|
502
502
|
};
|
|
503
|
+
"gpt-6-luna": {
|
|
504
|
+
prompt: string;
|
|
505
|
+
imageUrls?: string[];
|
|
506
|
+
thinking?: "off" | "low" | "medium" | "high";
|
|
507
|
+
};
|
|
508
|
+
"gpt-6-sol": {
|
|
509
|
+
prompt: string;
|
|
510
|
+
imageUrls?: string[];
|
|
511
|
+
thinking?: "off" | "low" | "medium" | "high";
|
|
512
|
+
};
|
|
503
513
|
"gpt-image-1": {
|
|
504
514
|
prompt: string;
|
|
505
515
|
aspectRatio?: "1:1" | "3:2" | "2:3" | "16:9" | "9:16" | "4:3" | "3:4";
|
|
@@ -1934,7 +1944,7 @@ type ModelInputById = {
|
|
|
1934
1944
|
type TypedModelId = keyof ModelInputById;
|
|
1935
1945
|
type ModelInput<M extends TypedModelId> = ModelInputById[M];
|
|
1936
1946
|
/** IDs of text-generation (LLM) models — narrows generateText(). */
|
|
1937
|
-
type TextModelId = "claude-fable-5" | "claude-fable-5-1" | "claude-haiku-4-5" | "claude-opus-4-8" | "claude-opus-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-5" | "eleven-speech-to-text" | "gemini-2.5-flash" | "gemini-3-pro" | "gemini-3.5-flash-lite" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5.1" | "gpt-5.2" | "gpt-5.5" | "gpt-5.6-luna" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-6-astra";
|
|
1947
|
+
type TextModelId = "claude-fable-5" | "claude-fable-5-1" | "claude-haiku-4-5" | "claude-opus-4-8" | "claude-opus-5" | "claude-sonnet-4-5" | "claude-sonnet-4-6" | "claude-sonnet-5" | "eleven-speech-to-text" | "gemini-2.5-flash" | "gemini-3-pro" | "gemini-3.5-flash-lite" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-4o" | "gpt-4o-mini" | "gpt-5" | "gpt-5-mini" | "gpt-5.1" | "gpt-5.2" | "gpt-5.5" | "gpt-5.6-luna" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-6-astra" | "gpt-6-luna" | "gpt-6-sol";
|
|
1938
1948
|
type TextModelInputById = Pick<ModelInputById, TextModelId>;
|
|
1939
1949
|
|
|
1940
1950
|
interface ParamSchema {
|
|
@@ -3209,6 +3219,8 @@ declare const Models: {
|
|
|
3209
3219
|
readonly Gpt56Sol: "gpt-5.6-sol";
|
|
3210
3220
|
readonly Gpt56Terra: "gpt-5.6-terra";
|
|
3211
3221
|
readonly Gpt6Astra: "gpt-6-astra";
|
|
3222
|
+
readonly Gpt6Luna: "gpt-6-luna";
|
|
3223
|
+
readonly Gpt6Sol: "gpt-6-sol";
|
|
3212
3224
|
readonly GptImage1: "gpt-image-1";
|
|
3213
3225
|
readonly GptImage15: "gpt-image-1.5";
|
|
3214
3226
|
readonly GptImage2: "gpt-image-2";
|
package/index.js
CHANGED
|
@@ -9594,6 +9594,40 @@ var { MODELS: OPENAI_LLM } = defineModels("openai", [
|
|
|
9594
9594
|
...thinkingParam(["low", "medium", "high"])
|
|
9595
9595
|
}
|
|
9596
9596
|
},
|
|
9597
|
+
{
|
|
9598
|
+
id: "gpt-6-sol",
|
|
9599
|
+
name: "GPT-6 Sol",
|
|
9600
|
+
workflow: "chat-completions",
|
|
9601
|
+
addedAt: "2026-09-25",
|
|
9602
|
+
estimatedTime: 10,
|
|
9603
|
+
mode: "text",
|
|
9604
|
+
inputType: "i2t",
|
|
9605
|
+
badge: ["premium"],
|
|
9606
|
+
description: "OpenAI\u2019s most capable GPT-6 model for deep reasoning and complex tasks.",
|
|
9607
|
+
features: [feat("Vision", "input"), feat("Thinking", "characteristic")],
|
|
9608
|
+
paramConfig: {
|
|
9609
|
+
...params.prompt(),
|
|
9610
|
+
...params.imageInput(8, "Images"),
|
|
9611
|
+
...thinkingParam(["low", "medium", "high"])
|
|
9612
|
+
}
|
|
9613
|
+
},
|
|
9614
|
+
{
|
|
9615
|
+
id: "gpt-6-luna",
|
|
9616
|
+
name: "GPT-6 Luna",
|
|
9617
|
+
workflow: "chat-completions",
|
|
9618
|
+
addedAt: "2026-09-25",
|
|
9619
|
+
estimatedTime: 5,
|
|
9620
|
+
mode: "text",
|
|
9621
|
+
inputType: "i2t",
|
|
9622
|
+
badge: ["fast"],
|
|
9623
|
+
description: "Fast, lightweight GPT-6 model for low-latency, high-volume text tasks.",
|
|
9624
|
+
features: [feat("Vision", "input"), feat("Thinking", "characteristic")],
|
|
9625
|
+
paramConfig: {
|
|
9626
|
+
...params.prompt(),
|
|
9627
|
+
...params.imageInput(8, "Images"),
|
|
9628
|
+
...thinkingParam(["low", "medium", "high"])
|
|
9629
|
+
}
|
|
9630
|
+
},
|
|
9597
9631
|
{
|
|
9598
9632
|
id: "gpt-5.6-sol",
|
|
9599
9633
|
name: "GPT-5.6 Sol",
|
|
@@ -9947,6 +9981,8 @@ registerPayloads(MODELS35, {
|
|
|
9947
9981
|
"claude-sonnet-4-5": buildClaudePayload("claude-sonnet-4-5"),
|
|
9948
9982
|
"claude-haiku-4-5": buildClaudePayload("claude-haiku-4-5"),
|
|
9949
9983
|
"gpt-6-astra": buildOpenAiPayload("gpt-6-astra"),
|
|
9984
|
+
"gpt-6-sol": buildOpenAiPayload("gpt-6-sol"),
|
|
9985
|
+
"gpt-6-luna": buildOpenAiPayload("gpt-6-luna"),
|
|
9950
9986
|
"gpt-5.6-sol": buildOpenAiPayload("gpt-5.6-sol"),
|
|
9951
9987
|
"gpt-5.6-terra": buildOpenAiPayload("gpt-5.6-terra"),
|
|
9952
9988
|
"gpt-5.6-luna": buildOpenAiPayload("gpt-5.6-luna"),
|
|
@@ -12920,6 +12956,8 @@ var Gpt56Luna = "gpt-5.6-luna";
|
|
|
12920
12956
|
var Gpt56Sol = "gpt-5.6-sol";
|
|
12921
12957
|
var Gpt56Terra = "gpt-5.6-terra";
|
|
12922
12958
|
var Gpt6Astra = "gpt-6-astra";
|
|
12959
|
+
var Gpt6Luna = "gpt-6-luna";
|
|
12960
|
+
var Gpt6Sol = "gpt-6-sol";
|
|
12923
12961
|
var GptImage1 = "gpt-image-1";
|
|
12924
12962
|
var GptImage15 = "gpt-image-1.5";
|
|
12925
12963
|
var GptImage2 = "gpt-image-2";
|
|
@@ -13171,6 +13209,8 @@ var Models = {
|
|
|
13171
13209
|
Gpt56Sol,
|
|
13172
13210
|
Gpt56Terra,
|
|
13173
13211
|
Gpt6Astra,
|
|
13212
|
+
Gpt6Luna,
|
|
13213
|
+
Gpt6Sol,
|
|
13174
13214
|
GptImage1,
|
|
13175
13215
|
GptImage15,
|
|
13176
13216
|
GptImage2,
|