@civitai/client 0.2.0-beta.64 → 0.2.0-beta.66

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.
@@ -21,6 +21,7 @@ export {
21
21
  invokeChatCompletionStepTemplate,
22
22
  invokeComfyStepTemplate,
23
23
  invokeConvertImageStepTemplate,
24
+ invokeCustomComfyStepTemplate,
24
25
  invokeEchoStepTemplate,
25
26
  invokeHumanoidImageMaskStepTemplate,
26
27
  invokeImageGenStepTemplate,
@@ -88,6 +89,7 @@ export {
88
89
  type AgeDetection,
89
90
  type AiRecognitionResult,
90
91
  type AiToolkitTrainingInput,
92
+ type AnimaAiToolkitTrainingInput,
91
93
  type AnimaCreateImageGenInput,
92
94
  type AnimaImageGenInput,
93
95
  AnimalPoseBboxDetector,
@@ -167,6 +169,11 @@ export {
167
169
  type ComfyHiDreamO1ImageGenInput,
168
170
  type ComfyImageGenInput,
169
171
  type ComfyInput,
172
+ type ComfyLensImageGenInput,
173
+ type ComfyLensNormalCreateImageGenInput,
174
+ type ComfyLensNormalImageGenInput,
175
+ type ComfyLensTurboCreateImageGenInput,
176
+ type ComfyLensTurboImageGenInput,
170
177
  type ComfyLtx23AudioToVideoInput,
171
178
  type ComfyLtx23CreateVideoInput,
172
179
  type ComfyLtx23EditVideoInput,
@@ -199,6 +206,11 @@ export {
199
206
  type ConvertImageStepTemplate,
200
207
  type CursedArrayOfTelemetryCursorAndWorkflow,
201
208
  type CursedArrayOfTelemetryCursorAndWorkflowWritable,
209
+ type CustomComfyHooks,
210
+ type CustomComfyInput,
211
+ type CustomComfyOutput,
212
+ type CustomComfyStep,
213
+ type CustomComfyStepTemplate,
202
214
  type CustomTextToSpeechInput,
203
215
  type DeleteWorkflowData,
204
216
  type DeleteWorkflowError,
@@ -416,6 +428,11 @@ export {
416
428
  type InvokeConvertImageStepTemplateErrors,
417
429
  type InvokeConvertImageStepTemplateResponse,
418
430
  type InvokeConvertImageStepTemplateResponses,
431
+ type InvokeCustomComfyStepTemplateData,
432
+ type InvokeCustomComfyStepTemplateError,
433
+ type InvokeCustomComfyStepTemplateErrors,
434
+ type InvokeCustomComfyStepTemplateResponse,
435
+ type InvokeCustomComfyStepTemplateResponses,
419
436
  type InvokeEchoStepTemplateData,
420
437
  type InvokeEchoStepTemplateError,
421
438
  type InvokeEchoStepTemplateErrors,
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeAudioMixStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
2
+ export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeAudioMixStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
3
3
  export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaHashType, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, SettlementCurrency, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, ZoeDepthEnvironment, } from './types.gen';
@@ -64,6 +64,9 @@ import type {
64
64
  InvokeConvertImageStepTemplateData,
65
65
  InvokeConvertImageStepTemplateErrors,
66
66
  InvokeConvertImageStepTemplateResponses,
67
+ InvokeCustomComfyStepTemplateData,
68
+ InvokeCustomComfyStepTemplateErrors,
69
+ InvokeCustomComfyStepTemplateResponses,
67
70
  InvokeEchoStepTemplateData,
68
71
  InvokeEchoStepTemplateErrors,
69
72
  InvokeEchoStepTemplateResponses,
@@ -399,6 +402,23 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
399
402
  ThrowOnError,
400
403
  'fields'
401
404
  >;
405
+ /**
406
+ * CustomComfy
407
+ *
408
+ * Submit a raw ComfyUI workflow graph for execution. Every resource the
409
+ * /// workflow uses (checkpoints, loras, AND <c>comfy:nodepack</c> URNs for
410
+ * /// runtime-installable custom nodes) must be declared in <c>Resources</c> —
411
+ * /// the orchestrator does not scan the workflow. Billing happens after
412
+ * /// execution based on actual ComfyUI runtime; infra failures don't charge.
413
+ */
414
+ export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
415
+ options?: Options<InvokeCustomComfyStepTemplateData, ThrowOnError>
416
+ ) => import('./client').RequestResult<
417
+ InvokeCustomComfyStepTemplateResponses,
418
+ InvokeCustomComfyStepTemplateErrors,
419
+ ThrowOnError,
420
+ 'fields'
421
+ >;
402
422
  /**
403
423
  * Echo
404
424
  *
@@ -220,6 +220,26 @@ export const invokeConvertImageStepTemplate = (options) => {
220
220
  },
221
221
  });
222
222
  };
223
+ /**
224
+ * CustomComfy
225
+ *
226
+ * Submit a raw ComfyUI workflow graph for execution. Every resource the
227
+ * /// workflow uses (checkpoints, loras, AND <c>comfy:nodepack</c> URNs for
228
+ * /// runtime-installable custom nodes) must be declared in <c>Resources</c> —
229
+ * /// the orchestrator does not scan the workflow. Billing happens after
230
+ * /// execution based on actual ComfyUI runtime; infra failures don't charge.
231
+ */
232
+ export const invokeCustomComfyStepTemplate = (options) => {
233
+ var _a;
234
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
235
+ url: '/v2/consumer/recipes/customComfy',
236
+ ...options,
237
+ headers: {
238
+ 'Content-Type': 'application/json',
239
+ ...options === null || options === void 0 ? void 0 : options.headers,
240
+ },
241
+ });
242
+ };
223
243
  /**
224
244
  * Echo
225
245
  *
@@ -450,6 +450,13 @@ export type AgeDetection = {
450
450
  [key: string]: number;
451
451
  };
452
452
  };
453
+ /**
454
+ * AI Toolkit training for Anima models.
455
+ */
456
+ export type AnimaAiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
457
+ ecosystem: 'anima';
458
+ engine: 'ai-toolkit';
459
+ };
453
460
  export type AnimaCreateImageGenInput = Omit<
454
461
  AnimaImageGenInput,
455
462
  'engine' | 'ecosystem' | 'operation'
@@ -1460,6 +1467,75 @@ export type ComfyInput = {
1460
1467
  */
1461
1468
  useSpineComfy?: null | boolean;
1462
1469
  };
1470
+ export type ComfyLensImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1471
+ model: string;
1472
+ ecosystem: 'lens';
1473
+ engine: 'comfy';
1474
+ };
1475
+ export type ComfyLensNormalCreateImageGenInput = Omit<
1476
+ ComfyLensNormalImageGenInput,
1477
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1478
+ > & {
1479
+ width?: number;
1480
+ height?: number;
1481
+ operation: 'createImage';
1482
+ model: 'normal';
1483
+ ecosystem: 'lens';
1484
+ engine: 'comfy';
1485
+ };
1486
+ export type ComfyLensNormalImageGenInput = Omit<
1487
+ ComfyLensImageGenInput,
1488
+ 'engine' | 'ecosystem' | 'model'
1489
+ > & {
1490
+ operation: string;
1491
+ prompt: string;
1492
+ negativePrompt?: null | string;
1493
+ sampler?: ComfySampler;
1494
+ scheduler?: ComfyScheduler;
1495
+ steps?: number;
1496
+ cfgScale?: number;
1497
+ seed?: null | number;
1498
+ quantity?: number;
1499
+ loras?: {
1500
+ [key: string]: number;
1501
+ };
1502
+ diffusionModel?: null | string;
1503
+ model: 'normal';
1504
+ ecosystem: 'lens';
1505
+ engine: 'comfy';
1506
+ };
1507
+ export type ComfyLensTurboCreateImageGenInput = Omit<
1508
+ ComfyLensTurboImageGenInput,
1509
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1510
+ > & {
1511
+ width?: number;
1512
+ height?: number;
1513
+ operation: 'createImage';
1514
+ model: 'turbo';
1515
+ ecosystem: 'lens';
1516
+ engine: 'comfy';
1517
+ };
1518
+ export type ComfyLensTurboImageGenInput = Omit<
1519
+ ComfyLensImageGenInput,
1520
+ 'engine' | 'ecosystem' | 'model'
1521
+ > & {
1522
+ operation: string;
1523
+ prompt: string;
1524
+ negativePrompt?: null | string;
1525
+ sampler?: ComfySampler;
1526
+ scheduler?: ComfyScheduler;
1527
+ steps?: number;
1528
+ cfgScale?: number;
1529
+ seed?: null | number;
1530
+ quantity?: number;
1531
+ loras?: {
1532
+ [key: string]: number;
1533
+ };
1534
+ diffusionModel?: null | string;
1535
+ model: 'turbo';
1536
+ ecosystem: 'lens';
1537
+ engine: 'comfy';
1538
+ };
1463
1539
  /**
1464
1540
  * Generate video driven by a reference audio track, optionally anchored to a reference image (ComfyUI backend)
1465
1541
  */
