@civitai/client 0.2.0-beta.57 → 0.2.0-beta.59
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.
|
@@ -770,6 +770,8 @@ export {
|
|
|
770
770
|
type RepeatInput,
|
|
771
771
|
type RepeatOutput,
|
|
772
772
|
type ResizeTransform,
|
|
773
|
+
type ResourceFee,
|
|
774
|
+
ResourceFeeType,
|
|
773
775
|
type ResourceInfo,
|
|
774
776
|
SafeMode,
|
|
775
777
|
Scheduler,
|
|
@@ -789,6 +791,7 @@ export {
|
|
|
789
791
|
type SeedanceVideoGenInput,
|
|
790
792
|
type SeedreamImageGenInput,
|
|
791
793
|
SeedreamVersion,
|
|
794
|
+
SettlementCurrency,
|
|
792
795
|
type Sora2ImageToVideoInput,
|
|
793
796
|
type Sora2TextToVideoInput,
|
|
794
797
|
type SoraVideoGenInput,
|
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateResource, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, 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';
|
|
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, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, ZoeDepthEnvironment, } from './types.gen';
|
|
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';
|
|
@@ -1368,6 +1368,11 @@ export type ComfyLtx23VideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
1368
1368
|
* upscale-LoRA behavior unchanged. Use to point at a community fine-tune (e.g. SulphurAI/Sulphur-2-base).
|
|
1369
1369
|
*/
|
|
1370
1370
|
diffusionModel?: null | string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Number of videos to generate in this single job. Each video uses a distinct seed
|
|
1373
|
+
* (Seed + slotIndex) and is produced by re-running the Comfy workflow.
|
|
1374
|
+
*/
|
|
1375
|
+
quantity?: number;
|
|
1371
1376
|
engine: 'ltx2.3';
|
|
1372
1377
|
};
|
|
1373
1378
|
/**
|
|
@@ -4326,6 +4331,15 @@ export type ResizeTransform = Omit<ImageTransform, 'type'> & {
|
|
|
4326
4331
|
targetWidth?: null | number;
|
|
4327
4332
|
type: 'resize';
|
|
4328
4333
|
};
|
|
4334
|
+
export type ResourceFee = {
|
|
4335
|
+
amount: number;
|
|
4336
|
+
type: ResourceFeeType;
|
|
4337
|
+
settlementCurrency: SettlementCurrency;
|
|
4338
|
+
};
|
|
4339
|
+
export declare const ResourceFeeType: {
|
|
4340
|
+
readonly PER_IMAGE_BUZZ: 'perImageBuzz';
|
|
4341
|
+
};
|
|
4342
|
+
export type ResourceFeeType = (typeof ResourceFeeType)[keyof typeof ResourceFeeType];
|
|
4329
4343
|
/**
|
|
4330
4344
|
* Details for a specific resource.
|
|
4331
4345
|
*/
|
|
@@ -4403,6 +4417,7 @@ export type ResourceInfo = {
|
|
|
4403
4417
|
* NSFWContent covers X and XXX whereas MatureContent includes R rated content.
|
|
4404
4418
|
*/
|
|
4405
4419
|
hasNSFWContentRestriction: boolean;
|
|
4420
|
+
fee?: ResourceFee;
|
|
4406
4421
|
};
|
|
4407
4422
|
/**
|
|
4408
4423
|
* AI Toolkit training for Stable Diffusion 1.5 models
|
|
@@ -4649,6 +4664,11 @@ export declare const SeedreamVersion: {
|
|
|
4649
4664
|
readonly V5_0_LITE: 'v5.0-lite';
|
|
4650
4665
|
};
|
|
4651
4666
|
export type SeedreamVersion = (typeof SeedreamVersion)[keyof typeof SeedreamVersion];
|
|
4667
|
+
export declare const SettlementCurrency: {
|
|
4668
|
+
readonly BUZZ: 'buzz';
|
|
4669
|
+
readonly CASH: 'cash';
|
|
4670
|
+
};
|
|
4671
|
+
export type SettlementCurrency = (typeof SettlementCurrency)[keyof typeof SettlementCurrency];
|
|
4652
4672
|
/**
|
|
4653
4673
|
* Sora 2 Image-to-Video
|
|
4654
4674
|
* FAL Endpoints:
|
|
@@ -5286,6 +5306,12 @@ export type VideoGenInputLora = {
|
|
|
5286
5306
|
};
|
|
5287
5307
|
export type VideoGenOutput = {
|
|
5288
5308
|
video?: VideoBlob;
|
|
5309
|
+
/**
|
|
5310
|
+
* Extra videos produced by the step when Quantity > 1. Always null/empty for single-output
|
|
5311
|
+
* engines; populated alongside Civitai.Orchestration.Grains.Workflows.Steps.VideoGen.VideoGenOutput.Video (the primary slot) by engines that batch
|
|
5312
|
+
* multiple videos in a single job (e.g. LTX 2.3).
|
|
5313
|
+
*/
|
|
5314
|
+
additionalVideos?: null | Array<VideoBlob>;
|
|
5289
5315
|
};
|
|
5290
5316
|
/**
|
|
5291
5317
|
* Video generation
|
|
@@ -6650,6 +6676,7 @@ export type ZImageBaseImageGenInput = Omit<
|
|
|
6650
6676
|
};
|
|
6651
6677
|
export type ZImageImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'> & {
|
|
6652
6678
|
model: string;
|
|
6679
|
+
diffuserModel?: string;
|
|
6653
6680
|
ecosystem: 'zImage';
|
|
6654
6681
|
engine: 'sdcpp';
|
|
6655
6682
|
};
|
|
@@ -269,6 +269,7 @@ export const Priority = {
|
|
|
269
269
|
NORMAL: 'normal',
|
|
270
270
|
LOW: 'low',
|
|
271
271
|
};
|
|
272
|
+
export const ResourceFeeType = { PER_IMAGE_BUZZ: 'perImageBuzz' };
|
|
272
273
|
export const SafeMode = { ENABLE: 'enable', DISABLE: 'disable' };
|
|
273
274
|
/**
|
|
274
275
|
* The available options for schedulers used in image generation.
|
|
@@ -338,6 +339,7 @@ export const SeedreamVersion = {
|
|
|
338
339
|
V4_5: 'v4.5',
|
|
339
340
|
V5_0_LITE: 'v5.0-lite',
|
|
340
341
|
};
|
|
342
|
+
export const SettlementCurrency = { BUZZ: 'buzz', CASH: 'cash' };
|
|
341
343
|
/**
|
|
342
344
|
* The moderation status of the training data
|
|
343
345
|
*/
|