@civitai/client 0.2.0-beta.7 → 0.2.0-beta.9
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.
|
@@ -667,9 +667,10 @@ export declare const KlingMode: {
|
|
|
667
667
|
export type KlingMode = (typeof KlingMode)[keyof typeof KlingMode];
|
|
668
668
|
export declare const KlingModel: {
|
|
669
669
|
readonly V1: 'v1';
|
|
670
|
-
readonly V1_5: '
|
|
671
|
-
readonly V1_6: '
|
|
670
|
+
readonly V1_5: 'v1.5';
|
|
671
|
+
readonly V1_6: 'v1.6';
|
|
672
672
|
readonly V2: 'v2';
|
|
673
|
+
readonly V2_5_TURBO: 'v2.5-turbo';
|
|
673
674
|
};
|
|
674
675
|
export type KlingModel = (typeof KlingModel)[keyof typeof KlingModel];
|
|
675
676
|
export declare const KlingVideoGenAspectRatio: {
|
|
@@ -1641,6 +1642,46 @@ export type Wan22VideoGenInput = WanVideoGenInput & {
|
|
|
1641
1642
|
} & {
|
|
1642
1643
|
version: 'v2.2';
|
|
1643
1644
|
};
|
|
1645
|
+
export type Wan25FalImageGenInput = Wan25ImageGenInput & {
|
|
1646
|
+
operation: string | null;
|
|
1647
|
+
} & {
|
|
1648
|
+
provider: 'fal';
|
|
1649
|
+
};
|
|
1650
|
+
export type Wan25FalImageToImageInput = Wan25FalImageGenInput & {
|
|
1651
|
+
images?: Array<string>;
|
|
1652
|
+
} & {
|
|
1653
|
+
operation: 'image-to-image';
|
|
1654
|
+
};
|
|
1655
|
+
export type Wan25FalImageToVideoInput = Wan25FalVideoGenInput & {
|
|
1656
|
+
images?: Array<string>;
|
|
1657
|
+
} & {
|
|
1658
|
+
operation: 'image-to-video';
|
|
1659
|
+
};
|
|
1660
|
+
export type Wan25FalTextToImageInput = Wan25FalImageGenInput & {} & {
|
|
1661
|
+
operation: 'text-to-image';
|
|
1662
|
+
};
|
|
1663
|
+
export type Wan25FalTextToVideoInput = Wan25FalVideoGenInput & {} & {
|
|
1664
|
+
operation: 'text-to-video';
|
|
1665
|
+
};
|
|
1666
|
+
export type Wan25FalVideoGenInput = Wan25VideoGenInput & {
|
|
1667
|
+
operation: string | null;
|
|
1668
|
+
resolution?: '480p' | '720p' | '1080p';
|
|
1669
|
+
aspectRatio?: '16:9' | '9:16' | '1:1';
|
|
1670
|
+
enablePromptExpansion?: boolean;
|
|
1671
|
+
negativePrompt?: string | null;
|
|
1672
|
+
} & {
|
|
1673
|
+
provider: 'fal';
|
|
1674
|
+
};
|
|
1675
|
+
export type Wan25ImageGenInput = WanImageGenInput & {
|
|
1676
|
+
provider: string | null;
|
|
1677
|
+
} & {
|
|
1678
|
+
version: 'v2.5';
|
|
1679
|
+
};
|
|
1680
|
+
export type Wan25VideoGenInput = WanVideoGenInput & {
|
|
1681
|
+
provider: string | null;
|
|
1682
|
+
} & {
|
|
1683
|
+
version: 'v2.5';
|
|
1684
|
+
};
|
|
1644
1685
|
export type WanImageGenInput = ImageGenInput & {
|
|
1645
1686
|
engine: 'wan';
|
|
1646
1687
|
} & {
|
|
@@ -1732,6 +1773,10 @@ export type Workflow = {
|
|
|
1732
1773
|
*/
|
|
1733
1774
|
allowMatureContent?: boolean | null;
|
|
1734
1775
|
upgradeMode?: WorkflowUpgradeMode;
|
|
1776
|
+
/**
|
|
1777
|
+
* The currencies used for this workflow.
|
|
1778
|
+
*/
|
|
1779
|
+
currencies?: Array<BuzzClientAccount> | null;
|
|
1735
1780
|
};
|
|
1736
1781
|
/**
|
|
1737
1782
|
* Details of a callback setup for a workflow.
|
|
@@ -2029,6 +2074,10 @@ export type WorkflowTemplate = {
|
|
|
2029
2074
|
*/
|
|
2030
2075
|
allowMatureContent?: boolean | null;
|
|
2031
2076
|
upgradeMode?: WorkflowUpgradeMode;
|
|
2077
|
+
/**
|
|
2078
|
+
* The currencies used for this workflow.
|
|
2079
|
+
*/
|
|
2080
|
+
currencies?: Array<BuzzClientAccount> | null;
|
|
2032
2081
|
};
|
|
2033
2082
|
export type WorkflowTips = {
|
|
2034
2083
|
/**
|
|
@@ -75,9 +75,10 @@ export const KlingMode = {
|
|
|
75
75
|
};
|
|
76
76
|
export const KlingModel = {
|
|
77
77
|
V1: 'v1',
|
|
78
|
-
V1_5: '
|
|
79
|
-
V1_6: '
|
|
78
|
+
V1_5: 'v1.5',
|
|
79
|
+
V1_6: 'v1.6',
|
|
80
80
|
V2: 'v2',
|
|
81
|
+
V2_5_TURBO: 'v2.5-turbo',
|
|
81
82
|
};
|
|
82
83
|
export const KlingVideoGenAspectRatio = {
|
|
83
84
|
'16:9': '16:9',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@civitai/client",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.9",
|
|
4
4
|
"description": "Civitai's javascript client for generating ai content",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
}
|
|
57
|
-
}
|
|
57
|
+
}
|