@@ -1866,6 +1942,68 @@ export type CursedArrayOfTelemetryCursorAndWorkflow = {
1866
1942
  next: string;
1867
1943
  items: Array<Workflow>;
1868
1944
  };
1945
+ export type CustomComfyHooks = {
1946
+ /**
1947
+ * WebSocket URL the worker forwards ComfyUI's `/ws` messages to.
1948
+ * Used by the hosted UI for live progress; null for headless consumers.
1949
+ */
1950
+ websocket?: null | string;
1951
+ };
1952
+ /**
1953
+ * Input for a CustomComfy step.
1954
+ */
1955
+ export type CustomComfyInput = {
1956
+ /**
1957
+ * All resources the workflow needs, declared explicitly as AIR URNs.
1958
+ * Includes checkpoint/lora/vae models AND `comfy:nodepack` URNs
1959
+ * for runtime-installable custom nodes
1960
+ * (e.g. `urn:air:comfy:nodepack:comfyregistry:kijai/comfyui-kjnodes@1.4.0`).
1961
+ * Anything the workflow references that isn't listed here will fail at
1962
+ * load time inside ComfyUI.
1963
+ */
1964
+ resources: Array<string>;
1965
+ /**
1966
+ * The raw ComfyUI workflow graph. Forwarded opaquely to the worker;
1967
+ * the orchestrator does not inspect or validate node contents.
1968
+ */
1969
+ workflow: unknown;
1970
+ hooks?: CustomComfyHooks;
1971
+ /**
1972
+ * Optional session identifier. When set, the scheduler prefers a
1973
+ * worker that already holds this session's ComfyUI container (P5
1974
+ * session affinity). Null = no preference, treated as a fresh session.
1975
+ */
1976
+ sessionId?: null | string;
1977
+ };
1978
+ /**
1979
+ * Output from a CustomComfy step.
1980
+ */
1981
+ export type CustomComfyOutput = {
1982
+ /**
1983
+ * The executed workflow JSON, with any `output/<filename>`
1984
+ * references rewritten to blob URIs the consumer can fetch.
1985
+ */
1986
+ workflow: unknown;
1987
+ /**
1988
+ * Direct URIs to each generated asset (images, videos, etc).
1989
+ */
1990
+ assets: Array<string>;
1991
+ };
1992
+ /**
1993
+ * CustomComfy
1994
+ */
1995
+ export type CustomComfyStep = Omit<WorkflowStep, '$type'> & {
1996
+ input: CustomComfyInput;
1997
+ output?: CustomComfyOutput;
1998
+ $type: 'customComfy';
1999
+ };
2000
+ /**
2001
+ * CustomComfy
2002
+ */
2003
+ export type CustomComfyStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
2004
+ input: CustomComfyInput;
2005
+ $type: 'customComfy';
2006
+ };
1869
2007
  export type CustomTextToSpeechInput = Omit<TextToSpeechInput, 'engine'> & {
1870
2008
  /**
1871
2009
  * Reference audio URL for Base voice-cloning mode.
@@ -4541,6 +4679,7 @@ export type ResourceFee = {
4541
4679
  amount: number;
4542
4680
  type: ResourceFeeType;
4543
4681
  settlementCurrency: SettlementCurrency;
4682
+ recipientModelVersionId?: null | number;
4544
4683
  };
4545
4684
  export declare const ResourceFeeType: {
4546
4685
  readonly PER_IMAGE_BUZZ: 'perImageBuzz';
@@ -6268,6 +6407,12 @@ export type Workflow = {
6268
6407
  * Prevents re-charging on grain recovery.
6269
6408
  */
6270
6409
  forceRefunded: boolean;
6410
+ /**
6411
+ * When true, this workflow is not persisted to telemetry/MongoDB.
6412
+ * In-flight state lives only in Orleans grain state (Redis); once the workflow
6413
+ * reaches a terminal state the grain clears its state and no record remains.
6414
+ */
6415
+ ephemeral?: null | boolean;
6271
6416
  };
