@civitai/client 0.2.0-beta.35 → 0.2.0-beta.37
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.
|
@@ -58,7 +58,8 @@ export type AiToolkitTrainingInput = TrainingInput & {
|
|
|
58
58
|
| 'adafactor'
|
|
59
59
|
| 'adagrad'
|
|
60
60
|
| 'prodigy'
|
|
61
|
-
| 'prodigy8bit'
|
|
61
|
+
| 'prodigy8bit'
|
|
62
|
+
| 'automagic';
|
|
62
63
|
/**
|
|
63
64
|
* The larger the Dim setting, the more learning information can be stored, but the possibility of learning unnecessary information other than the learning target increases. A larger Dim also increases LoRA file size.
|
|
64
65
|
*/
|
|
@@ -279,6 +280,25 @@ export type AgeDetection = {
|
|
|
279
280
|
[key: string]: number;
|
|
280
281
|
} | null;
|
|
281
282
|
};
|
|
283
|
+
export type AnimaCreateImageGenInput = AnimaImageGenInput & {
|
|
284
|
+
width?: number;
|
|
285
|
+
height?: number;
|
|
286
|
+
} & {
|
|
287
|
+
operation: 'createImage';
|
|
288
|
+
};
|
|
289
|
+
export type AnimaImageGenInput = SdCppImageGenInput & {
|
|
290
|
+
operation: string;
|
|
291
|
+
prompt: string;
|
|
292
|
+
negativePrompt?: string | null;
|
|
293
|
+
sampleMethod?: SdCppSampleMethod;
|
|
294
|
+
schedule?: SdCppSchedule;
|
|
295
|
+
steps?: number;
|
|
296
|
+
cfgScale?: number;
|
|
297
|
+
seed?: number | null;
|
|
298
|
+
quantity?: number;
|
|
299
|
+
} & {
|
|
300
|
+
ecosystem: 'anima';
|
|
301
|
+
};
|
|
282
302
|
export declare const AnimalPoseBboxDetector: {
|
|
283
303
|
readonly YOLOX_L_TORCHSCRIPT_PT: 'yolox_l.torchscript.pt';
|
|
284
304
|
readonly YOLOX_L_ONNX: 'yolox_l.onnx';
|
|
@@ -1175,6 +1195,11 @@ export type Flux2Klein9bAiToolkitTrainingInput = Flux2KleinAiToolkitTrainingInpu
|
|
|
1175
1195
|
*/
|
|
1176
1196
|
export type Flux2KleinAiToolkitTrainingInput = AiToolkitTrainingInput & {
|
|
1177
1197
|
modelVariant: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Whether this is image-edit training (uses control paths for reference images).
|
|
1200
|
+
* When true, the training data zip should contain subfolders: main/, control_1/, control_2/, control_3/.
|
|
1201
|
+
*/
|
|
1202
|
+
isEditTraining?: boolean;
|
|
1178
1203
|
} & {
|
|
1179
1204
|
ecosystem: 'flux2klein';
|
|
1180
1205
|
};
|
|
@@ -1386,6 +1411,10 @@ export type ImageBlob = Blob & {
|
|
|
1386
1411
|
export type ImageGenInput = {
|
|
1387
1412
|
engine: string;
|
|
1388
1413
|
outputFormat?: ImageGenOutputFormat;
|
|
1414
|
+
/**
|
|
1415
|
+
* External metadata that will be stored with the image
|
|
1416
|
+
*/
|
|
1417
|
+
imageMetadata?: string | null;
|
|
1389
1418
|
};
|
|
1390
1419
|
export type ImageGenInputLora = {
|
|
1391
1420
|
air: string;
|
|
@@ -2161,6 +2190,18 @@ export declare const NsfwLevel: {
|
|
|
2161
2190
|
readonly NA: 'na';
|
|
2162
2191
|
};
|
|
2163
2192
|
export type NsfwLevel = (typeof NsfwLevel)[keyof typeof NsfwLevel];
|
|
2193
|
+
export type NanoBanana2ImageGenInput = GoogleImageGenInput & {
|
|
2194
|
+
prompt: string;
|
|
2195
|
+
aspectRatio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
|
|
2196
|
+
numImages?: number;
|
|
2197
|
+
resolution?: '1K' | '2K' | '4K';
|
|
2198
|
+
images?: Array<string>;
|
|
2199
|
+
seed?: number | null;
|
|
2200
|
+
enableWebSearch?: boolean;
|
|
2201
|
+
enableGoogleSearch?: boolean;
|
|
2202
|
+
} & {
|
|
2203
|
+
model: 'nano-banana-2';
|
|
2204
|
+
};
|
|
2164
2205
|
export type NanoBananaProImageGenInput = GoogleImageGenInput & {
|
|
2165
2206
|
prompt: string;
|
|
2166
2207
|
aspectRatio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
|
|
@@ -3146,6 +3187,12 @@ export type TrainingInputSamples = {
|
|
|
3146
3187
|
* An optional negative prompt that will be applied when generating samples
|
|
3147
3188
|
*/
|
|
3148
3189
|
negativePrompt?: string | null;
|
|
3190
|
+
/**
|
|
3191
|
+
* Source images for edit training sample generation.
|
|
3192
|
+
* Processed by ISourceImageProcessor during initialization, then TryGetUri() yields URLs
|
|
3193
|
+
* that are passed as ReferenceImageUrls when generating samples with edit LoRAs.
|
|
3194
|
+
*/
|
|
3195
|
+
sourceImages?: Array<string>;
|
|
3149
3196
|
};
|
|
3150
3197
|
/**
|
|
3151
3198
|
* The moderation status of the training data
|
|
@@ -3520,6 +3567,7 @@ export type VideoFrameExtractionInput = {
|
|
|
3520
3567
|
frameRate?: number;
|
|
3521
3568
|
uniqueThreshold?: number;
|
|
3522
3569
|
maxFrames?: number;
|
|
3570
|
+
startTime?: number;
|
|
3523
3571
|
};
|
|
3524
3572
|
/**
|
|
3525
3573
|
* Represents the output from the VideoFrameExtraction workflow step.
|