@civitai/orchestration-client 0.2.0-beta.103 → 0.2.0-beta.104
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.
- package/dist/generated/index.d.ts +18 -0
- package/dist/generated/types.gen.d.ts +251 -4
- package/package.json +1 -1
|
@@ -200,11 +200,17 @@ export {
|
|
|
200
200
|
type ComfyErnieTurboCreateImageGenInput,
|
|
201
201
|
type ComfyErnieTurboImageGenInput,
|
|
202
202
|
type ComfyFlux1CreateImageGenInput,
|
|
203
|
+
type ComfyFlux1EditImageGenInput,
|
|
203
204
|
type ComfyFlux1ImageGenInput,
|
|
204
205
|
type ComfyFlux1VariantImageGenInput,
|
|
205
206
|
type ComfyFlux2DevCreateImageInput,
|
|
206
207
|
type ComfyFlux2DevEditImageInput,
|
|
207
208
|
type ComfyFlux2DevImageGenInput,
|
|
209
|
+
type ComfyFlux2DevVariantImageGenInput,
|
|
210
|
+
type ComfyFlux2KleinCreateImageInput,
|
|
211
|
+
type ComfyFlux2KleinEditImageInput,
|
|
212
|
+
type ComfyFlux2KleinImageGenInput,
|
|
213
|
+
type ComfyFlux2KleinVariantImageGenInput,
|
|
208
214
|
type ComfyHiDreamImageGenInput,
|
|
209
215
|
type ComfyHiDreamO1CreateImageGenInput,
|
|
210
216
|
type ComfyHiDreamO1DevCreateImageGenInput,
|
|
@@ -269,6 +275,13 @@ export {
|
|
|
269
275
|
type ComfyNodepackSnapshotStepTemplate,
|
|
270
276
|
type ComfyOutput,
|
|
271
277
|
type ComfyPolyGenInput,
|
|
278
|
+
type ComfyQwen20bCreateImageGenInput,
|
|
279
|
+
type ComfyQwen20bEditImageGenInput,
|
|
280
|
+
type ComfyQwen20bEditImageGenInputWritable,
|
|
281
|
+
type ComfyQwen20bImageGenInput,
|
|
282
|
+
type ComfyQwen20bVariantImageGenInput,
|
|
283
|
+
type ComfyQwen20bVariantImageGenInputWritable,
|
|
284
|
+
type ComfyQwenImageGenInput,
|
|
272
285
|
ComfySampler,
|
|
273
286
|
ComfyScheduler,
|
|
274
287
|
type ComfySd1CreateImageGenInput,
|
|
@@ -281,6 +294,11 @@ export {
|
|
|
281
294
|
type ComfyStepTemplate,
|
|
282
295
|
type ComfyTrainingInput,
|
|
283
296
|
type ComfyTrainingInputWritable,
|
|
297
|
+
type ComfyZImageBaseCreateImageGenInput,
|
|
298
|
+
type ComfyZImageBaseImageGenInput,
|
|
299
|
+
type ComfyZImageImageGenInput,
|
|
300
|
+
type ComfyZImageTurboCreateImageGenInput,
|
|
301
|
+
type ComfyZImageTurboImageGenInput,
|
|
284
302
|
type ComposeMediaElementInput,
|
|
285
303
|
type ComposeMediaInput,
|
|
286
304
|
type ComposeMediaOutput,
|
|
@@ -1339,7 +1339,7 @@ export type ComfyAnimaCreateImageGenInput = Omit<
|
|
|
1339
1339
|
engine: 'comfy';
|
|
1340
1340
|
};
|
|
1341
1341
|
export type ComfyAnimaImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1342
|
-
operation: string;
|
|
1342
|
+
operation: null | string;
|
|
1343
1343
|
prompt: string;
|
|
1344
1344
|
negativePrompt?: null | string;
|
|
1345
1345
|
sampler?: ComfySampler;
|
|
@@ -1586,8 +1586,27 @@ export type ComfyFlux1CreateImageGenInput = Omit<
|
|
|
1586
1586
|
ecosystem: 'flux1';
|
|
1587
1587
|
engine: 'comfy';
|
|
1588
1588
|
};
|
|
1589
|
+
/**
|
|
1590
|
+
* Compatibility route for sdcpp Flux 1 editing: ordinary image-to-image using only
|
|
1591
|
+
* the first source image, or text-to-image when the image list is empty.
|
|
1592
|
+
*/
|
|
1593
|
+
export type ComfyFlux1EditImageGenInput = Omit<
|
|
1594
|
+
ComfyFlux1ImageGenInput,
|
|
1595
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1596
|
+
> & {
|
|
1597
|
+
width?: number;
|
|
1598
|
+
height?: number;
|
|
1599
|
+
steps?: number;
|
|
1600
|
+
/**
|
|
1601
|
+
* Uses only the first image for image-to-image at denoise strength 0.7. An empty list generates from text, matching sdcpp Flux 1 editImage.
|
|
1602
|
+
*/
|
|
1603
|
+
images?: Array<string>;
|
|
1604
|
+
operation: 'editImage';
|
|
1605
|
+
ecosystem: 'flux1';
|
|
1606
|
+
engine: 'comfy';
|
|
1607
|
+
};
|
|
1589
1608
|
export type ComfyFlux1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1590
|
-
operation: string;
|
|
1609
|
+
operation: null | string;
|
|
1591
1610
|
prompt: string;
|
|
1592
1611
|
sampler?: ComfySampler;
|
|
1593
1612
|
scheduler?: ComfyScheduler;
|
|
@@ -1654,6 +1673,71 @@ export type ComfyFlux2DevImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ec
|
|
|
1654
1673
|
ecosystem: 'flux2Dev';
|
|
1655
1674
|
engine: 'comfy';
|
|
1656
1675
|
};
|
|
1676
|
+
export type ComfyFlux2DevVariantImageGenInput = Omit<
|
|
1677
|
+
ComfyFlux2DevImageGenInput,
|
|
1678
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1679
|
+
> & {
|
|
1680
|
+
/**
|
|
1681
|
+
* Either A URL, A DataURL or a Base64 string
|
|
1682
|
+
*/
|
|
1683
|
+
image: string;
|
|
1684
|
+
strength?: number;
|
|
1685
|
+
operation: 'createVariant';
|
|
1686
|
+
ecosystem: 'flux2Dev';
|
|
1687
|
+
engine: 'comfy';
|
|
1688
|
+
};
|
|
1689
|
+
export type ComfyFlux2KleinCreateImageInput = Omit<
|
|
1690
|
+
ComfyFlux2KleinImageGenInput,
|
|
1691
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1692
|
+
> & {
|
|
1693
|
+
operation: 'createImage';
|
|
1694
|
+
ecosystem: 'flux2Klein';
|
|
1695
|
+
engine: 'comfy';
|
|
1696
|
+
};
|
|
1697
|
+
export type ComfyFlux2KleinEditImageInput = Omit<
|
|
1698
|
+
ComfyFlux2KleinImageGenInput,
|
|
1699
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1700
|
+
> & {
|
|
1701
|
+
images?: Array<string>;
|
|
1702
|
+
operation: 'editImage';
|
|
1703
|
+
ecosystem: 'flux2Klein';
|
|
1704
|
+
engine: 'comfy';
|
|
1705
|
+
};
|
|
1706
|
+
export type ComfyFlux2KleinImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1707
|
+
operation: string;
|
|
1708
|
+
prompt: string;
|
|
1709
|
+
width?: number;
|
|
1710
|
+
height?: number;
|
|
1711
|
+
seed?: null | number;
|
|
1712
|
+
quantity?: number;
|
|
1713
|
+
cfgScale?: number;
|
|
1714
|
+
steps?: number;
|
|
1715
|
+
sampler?: ComfySampler;
|
|
1716
|
+
scheduler?: ComfyScheduler;
|
|
1717
|
+
negativePrompt?: null | string;
|
|
1718
|
+
loras?: {
|
|
1719
|
+
[key: string]: number;
|
|
1720
|
+
};
|
|
1721
|
+
/**
|
|
1722
|
+
* Klein model variant. Both 9b and 9b-kv always use the 9B KV checkpoint and reference-image caching. 4B and Base variants use their original checkpoints.
|
|
1723
|
+
*/
|
|
1724
|
+
modelVersion?: '4b' | '4b-base' | '9b' | '9b-base' | '9b-kv';
|
|
1725
|
+
ecosystem: 'flux2Klein';
|
|
1726
|
+
engine: 'comfy';
|
|
1727
|
+
};
|
|
1728
|
+
export type ComfyFlux2KleinVariantImageGenInput = Omit<
|
|
1729
|
+
ComfyFlux2KleinImageGenInput,
|
|
1730
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1731
|
+
> & {
|
|
1732
|
+
/**
|
|
1733
|
+
* Either A URL, A DataURL or a Base64 string
|
|
1734
|
+
*/
|
|
1735
|
+
image: string;
|
|
1736
|
+
strength?: number;
|
|
1737
|
+
operation: 'createVariant';
|
|
1738
|
+
ecosystem: 'flux2Klein';
|
|
1739
|
+
engine: 'comfy';
|
|
1740
|
+
};
|
|
1657
1741
|
export type ComfyHiDreamImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1658
1742
|
model: string;
|
|
1659
1743
|
ecosystem: 'hidream-o1';
|
|
@@ -2539,6 +2623,73 @@ export type ComfyPolyGenInput = Omit<PolyGenInput, 'engine'> & {
|
|
|
2539
2623
|
model: string;
|
|
2540
2624
|
engine: 'comfy';
|
|
2541
2625
|
};
|
|
2626
|
+
export type ComfyQwen20bCreateImageGenInput = Omit<
|
|
2627
|
+
ComfyQwen20bImageGenInput,
|
|
2628
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2629
|
+
> & {
|
|
2630
|
+
version?: 'latest' | '2509' | '2512';
|
|
2631
|
+
width?: number;
|
|
2632
|
+
height?: number;
|
|
2633
|
+
operation: 'createImage';
|
|
2634
|
+
model: '20b';
|
|
2635
|
+
ecosystem: 'qwen';
|
|
2636
|
+
engine: 'comfy';
|
|
2637
|
+
};
|
|
2638
|
+
export type ComfyQwen20bEditImageGenInput = Omit<
|
|
2639
|
+
ComfyQwen20bImageGenInput,
|
|
2640
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2641
|
+
> & {
|
|
2642
|
+
version?: 'latest' | '2509' | '2511';
|
|
2643
|
+
images: Array<string>;
|
|
2644
|
+
readonly width: number;
|
|
2645
|
+
readonly height: number;
|
|
2646
|
+
operation: 'editImage';
|
|
2647
|
+
model: '20b';
|
|
2648
|
+
ecosystem: 'qwen';
|
|
2649
|
+
engine: 'comfy';
|
|
2650
|
+
};
|
|
2651
|
+
export type ComfyQwen20bImageGenInput = Omit<
|
|
2652
|
+
ComfyQwenImageGenInput,
|
|
2653
|
+
'engine' | 'ecosystem' | 'model'
|
|
2654
|
+
> & {
|
|
2655
|
+
operation: string;
|
|
2656
|
+
prompt: string;
|
|
2657
|
+
negativePrompt?: null | string;
|
|
2658
|
+
sampler?: ComfySampler;
|
|
2659
|
+
scheduler?: ComfyScheduler;
|
|
2660
|
+
steps?: number;
|
|
2661
|
+
cfgScale?: number;
|
|
2662
|
+
seed?: null | number;
|
|
2663
|
+
quantity?: number;
|
|
2664
|
+
loras?: {
|
|
2665
|
+
[key: string]: number;
|
|
2666
|
+
};
|
|
2667
|
+
model: '20b';
|
|
2668
|
+
ecosystem: 'qwen';
|
|
2669
|
+
engine: 'comfy';
|
|
2670
|
+
};
|
|
2671
|
+
export type ComfyQwen20bVariantImageGenInput = Omit<
|
|
2672
|
+
ComfyQwen20bImageGenInput,
|
|
2673
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2674
|
+
> & {
|
|
2675
|
+
version?: 'latest' | '2509' | '2512';
|
|
2676
|
+
/**
|
|
2677
|
+
* Either A URL, A DataURL or a Base64 string
|
|
2678
|
+
*/
|
|
2679
|
+
image: string;
|
|
2680
|
+
strength?: number;
|
|
2681
|
+
readonly width: number;
|
|
2682
|
+
readonly height: number;
|
|
2683
|
+
operation: 'createVariant';
|
|
2684
|
+
model: '20b';
|
|
2685
|
+
ecosystem: 'qwen';
|
|
2686
|
+
engine: 'comfy';
|
|
2687
|
+
};
|
|
2688
|
+
export type ComfyQwenImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
2689
|
+
model: null | string;
|
|
2690
|
+
ecosystem: 'qwen';
|
|
2691
|
+
engine: 'comfy';
|
|
2692
|
+
};
|
|
2542
2693
|
export declare const ComfySampler: {
|
|
2543
2694
|
readonly EULER: 'euler';
|
|
2544
2695
|
readonly EULER_ANCESTRAL: 'euler_ancestral';
|
|
@@ -2836,6 +2987,76 @@ export type ComfyTrainingInput = Omit<TrainingInput, 'engine'> & {
|
|
|
2836
2987
|
readonly maxBatchSize: number;
|
|
2837
2988
|
engine: 'comfy';
|
|
2838
2989
|
};
|
|
2990
|
+
export type ComfyZImageBaseCreateImageGenInput = Omit<
|
|
2991
|
+
ComfyZImageBaseImageGenInput,
|
|
2992
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2993
|
+
> & {
|
|
2994
|
+
width?: number;
|
|
2995
|
+
height?: number;
|
|
2996
|
+
operation: 'createImage';
|
|
2997
|
+
model: 'base';
|
|
2998
|
+
ecosystem: 'zImage';
|
|
2999
|
+
engine: 'comfy';
|
|
3000
|
+
};
|
|
3001
|
+
export type ComfyZImageBaseImageGenInput = Omit<
|
|
3002
|
+
ComfyZImageImageGenInput,
|
|
3003
|
+
'engine' | 'ecosystem' | 'model'
|
|
3004
|
+
> & {
|
|
3005
|
+
operation: null | string;
|
|
3006
|
+
prompt: string;
|
|
3007
|
+
negativePrompt?: null | string;
|
|
3008
|
+
sampler?: ComfySampler;
|
|
3009
|
+
scheduler?: ComfyScheduler;
|
|
3010
|
+
steps?: number;
|
|
3011
|
+
cfgScale?: number;
|
|
3012
|
+
seed?: null | number;
|
|
3013
|
+
quantity?: number;
|
|
3014
|
+
loras?: {
|
|
3015
|
+
[key: string]: number;
|
|
3016
|
+
};
|
|
3017
|
+
controlNets?: Array<ImageJobControlNet>;
|
|
3018
|
+
model: 'base';
|
|
3019
|
+
ecosystem: 'zImage';
|
|
3020
|
+
engine: 'comfy';
|
|
3021
|
+
};
|
|
3022
|
+
export type ComfyZImageImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
3023
|
+
model: null | string;
|
|
3024
|
+
diffuserModel?: string;
|
|
3025
|
+
ecosystem: 'zImage';
|
|
3026
|
+
engine: 'comfy';
|
|
3027
|
+
};
|
|
3028
|
+
export type ComfyZImageTurboCreateImageGenInput = Omit<
|
|
3029
|
+
ComfyZImageTurboImageGenInput,
|
|
3030
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
3031
|
+
> & {
|
|
3032
|
+
width?: number;
|
|
3033
|
+
height?: number;
|
|
3034
|
+
operation: 'createImage';
|
|
3035
|
+
model: 'turbo';
|
|
3036
|
+
ecosystem: 'zImage';
|
|
3037
|
+
engine: 'comfy';
|
|
3038
|
+
};
|
|
3039
|
+
export type ComfyZImageTurboImageGenInput = Omit<
|
|
3040
|
+
ComfyZImageImageGenInput,
|
|
3041
|
+
'engine' | 'ecosystem' | 'model'
|
|
3042
|
+
> & {
|
|
3043
|
+
operation: null | string;
|
|
3044
|
+
prompt: string;
|
|
3045
|
+
negativePrompt?: null | string;
|
|
3046
|
+
sampler?: ComfySampler;
|
|
3047
|
+
scheduler?: ComfyScheduler;
|
|
3048
|
+
steps?: number;
|
|
3049
|
+
cfgScale?: number;
|
|
3050
|
+
seed?: null | number;
|
|
3051
|
+
quantity?: number;
|
|
3052
|
+
loras?: {
|
|
3053
|
+
[key: string]: number;
|
|
3054
|
+
};
|
|
3055
|
+
controlNets?: Array<ImageJobControlNet>;
|
|
3056
|
+
model: 'turbo';
|
|
3057
|
+
ecosystem: 'zImage';
|
|
3058
|
+
engine: 'comfy';
|
|
3059
|
+
};
|
|
2839
3060
|
/**
|
|
2840
3061
|
* A single audio or video element participating in a composition.
|
|
2841
3062
|
*/
|
|
@@ -6604,7 +6825,7 @@ export type OpenAiGpt25FlareImageGenInput = Omit<OpenApiImageGenInput, 'engine'
|
|
|
6604
6825
|
width?: null | number;
|
|
6605
6826
|
height?: null | number;
|
|
6606
6827
|
quantity?: number;
|
|
6607
|
-
quality?: 'low' | 'medium' | 'high';
|
|
6828
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
6608
6829
|
model: 'gpt-image-2.5-flare';
|
|
6609
6830
|
engine: 'openai';
|
|
6610
6831
|
};
|
|
@@ -6649,7 +6870,7 @@ export type OpenAiGpt25SunburstImageGenInput = Omit<OpenApiImageGenInput, 'engin
|
|
|
6649
6870
|
width?: null | number;
|
|
6650
6871
|
height?: null | number;
|
|
6651
6872
|
quantity?: number;
|
|
6652
|
-
quality?: 'low' | 'medium' | 'high';
|
|
6873
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
6653
6874
|
model: 'gpt-image-2.5-sunburst';
|
|
6654
6875
|
engine: 'openai';
|
|
6655
6876
|
};
|
|
@@ -10938,6 +11159,32 @@ export type ChromaAiToolkitTrainingInputWritable = Omit<
|
|
|
10938
11159
|
*/
|
|
10939
11160
|
batchSize?: null | number;
|
|
10940
11161
|
};
|
|
11162
|
+
export type ComfyQwen20bEditImageGenInputWritable = Omit<
|
|
11163
|
+
ComfyQwen20bImageGenInput,
|
|
11164
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
11165
|
+
> & {
|
|
11166
|
+
version?: 'latest' | '2509' | '2511';
|
|
11167
|
+
images: Array<string>;
|
|
11168
|
+
operation: 'ComfyQwen20bEditImageGenInputWritable';
|
|
11169
|
+
model: '20b';
|
|
11170
|
+
ecosystem: 'qwen';
|
|
11171
|
+
engine: 'comfy';
|
|
11172
|
+
};
|
|
11173
|
+
export type ComfyQwen20bVariantImageGenInputWritable = Omit<
|
|
11174
|
+
ComfyQwen20bImageGenInput,
|
|
11175
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
11176
|
+
> & {
|
|
11177
|
+
version?: 'latest' | '2509' | '2512';
|
|
11178
|
+
/**
|
|
11179
|
+
* Either A URL, A DataURL or a Base64 string
|
|
11180
|
+
*/
|
|
11181
|
+
image: string;
|
|
11182
|
+
strength?: number;
|
|
11183
|
+
operation: 'ComfyQwen20bVariantImageGenInputWritable';
|
|
11184
|
+
model: '20b';
|
|
11185
|
+
ecosystem: 'qwen';
|
|
11186
|
+
engine: 'comfy';
|
|
11187
|
+
};
|
|
10941
11188
|
/**
|
|
10942
11189
|
* Input for model-family-driven Comfy-backed LoRA training.
|
|
10943
11190
|
*/
|
package/package.json
CHANGED