6272
6417
  /**
6273
6418
  * Details of a callback setup for a workflow.
@@ -6682,6 +6827,13 @@ export type WorkflowTemplate = {
6682
6827
  * Limit the currencies that can be used to pay for this workflow.
6683
6828
  */
6684
6829
  currencies: Array<BuzzClientAccount>;
6830
+ /**
6831
+ * When true, the workflow is never persisted to long-term storage.
6832
+ * Results are available via callbacks and via the synchronous `wait` parameter only;
6833
+ * after the workflow reaches a terminal state, GET /v2/consumer/workflows/{id} returns 404.
6834
+ * Requires at least one callback OR `wait > 0` on submission.
6835
+ */
6836
+ ephemeral?: null | boolean;
6685
6837
  };
6686
6838
  export type WorkflowTips = {
6687
6839
  /**
@@ -7474,6 +7626,12 @@ export type WorkflowWritable = {
7474
7626
  * Prevents re-charging on grain recovery.
7475
7627
  */
7476
7628
  forceRefunded: boolean;
7629
+ /**
7630
+ * When true, this workflow is not persisted to telemetry/MongoDB.
7631
+ * In-flight state lives only in Orleans grain state (Redis); once the workflow
7632
+ * reaches a terminal state the grain clears its state and no record remains.
7633
+ */
7634
+ ephemeral?: null | boolean;
7477
7635
  };
