@civitai/orchestration-client 0.2.0-beta.106 → 0.2.0-beta.108
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.
|
@@ -12,6 +12,7 @@ export {
|
|
|
12
12
|
getWorkflow,
|
|
13
13
|
getWorkflowStep,
|
|
14
14
|
headBlob,
|
|
15
|
+
ingestConsumerBlob,
|
|
15
16
|
invalidateUserCache,
|
|
16
17
|
invalidateUserTokens,
|
|
17
18
|
invokeAceStepAudioStepTemplate,
|
|
@@ -178,6 +179,7 @@ export {
|
|
|
178
179
|
type ChatCompletionStep,
|
|
179
180
|
type ChatCompletionStepTemplate,
|
|
180
181
|
type ChatCompletionStepWritable,
|
|
182
|
+
type ChatCompletionTokensDetails,
|
|
181
183
|
type ChatCompletionTool,
|
|
182
184
|
type ChatCompletionToolCall,
|
|
183
185
|
type ChatCompletionUsage,
|
|
@@ -197,6 +199,8 @@ export {
|
|
|
197
199
|
type ComfyBooguImageGenInput,
|
|
198
200
|
type ComfyBooguTurboCreateImageGenInput,
|
|
199
201
|
type ComfyBooguTurboImageGenInput,
|
|
202
|
+
type ComfyChromaCreateImageGenInput,
|
|
203
|
+
type ComfyChromaImageGenInput,
|
|
200
204
|
type ComfyErnieImageGenInput,
|
|
201
205
|
type ComfyErnieStandardCreateImageGenInput,
|
|
202
206
|
type ComfyErnieStandardImageGenInput,
|
|
@@ -214,6 +218,8 @@ export {
|
|
|
214
218
|
type ComfyFlux2KleinEditImageInput,
|
|
215
219
|
type ComfyFlux2KleinImageGenInput,
|
|
216
220
|
type ComfyFlux2KleinVariantImageGenInput,
|
|
221
|
+
type ComfyHiDreamI1CreateImageGenInput,
|
|
222
|
+
type ComfyHiDreamI1ImageGenInput,
|
|
217
223
|
type ComfyHiDreamImageGenInput,
|
|
218
224
|
type ComfyHiDreamO1CreateImageGenInput,
|
|
219
225
|
type ComfyHiDreamO1DevCreateImageGenInput,
|
|
@@ -278,12 +284,18 @@ export {
|
|
|
278
284
|
type ComfyNodepackSnapshotStepTemplate,
|
|
279
285
|
type ComfyOutput,
|
|
280
286
|
type ComfyPolyGenInput,
|
|
287
|
+
type ComfyPonyV7CreateImageGenInput,
|
|
288
|
+
type ComfyPonyV7ImageGenInput,
|
|
281
289
|
type ComfyQwen20bCreateImageGenInput,
|
|
282
290
|
type ComfyQwen20bEditImageGenInput,
|
|
283
291
|
type ComfyQwen20bEditImageGenInputWritable,
|
|
284
292
|
type ComfyQwen20bImageGenInput,
|
|
285
293
|
type ComfyQwen20bVariantImageGenInput,
|
|
286
294
|
type ComfyQwen20bVariantImageGenInputWritable,
|
|
295
|
+
type ComfyQwen21CreateImageGenInput,
|
|
296
|
+
type ComfyQwen21EditImageGenInput,
|
|
297
|
+
type ComfyQwen21EditImageGenInputWritable,
|
|
298
|
+
type ComfyQwen21ImageGenInput,
|
|
287
299
|
type ComfyQwenImageGenInput,
|
|
288
300
|
ComfySampler,
|
|
289
301
|
ComfyScheduler,
|
|
@@ -362,6 +374,9 @@ export {
|
|
|
362
374
|
type Flux1KontextMaxImageGenInputWritable,
|
|
363
375
|
type Flux1KontextProImageGenInput,
|
|
364
376
|
type Flux1KontextProImageGenInputWritable,
|
|
377
|
+
type Flux1ProFamilyImageGenInput,
|
|
378
|
+
type Flux1ProImageGenInput,
|
|
379
|
+
type Flux1ProUltraImageGenInput,
|
|
365
380
|
type Flux1SchnellAiToolkitTrainingInput,
|
|
366
381
|
type Flux1SchnellAiToolkitTrainingInputWritable,
|
|
367
382
|
type Flux1SdCppCreateImageInput,
|
|
@@ -499,6 +514,8 @@ export {
|
|
|
499
514
|
type HeadBlobErrors,
|
|
500
515
|
type HeadBlobResponse,
|
|
501
516
|
type HeadBlobResponses,
|
|
517
|
+
HiDreamI1Precision,
|
|
518
|
+
HiDreamI1Variant,
|
|
502
519
|
type HiDreamO1AiToolkitTrainingInput,
|
|
503
520
|
type HiDreamO1AiToolkitTrainingInputWritable,
|
|
504
521
|
HumanoidImageMaskCategory,
|
|
@@ -560,6 +577,11 @@ export {
|
|
|
560
577
|
type ImageUpscalerOutput,
|
|
561
578
|
type ImageUpscalerStep,
|
|
562
579
|
type ImageUpscalerStepTemplate,
|
|
580
|
+
type IngestConsumerBlobData,
|
|
581
|
+
type IngestConsumerBlobError,
|
|
582
|
+
type IngestConsumerBlobErrors,
|
|
583
|
+
type IngestConsumerBlobResponse,
|
|
584
|
+
type IngestConsumerBlobResponses,
|
|
563
585
|
type InvalidateUserCacheData,
|
|
564
586
|
type InvalidateUserCacheError,
|
|
565
587
|
type InvalidateUserCacheErrors,
|
|
@@ -1265,6 +1287,8 @@ export {
|
|
|
1265
1287
|
type TryOnUInput,
|
|
1266
1288
|
type TryOnUOutput,
|
|
1267
1289
|
type UnavailableResourceAvailability,
|
|
1290
|
+
type UniRigPolyGenInput,
|
|
1291
|
+
type UniRigRigPolyGenInput,
|
|
1268
1292
|
type UnsupportedResourceAvailability,
|
|
1269
1293
|
type UpdateWorkflowData,
|
|
1270
1294
|
type UpdateWorkflowError,
|
|
@@ -1419,6 +1443,7 @@ export {
|
|
|
1419
1443
|
type WorkflowTemplate,
|
|
1420
1444
|
type WorkflowTips,
|
|
1421
1445
|
WorkflowUpgradeMode,
|
|
1446
|
+
WorkflowWaitUntil,
|
|
1422
1447
|
type WorkflowWritable,
|
|
1423
1448
|
type XGuardCustomSignalMetadata,
|
|
1424
1449
|
type XGuardCustomSignalMetadataWritable,
|
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, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
-
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, GeminiOmniModel, GeminiOmniResolution, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageBackgroundRemovalFormat, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaContainer, MediaFit, MediaHashType, MediaOutputType, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowUpgradeMode, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
|
|
2
|
+
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, ingestConsumerBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
+
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, GeminiOmniModel, GeminiOmniResolution, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HiDreamI1Precision, HiDreamI1Variant, HumanoidImageMaskCategory, ImageBackgroundRemovalFormat, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaContainer, MediaFit, MediaHashType, MediaOutputType, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowUpgradeMode, WorkflowWaitUntil, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
|
|
@@ -37,6 +37,9 @@ import type {
|
|
|
37
37
|
HeadBlobData,
|
|
38
38
|
HeadBlobErrors,
|
|
39
39
|
HeadBlobResponses,
|
|
40
|
+
IngestConsumerBlobData,
|
|
41
|
+
IngestConsumerBlobErrors,
|
|
42
|
+
IngestConsumerBlobResponses,
|
|
40
43
|
InvalidateUserCacheData,
|
|
41
44
|
InvalidateUserCacheErrors,
|
|
42
45
|
InvalidateUserCacheResponses,
|
|
@@ -297,6 +300,18 @@ export declare const uploadConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
|
297
300
|
ThrowOnError,
|
|
298
301
|
'fields'
|
|
299
302
|
>;
|
|
303
|
+
/**
|
|
304
|
+
* Copy a trusted url into a blob named after that source, so the caller can ask for it again
|
|
305
|
+
* without holding the bytes. 200 when it already existed, 201 when copied.
|
|
306
|
+
*/
|
|
307
|
+
export declare const ingestConsumerBlob: <ThrowOnError extends boolean = false>(
|
|
308
|
+
options?: Options<IngestConsumerBlobData, ThrowOnError>
|
|
309
|
+
) => import('./client').RequestResult<
|
|
310
|
+
IngestConsumerBlobResponses,
|
|
311
|
+
IngestConsumerBlobErrors,
|
|
312
|
+
ThrowOnError,
|
|
313
|
+
'fields'
|
|
314
|
+
>;
|
|
300
315
|
/**
|
|
301
316
|
* Serves cacheable blob content using a deterministic encrypted token
|
|
302
317
|
*/
|
|
@@ -1037,6 +1052,10 @@ export declare const invokeYuE2StepTemplate: <ThrowOnError extends boolean = fal
|
|
|
1037
1052
|
ThrowOnError,
|
|
1038
1053
|
'fields'
|
|
1039
1054
|
>;
|
|
1055
|
+
/**
|
|
1056
|
+
* List resources: `view=Queue` is what the orchestrator is loading now, `view=Loaded`
|
|
1057
|
+
* what at least one worker holds and can use now. Each page is a fresh snapshot.
|
|
1058
|
+
*/
|
|
1040
1059
|
export declare const queryResources: <ThrowOnError extends boolean = false>(
|
|
1041
1060
|
options: Options<QueryResourcesData, ThrowOnError>
|
|
1042
1061
|
) => import('./client').RequestResult<
|
|
@@ -36,6 +36,14 @@ export const uploadConsumerBlob = (options) => {
|
|
|
36
36
|
var _a;
|
|
37
37
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({ url: '/v2/consumer/blobs', ...options });
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Copy a trusted url into a blob named after that source, so the caller can ask for it again
|
|
41
|
+
* without holding the bytes. 200 when it already existed, 201 when copied.
|
|
42
|
+
*/
|
|
43
|
+
export const ingestConsumerBlob = (options) => {
|
|
44
|
+
var _a;
|
|
45
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({ url: '/v2/consumer/blobs/ingest', ...options });
|
|
46
|
+
};
|
|
39
47
|
/**
|
|
40
48
|
* Serves cacheable blob content using a deterministic encrypted token
|
|
41
49
|
*/
|
|
@@ -922,6 +930,10 @@ export const invokeYuE2StepTemplate = (options) => {
|
|
|
922
930
|
},
|
|
923
931
|
});
|
|
924
932
|
};
|
|
933
|
+
/**
|
|
934
|
+
* List resources: `view=Queue` is what the orchestrator is loading now, `view=Loaded`
|
|
935
|
+
* what at least one worker holds and can use now. Each page is a fresh snapshot.
|
|
936
|
+
*/
|
|
925
937
|
export const queryResources = (options) => {
|
|
926
938
|
var _a;
|
|
927
939
|
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
|
|
@@ -1149,6 +1149,11 @@ export type ChatCompletionInput = {
|
|
|
1149
1149
|
* MaxTokens still limits the total generated thinking and answer tokens.
|
|
1150
1150
|
*/
|
|
1151
1151
|
thinkingTokenBudget?: null | number;
|
|
1152
|
+
/**
|
|
1153
|
+
* OpenAI reasoning_effort: none, minimal, low, medium, high or xhigh. Portable across vLLM
|
|
1154
|
+
* and hosted providers; the worker translates it to each provider's native reasoning control.
|
|
1155
|
+
*/
|
|
1156
|
+
reasoningEffort?: null | string;
|
|
1152
1157
|
/**
|
|
1153
1158
|
* Number of completions to generate.
|
|
1154
1159
|
*/
|
|
@@ -1184,8 +1189,7 @@ export type ChatCompletionInput = {
|
|
|
1184
1189
|
topLogprobs?: null | number;
|
|
1185
1190
|
/**
|
|
1186
1191
|
* Model-specific chat template options, forwarded unchanged to vLLM as chat_template_kwargs.
|
|
1187
|
-
*
|
|
1188
|
-
* Reasoning effort is guidance, not a token limit; use ThinkingTokenBudget for a numeric cap.
|
|
1192
|
+
* Prefer reasoningEffort and thinkingTokenBudget for reasoning control.
|
|
1189
1193
|
*/
|
|
1190
1194
|
chatTemplateKwargs?: null | {
|
|
1191
1195
|
[key: string]: unknown;
|
|
@@ -1290,6 +1294,12 @@ export type ChatCompletionStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
|
1290
1294
|
input: ChatCompletionInput;
|
|
1291
1295
|
$type: 'chatCompletion';
|
|
1292
1296
|
};
|
|
1297
|
+
export type ChatCompletionTokensDetails = {
|
|
1298
|
+
/**
|
|
1299
|
+
* Reasoning tokens generated before the answer; billed as completion tokens.
|
|
1300
|
+
*/
|
|
1301
|
+
reasoningTokens?: null | number;
|
|
1302
|
+
};
|
|
1293
1303
|
/**
|
|
1294
1304
|
* A tool definition sent in a chat completion request.
|
|
1295
1305
|
*/
|
|
@@ -1325,6 +1335,7 @@ export type ChatCompletionUsage = {
|
|
|
1325
1335
|
* Total number of tokens (prompt + completion).
|
|
1326
1336
|
*/
|
|
1327
1337
|
totalTokens: number;
|
|
1338
|
+
completionTokensDetails?: ChatCompletionTokensDetails;
|
|
1328
1339
|
};
|
|
1329
1340
|
/**
|
|
1330
1341
|
* AI Toolkit training for Chroma models
|
|
@@ -1521,6 +1532,32 @@ export type ComfyBooguTurboImageGenInput = Omit<
|
|
|
1521
1532
|
ecosystem: 'boogu';
|
|
1522
1533
|
engine: 'comfy';
|
|
1523
1534
|
};
|
|
1535
|
+
export type ComfyChromaCreateImageGenInput = Omit<
|
|
1536
|
+
ComfyChromaImageGenInput,
|
|
1537
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1538
|
+
> & {
|
|
1539
|
+
width?: number;
|
|
1540
|
+
height?: number;
|
|
1541
|
+
operation: 'createImage';
|
|
1542
|
+
ecosystem: 'chroma';
|
|
1543
|
+
engine: 'comfy';
|
|
1544
|
+
};
|
|
1545
|
+
export type ComfyChromaImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1546
|
+
operation: string;
|
|
1547
|
+
prompt: string;
|
|
1548
|
+
negativePrompt?: null | string;
|
|
1549
|
+
sampler?: ComfySampler;
|
|
1550
|
+
steps?: number;
|
|
1551
|
+
cfgScale?: number;
|
|
1552
|
+
seed?: null | number;
|
|
1553
|
+
quantity?: number;
|
|
1554
|
+
model: string;
|
|
1555
|
+
loras?: {
|
|
1556
|
+
[key: string]: number;
|
|
1557
|
+
};
|
|
1558
|
+
ecosystem: 'chroma';
|
|
1559
|
+
engine: 'comfy';
|
|
1560
|
+
};
|
|
1524
1561
|
export type ComfyErnieImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1525
1562
|
model: string;
|
|
1526
1563
|
ecosystem: 'ernie';
|
|
@@ -1752,6 +1789,39 @@ export type ComfyFlux2KleinVariantImageGenInput = Omit<
|
|
|
1752
1789
|
ecosystem: 'flux2Klein';
|
|
1753
1790
|
engine: 'comfy';
|
|
1754
1791
|
};
|
|
1792
|
+
export type ComfyHiDreamI1CreateImageGenInput = Omit<
|
|
1793
|
+
ComfyHiDreamI1ImageGenInput,
|
|
1794
|
+
'engine' | 'ecosystem' | 'operation'
|
|
1795
|
+
> & {
|
|
1796
|
+
width?: number;
|
|
1797
|
+
height?: number;
|
|
1798
|
+
operation: 'createImage';
|
|
1799
|
+
ecosystem: 'hidream';
|
|
1800
|
+
engine: 'comfy';
|
|
1801
|
+
};
|
|
1802
|
+
export type ComfyHiDreamI1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1803
|
+
operation: string;
|
|
1804
|
+
prompt: string;
|
|
1805
|
+
negativePrompt?: null | string;
|
|
1806
|
+
variant?: HiDreamI1Variant;
|
|
1807
|
+
precision?: HiDreamI1Precision;
|
|
1808
|
+
sampler?: ComfySampler;
|
|
1809
|
+
/**
|
|
1810
|
+
* Defaults to 16 for fast, 28 for dev and 50 for full.
|
|
1811
|
+
*/
|
|
1812
|
+
steps?: null | number;
|
|
1813
|
+
/**
|
|
1814
|
+
* Defaults to 1 for fast and dev, 5 for full.
|
|
1815
|
+
*/
|
|
1816
|
+
cfgScale?: null | number;
|
|
1817
|
+
seed?: null | number;
|
|
1818
|
+
quantity?: number;
|
|
1819
|
+
loras?: {
|
|
1820
|
+
[key: string]: number;
|
|
1821
|
+
};
|
|
1822
|
+
ecosystem: 'hidream';
|
|
1823
|
+
engine: 'comfy';
|
|
1824
|
+
};
|
|
1755
1825
|
export type ComfyHiDreamImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
1756
1826
|
model: string;
|
|
1757
1827
|
ecosystem: 'hidream-o1';
|
|
@@ -2573,7 +2643,7 @@ export type ComfyNodepackSnapshotInput = {
|
|
|
2573
2643
|
* the artifact's identity (hashed into the blob key). Optional: when omitted
|
|
2574
2644
|
* (e.g. a caller with no managed image of its own, like civitai-comfy-nodes
|
|
2575
2645
|
* offload) the handler resolves the configured default/"latest" comfy image
|
|
2576
|
-
* (
|
|
2646
|
+
* (`ComfyImageOptions.DefaultComfyImage`).
|
|
2577
2647
|
*/
|
|
2578
2648
|
comfyImage?: null | string;
|
|
2579
2649
|
/**
|
|
@@ -2637,6 +2707,32 @@ export type ComfyPolyGenInput = Omit<PolyGenInput, 'engine'> & {
|
|
|
2637
2707
|
model: string;
|
|
2638
2708
|
engine: 'comfy';
|
|
2639
2709
|
};
|
|
2710
|
+
export type ComfyPonyV7CreateImageGenInput = Omit<
|
|
2711
|
+
ComfyPonyV7ImageGenInput,
|
|
2712
|
+
'engine' | 'ecosystem' | 'operation'
|
|
2713
|
+
> & {
|
|
2714
|
+
width?: number;
|
|
2715
|
+
height?: number;
|
|
2716
|
+
operation: 'createImage';
|
|
2717
|
+
ecosystem: 'ponyV7';
|
|
2718
|
+
engine: 'comfy';
|
|
2719
|
+
};
|
|
2720
|
+
export type ComfyPonyV7ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
2721
|
+
operation: string;
|
|
2722
|
+
prompt: string;
|
|
2723
|
+
negativePrompt?: null | string;
|
|
2724
|
+
sampler?: ComfySampler;
|
|
2725
|
+
steps?: number;
|
|
2726
|
+
cfgScale?: number;
|
|
2727
|
+
seed?: null | number;
|
|
2728
|
+
quantity?: number;
|
|
2729
|
+
model: string;
|
|
2730
|
+
loras?: {
|
|
2731
|
+
[key: string]: number;
|
|
2732
|
+
};
|
|
2733
|
+
ecosystem: 'ponyV7';
|
|
2734
|
+
engine: 'comfy';
|
|
2735
|
+
};
|
|
2640
2736
|
export type ComfyQwen20bCreateImageGenInput = Omit<
|
|
2641
2737
|
ComfyQwen20bImageGenInput,
|
|
2642
2738
|
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
@@ -2699,6 +2795,54 @@ export type ComfyQwen20bVariantImageGenInput = Omit<
|
|
|
2699
2795
|
ecosystem: 'qwen';
|
|
2700
2796
|
engine: 'comfy';
|
|
2701
2797
|
};
|
|
2798
|
+
export type ComfyQwen21CreateImageGenInput = Omit<
|
|
2799
|
+
ComfyQwen21ImageGenInput,
|
|
2800
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2801
|
+
> & {
|
|
2802
|
+
width?: number;
|
|
2803
|
+
height?: number;
|
|
2804
|
+
operation: 'createImage';
|
|
2805
|
+
model: '2.1';
|
|
2806
|
+
ecosystem: 'qwen';
|
|
2807
|
+
engine: 'comfy';
|
|
2808
|
+
};
|
|
2809
|
+
export type ComfyQwen21EditImageGenInput = Omit<
|
|
2810
|
+
ComfyQwen21ImageGenInput,
|
|
2811
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
2812
|
+
> & {
|
|
2813
|
+
images: Array<string>;
|
|
2814
|
+
/**
|
|
2815
|
+
* Reference pixel budget as resolution squared; preserves each image's aspect ratio.
|
|
2816
|
+
*/
|
|
2817
|
+
resolution?: number;
|
|
2818
|
+
readonly width: number;
|
|
2819
|
+
readonly height: number;
|
|
2820
|
+
operation: 'editImage';
|
|
2821
|
+
model: '2.1';
|
|
2822
|
+
ecosystem: 'qwen';
|
|
2823
|
+
engine: 'comfy';
|
|
2824
|
+
};
|
|
2825
|
+
export type ComfyQwen21ImageGenInput = Omit<
|
|
2826
|
+
ComfyQwenImageGenInput,
|
|
2827
|
+
'engine' | 'ecosystem' | 'model'
|
|
2828
|
+
> & {
|
|
2829
|
+
operation: string;
|
|
2830
|
+
prompt: string;
|
|
2831
|
+
negativePrompt?: null | string;
|
|
2832
|
+
sampler?: ComfySampler;
|
|
2833
|
+
scheduler?: ComfyScheduler;
|
|
2834
|
+
steps?: number;
|
|
2835
|
+
cfgScale?: number;
|
|
2836
|
+
seed?: null | number;
|
|
2837
|
+
quantity?: number;
|
|
2838
|
+
loras?: {
|
|
2839
|
+
[key: string]: number;
|
|
2840
|
+
};
|
|
2841
|
+
diffusionModel?: null | string;
|
|
2842
|
+
model: '2.1';
|
|
2843
|
+
ecosystem: 'qwen';
|
|
2844
|
+
engine: 'comfy';
|
|
2845
|
+
};
|
|
2702
2846
|
export type ComfyQwenImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
|
|
2703
2847
|
model: null | string;
|
|
2704
2848
|
ecosystem: 'qwen';
|
|
@@ -2773,6 +2917,7 @@ export type ComfySd1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosyst
|
|
|
2773
2917
|
loras?: {
|
|
2774
2918
|
[key: string]: number;
|
|
2775
2919
|
};
|
|
2920
|
+
embeddings?: Array<string>;
|
|
2776
2921
|
clipSkip?: number;
|
|
2777
2922
|
controlNets?: Array<ImageJobControlNet>;
|
|
2778
2923
|
ecosystem: 'sd1';
|
|
@@ -2818,6 +2963,8 @@ export type ComfySdxlImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosys
|
|
|
2818
2963
|
loras?: {
|
|
2819
2964
|
[key: string]: number;
|
|
2820
2965
|
};
|
|
2966
|
+
embeddings?: Array<string>;
|
|
2967
|
+
clipSkip?: number;
|
|
2821
2968
|
controlNets?: Array<ImageJobControlNet>;
|
|
2822
2969
|
ecosystem: 'sdxl';
|
|
2823
2970
|
engine: 'comfy';
|
|
@@ -3607,6 +3754,34 @@ export type Flux1KontextProImageGenInput = Omit<Flux1KontextImageGenInput, 'engi
|
|
|
3607
3754
|
model: 'pro';
|
|
3608
3755
|
engine: 'flux1-kontext';
|
|
3609
3756
|
};
|
|
3757
|
+
export type Flux1ProFamilyImageGenInput = Omit<ImageGenInput, 'engine'> & {
|
|
3758
|
+
model: string;
|
|
3759
|
+
prompt: string;
|
|
3760
|
+
seed?: null | number;
|
|
3761
|
+
quantity?: number;
|
|
3762
|
+
engine: 'flux1-pro';
|
|
3763
|
+
};
|
|
3764
|
+
/**
|
|
3765
|
+
* FLUX1.1 [pro]
|
|
3766
|
+
*/
|
|
3767
|
+
export type Flux1ProImageGenInput = Omit<Flux1ProFamilyImageGenInput, 'engine' | 'model'> & {
|
|
3768
|
+
width?: number;
|
|
3769
|
+
height?: number;
|
|
3770
|
+
model: 'pro';
|
|
3771
|
+
engine: 'flux1-pro';
|
|
3772
|
+
};
|
|
3773
|
+
/**
|
|
3774
|
+
* FLUX1.1 [pro] Ultra
|
|
3775
|
+
*/
|
|
3776
|
+
export type Flux1ProUltraImageGenInput = Omit<Flux1ProFamilyImageGenInput, 'engine' | 'model'> & {
|
|
3777
|
+
aspectRatio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16' | '9:21';
|
|
3778
|
+
/**
|
|
3779
|
+
* Generates less processed, more natural-looking images.
|
|
3780
|
+
*/
|
|
3781
|
+
raw?: boolean;
|
|
3782
|
+
model: 'ultra';
|
|
3783
|
+
engine: 'flux1-pro';
|
|
3784
|
+
};
|
|
3610
3785
|
/**
|
|
3611
3786
|
* AI Toolkit training for Flux.1 Schnell models
|
|
3612
3787
|
*/
|
|
@@ -4690,6 +4865,17 @@ export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
4690
4865
|
version: string;
|
|
4691
4866
|
engine: 'happyHorse';
|
|
4692
4867
|
};
|
|
4868
|
+
export declare const HiDreamI1Precision: {
|
|
4869
|
+
readonly FP8: 'fp8';
|
|
4870
|
+
readonly FP16: 'fp16';
|
|
4871
|
+
};
|
|
4872
|
+
export type HiDreamI1Precision = (typeof HiDreamI1Precision)[keyof typeof HiDreamI1Precision];
|
|
4873
|
+
export declare const HiDreamI1Variant: {
|
|
4874
|
+
readonly FAST: 'fast';
|
|
4875
|
+
readonly DEV: 'dev';
|
|
4876
|
+
readonly FULL: 'full';
|
|
4877
|
+
};
|
|
4878
|
+
export type HiDreamI1Variant = (typeof HiDreamI1Variant)[keyof typeof HiDreamI1Variant];
|
|
4693
4879
|
/**
|
|
4694
4880
|
* AI Toolkit training for HiDream O1 Image models.
|
|
4695
4881
|
*/
|
|
@@ -5730,6 +5916,10 @@ export type LoadingResourceAvailability = Omit<ResourceAvailability, 'status'> &
|
|
|
5730
5916
|
* Inferred from reported progress over elapsed time; the worker's byte counters never leave it.
|
|
5731
5917
|
*/
|
|
5732
5918
|
bytesPerSecond?: null | number;
|
|
5919
|
+
/**
|
|
5920
|
+
* Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
|
|
5921
|
+
*/
|
|
5922
|
+
rateLimitBytesPerSecond?: null | number;
|
|
5733
5923
|
status: 'loading';
|
|
5734
5924
|
};
|
|
5735
5925
|
/**
|
|
@@ -7482,6 +7672,10 @@ export type QueuedResourceAvailability = Omit<ResourceAvailability, 'status'> &
|
|
|
7482
7672
|
* What Civitai.Orchestration.Grains.Resources.QueuedResourceAvailability.EtaSeconds would become in the High lane. Null when already High.
|
|
7483
7673
|
*/
|
|
7484
7674
|
boostedEtaSeconds?: null | number;
|
|
7675
|
+
/**
|
|
7676
|
+
* Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
|
|
7677
|
+
*/
|
|
7678
|
+
rateLimitBytesPerSecond?: null | number;
|
|
7485
7679
|
status: 'queued';
|
|
7486
7680
|
};
|
|
7487
7681
|
export type Qwen20bCreateImageGenInput = Omit<
|
|
@@ -7968,6 +8162,7 @@ export type ResourceInfo = {
|
|
|
7968
8162
|
*/
|
|
7969
8163
|
export declare const ResourceView: {
|
|
7970
8164
|
readonly QUEUE: 'queue';
|
|
8165
|
+
readonly LOADED: 'loaded';
|
|
7971
8166
|
};
|
|
7972
8167
|
/**
|
|
7973
8168
|
* A projection of the resource collection. There is no view that lists every known resource — resources
|
|
@@ -8222,6 +8417,7 @@ export type SdxlImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
|
|
|
8222
8417
|
[key: string]: number;
|
|
8223
8418
|
};
|
|
8224
8419
|
embeddings?: Array<string>;
|
|
8420
|
+
clipSkip?: number;
|
|
8225
8421
|
uCache?: SdCppUCacheMode;
|
|
8226
8422
|
ecosystem: 'sdxl';
|
|
8227
8423
|
engine: 'sdcpp';
|
|
@@ -8848,6 +9044,10 @@ export type TranscodeInput = {
|
|
|
8848
9044
|
* it, so a block decided after the fact cannot take it back.
|
|
8849
9045
|
*/
|
|
8850
9046
|
public?: null | boolean;
|
|
9047
|
+
/**
|
|
9048
|
+
* Removes the source's container tags and chapters; the video and audio streams are untouched.
|
|
9049
|
+
*/
|
|
9050
|
+
hideMetadata?: null | boolean;
|
|
8851
9051
|
};
|
|
8852
9052
|
export type TranscodeOutput = {
|
|
8853
9053
|
/**
|
|
@@ -9034,6 +9234,18 @@ export type TryOnUOutput = {
|
|
|
9034
9234
|
export type UnavailableResourceAvailability = Omit<ResourceAvailability, 'status'> & {
|
|
9035
9235
|
status: 'unavailable';
|
|
9036
9236
|
};
|
|
9237
|
+
export type UniRigPolyGenInput = Omit<PolyGenInput, 'engine'> & {
|
|
9238
|
+
operation: null | string;
|
|
9239
|
+
seed?: null | number;
|
|
9240
|
+
engine: 'unirig';
|
|
9241
|
+
};
|
|
9242
|
+
export type UniRigRigPolyGenInput = Omit<UniRigPolyGenInput, 'engine' | 'operation'> & {
|
|
9243
|
+
mesh: string;
|
|
9244
|
+
heightMeters?: null | number;
|
|
9245
|
+
skeleton?: 'mixamo' | 'generic';
|
|
9246
|
+
operation: 'rig';
|
|
9247
|
+
engine: 'unirig';
|
|
9248
|
+
};
|
|
9037
9249
|
export type UnsupportedResourceAvailability = Omit<ResourceAvailability, 'status'> & {
|
|
9038
9250
|
status: 'unsupported';
|
|
9039
9251
|
};
|
|
@@ -9481,19 +9693,21 @@ export type VolumeTransformer = Omit<MediaTransformer, 'type'> & {
|
|
|
9481
9693
|
*/
|
|
9482
9694
|
export type WdTaggingInput = {
|
|
9483
9695
|
/**
|
|
9484
|
-
* The model to use for tagging.
|
|
9696
|
+
* The model to use for tagging. Tagging always runs with "cl-tagger.v2"; any other model, including the
|
|
9697
|
+
* default "wd14-vit.v1", is deprecated and produces a warning.
|
|
9485
9698
|
*/
|
|
9486
9699
|
model?: null | string;
|
|
9487
9700
|
/**
|
|
9488
|
-
* The URL of the
|
|
9701
|
+
* The URL of the image to tag.
|
|
9489
9702
|
*/
|
|
9490
9703
|
mediaUrl: string;
|
|
9491
9704
|
/**
|
|
9492
9705
|
* Optional threshold for tag confidence filtering. Tags below this threshold will be excluded.
|
|
9706
|
+
* The tagger never returns tags scoring below its own minimum, so lower values have no effect.
|
|
9493
9707
|
*/
|
|
9494
9708
|
threshold?: null | number;
|
|
9495
9709
|
/**
|
|
9496
|
-
*
|
|
9710
|
+
* Ignored; kept for compatibility.
|
|
9497
9711
|
*/
|
|
9498
9712
|
prompt?: null | string;
|
|
9499
9713
|
};
|
|
@@ -10603,6 +10817,10 @@ export type WorkflowStepPreparationResource = {
|
|
|
10603
10817
|
* What Civitai.Orchestration.Grains.Workflows.WorkflowStepPreparationResource.EtaSeconds would become in the High lane. Null when already High.
|
|
10604
10818
|
*/
|
|
10605
10819
|
boostedEtaSeconds?: null | number;
|
|
10820
|
+
/**
|
|
10821
|
+
* Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
|
|
10822
|
+
*/
|
|
10823
|
+
rateLimitBytesPerSecond?: null | number;
|
|
10606
10824
|
};
|
|
10607
10825
|
/**
|
|
10608
10826
|
* Details of a workflow step's position in the queue.
|
|
@@ -10759,6 +10977,17 @@ export declare const WorkflowUpgradeMode: {
|
|
|
10759
10977
|
* Specifies how a workflow should be upgraded when mature content is detected and green or blue buzz was used for payment.
|
|
10760
10978
|
*/
|
|
10761
10979
|
export type WorkflowUpgradeMode = (typeof WorkflowUpgradeMode)[keyof typeof WorkflowUpgradeMode];
|
|
10980
|
+
/**
|
|
10981
|
+
* What a held read of a workflow waits for before it returns.
|
|
10982
|
+
*/
|
|
10983
|
+
export declare const WorkflowWaitUntil: {
|
|
10984
|
+
readonly COMPLETION: 'completion';
|
|
10985
|
+
readonly CHANGE: 'change';
|
|
10986
|
+
};
|
|
10987
|
+
/**
|
|
10988
|
+
* What a held read of a workflow waits for before it returns.
|
|
10989
|
+
*/
|
|
10990
|
+
export type WorkflowWaitUntil = (typeof WorkflowWaitUntil)[keyof typeof WorkflowWaitUntil];
|
|
10762
10991
|
export type XGuardCustomSignalMetadata = {
|
|
10763
10992
|
name: string;
|
|
10764
10993
|
positiveSignals: {
|
|
@@ -10820,12 +11049,14 @@ export type XGuardModerationInput = {
|
|
|
10820
11049
|
* the trimmed version. Intended for one-off debugging of classification decisions
|
|
10821
11050
|
* where the full logprobs distribution or generated token stream needs inspection.
|
|
10822
11051
|
* Leaves blobs at ~200KB instead of ~2-3KB — do not enable in normal traffic.
|
|
11052
|
+
* Civitai prompt Scan always emits one token, including with debugging enabled.
|
|
10823
11053
|
* This is NOT the reasoning switch — use IncludeReasoning for ModelReason. On its own it
|
|
10824
11054
|
* merely raises the token budget from 1 to 128 (XGuardScoring.MaxTokensFor), which lets
|
|
10825
11055
|
* ~600 chars of explanation slip out before a finishReason=length cutoff.
|
|
10826
11056
|
*/
|
|
10827
11057
|
storeFullResponse: boolean;
|
|
10828
11058
|
/**
|
|
11059
|
+
* For site-text moderation only; Civitai prompt Scan always emits one token.
|
|
10829
11060
|
* When true, the model generates an explanation after its verdict token, populating
|
|
10830
11061
|
* XGuardLabelResult.ModelReason and MatchedTerms. Uses a larger token budget (256 —
|
|
10831
11062
|
* long explanations can still end at finishReason=length) and a distinct blob-cache
|
|
@@ -10867,7 +11098,7 @@ export type XGuardPromptModerationInput = Omit<XGuardModerationInput, 'mode'> &
|
|
|
10867
11098
|
*/
|
|
10868
11099
|
negativePrompt?: null | string;
|
|
10869
11100
|
/**
|
|
10870
|
-
* Additional instructions
|
|
11101
|
+
* Additional instructions are unsupported by the fixed Civitai Scan contract.
|
|
10871
11102
|
*/
|
|
10872
11103
|
instructions?: null | string;
|
|
10873
11104
|
scope: XGuardPromptScope;
|
|
@@ -11432,6 +11663,20 @@ export type ComfyQwen20bVariantImageGenInputWritable = Omit<
|
|
|
11432
11663
|
ecosystem: 'qwen';
|
|
11433
11664
|
engine: 'comfy';
|
|
11434
11665
|
};
|
|
11666
|
+
export type ComfyQwen21EditImageGenInputWritable = Omit<
|
|
11667
|
+
ComfyQwen21ImageGenInput,
|
|
11668
|
+
'engine' | 'ecosystem' | 'model' | 'operation'
|
|
11669
|
+
> & {
|
|
11670
|
+
images: Array<string>;
|
|
11671
|
+
/**
|
|
11672
|
+
* Reference pixel budget as resolution squared; preserves each image's aspect ratio.
|
|
11673
|
+
*/
|
|
11674
|
+
resolution?: number;
|
|
11675
|
+
operation: 'ComfyQwen21EditImageGenInputWritable';
|
|
11676
|
+
model: '2.1';
|
|
11677
|
+
ecosystem: 'qwen';
|
|
11678
|
+
engine: 'comfy';
|
|
11679
|
+
};
|
|
11435
11680
|
/**
|
|
11436
11681
|
* Input for model-family-driven Comfy-backed LoRA training.
|
|
11437
11682
|
*/
|
|
@@ -12920,6 +13165,60 @@ export type UploadConsumerBlobResponses = {
|
|
|
12920
13165
|
};
|
|
12921
13166
|
export type UploadConsumerBlobResponse =
|
|
12922
13167
|
UploadConsumerBlobResponses[keyof UploadConsumerBlobResponses];
|
|
13168
|
+
export type IngestConsumerBlobData = {
|
|
13169
|
+
body?: never;
|
|
13170
|
+
path?: never;
|
|
13171
|
+
query?: {
|
|
13172
|
+
/**
|
|
13173
|
+
* Object to copy; must resolve to a configured trusted source.
|
|
13174
|
+
*/
|
|
13175
|
+
sourceUrl?: string;
|
|
13176
|
+
/**
|
|
13177
|
+
* Store in the public tier and return a durable, unsigned URL.
|
|
13178
|
+
*/
|
|
13179
|
+
public?: boolean;
|
|
13180
|
+
};
|
|
13181
|
+
url: '/v2/consumer/blobs/ingest';
|
|
13182
|
+
};
|
|
13183
|
+
export type IngestConsumerBlobErrors = {
|
|
13184
|
+
/**
|
|
13185
|
+
* Bad Request
|
|
13186
|
+
*/
|
|
13187
|
+
400: ProblemDetails;
|
|
13188
|
+
/**
|
|
13189
|
+
* Unauthorized
|
|
13190
|
+
*/
|
|
13191
|
+
401: ProblemDetails;
|
|
13192
|
+
/**
|
|
13193
|
+
* Forbidden
|
|
13194
|
+
*/
|
|
13195
|
+
403: ProblemDetails;
|
|
13196
|
+
/**
|
|
13197
|
+
* Not Found
|
|
13198
|
+
*/
|
|
13199
|
+
404: ProblemDetails;
|
|
13200
|
+
/**
|
|
13201
|
+
* Unprocessable Content
|
|
13202
|
+
*/
|
|
13203
|
+
422: ProblemDetails;
|
|
13204
|
+
/**
|
|
13205
|
+
* Bad Gateway
|
|
13206
|
+
*/
|
|
13207
|
+
502: unknown;
|
|
13208
|
+
};
|
|
13209
|
+
export type IngestConsumerBlobError = IngestConsumerBlobErrors[keyof IngestConsumerBlobErrors];
|
|
13210
|
+
export type IngestConsumerBlobResponses = {
|
|
13211
|
+
/**
|
|
13212
|
+
* OK
|
|
13213
|
+
*/
|
|
13214
|
+
200: Blob;
|
|
13215
|
+
/**
|
|
13216
|
+
* Created
|
|
13217
|
+
*/
|
|
13218
|
+
201: Blob;
|
|
13219
|
+
};
|
|
13220
|
+
export type IngestConsumerBlobResponse =
|
|
13221
|
+
IngestConsumerBlobResponses[keyof IngestConsumerBlobResponses];
|
|
12923
13222
|
export type GetBlobContentData = {
|
|
12924
13223
|
body?: never;
|
|
12925
13224
|
path: {
|
|
@@ -14806,6 +15105,31 @@ export type QueryResourcesData = {
|
|
|
14806
15105
|
view: ResourceView;
|
|
14807
15106
|
cursor?: string;
|
|
14808
15107
|
take?: number;
|
|
15108
|
+
/**
|
|
15109
|
+
* Repeatable, OR'd. Matches the AIR's type segment literally, with no alias expansion: that
|
|
15110
|
+
* segment names the model's type rather than the file's, so `checkpoint` does not cover
|
|
15111
|
+
* base weights arriving as `diffusion_model`, `diffusionmodel` or `unet`.
|
|
15112
|
+
*/
|
|
15113
|
+
type?: Array<string>;
|
|
15114
|
+
/**
|
|
15115
|
+
* Repeatable, OR'd, and wins over `type`. `other`, `torchcompilecache` and
|
|
15116
|
+
* `nodepacklayer` are the generated artifacts rather than models.
|
|
15117
|
+
*/
|
|
15118
|
+
excludeType?: Array<string>;
|
|
15119
|
+
/**
|
|
15120
|
+
* Repeatable, OR'd, matched against the AIR's source segment. `civitai` is the cheapest
|
|
15121
|
+
* way to drop everything the orchestrator generated itself.
|
|
15122
|
+
*/
|
|
15123
|
+
source?: Array<string>;
|
|
15124
|
+
/**
|
|
15125
|
+
* Inclusive. 1073741824 (1 GiB) is where a resource starts taking the large download lane. A
|
|
15126
|
+
* resource whose provider never reported a byte count has size 0 and is excluded by any value.
|
|
15127
|
+
*/
|
|
15128
|
+
minSizeBytes?: number;
|
|
15129
|
+
/**
|
|
15130
|
+
* Inclusive.
|
|
15131
|
+
*/
|
|
15132
|
+
maxSizeBytes?: number;
|
|
14809
15133
|
};
|
|
14810
15134
|
url: '/v2/resources';
|
|
14811
15135
|
};
|
|
@@ -14814,6 +15138,10 @@ export type QueryResourcesErrors = {
|
|
|
14814
15138
|
* Bad Request
|
|
14815
15139
|
*/
|
|
14816
15140
|
400: ProblemDetails;
|
|
15141
|
+
/**
|
|
15142
|
+
* Service Unavailable
|
|
15143
|
+
*/
|
|
15144
|
+
503: unknown;
|
|
14817
15145
|
};
|
|
14818
15146
|
export type QueryResourcesError = QueryResourcesErrors[keyof QueryResourcesErrors];
|
|
14819
15147
|
export type QueryResourcesResponses = {
|
|
@@ -14880,7 +15208,13 @@ export type ListServicesData = {
|
|
|
14880
15208
|
* Window the metrics and status are computed over: 1h, 24h or 7d.
|
|
14881
15209
|
*/
|
|
14882
15210
|
window?: string;
|
|
15211
|
+
/**
|
|
15212
|
+
* Maximum number of services to return.
|
|
15213
|
+
*/
|
|
14883
15214
|
limit?: number;
|
|
15215
|
+
/**
|
|
15216
|
+
* Number of services to skip.
|
|
15217
|
+
*/
|
|
14884
15218
|
offset?: number;
|
|
14885
15219
|
};
|
|
14886
15220
|
url: '/v2/services';
|
|
@@ -15120,6 +15454,11 @@ export type GetWorkflowData = {
|
|
|
15120
15454
|
* In which case the client should use the token to query the status of the workflow.
|
|
15121
15455
|
*/
|
|
15122
15456
|
wait?: number;
|
|
15457
|
+
/**
|
|
15458
|
+
* What wait waits for: `completion` (the default) returns once the workflow reaches a
|
|
15459
|
+
* final status, `change` as soon as its status or any of its steps changes.
|
|
15460
|
+
*/
|
|
15461
|
+
until?: WorkflowWaitUntil;
|
|
15123
15462
|
/**
|
|
15124
15463
|
* When set to true, any blob that has mature won't be available and won't have a URL
|
|
15125
15464
|
*/
|
|
@@ -138,6 +138,12 @@ export const HaiperVideoGenCameraMovement = {
|
|
|
138
138
|
ZOOM_OUT: 'zoomOut',
|
|
139
139
|
};
|
|
140
140
|
export const HaiperVideoGenModel = { V1_5: 'v1_5', V2: 'v2' };
|
|
141
|
+
export const HiDreamI1Precision = { FP8: 'fp8', FP16: 'fp16' };
|
|
142
|
+
export const HiDreamI1Variant = {
|
|
143
|
+
FAST: 'fast',
|
|
144
|
+
DEV: 'dev',
|
|
145
|
+
FULL: 'full',
|
|
146
|
+
};
|
|
141
147
|
export const HumanoidImageMaskCategory = {
|
|
142
148
|
DRESSES: 'dresses',
|
|
143
149
|
UPPER_BODY: 'upperBody',
|
|
@@ -312,7 +318,7 @@ export const ResourceFeeType = { PER_IMAGE_BUZZ: 'perImageBuzz' };
|
|
|
312
318
|
* A projection of the resource collection. There is no view that lists every known resource — resources
|
|
313
319
|
* are addressed by AIR and only materialise once something asks for them.
|
|
314
320
|
*/
|
|
315
|
-
export const ResourceView = { QUEUE: 'queue' };
|
|
321
|
+
export const ResourceView = { QUEUE: 'queue', LOADED: 'loaded' };
|
|
316
322
|
export const SafeMode = { ENABLE: 'enable', DISABLE: 'disable' };
|
|
317
323
|
/**
|
|
318
324
|
* The available options for schedulers used in image generation.
|
|
@@ -473,6 +479,10 @@ export const WorkflowStepWarningCode = { MODEL_DEPRECATED: 'modelDeprecated' };
|
|
|
473
479
|
* Specifies how a workflow should be upgraded when mature content is detected and green or blue buzz was used for payment.
|
|
474
480
|
*/
|
|
475
481
|
export const WorkflowUpgradeMode = { MANUAL: 'manual', AUTOMATIC: 'automatic' };
|
|
482
|
+
/**
|
|
483
|
+
* What a held read of a workflow waits for before it returns.
|
|
484
|
+
*/
|
|
485
|
+
export const WorkflowWaitUntil = { COMPLETION: 'completion', CHANGE: 'change' };
|
|
476
486
|
/**
|
|
477
487
|
* Which generation-prompt field(s) the model is asked to evaluate in Prompt mode.
|
|
478
488
|
*/
|
package/package.json
CHANGED