@civitai/client 0.2.0-beta.38 → 0.2.0-beta.39
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.
|
@@ -49,13 +49,13 @@ export type AiToolkitTrainingInput = TrainingInput & {
|
|
|
49
49
|
* Various methods have been proposed for smart learning, but the most commonly used in LoRA learning is "adamw8bit".
|
|
50
50
|
*/
|
|
51
51
|
optimizerType?:
|
|
52
|
-
| 'adam'
|
|
53
52
|
| 'adamw'
|
|
54
53
|
| 'adamw8bit'
|
|
55
54
|
| 'adam8bit'
|
|
56
55
|
| 'lion'
|
|
57
56
|
| 'lion8bit'
|
|
58
57
|
| 'adafactor'
|
|
58
|
+
| 'adafactor '
|
|
59
59
|
| 'adagrad'
|
|
60
60
|
| 'prodigy'
|
|
61
61
|
| 'prodigy8bit'
|
|
@@ -93,6 +93,16 @@ export type AiToolkitTrainingInput = TrainingInput & {
|
|
|
93
93
|
} & {
|
|
94
94
|
engine: 'ai-toolkit';
|
|
95
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* Cover image configuration for ACE Step audio output.
|
|
98
|
+
* When present, the output is a WebM video with this image as the visual.
|
|
99
|
+
*/
|
|
100
|
+
export type AceStepAudioCover = {
|
|
101
|
+
/**
|
|
102
|
+
* Either A URL, A DataURL or a Base64 string
|
|
103
|
+
*/
|
|
104
|
+
imageUrl: string;
|
|
105
|
+
};
|
|
96
106
|
/**
|
|
97
107
|
* Input parameters for ACE Step 1.5 audio generation workflow step
|
|
98
108
|
*/
|
|
@@ -135,17 +145,14 @@ export type AceStepAudioInput = {
|
|
|
135
145
|
* Optional model override (uses default ACE Step 1.5 turbo if not specified)
|
|
136
146
|
*/
|
|
137
147
|
model?: string | null;
|
|
138
|
-
|
|
139
|
-
* Either A URL, A DataURL or a Base64 string
|
|
140
|
-
*/
|
|
141
|
-
backgroundImageUrl?: string;
|
|
148
|
+
cover?: AceStepAudioCover;
|
|
142
149
|
};
|
|
143
150
|
/**
|
|
144
151
|
* Output from ACE Step 1.5 audio generation workflow step.
|
|
145
|
-
* Returns a
|
|
152
|
+
* Returns a VideoBlob (when a background image is provided) or an AudioBlob (audio only).
|
|
146
153
|
*/
|
|
147
154
|
export type AceStepAudioOutput = {
|
|
148
|
-
|
|
155
|
+
blob: Blob;
|
|
149
156
|
};
|
|
150
157
|
/**
|
|
151
158
|
* Workflow step for generating music using ACE Step 1.5.
|
|
@@ -709,6 +716,25 @@ export type ComfyLtx2ExtendVideoInput = ComfyLtx2VideoGenInput & {
|
|
|
709
716
|
} & {
|
|
710
717
|
operation: 'extendVideo';
|
|
711
718
|
};
|
|
719
|
+
/**
|
|
720
|
+
* Generate video guided by first and/or last frame images using LTXVAddGuide conditioning (ComfyUI backend)
|
|
721
|
+
*/
|
|
722
|
+
export type ComfyLtx2FirstLastFrameToVideoInput = ComfyLtx2VideoGenInput & {
|
|
723
|
+
/**
|
|
724
|
+
* First frame guide image. At least one of FirstFrame or LastFrame must be provided.
|
|
725
|
+
*/
|
|
726
|
+
firstFrame?: string | null;
|
|
727
|
+
/**
|
|
728
|
+
* Last frame guide image. At least one of FirstFrame or LastFrame must be provided.
|
|
729
|
+
*/
|
|
730
|
+
lastFrame?: string | null;
|
|
731
|
+
/**
|
|
732
|
+
* Strength of the frame guide conditioning (0.0 to 1.0).
|
|
733
|
+
*/
|
|
734
|
+
frameGuideStrength?: number;
|
|
735
|
+
} & {
|
|
736
|
+
operation: 'firstLastFrameToVideo';
|
|
737
|
+
};
|
|
712
738
|
/**
|
|
713
739
|
* LTX Video v2 generation via ComfyUI backend
|
|
714
740
|
*/
|
|
@@ -1324,7 +1350,20 @@ export type GrokCreateImageGenInput = GrokImageGenInput & {
|
|
|
1324
1350
|
/**
|
|
1325
1351
|
* Aspect ratio: 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2
|
|
1326
1352
|
*/
|
|
1327
|
-
aspectRatio?:
|
|
1353
|
+
aspectRatio?:
|
|
1354
|
+
| '2:1'
|
|
1355
|
+
| '20:9'
|
|
1356
|
+
| '19.5:9'
|
|
1357
|
+
| '16:9'
|
|
1358
|
+
| '4:3'
|
|
1359
|
+
| '3:2'
|
|
1360
|
+
| '1:1'
|
|
1361
|
+
| '2:3'
|
|
1362
|
+
| '3:4'
|
|
1363
|
+
| '9:16'
|
|
1364
|
+
| '9:19.5'
|
|
1365
|
+
| '9:20'
|
|
1366
|
+
| '1:2';
|
|
1328
1367
|
} & {
|
|
1329
1368
|
operation: 'createImage';
|
|
1330
1369
|
};
|
|
@@ -3872,6 +3911,19 @@ export type VideoUpscalerStepTemplate = WorkflowStepTemplate & {
|
|
|
3872
3911
|
} & {
|
|
3873
3912
|
$type: 'videoUpscaler';
|
|
3874
3913
|
};
|
|
3914
|
+
export type ViduQ3VideoGenInput = VideoGenInput & {
|
|
3915
|
+
engine: 'vidu-q3';
|
|
3916
|
+
} & {
|
|
3917
|
+
seed?: number | null;
|
|
3918
|
+
duration?: number;
|
|
3919
|
+
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
3920
|
+
turbo?: boolean;
|
|
3921
|
+
enableAudio?: boolean;
|
|
3922
|
+
aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
|
|
3923
|
+
images?: Array<string>;
|
|
3924
|
+
} & {
|
|
3925
|
+
engine: 'vidu-q3';
|
|
3926
|
+
};
|
|
3875
3927
|
export type ViduVideoGenInput = VideoGenInput & {
|
|
3876
3928
|
engine: 'vidu';
|
|
3877
3929
|
} & {
|
|
@@ -3898,6 +3950,7 @@ export type ViduVideoGenInput = VideoGenInput & {
|
|
|
3898
3950
|
export declare const ViduVideoGenModel: {
|
|
3899
3951
|
readonly DEFAULT: 'default';
|
|
3900
3952
|
readonly Q1: 'q1';
|
|
3953
|
+
readonly Q3: 'q3';
|
|
3901
3954
|
};
|
|
3902
3955
|
export type ViduVideoGenModel = (typeof ViduVideoGenModel)[keyof typeof ViduVideoGenModel];
|
|
3903
3956
|
export declare const ViduVideoGenStyle: {
|