7478
7636
  export type WorkflowCostWritable = {
7479
7637
  /**
@@ -8001,6 +8159,7 @@ export type InvokeAceStepAudioStepTemplateData = {
8001
8159
  experimental?: boolean;
8002
8160
  allowMatureContent?: boolean;
8003
8161
  whatif?: boolean;
8162
+ ephemeral?: boolean;
8004
8163
  };
8005
8164
  url: '/v2/consumer/recipes/aceStepAudio';
8006
8165
  };
@@ -8031,6 +8190,7 @@ export type InvokeAgeClassificationStepTemplateData = {
8031
8190
  experimental?: boolean;
8032
8191
  allowMatureContent?: boolean;
8033
8192
  whatif?: boolean;
8193
+ ephemeral?: boolean;
8034
8194
  };
8035
8195
  url: '/v2/consumer/recipes/ageClassification';
8036
8196
  };
@@ -8061,6 +8221,7 @@ export type InvokeAudioCaptioningStepTemplateData = {
8061
8221
  experimental?: boolean;
8062
8222
  allowMatureContent?: boolean;
8063
8223
  whatif?: boolean;
8224
+ ephemeral?: boolean;
8064
8225
  };
8065
8226
  url: '/v2/consumer/recipes/audioCaptioning';
8066
8227
  };
@@ -8091,6 +8252,7 @@ export type InvokeAudioMixStepTemplateData = {
8091
8252
  experimental?: boolean;
8092
8253
  allowMatureContent?: boolean;
8093
8254
  whatif?: boolean;
8255
+ ephemeral?: boolean;
8094
8256
  };
8095
8257
  url: '/v2/consumer/recipes/audioMix';
8096
8258
  };
@@ -8121,6 +8283,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
8121
8283
  experimental?: boolean;
8122
8284
  allowMatureContent?: boolean;
8123
8285
  whatif?: boolean;
8286
+ ephemeral?: boolean;
8124
8287
  };
8125
8288
  url: '/v2/consumer/recipes/batchOCRSafetyClassification';
8126
8289
  };
@@ -8151,6 +8314,7 @@ export type InvokeBlobArchiveStepTemplateData = {
8151
8314
  experimental?: boolean;
8152
8315
  allowMatureContent?: boolean;
8153
8316
  whatif?: boolean;
8317
+ ephemeral?: boolean;
8154
8318
  };
8155
8319
  url: '/v2/consumer/recipes/blobArchive';
8156
8320
  };
@@ -8181,6 +8345,7 @@ export type InvokeChatCompletionStepTemplateData = {
8181
8345
  experimental?: boolean;
8182
8346
  allowMatureContent?: boolean;
8183
8347
  whatif?: boolean;
8348
+ ephemeral?: boolean;
8184
8349
  };
8185
8350
  url: '/v2/consumer/recipes/chatCompletion';
8186
8351
  };
@@ -8211,6 +8376,7 @@ export type InvokeComfyStepTemplateData = {
8211
8376
  experimental?: boolean;
8212
8377
  allowMatureContent?: boolean;
8213
8378
  whatif?: boolean;
8379
+ ephemeral?: boolean;
8214
8380
  };
8215
8381
  url: '/v2/consumer/recipes/comfy';
8216
8382
  };
@@ -8241,6 +8407,7 @@ export type InvokeConvertImageStepTemplateData = {
8241
8407
  experimental?: boolean;
8242
8408
  allowMatureContent?: boolean;
8243
8409
  whatif?: boolean;
8410
+ ephemeral?: boolean;
8244
8411
  };
8245
8412
  url: '/v2/consumer/recipes/convertImage';
8246
8413
  };
@@ -8264,6 +8431,37 @@ export type InvokeConvertImageStepTemplateResponses = {
8264
8431
  };
8265
8432
  export type InvokeConvertImageStepTemplateResponse =
8266
8433
  InvokeConvertImageStepTemplateResponses[keyof InvokeConvertImageStepTemplateResponses];
8434
+ export type InvokeCustomComfyStepTemplateData = {
8435
+ body?: CustomComfyInput;
8436
+ path?: never;
8437
+ query?: {
8438
+ experimental?: boolean;
8439
+ allowMatureContent?: boolean;
8440
+ whatif?: boolean;
8441
+ ephemeral?: boolean;
8442
+ };
8443
+ url: '/v2/consumer/recipes/customComfy';
8444
+ };
8445
+ export type InvokeCustomComfyStepTemplateErrors = {
8446
+ /**
8447
+ * Bad Request
8448
+ */
8449
+ 400: ProblemDetails;
8450
+ /**
8451
+ * Unauthorized
8452
+ */
8453
+ 401: ProblemDetails;
8454
+ };
8455
+ export type InvokeCustomComfyStepTemplateError =
8456
+ InvokeCustomComfyStepTemplateErrors[keyof InvokeCustomComfyStepTemplateErrors];
8457
+ export type InvokeCustomComfyStepTemplateResponses = {
8458
+ /**
8459
+ * OK
8460
+ */
8461
+ 200: CustomComfyOutput;
8462
+ };
8463
+ export type InvokeCustomComfyStepTemplateResponse =
8464
+ InvokeCustomComfyStepTemplateResponses[keyof InvokeCustomComfyStepTemplateResponses];
8267
8465
  export type InvokeEchoStepTemplateData = {
8268
8466
  body?: EchoInput;
8269
8467
  path?: never;
@@ -8271,6 +8469,7 @@ export type InvokeEchoStepTemplateData = {
8271
8469
  experimental?: boolean;
8272
8470
  allowMatureContent?: boolean;
8273
8471
  whatif?: boolean;
8472
+ ephemeral?: boolean;
8274
8473
  };
8275
8474
  url: '/v2/consumer/recipes/echo';
8276
8475
  };
