@civitai/client 0.1.9-beta.14 → 0.1.9-beta.15
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.
|
@@ -1700,6 +1700,136 @@ export declare const $JsonPatchOperation: {
|
|
|
1700
1700
|
};
|
|
1701
1701
|
readonly description: 'Describes a single operation in a JSON Patch document. Includes the operation type, the target property path, and the value to be used.';
|
|
1702
1702
|
};
|
|
1703
|
+
export declare const $KlingCameraControl: {
|
|
1704
|
+
readonly type: 'object';
|
|
1705
|
+
readonly properties: {
|
|
1706
|
+
readonly config: {
|
|
1707
|
+
readonly $ref: '#/components/schemas/KlingCameraControlConfig';
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
readonly additionalProperties: false;
|
|
1711
|
+
};
|
|
1712
|
+
export declare const $KlingCameraControlConfig: {
|
|
1713
|
+
readonly type: 'object';
|
|
1714
|
+
readonly properties: {
|
|
1715
|
+
readonly horizontal: {
|
|
1716
|
+
readonly maximum: 10;
|
|
1717
|
+
readonly minimum: -10;
|
|
1718
|
+
readonly type: 'number';
|
|
1719
|
+
readonly description: "Horizontal, controls the camera's movement along the horizontal axis (translation along the x-axis).";
|
|
1720
|
+
readonly format: 'double';
|
|
1721
|
+
readonly nullable: true;
|
|
1722
|
+
};
|
|
1723
|
+
readonly vertical: {
|
|
1724
|
+
readonly maximum: 10;
|
|
1725
|
+
readonly minimum: -10;
|
|
1726
|
+
readonly type: 'number';
|
|
1727
|
+
readonly description: "Vertical, controls the camera's movement along the vertical axis (translation along the y-axis).";
|
|
1728
|
+
readonly format: 'double';
|
|
1729
|
+
readonly nullable: true;
|
|
1730
|
+
};
|
|
1731
|
+
readonly pan: {
|
|
1732
|
+
readonly maximum: 10;
|
|
1733
|
+
readonly minimum: -10;
|
|
1734
|
+
readonly type: 'number';
|
|
1735
|
+
readonly description: "Pan, controls the camera's rotation in the horizontal plane (rotation around the y-axis).";
|
|
1736
|
+
readonly format: 'double';
|
|
1737
|
+
readonly nullable: true;
|
|
1738
|
+
};
|
|
1739
|
+
readonly tilt: {
|
|
1740
|
+
readonly maximum: 10;
|
|
1741
|
+
readonly minimum: -10;
|
|
1742
|
+
readonly type: 'number';
|
|
1743
|
+
readonly description: "Tilt, controls the camera's rotation in the horizontal plane (rotation around the y-axis).";
|
|
1744
|
+
readonly format: 'double';
|
|
1745
|
+
readonly nullable: true;
|
|
1746
|
+
};
|
|
1747
|
+
readonly roll: {
|
|
1748
|
+
readonly maximum: 10;
|
|
1749
|
+
readonly minimum: -10;
|
|
1750
|
+
readonly type: 'number';
|
|
1751
|
+
readonly description: "Roll, controls the camera's rolling amount (rotation around the z-axis).";
|
|
1752
|
+
readonly format: 'double';
|
|
1753
|
+
readonly nullable: true;
|
|
1754
|
+
};
|
|
1755
|
+
readonly zoom: {
|
|
1756
|
+
readonly maximum: 10;
|
|
1757
|
+
readonly minimum: -10;
|
|
1758
|
+
readonly type: 'number';
|
|
1759
|
+
readonly description: "Zoom, controls the change in the camera's focal length, affecting the proximity of the field of view.";
|
|
1760
|
+
readonly format: 'double';
|
|
1761
|
+
readonly nullable: true;
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
readonly additionalProperties: false;
|
|
1765
|
+
};
|
|
1766
|
+
export declare const $KlingMode: {
|
|
1767
|
+
readonly enum: readonly ['standard', 'professional'];
|
|
1768
|
+
readonly type: 'string';
|
|
1769
|
+
};
|
|
1770
|
+
export declare const $KlingModel: {
|
|
1771
|
+
readonly enum: readonly ['v1', 'v1_5'];
|
|
1772
|
+
readonly type: 'string';
|
|
1773
|
+
};
|
|
1774
|
+
export declare const $KlingVideoGenAspectRatio: {
|
|
1775
|
+
readonly enum: readonly ['16:9', '9:16', '1:1'];
|
|
1776
|
+
readonly type: 'string';
|
|
1777
|
+
};
|
|
1778
|
+
export declare const $KlingVideoGenDuration: {
|
|
1779
|
+
readonly enum: readonly ['5', '10'];
|
|
1780
|
+
readonly type: 'string';
|
|
1781
|
+
};
|
|
1782
|
+
export declare const $KlingVideoGenInput: {
|
|
1783
|
+
readonly required: readonly ['engine'];
|
|
1784
|
+
readonly allOf: readonly [
|
|
1785
|
+
{
|
|
1786
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
readonly type: 'object';
|
|
1790
|
+
readonly properties: {
|
|
1791
|
+
readonly model: {
|
|
1792
|
+
readonly $ref: '#/components/schemas/KlingModel';
|
|
1793
|
+
};
|
|
1794
|
+
readonly negativePrompt: {
|
|
1795
|
+
readonly type: 'string';
|
|
1796
|
+
readonly nullable: true;
|
|
1797
|
+
};
|
|
1798
|
+
readonly cfgScale: {
|
|
1799
|
+
readonly maximum: 1;
|
|
1800
|
+
readonly minimum: 0;
|
|
1801
|
+
readonly type: 'number';
|
|
1802
|
+
readonly format: 'double';
|
|
1803
|
+
readonly default: 0.5;
|
|
1804
|
+
};
|
|
1805
|
+
readonly mode: {
|
|
1806
|
+
readonly $ref: '#/components/schemas/KlingMode';
|
|
1807
|
+
};
|
|
1808
|
+
readonly aspectRatio: {
|
|
1809
|
+
readonly $ref: '#/components/schemas/KlingVideoGenAspectRatio';
|
|
1810
|
+
};
|
|
1811
|
+
readonly duration: {
|
|
1812
|
+
readonly $ref: '#/components/schemas/KlingVideoGenDuration';
|
|
1813
|
+
};
|
|
1814
|
+
readonly cameraControl: {
|
|
1815
|
+
readonly $ref: '#/components/schemas/KlingCameraControl';
|
|
1816
|
+
};
|
|
1817
|
+
readonly sourceImageUrl: {
|
|
1818
|
+
readonly type: 'string';
|
|
1819
|
+
readonly format: 'uri';
|
|
1820
|
+
readonly nullable: true;
|
|
1821
|
+
};
|
|
1822
|
+
};
|
|
1823
|
+
readonly additionalProperties: false;
|
|
1824
|
+
},
|
|
1825
|
+
];
|
|
1826
|
+
readonly properties: {
|
|
1827
|
+
readonly engine: {
|
|
1828
|
+
readonly enum: readonly ['kling'];
|
|
1829
|
+
readonly type: 'string';
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1703
1833
|
export declare const $KohyaImageResourceTrainingInput: {
|
|
1704
1834
|
readonly required: readonly ['engine'];
|
|
1705
1835
|
readonly allOf: readonly [
|
|
@@ -1987,6 +2117,41 @@ export declare const $MediaTaggingJob: {
|
|
|
1987
2117
|
};
|
|
1988
2118
|
};
|
|
1989
2119
|
};
|
|
2120
|
+
export declare const $MiniMaxVideoGenInput: {
|
|
2121
|
+
readonly required: readonly ['engine'];
|
|
2122
|
+
readonly allOf: readonly [
|
|
2123
|
+
{
|
|
2124
|
+
readonly $ref: '#/components/schemas/VideoGenInput';
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
readonly type: 'object';
|
|
2128
|
+
readonly properties: {
|
|
2129
|
+
readonly model: {
|
|
2130
|
+
readonly $ref: '#/components/schemas/MiniMaxVideoGenModel';
|
|
2131
|
+
};
|
|
2132
|
+
readonly enablePromptEnhancer: {
|
|
2133
|
+
readonly type: 'boolean';
|
|
2134
|
+
};
|
|
2135
|
+
readonly sourceImageUrl: {
|
|
2136
|
+
readonly type: 'string';
|
|
2137
|
+
readonly format: 'uri';
|
|
2138
|
+
readonly nullable: true;
|
|
2139
|
+
};
|
|
2140
|
+
};
|
|
2141
|
+
readonly additionalProperties: false;
|
|
2142
|
+
},
|
|
2143
|
+
];
|
|
2144
|
+
readonly properties: {
|
|
2145
|
+
readonly engine: {
|
|
2146
|
+
readonly enum: readonly ['minimax'];
|
|
2147
|
+
readonly type: 'string';
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
export declare const $MiniMaxVideoGenModel: {
|
|
2152
|
+
readonly enum: readonly ['hailou'];
|
|
2153
|
+
readonly type: 'string';
|
|
2154
|
+
};
|
|
1990
2155
|
export declare const $MochiVideoGenInput: {
|
|
1991
2156
|
readonly required: readonly ['engine'];
|
|
1992
2157
|
readonly allOf: readonly [
|
|
@@ -3075,6 +3240,8 @@ export declare const $VideoGenInput: {
|
|
|
3075
3240
|
readonly mapping: {
|
|
3076
3241
|
readonly haiper: '#/components/schemas/HaiperVideoGenInput';
|
|
3077
3242
|
readonly mochi: '#/components/schemas/MochiVideoGenInput';
|
|
3243
|
+
readonly kling: '#/components/schemas/KlingVideoGenInput';
|
|
3244
|
+
readonly minimax: '#/components/schemas/MiniMaxVideoGenInput';
|
|
3078
3245
|
};
|
|
3079
3246
|
};
|
|
3080
3247
|
};
|
|
@@ -3217,6 +3384,12 @@ export declare const $WorkerCapabilities: {
|
|
|
3217
3384
|
readonly haiper: {
|
|
3218
3385
|
readonly $ref: '#/components/schemas/WorkerHaiperCapabilities';
|
|
3219
3386
|
};
|
|
3387
|
+
readonly kling: {
|
|
3388
|
+
readonly $ref: '#/components/schemas/WorkerKlingCapabilities';
|
|
3389
|
+
};
|
|
3390
|
+
readonly miniMax: {
|
|
3391
|
+
readonly $ref: '#/components/schemas/WorkerMiniMaxCapabilities';
|
|
3392
|
+
};
|
|
3220
3393
|
};
|
|
3221
3394
|
readonly additionalProperties: false;
|
|
3222
3395
|
readonly description: "Details of a worker's capabilities.";
|
|
@@ -3460,6 +3633,10 @@ export declare const $WorkerImageTransformCapabilities: {
|
|
|
3460
3633
|
readonly additionalProperties: false;
|
|
3461
3634
|
readonly description: "Details of a worker's image transform capabilities.";
|
|
3462
3635
|
};
|
|
3636
|
+
export declare const $WorkerKlingCapabilities: {
|
|
3637
|
+
readonly type: 'object';
|
|
3638
|
+
readonly additionalProperties: false;
|
|
3639
|
+
};
|
|
3463
3640
|
export declare const $WorkerMediaAgeClassificationCapabilities: {
|
|
3464
3641
|
readonly type: 'object';
|
|
3465
3642
|
readonly additionalProperties: false;
|
|
@@ -3527,6 +3704,10 @@ export declare const $WorkerMediaWDTaggingCapabilities: {
|
|
|
3527
3704
|
readonly additionalProperties: false;
|
|
3528
3705
|
readonly description: "Details of a worker's media WD tagging capabilities.";
|
|
3529
3706
|
};
|
|
3707
|
+
export declare const $WorkerMiniMaxCapabilities: {
|
|
3708
|
+
readonly type: 'object';
|
|
3709
|
+
readonly additionalProperties: false;
|
|
3710
|
+
};
|
|
3530
3711
|
export declare const $WorkerModelPreparationCapabilities: {
|
|
3531
3712
|
readonly type: 'object';
|
|
3532
3713
|
readonly additionalProperties: false;
|
|
@@ -4045,6 +4226,10 @@ export declare const $WorkflowStepJobEvent: {
|
|
|
4045
4226
|
readonly format: 'double';
|
|
4046
4227
|
readonly nullable: true;
|
|
4047
4228
|
};
|
|
4229
|
+
readonly reason: {
|
|
4230
|
+
readonly type: 'string';
|
|
4231
|
+
readonly nullable: true;
|
|
4232
|
+
};
|
|
4048
4233
|
};
|
|
4049
4234
|
readonly additionalProperties: false;
|
|
4050
4235
|
readonly description: 'Details of a workflow step job event.';
|
|
@@ -1690,6 +1690,136 @@ export const $JsonPatchOperation = {
|
|
|
1690
1690
|
},
|
|
1691
1691
|
description: 'Describes a single operation in a JSON Patch document. Includes the operation type, the target property path, and the value to be used.',
|
|
1692
1692
|
};
|
|
1693
|
+
export const $KlingCameraControl = {
|
|
1694
|
+
type: 'object',
|
|
1695
|
+
properties: {
|
|
1696
|
+
config: {
|
|
1697
|
+
$ref: '#/components/schemas/KlingCameraControlConfig',
|
|
1698
|
+
},
|
|
1699
|
+
},
|
|
1700
|
+
additionalProperties: false,
|
|
1701
|
+
};
|
|
1702
|
+
export const $KlingCameraControlConfig = {
|
|
1703
|
+
type: 'object',
|
|
1704
|
+
properties: {
|
|
1705
|
+
horizontal: {
|
|
1706
|
+
maximum: 10,
|
|
1707
|
+
minimum: -10,
|
|
1708
|
+
type: 'number',
|
|
1709
|
+
description: "Horizontal, controls the camera's movement along the horizontal axis (translation along the x-axis).",
|
|
1710
|
+
format: 'double',
|
|
1711
|
+
nullable: true,
|
|
1712
|
+
},
|
|
1713
|
+
vertical: {
|
|
1714
|
+
maximum: 10,
|
|
1715
|
+
minimum: -10,
|
|
1716
|
+
type: 'number',
|
|
1717
|
+
description: "Vertical, controls the camera's movement along the vertical axis (translation along the y-axis).",
|
|
1718
|
+
format: 'double',
|
|
1719
|
+
nullable: true,
|
|
1720
|
+
},
|
|
1721
|
+
pan: {
|
|
1722
|
+
maximum: 10,
|
|
1723
|
+
minimum: -10,
|
|
1724
|
+
type: 'number',
|
|
1725
|
+
description: "Pan, controls the camera's rotation in the horizontal plane (rotation around the y-axis).",
|
|
1726
|
+
format: 'double',
|
|
1727
|
+
nullable: true,
|
|
1728
|
+
},
|
|
1729
|
+
tilt: {
|
|
1730
|
+
maximum: 10,
|
|
1731
|
+
minimum: -10,
|
|
1732
|
+
type: 'number',
|
|
1733
|
+
description: "Tilt, controls the camera's rotation in the horizontal plane (rotation around the y-axis).",
|
|
1734
|
+
format: 'double',
|
|
1735
|
+
nullable: true,
|
|
1736
|
+
},
|
|
1737
|
+
roll: {
|
|
1738
|
+
maximum: 10,
|
|
1739
|
+
minimum: -10,
|
|
1740
|
+
type: 'number',
|
|
1741
|
+
description: "Roll, controls the camera's rolling amount (rotation around the z-axis).",
|
|
1742
|
+
format: 'double',
|
|
1743
|
+
nullable: true,
|
|
1744
|
+
},
|
|
1745
|
+
zoom: {
|
|
1746
|
+
maximum: 10,
|
|
1747
|
+
minimum: -10,
|
|
1748
|
+
type: 'number',
|
|
1749
|
+
description: "Zoom, controls the change in the camera's focal length, affecting the proximity of the field of view.",
|
|
1750
|
+
format: 'double',
|
|
1751
|
+
nullable: true,
|
|
1752
|
+
},
|
|
1753
|
+
},
|
|
1754
|
+
additionalProperties: false,
|
|
1755
|
+
};
|
|
1756
|
+
export const $KlingMode = {
|
|
1757
|
+
enum: ['standard', 'professional'],
|
|
1758
|
+
type: 'string',
|
|
1759
|
+
};
|
|
1760
|
+
export const $KlingModel = {
|
|
1761
|
+
enum: ['v1', 'v1_5'],
|
|
1762
|
+
type: 'string',
|
|
1763
|
+
};
|
|
1764
|
+
export const $KlingVideoGenAspectRatio = {
|
|
1765
|
+
enum: ['16:9', '9:16', '1:1'],
|
|
1766
|
+
type: 'string',
|
|
1767
|
+
};
|
|
1768
|
+
export const $KlingVideoGenDuration = {
|
|
1769
|
+
enum: ['5', '10'],
|
|
1770
|
+
type: 'string',
|
|
1771
|
+
};
|
|
1772
|
+
export const $KlingVideoGenInput = {
|
|
1773
|
+
required: ['engine'],
|
|
1774
|
+
allOf: [
|
|
1775
|
+
{
|
|
1776
|
+
$ref: '#/components/schemas/VideoGenInput',
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
type: 'object',
|
|
1780
|
+
properties: {
|
|
1781
|
+
model: {
|
|
1782
|
+
$ref: '#/components/schemas/KlingModel',
|
|
1783
|
+
},
|
|
1784
|
+
negativePrompt: {
|
|
1785
|
+
type: 'string',
|
|
1786
|
+
nullable: true,
|
|
1787
|
+
},
|
|
1788
|
+
cfgScale: {
|
|
1789
|
+
maximum: 1,
|
|
1790
|
+
minimum: 0,
|
|
1791
|
+
type: 'number',
|
|
1792
|
+
format: 'double',
|
|
1793
|
+
default: 0.5,
|
|
1794
|
+
},
|
|
1795
|
+
mode: {
|
|
1796
|
+
$ref: '#/components/schemas/KlingMode',
|
|
1797
|
+
},
|
|
1798
|
+
aspectRatio: {
|
|
1799
|
+
$ref: '#/components/schemas/KlingVideoGenAspectRatio',
|
|
1800
|
+
},
|
|
1801
|
+
duration: {
|
|
1802
|
+
$ref: '#/components/schemas/KlingVideoGenDuration',
|
|
1803
|
+
},
|
|
1804
|
+
cameraControl: {
|
|
1805
|
+
$ref: '#/components/schemas/KlingCameraControl',
|
|
1806
|
+
},
|
|
1807
|
+
sourceImageUrl: {
|
|
1808
|
+
type: 'string',
|
|
1809
|
+
format: 'uri',
|
|
1810
|
+
nullable: true,
|
|
1811
|
+
},
|
|
1812
|
+
},
|
|
1813
|
+
additionalProperties: false,
|
|
1814
|
+
},
|
|
1815
|
+
],
|
|
1816
|
+
properties: {
|
|
1817
|
+
engine: {
|
|
1818
|
+
enum: ['kling'],
|
|
1819
|
+
type: 'string',
|
|
1820
|
+
},
|
|
1821
|
+
},
|
|
1822
|
+
};
|
|
1693
1823
|
export const $KohyaImageResourceTrainingInput = {
|
|
1694
1824
|
required: ['engine'],
|
|
1695
1825
|
allOf: [
|
|
@@ -1990,6 +2120,41 @@ export const $MediaTaggingJob = {
|
|
|
1990
2120
|
},
|
|
1991
2121
|
},
|
|
1992
2122
|
};
|
|
2123
|
+
export const $MiniMaxVideoGenInput = {
|
|
2124
|
+
required: ['engine'],
|
|
2125
|
+
allOf: [
|
|
2126
|
+
{
|
|
2127
|
+
$ref: '#/components/schemas/VideoGenInput',
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
type: 'object',
|
|
2131
|
+
properties: {
|
|
2132
|
+
model: {
|
|
2133
|
+
$ref: '#/components/schemas/MiniMaxVideoGenModel',
|
|
2134
|
+
},
|
|
2135
|
+
enablePromptEnhancer: {
|
|
2136
|
+
type: 'boolean',
|
|
2137
|
+
},
|
|
2138
|
+
sourceImageUrl: {
|
|
2139
|
+
type: 'string',
|
|
2140
|
+
format: 'uri',
|
|
2141
|
+
nullable: true,
|
|
2142
|
+
},
|
|
2143
|
+
},
|
|
2144
|
+
additionalProperties: false,
|
|
2145
|
+
},
|
|
2146
|
+
],
|
|
2147
|
+
properties: {
|
|
2148
|
+
engine: {
|
|
2149
|
+
enum: ['minimax'],
|
|
2150
|
+
type: 'string',
|
|
2151
|
+
},
|
|
2152
|
+
},
|
|
2153
|
+
};
|
|
2154
|
+
export const $MiniMaxVideoGenModel = {
|
|
2155
|
+
enum: ['hailou'],
|
|
2156
|
+
type: 'string',
|
|
2157
|
+
};
|
|
1993
2158
|
export const $MochiVideoGenInput = {
|
|
1994
2159
|
required: ['engine'],
|
|
1995
2160
|
allOf: [
|
|
@@ -3073,6 +3238,8 @@ export const $VideoGenInput = {
|
|
|
3073
3238
|
mapping: {
|
|
3074
3239
|
haiper: '#/components/schemas/HaiperVideoGenInput',
|
|
3075
3240
|
mochi: '#/components/schemas/MochiVideoGenInput',
|
|
3241
|
+
kling: '#/components/schemas/KlingVideoGenInput',
|
|
3242
|
+
minimax: '#/components/schemas/MiniMaxVideoGenInput',
|
|
3076
3243
|
},
|
|
3077
3244
|
},
|
|
3078
3245
|
};
|
|
@@ -3215,6 +3382,12 @@ export const $WorkerCapabilities = {
|
|
|
3215
3382
|
haiper: {
|
|
3216
3383
|
$ref: '#/components/schemas/WorkerHaiperCapabilities',
|
|
3217
3384
|
},
|
|
3385
|
+
kling: {
|
|
3386
|
+
$ref: '#/components/schemas/WorkerKlingCapabilities',
|
|
3387
|
+
},
|
|
3388
|
+
miniMax: {
|
|
3389
|
+
$ref: '#/components/schemas/WorkerMiniMaxCapabilities',
|
|
3390
|
+
},
|
|
3218
3391
|
},
|
|
3219
3392
|
additionalProperties: false,
|
|
3220
3393
|
description: "Details of a worker's capabilities.",
|
|
@@ -3458,6 +3631,10 @@ export const $WorkerImageTransformCapabilities = {
|
|
|
3458
3631
|
additionalProperties: false,
|
|
3459
3632
|
description: "Details of a worker's image transform capabilities.",
|
|
3460
3633
|
};
|
|
3634
|
+
export const $WorkerKlingCapabilities = {
|
|
3635
|
+
type: 'object',
|
|
3636
|
+
additionalProperties: false,
|
|
3637
|
+
};
|
|
3461
3638
|
export const $WorkerMediaAgeClassificationCapabilities = {
|
|
3462
3639
|
type: 'object',
|
|
3463
3640
|
additionalProperties: false,
|
|
@@ -3525,6 +3702,10 @@ export const $WorkerMediaWDTaggingCapabilities = {
|
|
|
3525
3702
|
additionalProperties: false,
|
|
3526
3703
|
description: "Details of a worker's media WD tagging capabilities.",
|
|
3527
3704
|
};
|
|
3705
|
+
export const $WorkerMiniMaxCapabilities = {
|
|
3706
|
+
type: 'object',
|
|
3707
|
+
additionalProperties: false,
|
|
3708
|
+
};
|
|
3528
3709
|
export const $WorkerModelPreparationCapabilities = {
|
|
3529
3710
|
type: 'object',
|
|
3530
3711
|
additionalProperties: false,
|
|
@@ -4037,6 +4218,10 @@ export const $WorkflowStepJobEvent = {
|
|
|
4037
4218
|
format: 'double',
|
|
4038
4219
|
nullable: true,
|
|
4039
4220
|
},
|
|
4221
|
+
reason: {
|
|
4222
|
+
type: 'string',
|
|
4223
|
+
nullable: true,
|
|
4224
|
+
},
|
|
4040
4225
|
},
|
|
4041
4226
|
additionalProperties: false,
|
|
4042
4227
|
description: 'Details of a workflow step job event.',
|
|
@@ -815,6 +815,72 @@ export declare const op: {
|
|
|
815
815
|
readonly COPY: 'copy';
|
|
816
816
|
readonly TEST: 'test';
|
|
817
817
|
};
|
|
818
|
+
export type KlingCameraControl = {
|
|
819
|
+
config?: KlingCameraControlConfig;
|
|
820
|
+
};
|
|
821
|
+
export type KlingCameraControlConfig = {
|
|
822
|
+
/**
|
|
823
|
+
* Horizontal, controls the camera's movement along the horizontal axis (translation along the x-axis).
|
|
824
|
+
*/
|
|
825
|
+
horizontal?: number | null;
|
|
826
|
+
/**
|
|
827
|
+
* Vertical, controls the camera's movement along the vertical axis (translation along the y-axis).
|
|
828
|
+
*/
|
|
829
|
+
vertical?: number | null;
|
|
830
|
+
/**
|
|
831
|
+
* Pan, controls the camera's rotation in the horizontal plane (rotation around the y-axis).
|
|
832
|
+
*/
|
|
833
|
+
pan?: number | null;
|
|
834
|
+
/**
|
|
835
|
+
* Tilt, controls the camera's rotation in the horizontal plane (rotation around the y-axis).
|
|
836
|
+
*/
|
|
837
|
+
tilt?: number | null;
|
|
838
|
+
/**
|
|
839
|
+
* Roll, controls the camera's rolling amount (rotation around the z-axis).
|
|
840
|
+
*/
|
|
841
|
+
roll?: number | null;
|
|
842
|
+
/**
|
|
843
|
+
* Zoom, controls the change in the camera's focal length, affecting the proximity of the field of view.
|
|
844
|
+
*/
|
|
845
|
+
zoom?: number | null;
|
|
846
|
+
};
|
|
847
|
+
export type KlingMode = 'standard' | 'professional';
|
|
848
|
+
export declare const KlingMode: {
|
|
849
|
+
readonly STANDARD: 'standard';
|
|
850
|
+
readonly PROFESSIONAL: 'professional';
|
|
851
|
+
};
|
|
852
|
+
export type KlingModel = 'v1' | 'v1_5';
|
|
853
|
+
export declare const KlingModel: {
|
|
854
|
+
readonly V1: 'v1';
|
|
855
|
+
readonly V1_5: 'v1_5';
|
|
856
|
+
};
|
|
857
|
+
export type KlingVideoGenAspectRatio = '16:9' | '9:16' | '1:1';
|
|
858
|
+
export declare const KlingVideoGenAspectRatio: {
|
|
859
|
+
readonly _16_9: '16:9';
|
|
860
|
+
readonly _9_16: '9:16';
|
|
861
|
+
readonly _1_1: '1:1';
|
|
862
|
+
};
|
|
863
|
+
export type KlingVideoGenDuration = '5' | '10';
|
|
864
|
+
export declare const KlingVideoGenDuration: {
|
|
865
|
+
readonly _5: '5';
|
|
866
|
+
readonly _10: '10';
|
|
867
|
+
};
|
|
868
|
+
export type KlingVideoGenInput = VideoGenInput & {
|
|
869
|
+
model?: KlingModel;
|
|
870
|
+
negativePrompt?: string | null;
|
|
871
|
+
cfgScale?: number;
|
|
872
|
+
mode?: KlingMode;
|
|
873
|
+
aspectRatio?: KlingVideoGenAspectRatio;
|
|
874
|
+
duration?: KlingVideoGenDuration;
|
|
875
|
+
cameraControl?: KlingCameraControl;
|
|
876
|
+
sourceImageUrl?: string | null;
|
|
877
|
+
} & {
|
|
878
|
+
engine: 'kling';
|
|
879
|
+
};
|
|
880
|
+
export type engine3 = 'kling';
|
|
881
|
+
export declare const engine3: {
|
|
882
|
+
readonly KLING: 'kling';
|
|
883
|
+
};
|
|
818
884
|
export type KohyaImageResourceTrainingInput = ImageResourceTrainingInput & {
|
|
819
885
|
/**
|
|
820
886
|
* An epoch is one set of learning. By default, we will save a maximum of 20 epochs (evenly distributed), and they are all available for download.
|
|
@@ -905,8 +971,8 @@ export type KohyaImageResourceTrainingInput = ImageResourceTrainingInput & {
|
|
|
905
971
|
} & {
|
|
906
972
|
engine: 'kohya';
|
|
907
973
|
};
|
|
908
|
-
export type
|
|
909
|
-
export declare const
|
|
974
|
+
export type engine4 = 'kohya';
|
|
975
|
+
export declare const engine4: {
|
|
910
976
|
readonly KOHYA: 'kohya';
|
|
911
977
|
};
|
|
912
978
|
/**
|
|
@@ -969,14 +1035,29 @@ export type $type13 = 'mediaTagging';
|
|
|
969
1035
|
export declare const $type13: {
|
|
970
1036
|
readonly MEDIA_TAGGING: 'mediaTagging';
|
|
971
1037
|
};
|
|
1038
|
+
export type MiniMaxVideoGenInput = VideoGenInput & {
|
|
1039
|
+
model?: MiniMaxVideoGenModel;
|
|
1040
|
+
enablePromptEnhancer?: boolean;
|
|
1041
|
+
sourceImageUrl?: string | null;
|
|
1042
|
+
} & {
|
|
1043
|
+
engine: 'minimax';
|
|
1044
|
+
};
|
|
1045
|
+
export type engine5 = 'minimax';
|
|
1046
|
+
export declare const engine5: {
|
|
1047
|
+
readonly MINIMAX: 'minimax';
|
|
1048
|
+
};
|
|
1049
|
+
export type MiniMaxVideoGenModel = 'hailou';
|
|
1050
|
+
export declare const MiniMaxVideoGenModel: {
|
|
1051
|
+
readonly HAILOU: 'hailou';
|
|
1052
|
+
};
|
|
972
1053
|
export type MochiVideoGenInput = VideoGenInput & {
|
|
973
1054
|
seed?: number;
|
|
974
1055
|
enablePromptEnhancer?: boolean;
|
|
975
1056
|
} & {
|
|
976
1057
|
engine: 'mochi';
|
|
977
1058
|
};
|
|
978
|
-
export type
|
|
979
|
-
export declare const
|
|
1059
|
+
export type engine6 = 'mochi';
|
|
1060
|
+
export declare const engine6: {
|
|
980
1061
|
readonly MOCHI: 'mochi';
|
|
981
1062
|
};
|
|
982
1063
|
export type MochiVideoGenJob = Job & {
|
|
@@ -1612,6 +1693,8 @@ export type WorkerCapabilities = {
|
|
|
1612
1693
|
humanoidImageMask?: WorkerHumanoidImageMaskCapabilities;
|
|
1613
1694
|
tryOnU?: WorkerTryOnUCapabilities;
|
|
1614
1695
|
haiper?: WorkerHaiperCapabilities;
|
|
1696
|
+
kling?: WorkerKlingCapabilities;
|
|
1697
|
+
miniMax?: WorkerMiniMaxCapabilities;
|
|
1615
1698
|
};
|
|
1616
1699
|
/**
|
|
1617
1700
|
* Details of a worker's configuration capabilities.
|
|
@@ -1776,6 +1859,9 @@ export type WorkerImageTransformCapabilities = {
|
|
|
1776
1859
|
*/
|
|
1777
1860
|
transformers?: Array<ImageTransformer>;
|
|
1778
1861
|
};
|
|
1862
|
+
export type WorkerKlingCapabilities = {
|
|
1863
|
+
[key: string]: unknown;
|
|
1864
|
+
};
|
|
1779
1865
|
export type WorkerMediaAgeClassificationCapabilities = {
|
|
1780
1866
|
[key: string]: unknown;
|
|
1781
1867
|
};
|
|
@@ -1825,6 +1911,9 @@ export type WorkerMediaTranscodeCapabilities = {
|
|
|
1825
1911
|
export type WorkerMediaWDTaggingCapabilities = {
|
|
1826
1912
|
[key: string]: unknown;
|
|
1827
1913
|
};
|
|
1914
|
+
export type WorkerMiniMaxCapabilities = {
|
|
1915
|
+
[key: string]: unknown;
|
|
1916
|
+
};
|
|
1828
1917
|
/**
|
|
1829
1918
|
* Details of a worker's model preparation capabilities.
|
|
1830
1919
|
*/
|
|
@@ -2208,6 +2297,7 @@ export type WorkflowStepJobEvent = {
|
|
|
2208
2297
|
status: WorkflowStatus;
|
|
2209
2298
|
$type?: string;
|
|
2210
2299
|
progress?: number | null;
|
|
2300
|
+
reason?: string | null;
|
|
2211
2301
|
};
|
|
2212
2302
|
/**
|
|
2213
2303
|
* Details of the workflow step job's queue position.
|
|
@@ -123,7 +123,27 @@ export const op = {
|
|
|
123
123
|
COPY: 'copy',
|
|
124
124
|
TEST: 'test',
|
|
125
125
|
};
|
|
126
|
+
export const KlingMode = {
|
|
127
|
+
STANDARD: 'standard',
|
|
128
|
+
PROFESSIONAL: 'professional',
|
|
129
|
+
};
|
|
130
|
+
export const KlingModel = {
|
|
131
|
+
V1: 'v1',
|
|
132
|
+
V1_5: 'v1_5',
|
|
133
|
+
};
|
|
134
|
+
export const KlingVideoGenAspectRatio = {
|
|
135
|
+
_16_9: '16:9',
|
|
136
|
+
_9_16: '9:16',
|
|
137
|
+
_1_1: '1:1',
|
|
138
|
+
};
|
|
139
|
+
export const KlingVideoGenDuration = {
|
|
140
|
+
_5: '5',
|
|
141
|
+
_10: '10',
|
|
142
|
+
};
|
|
126
143
|
export const engine3 = {
|
|
144
|
+
KLING: 'kling',
|
|
145
|
+
};
|
|
146
|
+
export const engine4 = {
|
|
127
147
|
KOHYA: 'kohya',
|
|
128
148
|
};
|
|
129
149
|
export const $type11 = {
|
|
@@ -135,7 +155,13 @@ export const $type12 = {
|
|
|
135
155
|
export const $type13 = {
|
|
136
156
|
MEDIA_TAGGING: 'mediaTagging',
|
|
137
157
|
};
|
|
138
|
-
export const
|
|
158
|
+
export const engine5 = {
|
|
159
|
+
MINIMAX: 'minimax',
|
|
160
|
+
};
|
|
161
|
+
export const MiniMaxVideoGenModel = {
|
|
162
|
+
HAILOU: 'hailou',
|
|
163
|
+
};
|
|
164
|
+
export const engine6 = {
|
|
139
165
|
MOCHI: 'mochi',
|
|
140
166
|
};
|
|
141
167
|
export const $type14 = {
|