@civitai/client 0.2.0-beta.6 → 0.2.0-beta.7
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.
|
@@ -484,6 +484,10 @@ export type ImageResourceTrainingInput = {
|
|
|
484
484
|
* A selection of sample prompts.
|
|
485
485
|
*/
|
|
486
486
|
samplePrompts?: Array<string>;
|
|
487
|
+
/**
|
|
488
|
+
* An optional negative prompt that will get applied when generating samples
|
|
489
|
+
*/
|
|
490
|
+
negativePrompt?: string | null;
|
|
487
491
|
};
|
|
488
492
|
export type ImageResourceTrainingOutput = {
|
|
489
493
|
moderationStatus: ImageResouceTrainingModerationStatus;
|
|
@@ -1151,6 +1155,26 @@ export declare const Scheduler: {
|
|
|
1151
1155
|
* The available options for schedulers used in image generation.
|
|
1152
1156
|
*/
|
|
1153
1157
|
export type Scheduler = (typeof Scheduler)[keyof typeof Scheduler];
|
|
1158
|
+
export type SeedreamImageGenInput = ImageGenInput & {
|
|
1159
|
+
engine: 'seedream';
|
|
1160
|
+
} & {
|
|
1161
|
+
prompt: string;
|
|
1162
|
+
quantity?: number;
|
|
1163
|
+
width?: number;
|
|
1164
|
+
height?: number;
|
|
1165
|
+
guidanceScale?: number;
|
|
1166
|
+
seed?: number | null;
|
|
1167
|
+
enableSafetyChecker?: boolean;
|
|
1168
|
+
version?: SeedreamVersion;
|
|
1169
|
+
images?: Array<string>;
|
|
1170
|
+
} & {
|
|
1171
|
+
engine: 'seedream';
|
|
1172
|
+
};
|
|
1173
|
+
export declare const SeedreamVersion: {
|
|
1174
|
+
readonly V3: 'v3';
|
|
1175
|
+
readonly V4: 'v4';
|
|
1176
|
+
};
|
|
1177
|
+
export type SeedreamVersion = (typeof SeedreamVersion)[keyof typeof SeedreamVersion];
|
|
1154
1178
|
/**
|
|
1155
1179
|
* Input for an text to image step.
|
|
1156
1180
|
*/
|
|
@@ -1867,10 +1891,6 @@ export type WorkflowStepEvent = {
|
|
|
1867
1891
|
*/
|
|
1868
1892
|
stepName: string;
|
|
1869
1893
|
status: WorkflowStatus;
|
|
1870
|
-
/**
|
|
1871
|
-
* An up-to-date output of the workflow step at the moment when this event got raised
|
|
1872
|
-
*/
|
|
1873
|
-
output: unknown;
|
|
1874
1894
|
$type?: string;
|
|
1875
1895
|
};
|
|
1876
1896
|
/**
|