@@ -8301,6 +8500,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
8301
8500
  experimental?: boolean;
8302
8501
  allowMatureContent?: boolean;
8303
8502
  whatif?: boolean;
8503
+ ephemeral?: boolean;
8304
8504
  };
8305
8505
  url: '/v2/consumer/recipes/humanoidImageMask';
8306
8506
  };
@@ -8331,6 +8531,7 @@ export type InvokeImageGenStepTemplateData = {
8331
8531
  experimental?: boolean;
8332
8532
  allowMatureContent?: boolean;
8333
8533
  whatif?: boolean;
8534
+ ephemeral?: boolean;
8334
8535
  };
8335
8536
  url: '/v2/consumer/recipes/imageGen';
8336
8537
  };
@@ -8361,6 +8562,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
8361
8562
  experimental?: boolean;
8362
8563
  allowMatureContent?: boolean;
8363
8564
  whatif?: boolean;
8565
+ ephemeral?: boolean;
8364
8566
  };
8365
8567
  url: '/v2/consumer/recipes/imageResourceTraining';
8366
8568
  };
@@ -8391,6 +8593,7 @@ export type InvokeImageUploadStepTemplateData = {
8391
8593
  experimental?: boolean;
8392
8594
  allowMatureContent?: boolean;
8393
8595
  whatif?: boolean;
8596
+ ephemeral?: boolean;
8394
8597
  };
