@civitai/client 0.2.0-beta.65 → 0.2.0-beta.67
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,
|
|
@@ -34,6 +35,7 @@ export {
|
|
|
34
35
|
invokeModelHashStepTemplate,
|
|
35
36
|
invokeModelParseMetadataStepTemplate,
|
|
36
37
|
invokeModelPickleScanStepTemplate,
|
|
38
|
+
invokePolyGenStepTemplate,
|
|
37
39
|
invokePreprocessImageStepTemplate,
|
|
38
40
|
invokePromptEnhancementStepTemplate,
|
|
39
41
|
invokeRepeatStepTemplate,
|
|
@@ -168,6 +170,11 @@ export {
|
|
|
168
170
|
type ComfyHiDreamO1ImageGenInput,
|
|
169
171
|
type ComfyImageGenInput,
|
|
170
172
|
type ComfyInput,
|
|
173
|
+
type ComfyLensImageGenInput,
|
|
174
|
+
type ComfyLensNormalCreateImageGenInput,
|
|
175
|
+
type ComfyLensNormalImageGenInput,
|
|
176
|
+
type ComfyLensTurboCreateImageGenInput,
|
|
177
|
+
type ComfyLensTurboImageGenInput,
|
|
171
178
|
type ComfyLtx23AudioToVideoInput,
|
|
172
179
|
type ComfyLtx23CreateVideoInput,
|
|
173
180
|
type ComfyLtx23EditVideoInput,
|
|
@@ -200,6 +207,11 @@ export {
|
|
|
200
207
|
type ConvertImageStepTemplate,
|
|
201
208
|
type CursedArrayOfTelemetryCursorAndWorkflow,
|
|
202
209
|
type CursedArrayOfTelemetryCursorAndWorkflowWritable,
|
|
210
|
+
type CustomComfyHooks,
|
|
211
|
+
type CustomComfyInput,
|
|
212
|
+
type CustomComfyOutput,
|
|
213
|
+
type CustomComfyStep,
|
|
214
|
+
type CustomComfyStepTemplate,
|
|
203
215
|
type CustomTextToSpeechInput,
|
|
204
216
|
type DeleteWorkflowData,
|
|
205
217
|
type DeleteWorkflowError,
|
|
@@ -222,6 +234,7 @@ export {
|
|
|
222
234
|
type FaceDetectionInfo,
|
|
223
235
|
type FaceRecognitionResult,
|
|
224
236
|
type FalImageGenInput,
|
|
237
|
+
type FalPolyGenInput,
|
|
225
238
|
FileFormat,
|
|
226
239
|
type Flux1AiToolkitTrainingInput,
|
|
227
240
|
type Flux1DevAiToolkitTrainingInput,
|
|
@@ -417,6 +430,11 @@ export {
|
|
|
417
430
|
type InvokeConvertImageStepTemplateErrors,
|
|
418
431
|
type InvokeConvertImageStepTemplateResponse,
|
|
419
432
|
type InvokeConvertImageStepTemplateResponses,
|
|
433
|
+
type InvokeCustomComfyStepTemplateData,
|
|
434
|
+
type InvokeCustomComfyStepTemplateError,
|
|
435
|
+
type InvokeCustomComfyStepTemplateErrors,
|
|
436
|
+
type InvokeCustomComfyStepTemplateResponse,
|
|
437
|
+
type InvokeCustomComfyStepTemplateResponses,
|
|
420
438
|
type InvokeEchoStepTemplateData,
|
|
421
439
|
type InvokeEchoStepTemplateError,
|
|
422
440
|
type InvokeEchoStepTemplateErrors,
|
|
@@ -482,6 +500,11 @@ export {
|
|
|
482
500
|
type InvokeModelPickleScanStepTemplateErrors,
|
|
483
501
|
type InvokeModelPickleScanStepTemplateResponse,
|
|
484
502
|
type InvokeModelPickleScanStepTemplateResponses,
|
|
503
|
+
type InvokePolyGenStepTemplateData,
|
|
504
|
+
type InvokePolyGenStepTemplateError,
|
|
505
|
+
type InvokePolyGenStepTemplateErrors,
|
|
506
|
+
type InvokePolyGenStepTemplateResponse,
|
|
507
|
+
type InvokePolyGenStepTemplateResponses,
|
|
485
508
|
type InvokePreprocessImageStepTemplateData,
|
|
486
509
|
type InvokePreprocessImageStepTemplateError,
|
|
487
510
|
type InvokePreprocessImageStepTemplateErrors,
|
|
@@ -584,6 +607,9 @@ export {
|
|
|
584
607
|
type KlingVideoGenInput,
|
|
585
608
|
type KohyaImageResourceTrainingInput,
|
|
586
609
|
type KohyaImageResourceTrainingInputWritable,
|
|
610
|
+
type Krea2CreateFalImageGenInput,
|
|
611
|
+
type Krea2FalImageGenInput,
|
|
612
|
+
type Krea2StyleReference,
|
|
587
613
|
LeresBoost,
|
|
588
614
|
LightricksAspectRatio,
|
|
589
615
|
type LightricksVideoGenInput,
|
|
@@ -602,10 +628,14 @@ export {
|
|
|
602
628
|
type MediaRatingOutput,
|
|
603
629
|
type MediaRatingStep,
|
|
604
630
|
type MediaRatingStepTemplate,
|
|
631
|
+
type MeshyFalPolyGenInput,
|
|
632
|
+
type MeshyImageTo3dFalPolyGenInput,
|
|
633
|
+
type MeshyTextTo3dFalPolyGenInput,
|
|
605
634
|
Metric3dBackbone,
|
|
606
635
|
type MiniMaxVideoGenInput,
|
|
607
636
|
MiniMaxVideoGenModel,
|
|
608
637
|
type MochiVideoGenInput,
|
|
638
|
+
type Model3dBlob,
|
|
609
639
|
type ModelClamScanInput,
|
|
610
640
|
type ModelClamScanOutput,
|
|
611
641
|
ModelClamScanStatus,
|
|
@@ -656,6 +686,10 @@ export {
|
|
|
656
686
|
type PatchWorkflowStepResponse,
|
|
657
687
|
type PatchWorkflowStepResponses,
|
|
658
688
|
type PngOutputFormat,
|
|
689
|
+
type PolyGenInput,
|
|
690
|
+
type PolyGenOutput,
|
|
691
|
+
type PolyGenStep,
|
|
692
|
+
type PolyGenStepTemplate,
|
|
659
693
|
type PreprocessImageAnimalPoseInput,
|
|
660
694
|
type PreprocessImageAnimalPoseInputWritable,
|
|
661
695
|
type PreprocessImageAnimeLineartInput,
|
package/dist/generated/index.js
CHANGED
|
@@ -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, invokePolyGenStepTemplate, 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,
|
|
@@ -103,6 +106,9 @@ import type {
|
|
|
103
106
|
InvokeModelPickleScanStepTemplateData,
|
|
104
107
|
InvokeModelPickleScanStepTemplateErrors,
|
|
105
108
|
InvokeModelPickleScanStepTemplateResponses,
|
|
109
|
+
InvokePolyGenStepTemplateData,
|
|
110
|
+
InvokePolyGenStepTemplateErrors,
|
|
111
|
+
InvokePolyGenStepTemplateResponses,
|
|
106
112
|
InvokePreprocessImageStepTemplateData,
|
|
107
113
|
InvokePreprocessImageStepTemplateErrors,
|
|
108
114
|
InvokePreprocessImageStepTemplateResponses,
|
|
@@ -399,6 +405,23 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
|
|
|
399
405
|
ThrowOnError,
|
|
400
406
|
'fields'
|
|
401
407
|
>;
|
|
408
|
+
/**
|
|
409
|
+
* CustomComfy
|
|
410
|
+
*
|
|
411
|
+
* Submit a raw ComfyUI workflow graph for execution. Every resource the
|
|
412
|
+
* /// workflow uses (checkpoints, loras, AND <c>comfy:nodepack</c> URNs for
|
|
413
|
+
* /// runtime-installable custom nodes) must be declared in <c>Resources</c> —
|
|
414
|
+
* /// the orchestrator does not scan the workflow. Billing happens after
|
|
415
|
+
* /// execution based on actual ComfyUI runtime; infra failures don't charge.
|
|
416
|
+
*/
|
|
417
|
+
export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
|
|
418
|
+
options?: Options<InvokeCustomComfyStepTemplateData, ThrowOnError>
|
|
419
|
+
) => import('./client').RequestResult<
|
|
420
|
+
InvokeCustomComfyStepTemplateResponses,
|
|
421
|
+
InvokeCustomComfyStepTemplateErrors,
|
|
422
|
+
ThrowOnError,
|
|
423
|
+
'fields'
|
|
424
|
+
>;
|
|
402
425
|
/**
|
|
403
426
|
* Echo
|
|
404
427
|
*
|
|
@@ -561,6 +584,19 @@ export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends bo
|
|
|
561
584
|
ThrowOnError,
|
|
562
585
|
'fields'
|
|
563
586
|
>;
|
|
587
|
+
/**
|
|
588
|
+
* 3D model generation
|
|
589
|
+
*
|
|
590
|
+
* Generate 3D models through text or image inputs using any of our supported engines.
|
|
591
|
+
*/
|
|
592
|
+
export declare const invokePolyGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
593
|
+
options?: Options<InvokePolyGenStepTemplateData, ThrowOnError>
|
|
594
|
+
) => import('./client').RequestResult<
|
|
595
|
+
InvokePolyGenStepTemplateResponses,
|
|
596
|
+
InvokePolyGenStepTemplateErrors,
|
|
597
|
+
ThrowOnError,
|
|
598
|
+
'fields'
|
|
599
|
+
>;
|
|
564
600
|
export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
565
601
|
options?: Options<InvokePreprocessImageStepTemplateData, ThrowOnError>
|
|
566
602
|
) => import('./client').RequestResult<
|
|
@@ -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
|
*
|
|
@@ -419,6 +439,22 @@ export const invokeModelPickleScanStepTemplate = (options) => {
|
|
|
419
439
|
},
|
|
420
440
|
});
|
|
421
441
|
};
|
|
442
|
+
/**
|
|
443
|
+
* 3D model generation
|
|
444
|
+
*
|
|
445
|
+
* Generate 3D models through text or image inputs using any of our supported engines.
|
|
446
|
+
*/
|
|
447
|
+
export const invokePolyGenStepTemplate = (options) => {
|
|
448
|
+
var _a;
|
|
449
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
450
|
+
url: '/v2/consumer/recipes/polyGen',
|
|
451
|
+
...options,
|
|
452
|
+
headers: {
|
|
453
|
+
'Content-Type': 'application/json',
|
|
454
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
455
|
+
},
|
|
456
|
+
});
|
|
457
|
+
};
|
|
422
458
|
export const invokePreprocessImageStepTemplate = (options) => {
|
|
423
459
|
var _a;
|
|
424
460
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
@@ -1467,6 +1467,75 @@ export type ComfyInput = {
|
|
|
1467
1467
|
*/
|
|
1468
1468
|
useSpineComfy?: null | boolean;
|
|
1469
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
|
+
};
|
|
1470
1539
|
/**
|
|
1471
1540
|
* Generate video driven by a reference audio track, optionally anchored to a reference image (ComfyUI backend)
|
|
1472
1541
|
*/
|
|
@@ -1873,6 +1942,68 @@ export type CursedArrayOfTelemetryCursorAndWorkflow = {
|
|
|
1873
1942
|
next: string;
|
|
1874
1943
|
items: Array<Workflow>;
|
|
1875
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
|
+
};
|
|
1876
2007
|
export type CustomTextToSpeechInput = Omit<TextToSpeechInput, 'engine'> & {
|
|
1877
2008
|
/**
|
|
1878
2009
|
* Reference audio URL for Base voice-cloning mode.
|
|
@@ -2066,6 +2197,10 @@ export type FalImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
|
2066
2197
|
model: string;
|
|
2067
2198
|
engine: 'fal';
|
|
2068
2199
|
};
|
|
2200
|
+
export type FalPolyGenInput = Omit<PolyGenInput, 'engine'> & {
|
|
2201
|
+
model: string;
|
|
2202
|
+
engine: 'fal';
|
|
2203
|
+
};
|
|
2069
2204
|
export declare const FileFormat: {
|
|
2070
2205
|
readonly UNKNOWN: 'unknown';
|
|
2071
2206
|
readonly SAFE_TENSOR: 'safeTensor';
|
|
@@ -3317,6 +3452,30 @@ export type KohyaImageResourceTrainingInput = Omit<ImageResourceTrainingInput, '
|
|
|
3317
3452
|
readonly targetSteps?: null | number;
|
|
3318
3453
|
engine: 'kohya';
|
|
3319
3454
|
};
|
|
3455
|
+
export type Krea2CreateFalImageGenInput = Omit<
|
|
3456
|
+
Krea2FalImageGenInput,
|
|
3457
|
+
'engine' | 'model' | 'operation'
|
|
3458
|
+
> & {
|
|
3459
|
+
operation: 'createImage';
|
|
3460
|
+
model: 'krea2';
|
|
3461
|
+
engine: 'fal';
|
|
3462
|
+
};
|
|
3463
|
+
export type Krea2FalImageGenInput = Omit<FalImageGenInput, 'engine' | 'model'> & {
|
|
3464
|
+
operation: string;
|
|
3465
|
+
prompt: string;
|
|
3466
|
+
size?: 'medium' | 'large';
|
|
3467
|
+
aspectRatio?: '1:1' | '4:3' | '3:2' | '16:9' | '2.35:1' | '4:5' | '2:3' | '9:16';
|
|
3468
|
+
creativity?: 'raw' | 'low' | 'medium' | 'high';
|
|
3469
|
+
quantity?: number;
|
|
3470
|
+
seed?: null | number;
|
|
3471
|
+
imageStyleReferences: Array<Krea2StyleReference>;
|
|
3472
|
+
model: 'krea2';
|
|
3473
|
+
engine: 'fal';
|
|
3474
|
+
};
|
|
3475
|
+
export type Krea2StyleReference = {
|
|
3476
|
+
imageUrl: string;
|
|
3477
|
+
strength?: number;
|
|
3478
|
+
};
|
|
3320
3479
|
export declare const LeresBoost: {
|
|
3321
3480
|
readonly DISABLE: 'disable';
|
|
3322
3481
|
readonly ENABLE: 'enable';
|
|
@@ -3517,6 +3676,41 @@ export type MediaRatingStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
|
3517
3676
|
input: MediaRatingInput;
|
|
3518
3677
|
$type: 'mediaRating';
|
|
3519
3678
|
};
|
|
3679
|
+
export type MeshyFalPolyGenInput = Omit<FalPolyGenInput, 'engine' | 'model'> & {
|
|
3680
|
+
operation: string;
|
|
3681
|
+
targetPolycount?: number;
|
|
3682
|
+
topology?: 'quad' | 'triangle';
|
|
3683
|
+
symmetryMode?: 'off' | 'auto' | 'on';
|
|
3684
|
+
shouldRemesh?: boolean;
|
|
3685
|
+
enablePbr?: boolean;
|
|
3686
|
+
texturePrompt?: null | string;
|
|
3687
|
+
enableRigging?: boolean;
|
|
3688
|
+
enableAnimation?: boolean;
|
|
3689
|
+
seed?: null | number;
|
|
3690
|
+
model: 'meshy';
|
|
3691
|
+
engine: 'fal';
|
|
3692
|
+
};
|
|
3693
|
+
export type MeshyImageTo3dFalPolyGenInput = Omit<
|
|
3694
|
+
MeshyFalPolyGenInput,
|
|
3695
|
+
'engine' | 'model' | 'operation'
|
|
3696
|
+
> & {
|
|
3697
|
+
imageUrl: string;
|
|
3698
|
+
shouldTexture?: boolean;
|
|
3699
|
+
operation: 'imageTo3D';
|
|
3700
|
+
model: 'meshy';
|
|
3701
|
+
engine: 'fal';
|
|
3702
|
+
};
|
|
3703
|
+
export type MeshyTextTo3dFalPolyGenInput = Omit<
|
|
3704
|
+
MeshyFalPolyGenInput,
|
|
3705
|
+
'engine' | 'model' | 'operation'
|
|
3706
|
+
> & {
|
|
3707
|
+
prompt: string;
|
|
3708
|
+
mode?: 'preview' | 'full';
|
|
3709
|
+
enablePromptExpansion?: boolean;
|
|
3710
|
+
operation: 'textTo3D';
|
|
3711
|
+
model: 'meshy';
|
|
3712
|
+
engine: 'fal';
|
|
3713
|
+
};
|
|
3520
3714
|
export declare const Metric3dBackbone: {
|
|
3521
3715
|
readonly VIT_SMALL: 'vit-small';
|
|
3522
3716
|
readonly VIT_LARGE: 'vit-large';
|
|
@@ -3541,6 +3735,13 @@ export type MochiVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
3541
3735
|
enablePromptEnhancer?: boolean;
|
|
3542
3736
|
engine: 'mochi';
|
|
3543
3737
|
};
|
|
3738
|
+
export type Model3dBlob = Omit<Blob, 'type'> & {
|
|
3739
|
+
/**
|
|
3740
|
+
* File format of the 3D model (e.g. "glb", "fbx", "obj", "usdz").
|
|
3741
|
+
*/
|
|
3742
|
+
format: string;
|
|
3743
|
+
type: 'model3d';
|
|
3744
|
+
};
|
|
3544
3745
|
/**
|
|
3545
3746
|
* Represents the input information needed for the ModelClamScan workflow step.
|
|
3546
3747
|
*/
|
|
@@ -4021,6 +4222,29 @@ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
|
4021
4222
|
export type PngOutputFormat = Omit<ImageOutputFormat, 'format'> & {
|
|
4022
4223
|
format: 'png';
|
|
4023
4224
|
};
|
|
4225
|
+
export type PolyGenInput = {
|
|
4226
|
+
engine: string;
|
|
4227
|
+
};
|
|
4228
|
+
export type PolyGenOutput = {
|
|
4229
|
+
model: Model3dBlob;
|
|
4230
|
+
fbxModel?: Model3dBlob;
|
|
4231
|
+
thumbnail?: ImageBlob;
|
|
4232
|
+
};
|
|
4233
|
+
/**
|
|
4234
|
+
* 3D model generation
|
|
4235
|
+
*/
|
|
4236
|
+
export type PolyGenStep = Omit<WorkflowStep, '$type'> & {
|
|
4237
|
+
input: PolyGenInput;
|
|
4238
|
+
output?: PolyGenOutput;
|
|
4239
|
+
$type: 'polyGen';
|
|
4240
|
+
};
|
|
4241
|
+
/**
|
|
4242
|
+
* 3D model generation
|
|
4243
|
+
*/
|
|
4244
|
+
export type PolyGenStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
4245
|
+
input: PolyGenInput;
|
|
4246
|
+
$type: 'polyGen';
|
|
4247
|
+
};
|
|
4024
4248
|
export type PreprocessImageAnimalPoseInput = Omit<PreprocessImageInput, 'kind'> & {
|
|
4025
4249
|
bboxDetector?: AnimalPoseBboxDetector;
|
|
4026
4250
|
poseEstimator?: AnimalPoseEstimator;
|
|
@@ -4548,6 +4772,7 @@ export type ResourceFee = {
|
|
|
4548
4772
|
amount: number;
|
|
4549
4773
|
type: ResourceFeeType;
|
|
4550
4774
|
settlementCurrency: SettlementCurrency;
|
|
4775
|
+
recipientModelVersionId?: null | number;
|
|
4551
4776
|
};
|
|
4552
4777
|
export declare const ResourceFeeType: {
|
|
4553
4778
|
readonly PER_IMAGE_BUZZ: 'perImageBuzz';
|
|
@@ -6275,6 +6500,12 @@ export type Workflow = {
|
|
|
6275
6500
|
* Prevents re-charging on grain recovery.
|
|
6276
6501
|
*/
|
|
6277
6502
|
forceRefunded: boolean;
|
|
6503
|
+
/**
|
|
6504
|
+
* When true, this workflow is not persisted to telemetry/MongoDB.
|
|
6505
|
+
* In-flight state lives only in Orleans grain state (Redis); once the workflow
|
|
6506
|
+
* reaches a terminal state the grain clears its state and no record remains.
|
|
6507
|
+
*/
|
|
6508
|
+
ephemeral?: null | boolean;
|
|
6278
6509
|
};
|
|
6279
6510
|
/**
|
|
6280
6511
|
* Details of a callback setup for a workflow.
|
|
@@ -6689,6 +6920,13 @@ export type WorkflowTemplate = {
|
|
|
6689
6920
|
* Limit the currencies that can be used to pay for this workflow.
|
|
6690
6921
|
*/
|
|
6691
6922
|
currencies: Array<BuzzClientAccount>;
|
|
6923
|
+
/**
|
|
6924
|
+
* When true, the workflow is never persisted to long-term storage.
|
|
6925
|
+
* Results are available via callbacks and via the synchronous `wait` parameter only;
|
|
6926
|
+
* after the workflow reaches a terminal state, GET /v2/consumer/workflows/{id} returns 404.
|
|
6927
|
+
* Requires at least one callback OR `wait > 0` on submission.
|
|
6928
|
+
*/
|
|
6929
|
+
ephemeral?: null | boolean;
|
|
6692
6930
|
};
|
|
6693
6931
|
export type WorkflowTips = {
|
|
6694
6932
|
/**
|
|
@@ -7481,6 +7719,12 @@ export type WorkflowWritable = {
|
|
|
7481
7719
|
* Prevents re-charging on grain recovery.
|
|
7482
7720
|
*/
|
|
7483
7721
|
forceRefunded: boolean;
|
|
7722
|
+
/**
|
|
7723
|
+
* When true, this workflow is not persisted to telemetry/MongoDB.
|
|
7724
|
+
* In-flight state lives only in Orleans grain state (Redis); once the workflow
|
|
7725
|
+
* reaches a terminal state the grain clears its state and no record remains.
|
|
7726
|
+
*/
|
|
7727
|
+
ephemeral?: null | boolean;
|
|
7484
7728
|
};
|
|
7485
7729
|
export type WorkflowCostWritable = {
|
|
7486
7730
|
/**
|
|
@@ -8008,6 +8252,7 @@ export type InvokeAceStepAudioStepTemplateData = {
|
|
|
8008
8252
|
experimental?: boolean;
|
|
8009
8253
|
allowMatureContent?: boolean;
|
|
8010
8254
|
whatif?: boolean;
|
|
8255
|
+
ephemeral?: boolean;
|
|
8011
8256
|
};
|
|
8012
8257
|
url: '/v2/consumer/recipes/aceStepAudio';
|
|
8013
8258
|
};
|
|
@@ -8038,6 +8283,7 @@ export type InvokeAgeClassificationStepTemplateData = {
|
|
|
8038
8283
|
experimental?: boolean;
|
|
8039
8284
|
allowMatureContent?: boolean;
|
|
8040
8285
|
whatif?: boolean;
|
|
8286
|
+
ephemeral?: boolean;
|
|
8041
8287
|
};
|
|
8042
8288
|
url: '/v2/consumer/recipes/ageClassification';
|
|
8043
8289
|
};
|
|
@@ -8068,6 +8314,7 @@ export type InvokeAudioCaptioningStepTemplateData = {
|
|
|
8068
8314
|
experimental?: boolean;
|
|
8069
8315
|
allowMatureContent?: boolean;
|
|
8070
8316
|
whatif?: boolean;
|
|
8317
|
+
ephemeral?: boolean;
|
|
8071
8318
|
};
|
|
8072
8319
|
url: '/v2/consumer/recipes/audioCaptioning';
|
|
8073
8320
|
};
|
|
@@ -8098,6 +8345,7 @@ export type InvokeAudioMixStepTemplateData = {
|
|
|
8098
8345
|
experimental?: boolean;
|
|
8099
8346
|
allowMatureContent?: boolean;
|
|
8100
8347
|
whatif?: boolean;
|
|
8348
|
+
ephemeral?: boolean;
|
|
8101
8349
|
};
|
|
8102
8350
|
url: '/v2/consumer/recipes/audioMix';
|
|
8103
8351
|
};
|
|
@@ -8128,6 +8376,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
|
|
|
8128
8376
|
experimental?: boolean;
|
|
8129
8377
|
allowMatureContent?: boolean;
|
|
8130
8378
|
whatif?: boolean;
|
|
8379
|
+
ephemeral?: boolean;
|
|
8131
8380
|
};
|
|
8132
8381
|
url: '/v2/consumer/recipes/batchOCRSafetyClassification';
|
|
8133
8382
|
};
|
|
@@ -8158,6 +8407,7 @@ export type InvokeBlobArchiveStepTemplateData = {
|
|
|
8158
8407
|
experimental?: boolean;
|
|
8159
8408
|
allowMatureContent?: boolean;
|
|
8160
8409
|
whatif?: boolean;
|
|
8410
|
+
ephemeral?: boolean;
|
|
8161
8411
|
};
|
|
8162
8412
|
url: '/v2/consumer/recipes/blobArchive';
|
|
8163
8413
|
};
|
|
@@ -8188,6 +8438,7 @@ export type InvokeChatCompletionStepTemplateData = {
|
|
|
8188
8438
|
experimental?: boolean;
|
|
8189
8439
|
allowMatureContent?: boolean;
|
|
8190
8440
|
whatif?: boolean;
|
|
8441
|
+
ephemeral?: boolean;
|
|
8191
8442
|
};
|
|
8192
8443
|
url: '/v2/consumer/recipes/chatCompletion';
|
|
8193
8444
|
};
|
|
@@ -8218,6 +8469,7 @@ export type InvokeComfyStepTemplateData = {
|
|
|
8218
8469
|
experimental?: boolean;
|
|
8219
8470
|
allowMatureContent?: boolean;
|
|
8220
8471
|
whatif?: boolean;
|
|
8472
|
+
ephemeral?: boolean;
|
|
8221
8473
|
};
|
|
8222
8474
|
url: '/v2/consumer/recipes/comfy';
|
|
8223
8475
|
};
|
|
@@ -8248,6 +8500,7 @@ export type InvokeConvertImageStepTemplateData = {
|
|
|
8248
8500
|
experimental?: boolean;
|
|
8249
8501
|
allowMatureContent?: boolean;
|
|
8250
8502
|
whatif?: boolean;
|
|
8503
|
+
ephemeral?: boolean;
|
|
8251
8504
|
};
|
|
8252
8505
|
url: '/v2/consumer/recipes/convertImage';
|
|
8253
8506
|
};
|
|
@@ -8271,6 +8524,37 @@ export type InvokeConvertImageStepTemplateResponses = {
|
|
|
8271
8524
|
};
|
|
8272
8525
|
export type InvokeConvertImageStepTemplateResponse =
|
|
8273
8526
|
InvokeConvertImageStepTemplateResponses[keyof InvokeConvertImageStepTemplateResponses];
|
|
8527
|
+
export type InvokeCustomComfyStepTemplateData = {
|
|
8528
|
+
body?: CustomComfyInput;
|
|
8529
|
+
path?: never;
|
|
8530
|
+
query?: {
|
|
8531
|
+
experimental?: boolean;
|
|
8532
|
+
allowMatureContent?: boolean;
|
|
8533
|
+
whatif?: boolean;
|
|
8534
|
+
ephemeral?: boolean;
|
|
8535
|
+
};
|
|
8536
|
+
url: '/v2/consumer/recipes/customComfy';
|
|
8537
|
+
};
|
|
8538
|
+
export type InvokeCustomComfyStepTemplateErrors = {
|
|
8539
|
+
/**
|
|
8540
|
+
* Bad Request
|
|
8541
|
+
*/
|
|
8542
|
+
400: ProblemDetails;
|
|
8543
|
+
/**
|
|
8544
|
+
* Unauthorized
|
|
8545
|
+
*/
|
|
8546
|
+
401: ProblemDetails;
|
|
8547
|
+
};
|
|
8548
|
+
export type InvokeCustomComfyStepTemplateError =
|
|
8549
|
+
InvokeCustomComfyStepTemplateErrors[keyof InvokeCustomComfyStepTemplateErrors];
|
|
8550
|
+
export type InvokeCustomComfyStepTemplateResponses = {
|
|
8551
|
+
/**
|
|
8552
|
+
* OK
|
|
8553
|
+
*/
|
|
8554
|
+
200: CustomComfyOutput;
|
|
8555
|
+
};
|
|
8556
|
+
export type InvokeCustomComfyStepTemplateResponse =
|
|
8557
|
+
InvokeCustomComfyStepTemplateResponses[keyof InvokeCustomComfyStepTemplateResponses];
|
|
8274
8558
|
export type InvokeEchoStepTemplateData = {
|
|
8275
8559
|
body?: EchoInput;
|
|
8276
8560
|
path?: never;
|
|
@@ -8278,6 +8562,7 @@ export type InvokeEchoStepTemplateData = {
|
|
|
8278
8562
|
experimental?: boolean;
|
|
8279
8563
|
allowMatureContent?: boolean;
|
|
8280
8564
|
whatif?: boolean;
|
|
8565
|
+
ephemeral?: boolean;
|
|
8281
8566
|
};
|
|
8282
8567
|
url: '/v2/consumer/recipes/echo';
|
|
8283
8568
|
};
|
|
@@ -8308,6 +8593,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
|
|
|
8308
8593
|
experimental?: boolean;
|
|
8309
8594
|
allowMatureContent?: boolean;
|
|
8310
8595
|
whatif?: boolean;
|
|
8596
|
+
ephemeral?: boolean;
|
|
8311
8597
|
};
|
|
8312
8598
|
url: '/v2/consumer/recipes/humanoidImageMask';
|
|
8313
8599
|
};
|
|
@@ -8338,6 +8624,7 @@ export type InvokeImageGenStepTemplateData = {
|
|
|
8338
8624
|
experimental?: boolean;
|
|
8339
8625
|
allowMatureContent?: boolean;
|
|
8340
8626
|
whatif?: boolean;
|
|
8627
|
+
ephemeral?: boolean;
|
|
8341
8628
|
};
|
|
8342
8629
|
url: '/v2/consumer/recipes/imageGen';
|
|
8343
8630
|
};
|
|
@@ -8368,6 +8655,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
|
|
|
8368
8655
|
experimental?: boolean;
|
|
8369
8656
|
allowMatureContent?: boolean;
|
|
8370
8657
|
whatif?: boolean;
|
|
8658
|
+
ephemeral?: boolean;
|
|
8371
8659
|
};
|
|
8372
8660
|
url: '/v2/consumer/recipes/imageResourceTraining';
|
|
8373
8661
|
};
|
|
@@ -8398,6 +8686,7 @@ export type InvokeImageUploadStepTemplateData = {
|
|
|
8398
8686
|
experimental?: boolean;
|
|
8399
8687
|
allowMatureContent?: boolean;
|
|
8400
8688
|
whatif?: boolean;
|
|
8689
|
+
ephemeral?: boolean;
|
|
8401
8690
|
};
|
|
8402
8691
|
url: '/v2/consumer/recipes/imageUpload';
|
|
8403
8692
|
};
|
|
@@ -8428,6 +8717,7 @@ export type InvokeImageUpscalerStepTemplateData = {
|
|
|
8428
8717
|
experimental?: boolean;
|
|
8429
8718
|
allowMatureContent?: boolean;
|
|
8430
8719
|
whatif?: boolean;
|
|
8720
|
+
ephemeral?: boolean;
|
|
8431
8721
|
};
|
|
8432
8722
|
url: '/v2/consumer/recipes/imageUpscaler';
|
|
8433
8723
|
};
|
|
@@ -8458,6 +8748,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
|
|
|
8458
8748
|
experimental?: boolean;
|
|
8459
8749
|
allowMatureContent?: boolean;
|
|
8460
8750
|
whatif?: boolean;
|
|
8751
|
+
ephemeral?: boolean;
|
|
8461
8752
|
};
|
|
8462
8753
|
url: '/v2/consumer/recipes/mediaCaptioning';
|
|
8463
8754
|
};
|
|
@@ -8488,6 +8779,7 @@ export type InvokeMediaHashStepTemplateData = {
|
|
|
8488
8779
|
experimental?: boolean;
|
|
8489
8780
|
allowMatureContent?: boolean;
|
|
8490
8781
|
whatif?: boolean;
|
|
8782
|
+
ephemeral?: boolean;
|
|
8491
8783
|
};
|
|
8492
8784
|
url: '/v2/consumer/recipes/mediaHash';
|
|
8493
8785
|
};
|
|
@@ -8518,6 +8810,7 @@ export type InvokeMediaRatingStepTemplateData = {
|
|
|
8518
8810
|
experimental?: boolean;
|
|
8519
8811
|
allowMatureContent?: boolean;
|
|
8520
8812
|
whatif?: boolean;
|
|
8813
|
+
ephemeral?: boolean;
|
|
8521
8814
|
};
|
|
8522
8815
|
url: '/v2/consumer/recipes/mediaRating';
|
|
8523
8816
|
};
|
|
@@ -8548,6 +8841,7 @@ export type InvokeModelClamScanStepTemplateData = {
|
|
|
8548
8841
|
experimental?: boolean;
|
|
8549
8842
|
allowMatureContent?: boolean;
|
|
8550
8843
|
whatif?: boolean;
|
|
8844
|
+
ephemeral?: boolean;
|
|
8551
8845
|
};
|
|
8552
8846
|
url: '/v2/consumer/recipes/modelClamScan';
|
|
8553
8847
|
};
|
|
@@ -8578,6 +8872,7 @@ export type InvokeModelHashStepTemplateData = {
|
|
|
8578
8872
|
experimental?: boolean;
|
|
8579
8873
|
allowMatureContent?: boolean;
|
|
8580
8874
|
whatif?: boolean;
|
|
8875
|
+
ephemeral?: boolean;
|
|
8581
8876
|
};
|
|
8582
8877
|
url: '/v2/consumer/recipes/modelHash';
|
|
8583
8878
|
};
|
|
@@ -8608,6 +8903,7 @@ export type InvokeModelParseMetadataStepTemplateData = {
|
|
|
8608
8903
|
experimental?: boolean;
|
|
8609
8904
|
allowMatureContent?: boolean;
|
|
8610
8905
|
whatif?: boolean;
|
|
8906
|
+
ephemeral?: boolean;
|
|
8611
8907
|
};
|
|
8612
8908
|
url: '/v2/consumer/recipes/modelParseMetadata';
|
|
8613
8909
|
};
|
|
@@ -8638,6 +8934,7 @@ export type InvokeModelPickleScanStepTemplateData = {
|
|
|
8638
8934
|
experimental?: boolean;
|
|
8639
8935
|
allowMatureContent?: boolean;
|
|
8640
8936
|
whatif?: boolean;
|
|
8937
|
+
ephemeral?: boolean;
|
|
8641
8938
|
};
|
|
8642
8939
|
url: '/v2/consumer/recipes/modelPickleScan';
|
|
8643
8940
|
};
|
|
@@ -8661,6 +8958,37 @@ export type InvokeModelPickleScanStepTemplateResponses = {
|
|
|
8661
8958
|
};
|
|
8662
8959
|
export type InvokeModelPickleScanStepTemplateResponse =
|
|
8663
8960
|
InvokeModelPickleScanStepTemplateResponses[keyof InvokeModelPickleScanStepTemplateResponses];
|
|
8961
|
+
export type InvokePolyGenStepTemplateData = {
|
|
8962
|
+
body?: PolyGenInput;
|
|
8963
|
+
path?: never;
|
|
8964
|
+
query?: {
|
|
8965
|
+
experimental?: boolean;
|
|
8966
|
+
allowMatureContent?: boolean;
|
|
8967
|
+
whatif?: boolean;
|
|
8968
|
+
ephemeral?: boolean;
|
|
8969
|
+
};
|
|
8970
|
+
url: '/v2/consumer/recipes/polyGen';
|
|
8971
|
+
};
|
|
8972
|
+
export type InvokePolyGenStepTemplateErrors = {
|
|
8973
|
+
/**
|
|
8974
|
+
* Bad Request
|
|
8975
|
+
*/
|
|
8976
|
+
400: ProblemDetails;
|
|
8977
|
+
/**
|
|
8978
|
+
* Unauthorized
|
|
8979
|
+
*/
|
|
8980
|
+
401: ProblemDetails;
|
|
8981
|
+
};
|
|
8982
|
+
export type InvokePolyGenStepTemplateError =
|
|
8983
|
+
InvokePolyGenStepTemplateErrors[keyof InvokePolyGenStepTemplateErrors];
|
|
8984
|
+
export type InvokePolyGenStepTemplateResponses = {
|
|
8985
|
+
/**
|
|
8986
|
+
* OK
|
|
8987
|
+
*/
|
|
8988
|
+
200: PolyGenOutput;
|
|
8989
|
+
};
|
|
8990
|
+
export type InvokePolyGenStepTemplateResponse =
|
|
8991
|
+
InvokePolyGenStepTemplateResponses[keyof InvokePolyGenStepTemplateResponses];
|
|
8664
8992
|
export type InvokePreprocessImageStepTemplateData = {
|
|
8665
8993
|
body?: PreprocessImageInputWritable;
|
|
8666
8994
|
path?: never;
|
|
@@ -8668,6 +8996,7 @@ export type InvokePreprocessImageStepTemplateData = {
|
|
|
8668
8996
|
experimental?: boolean;
|
|
8669
8997
|
allowMatureContent?: boolean;
|
|
8670
8998
|
whatif?: boolean;
|
|
8999
|
+
ephemeral?: boolean;
|
|
8671
9000
|
};
|
|
8672
9001
|
url: '/v2/consumer/recipes/preprocessImage';
|
|
8673
9002
|
};
|
|
@@ -8698,6 +9027,7 @@ export type InvokePromptEnhancementStepTemplateData = {
|
|
|
8698
9027
|
experimental?: boolean;
|
|
8699
9028
|
allowMatureContent?: boolean;
|
|
8700
9029
|
whatif?: boolean;
|
|
9030
|
+
ephemeral?: boolean;
|
|
8701
9031
|
};
|
|
8702
9032
|
url: '/v2/consumer/recipes/promptEnhancement';
|
|
8703
9033
|
};
|
|
@@ -8728,6 +9058,7 @@ export type InvokeRepeatStepTemplateData = {
|
|
|
8728
9058
|
experimental?: boolean;
|
|
8729
9059
|
allowMatureContent?: boolean;
|
|
8730
9060
|
whatif?: boolean;
|
|
9061
|
+
ephemeral?: boolean;
|
|
8731
9062
|
};
|
|
8732
9063
|
url: '/v2/consumer/recipes/repeat';
|
|
8733
9064
|
};
|
|
@@ -8758,6 +9089,7 @@ export type InvokeTextToImageStepTemplateData = {
|
|
|
8758
9089
|
experimental?: boolean;
|
|
8759
9090
|
allowMatureContent?: boolean;
|
|
8760
9091
|
whatif?: boolean;
|
|
9092
|
+
ephemeral?: boolean;
|
|
8761
9093
|
};
|
|
8762
9094
|
url: '/v2/consumer/recipes/textToImage';
|
|
8763
9095
|
};
|
|
@@ -8788,6 +9120,7 @@ export type InvokeTextToSpeechStepTemplateData = {
|
|
|
8788
9120
|
experimental?: boolean;
|
|
8789
9121
|
allowMatureContent?: boolean;
|
|
8790
9122
|
whatif?: boolean;
|
|
9123
|
+
ephemeral?: boolean;
|
|
8791
9124
|
};
|
|
8792
9125
|
url: '/v2/consumer/recipes/textToSpeech';
|
|
8793
9126
|
};
|
|
@@ -8818,6 +9151,7 @@ export type InvokeTrainingStepTemplateData = {
|
|
|
8818
9151
|
experimental?: boolean;
|
|
8819
9152
|
allowMatureContent?: boolean;
|
|
8820
9153
|
whatif?: boolean;
|
|
9154
|
+
ephemeral?: boolean;
|
|
8821
9155
|
};
|
|
8822
9156
|
url: '/v2/consumer/recipes/training';
|
|
8823
9157
|
};
|
|
@@ -8848,6 +9182,7 @@ export type InvokeTranscodeStepTemplateData = {
|
|
|
8848
9182
|
experimental?: boolean;
|
|
8849
9183
|
allowMatureContent?: boolean;
|
|
8850
9184
|
whatif?: boolean;
|
|
9185
|
+
ephemeral?: boolean;
|
|
8851
9186
|
};
|
|
8852
9187
|
url: '/v2/consumer/recipes/transcode';
|
|
8853
9188
|
};
|
|
@@ -8878,6 +9213,7 @@ export type InvokeTranscriptionStepTemplateData = {
|
|
|
8878
9213
|
experimental?: boolean;
|
|
8879
9214
|
allowMatureContent?: boolean;
|
|
8880
9215
|
whatif?: boolean;
|
|
9216
|
+
ephemeral?: boolean;
|
|
8881
9217
|
};
|
|
8882
9218
|
url: '/v2/consumer/recipes/transcription';
|
|
8883
9219
|
};
|
|
@@ -8908,6 +9244,7 @@ export type InvokeTryOnUStepTemplateData = {
|
|
|
8908
9244
|
experimental?: boolean;
|
|
8909
9245
|
allowMatureContent?: boolean;
|
|
8910
9246
|
whatif?: boolean;
|
|
9247
|
+
ephemeral?: boolean;
|
|
8911
9248
|
};
|
|
8912
9249
|
url: '/v2/consumer/recipes/tryOnU';
|
|
8913
9250
|
};
|
|
@@ -8938,6 +9275,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
|
|
|
8938
9275
|
experimental?: boolean;
|
|
8939
9276
|
allowMatureContent?: boolean;
|
|
8940
9277
|
whatif?: boolean;
|
|
9278
|
+
ephemeral?: boolean;
|
|
8941
9279
|
};
|
|
8942
9280
|
url: '/v2/consumer/recipes/videoEnhancement';
|
|
8943
9281
|
};
|
|
@@ -8968,6 +9306,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
|
|
|
8968
9306
|
experimental?: boolean;
|
|
8969
9307
|
allowMatureContent?: boolean;
|
|
8970
9308
|
whatif?: boolean;
|
|
9309
|
+
ephemeral?: boolean;
|
|
8971
9310
|
};
|
|
8972
9311
|
url: '/v2/consumer/recipes/videoFrameExtraction';
|
|
8973
9312
|
};
|
|
@@ -8998,6 +9337,7 @@ export type InvokeVideoGenStepTemplateData = {
|
|
|
8998
9337
|
experimental?: boolean;
|
|
8999
9338
|
allowMatureContent?: boolean;
|
|
9000
9339
|
whatif?: boolean;
|
|
9340
|
+
ephemeral?: boolean;
|
|
9001
9341
|
};
|
|
9002
9342
|
url: '/v2/consumer/recipes/videoGen';
|
|
9003
9343
|
};
|
|
@@ -9028,6 +9368,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
|
|
|
9028
9368
|
experimental?: boolean;
|
|
9029
9369
|
allowMatureContent?: boolean;
|
|
9030
9370
|
whatif?: boolean;
|
|
9371
|
+
ephemeral?: boolean;
|
|
9031
9372
|
};
|
|
9032
9373
|
url: '/v2/consumer/recipes/videoInterpolation';
|
|
9033
9374
|
};
|
|
@@ -9058,6 +9399,7 @@ export type InvokeVideoMetadataStepTemplateData = {
|
|
|
9058
9399
|
experimental?: boolean;
|
|
9059
9400
|
allowMatureContent?: boolean;
|
|
9060
9401
|
whatif?: boolean;
|
|
9402
|
+
ephemeral?: boolean;
|
|
9061
9403
|
};
|
|
9062
9404
|
url: '/v2/consumer/recipes/videoMetadata';
|
|
9063
9405
|
};
|
|
@@ -9088,6 +9430,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
|
|
|
9088
9430
|
experimental?: boolean;
|
|
9089
9431
|
allowMatureContent?: boolean;
|
|
9090
9432
|
whatif?: boolean;
|
|
9433
|
+
ephemeral?: boolean;
|
|
9091
9434
|
};
|
|
9092
9435
|
url: '/v2/consumer/recipes/videoUpscaler';
|
|
9093
9436
|
};
|
|
@@ -9118,6 +9461,7 @@ export type InvokeWdTaggingStepTemplateData = {
|
|
|
9118
9461
|
experimental?: boolean;
|
|
9119
9462
|
allowMatureContent?: boolean;
|
|
9120
9463
|
whatif?: boolean;
|
|
9464
|
+
ephemeral?: boolean;
|
|
9121
9465
|
};
|
|
9122
9466
|
url: '/v2/consumer/recipes/wdTagging';
|
|
9123
9467
|
};
|
|
@@ -9148,6 +9492,7 @@ export type InvokeXGuardModerationStepTemplateData = {
|
|
|
9148
9492
|
experimental?: boolean;
|
|
9149
9493
|
allowMatureContent?: boolean;
|
|
9150
9494
|
whatif?: boolean;
|
|
9495
|
+
ephemeral?: boolean;
|
|
9151
9496
|
};
|
|
9152
9497
|
url: '/v2/consumer/recipes/xGuardModeration';
|
|
9153
9498
|
};
|