@mynthio/sdk 0.0.54 → 0.0.55
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.js +21 -1
- package/dist/video-generation-result.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -299,6 +299,26 @@ const AVAILABLE_MODELS = [
|
|
|
299
299
|
label: "GPT Image 2.5 Sunburst",
|
|
300
300
|
capabilities: ["inputs"]
|
|
301
301
|
},
|
|
302
|
+
{
|
|
303
|
+
id: "openai/gpt-image-2.6-flare",
|
|
304
|
+
label: "GPT Image 2.6 Flare",
|
|
305
|
+
capabilities: ["inputs"]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: "openai/gpt-image-2.6-sunburst",
|
|
309
|
+
label: "GPT Image 2.6 Sunburst",
|
|
310
|
+
capabilities: ["inputs"]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
id: "openai/gpt-image-flare",
|
|
314
|
+
label: "GPT Image Flare",
|
|
315
|
+
capabilities: ["inputs"]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
id: "openai/gpt-image-sunburst",
|
|
319
|
+
label: "GPT Image Sunburst",
|
|
320
|
+
capabilities: ["inputs"]
|
|
321
|
+
},
|
|
302
322
|
{
|
|
303
323
|
id: "wan/wan2.6-image",
|
|
304
324
|
label: "Wan 2.6 Image",
|
|
@@ -463,7 +483,7 @@ var MynthAPIError = class extends Error {
|
|
|
463
483
|
* Sent as `X-Mynth-Client` on creates so Mynth can count SDK traffic. The API
|
|
464
484
|
* only records it, never checks it. The build inlines the package version.
|
|
465
485
|
*/
|
|
466
|
-
const SDK_CLIENT = `sdk/0.0.
|
|
486
|
+
const SDK_CLIENT = `sdk/0.0.55`;
|
|
467
487
|
/**
|
|
468
488
|
* Waits before each retry of a create that failed in transit or with a 5xx.
|
|
469
489
|
* The retry sends the same `Idempotency-Key`, so Mynth returns the task the
|
|
@@ -187,7 +187,7 @@ declare namespace MynthSDKTypes {
|
|
|
187
187
|
};
|
|
188
188
|
type Model = ImageModel | VideoModel;
|
|
189
189
|
type ModelsListResponse = ApiResponse<Model[]>;
|
|
190
|
-
type ImageGenerationModelId = "alibaba/qwen-image-2.0" | "alibaba/qwen-image-2.0-pro" | "alibaba/qwen-image-2.1-pro" | "alibaba/qwen-image-2.1-turbo" | "alibaba/qwen-image-3.0" | "alibaba/qwen-image-3.0-pro" | "bytedance/seedream-5.0-lite" | "bytedance/seedream-pro" | "bytedance/seedream-v5-flash" | "black-forest-labs/flux.1-dev" | "black-forest-labs/flux-1-schnell" | "black-forest-labs/flux.2-dev" | "black-forest-labs/flux.2-pro" | "black-forest-labs/flux.2-flex" | "black-forest-labs/flux.2-max" | "black-forest-labs/flux.2-klein-4b" | "black-forest-labs/flux-3" | "black-forest-labs/flux-3-klein" | "bria/fibo-edit-1.5" | "bria/fibo-generate-1.5" | "circlestone-labs/anima" | "goofy-ai/prefect-pony-xl-lora" | "google/gemini-3.1-flash-lite-image" | "google/gemini-3.1-flash-image" | "google/gemini-3-pro-image-preview" | "google/gemini-nano-banana-2.1" | "imagineart/imagineart-1.5-pro" | "imagineart/imagineart-2.0" | "ideogram/ideogram-4.5" | "klingai/kling-image-3.0" | "klingai/kling-image-o3" | "krea/krea-2-turbo" | "krea/krea-2-medium" | "krea/krea-2-large" | "luma/uni-1" | "luma/uni-1-max" | "meta/muse-image" | "microsoft/mai-image-2.6" | "microsoft/mai-image-2.6-flash" | "minimax/h3" | "openai/gpt-image-2" | "openai/gpt-image-2.5-flare" | "openai/gpt-image-2.5-sunburst" | "tongyi-mai/z-image" | "tongyi-mai/z-image-turbo" | "john6666/bismuth-illustrious-mix" | "maxfeifei8/one-obsession" | "purplesmartai/pony-diffusion-v6-xl" | "recraft/recraft-v4" | "recraft/recraft-v4.1-flash" | "recraft/recraft-v4-pro" | "reve/reve" | "reve/reve-remix" | "sourceful/riverflow-2.0-pro" | "wan/wan2.6-image" | "wan/wan2.7-image" | "wan/wan2.7-image-pro" | "xai/grok-imagine-image" | "xai/grok-imagine-image-2.0" | "xai/grok-imagine-image-quality";
|
|
190
|
+
type ImageGenerationModelId = "alibaba/qwen-image-2.0" | "alibaba/qwen-image-2.0-pro" | "alibaba/qwen-image-2.1-pro" | "alibaba/qwen-image-2.1-turbo" | "alibaba/qwen-image-3.0" | "alibaba/qwen-image-3.0-pro" | "bytedance/seedream-5.0-lite" | "bytedance/seedream-pro" | "bytedance/seedream-v5-flash" | "black-forest-labs/flux.1-dev" | "black-forest-labs/flux-1-schnell" | "black-forest-labs/flux.2-dev" | "black-forest-labs/flux.2-pro" | "black-forest-labs/flux.2-flex" | "black-forest-labs/flux.2-max" | "black-forest-labs/flux.2-klein-4b" | "black-forest-labs/flux-3" | "black-forest-labs/flux-3-klein" | "bria/fibo-edit-1.5" | "bria/fibo-generate-1.5" | "circlestone-labs/anima" | "goofy-ai/prefect-pony-xl-lora" | "google/gemini-3.1-flash-lite-image" | "google/gemini-3.1-flash-image" | "google/gemini-3-pro-image-preview" | "google/gemini-nano-banana-2.1" | "imagineart/imagineart-1.5-pro" | "imagineart/imagineart-2.0" | "ideogram/ideogram-4.5" | "klingai/kling-image-3.0" | "klingai/kling-image-o3" | "krea/krea-2-turbo" | "krea/krea-2-medium" | "krea/krea-2-large" | "luma/uni-1" | "luma/uni-1-max" | "meta/muse-image" | "microsoft/mai-image-2.6" | "microsoft/mai-image-2.6-flash" | "minimax/h3" | "openai/gpt-image-2" | "openai/gpt-image-2.5-flare" | "openai/gpt-image-2.5-sunburst" | "openai/gpt-image-2.6-flare" | "openai/gpt-image-2.6-sunburst" | "openai/gpt-image-flare" | "openai/gpt-image-sunburst" | "tongyi-mai/z-image" | "tongyi-mai/z-image-turbo" | "john6666/bismuth-illustrious-mix" | "maxfeifei8/one-obsession" | "purplesmartai/pony-diffusion-v6-xl" | "recraft/recraft-v4" | "recraft/recraft-v4.1-flash" | "recraft/recraft-v4-pro" | "reve/reve" | "reve/reve-remix" | "sourceful/riverflow-2.0-pro" | "wan/wan2.6-image" | "wan/wan2.7-image" | "wan/wan2.7-image-pro" | "xai/grok-imagine-image" | "xai/grok-imagine-image-2.0" | "xai/grok-imagine-image-quality";
|
|
191
191
|
type ImageGenerationModel = ImageGenerationModelId | "auto";
|
|
192
192
|
type GenerateImageOptionsIn = {
|
|
193
193
|
prompt: string;
|