8395
8598
  url: '/v2/consumer/recipes/imageUpload';
8396
8599
  };
@@ -8421,6 +8624,7 @@ export type InvokeImageUpscalerStepTemplateData = {
8421
8624
  experimental?: boolean;
8422
8625
  allowMatureContent?: boolean;
8423
8626
  whatif?: boolean;
8627
+ ephemeral?: boolean;
8424
8628
  };
8425
8629
  url: '/v2/consumer/recipes/imageUpscaler';
8426
8630
  };
@@ -8451,6 +8655,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
8451
8655
  experimental?: boolean;
8452
8656
  allowMatureContent?: boolean;
8453
8657
  whatif?: boolean;
8658
+ ephemeral?: boolean;
8454
8659
  };
8455
8660
  url: '/v2/consumer/recipes/mediaCaptioning';
8456
8661
  };
@@ -8481,6 +8686,7 @@ export type InvokeMediaHashStepTemplateData = {
8481
8686
  experimental?: boolean;
8482
8687
  allowMatureContent?: boolean;
8483
8688
  whatif?: boolean;
8689
+ ephemeral?: boolean;
8484
8690
  };
8485
8691
  url: '/v2/consumer/recipes/mediaHash';
8486
8692
  };
@@ -8511,6 +8717,7 @@ export type InvokeMediaRatingStepTemplateData = {
8511
8717
  experimental?: boolean;
8512
8718
  allowMatureContent?: boolean;
8513
8719
  whatif?: boolean;
8720
+ ephemeral?: boolean;
8514
8721
  };
8515
8722
  url: '/v2/consumer/recipes/mediaRating';
8516
8723
  };
@@ -8541,6 +8748,7 @@ export type InvokeModelClamScanStepTemplateData = {
8541
8748
  experimental?: boolean;
8542
8749
  allowMatureContent?: boolean;
8543
8750
  whatif?: boolean;
8751
+ ephemeral?: boolean;
8544
8752
  };
8545
8753
  url: '/v2/consumer/recipes/modelClamScan';
8546
8754
  };
@@ -8571,6 +8779,7 @@ export type InvokeModelHashStepTemplateData = {
8571
8779
  experimental?: boolean;
8572
8780
  allowMatureContent?: boolean;
8573
8781
  whatif?: boolean;
8782
+ ephemeral?: boolean;
8574
8783
  };
8575
8784
  url: '/v2/consumer/recipes/modelHash';
8576
8785
  };
@@ -8601,6 +8810,7 @@ export type InvokeModelParseMetadataStepTemplateData = {
8601
8810
  experimental?: boolean;
8602
8811
  allowMatureContent?: boolean;
8603
8812
  whatif?: boolean;
8813
+ ephemeral?: boolean;
8604
8814
  };
8605
8815
  url: '/v2/consumer/recipes/modelParseMetadata';
8606
8816
  };
@@ -8631,6 +8841,7 @@ export type InvokeModelPickleScanStepTemplateData = {
8631
8841
  experimental?: boolean;
8632
8842
  allowMatureContent?: boolean;
8633
8843
  whatif?: boolean;
8844
+ ephemeral?: boolean;
8634
8845
  };
8635
8846
  url: '/v2/consumer/recipes/modelPickleScan';
8636
8847
  };
@@ -8661,6 +8872,7 @@ export type InvokePreprocessImageStepTemplateData = {
8661
8872
  experimental?: boolean;
8662
8873
  allowMatureContent?: boolean;
8663
8874
  whatif?: boolean;
8875
+ ephemeral?: boolean;
8664
8876
  };
8665
8877
  url: '/v2/consumer/recipes/preprocessImage';
8666
8878
  };
@@ -8691,6 +8903,7 @@ export type InvokePromptEnhancementStepTemplateData = {
8691
8903
  experimental?: boolean;
8692
8904
  allowMatureContent?: boolean;
8693
8905
  whatif?: boolean;
8906
+ ephemeral?: boolean;
8694
8907
  };
8695
8908
  url: '/v2/consumer/recipes/promptEnhancement';
8696
8909
  };
@@ -8721,6 +8934,7 @@ export type InvokeRepeatStepTemplateData = {
8721
8934
  experimental?: boolean;
8722
8935
  allowMatureContent?: boolean;
8723
8936
  whatif?: boolean;
8937
+ ephemeral?: boolean;
8724
8938
  };
8725
8939
  url: '/v2/consumer/recipes/repeat';
8726
8940
  };
@@ -8751,6 +8965,7 @@ export type InvokeTextToImageStepTemplateData = {
8751
8965
  experimental?: boolean;
8752
8966
  allowMatureContent?: boolean;
8753
8967
  whatif?: boolean;
8968
+ ephemeral?: boolean;
8754
8969
  };
8755
8970
  url: '/v2/consumer/recipes/textToImage';
8756
8971
  };
@@ -8781,6 +8996,7 @@ export type InvokeTextToSpeechStepTemplateData = {
8781
8996
  experimental?: boolean;
8782
8997
  allowMatureContent?: boolean;
8783
8998
  whatif?: boolean;
8999
+ ephemeral?: boolean;
8784
9000
  };
8785
9001
  url: '/v2/consumer/recipes/textToSpeech';
8786
9002
  };
@@ -8811,6 +9027,7 @@ export type InvokeTrainingStepTemplateData = {
8811
9027
  experimental?: boolean;
8812
9028
  allowMatureContent?: boolean;
8813
9029
  whatif?: boolean;
9030
+ ephemeral?: boolean;
8814
9031
  };
8815
9032
  url: '/v2/consumer/recipes/training';
8816
9033
  };
@@ -8841,6 +9058,7 @@ export type InvokeTranscodeStepTemplateData = {
8841
9058
  experimental?: boolean;
8842
9059
  allowMatureContent?: boolean;
8843
9060
  whatif?: boolean;
9061
+ ephemeral?: boolean;
8844
9062
  };
8845
9063
  url: '/v2/consumer/recipes/transcode';
8846
9064
  };
@@ -8871,6 +9089,7 @@ export type InvokeTranscriptionStepTemplateData = {
8871
9089
  experimental?: boolean;
8872
9090
  allowMatureContent?: boolean;
8873
9091
  whatif?: boolean;
9092
+ ephemeral?: boolean;
8874
9093
  };
8875
9094
  url: '/v2/consumer/recipes/transcription';
8876
9095
  };
@@ -8901,6 +9120,7 @@ export type InvokeTryOnUStepTemplateData = {
8901
9120
  experimental?: boolean;
8902
9121
  allowMatureContent?: boolean;
8903
9122
  whatif?: boolean;
9123
+ ephemeral?: boolean;
8904
9124
  };
8905
9125
  url: '/v2/consumer/recipes/tryOnU';
8906
9126
  };
@@ -8931,6 +9151,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
8931
9151
  experimental?: boolean;
8932
9152
  allowMatureContent?: boolean;
8933
9153
  whatif?: boolean;
9154
+ ephemeral?: boolean;
8934
9155
  };
8935
9156
  url: '/v2/consumer/recipes/videoEnhancement';
8936
9157
  };
@@ -8961,6 +9182,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
8961
9182
  experimental?: boolean;
8962
9183
  allowMatureContent?: boolean;
8963
9184
  whatif?: boolean;
9185
+ ephemeral?: boolean;
8964
9186
  };
8965
9187
  url: '/v2/consumer/recipes/videoFrameExtraction';
8966
9188
  };
@@ -8991,6 +9213,7 @@ export type InvokeVideoGenStepTemplateData = {
8991
9213
  experimental?: boolean;
8992
9214
  allowMatureContent?: boolean;
8993
9215
  whatif?: boolean;
9216
+ ephemeral?: boolean;
8994
9217
  };
8995
9218
  url: '/v2/consumer/recipes/videoGen';
8996
9219
  };
@@ -9021,6 +9244,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
9021
9244
  experimental?: boolean;
9022
9245
  allowMatureContent?: boolean;
9023
9246
  whatif?: boolean;
9247
+ ephemeral?: boolean;
9024
9248
  };
9025
9249
  url: '/v2/consumer/recipes/videoInterpolation';
9026
9250
  };
@@ -9051,6 +9275,7 @@ export type InvokeVideoMetadataStepTemplateData = {
9051
9275
  experimental?: boolean;
9052
9276
  allowMatureContent?: boolean;
9053
9277
  whatif?: boolean;
9278
+ ephemeral?: boolean;
9054
9279
  };
9055
9280
  url: '/v2/consumer/recipes/videoMetadata';
9056
9281
  };
@@ -9081,6 +9306,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
9081
9306
  experimental?: boolean;
9082
9307
  allowMatureContent?: boolean;
9083
9308
  whatif?: boolean;
9309
+ ephemeral?: boolean;
9084
9310
  };
9085
9311
  url: '/v2/consumer/recipes/videoUpscaler';
9086
9312
  };
@@ -9111,6 +9337,7 @@ export type InvokeWdTaggingStepTemplateData = {
9111
9337
  experimental?: boolean;
9112
9338
  allowMatureContent?: boolean;
9113
9339
  whatif?: boolean;
9340
+ ephemeral?: boolean;
9114
9341
  };
9115
9342
  url: '/v2/consumer/recipes/wdTagging';
9116
9343
  };
@@ -9141,6 +9368,7 @@ export type InvokeXGuardModerationStepTemplateData = {
9141
9368
  experimental?: boolean;
9142
9369
  allowMatureContent?: boolean;
9143
9370
  whatif?: boolean;
9371
+ ephemeral?: boolean;
9144
9372
  };
9145
9373
  url: '/v2/consumer/recipes/xGuardModeration';
9146
9374
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.64",
3
+ "version": "0.2.0-beta.66",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",