@civitai/client 0.2.0-beta.2 → 0.2.0-beta.21

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.
@@ -1,7 +1,20 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export const AgeClassificationPrediction = {
3
- PASS: 'pass',
4
- FAIL: 'fail',
2
+ export const AnimalPoseBboxDetector = {
3
+ YOLOX_L_TORCHSCRIPT_PT: 'yolox_l.torchscript.pt',
4
+ YOLOX_L_ONNX: 'yolox_l.onnx',
5
+ YOLO_NAS_L_FP16_ONNX: 'yolo_nas_l_fp16.onnx',
6
+ YOLO_NAS_M_FP16_ONNX: 'yolo_nas_m_fp16.onnx',
7
+ YOLO_NAS_S_FP16_ONNX: 'yolo_nas_s_fp16.onnx',
8
+ };
9
+ export const AnimalPoseEstimator = {
10
+ RTMPOSE_M_AP10K_256_BS5_TORCHSCRIPT_PT: 'rtmpose-m_ap10k_256_bs5.torchscript.pt',
11
+ RTMPOSE_M_AP10K_256_ONNX: 'rtmpose-m_ap10k_256.onnx',
12
+ };
13
+ export const AnylineMergeWith = {
14
+ LINEART_STANDARD: 'lineart_standard',
15
+ LINEART_REALISTIC: 'lineart_realistic',
16
+ LINEART_ANIME: 'lineart_anime',
17
+ MANGA_LINE: 'manga_line',
5
18
  };
6
19
  export const BuzzClientAccount = {
7
20
  YELLOW: 'yellow',
@@ -9,10 +22,45 @@ export const BuzzClientAccount = {
9
22
  GREEN: 'green',
10
23
  FAKE_RED: 'fakeRed',
11
24
  };
25
+ export const CoarseMode = {
26
+ DISABLE: 'disable',
27
+ ENABLE: 'enable',
28
+ };
12
29
  export const ContainerFormat = {
13
30
  MP4: 'mp4',
14
31
  WEB_M: 'webM',
15
32
  };
33
+ export const DensePoseColormap = {
34
+ 'VIRIDIS (_MAGIC_ANIMATE)': 'Viridis (MagicAnimate)',
35
+ 'PARULA (_CIVIT_AI)': 'Parula (CivitAI)',
36
+ };
37
+ export const DensePoseModel = {
38
+ DENSEPOSE_R50_FPN_DL_TORCHSCRIPT: 'densepose_r50_fpn_dl.torchscript',
39
+ DENSEPOSE_R101_FPN_DL_TORCHSCRIPT: 'densepose_r101_fpn_dl.torchscript',
40
+ };
41
+ export const DepthAnythingCheckpoint = {
42
+ DEPTH_ANYTHING_VITL14_PTH: 'depth_anything_vitl14.pth',
43
+ DEPTH_ANYTHING_VITB14_PTH: 'depth_anything_vitb14.pth',
44
+ DEPTH_ANYTHING_VITS14_PTH: 'depth_anything_vits14.pth',
45
+ };
46
+ export const DepthAnythingV2Checkpoint = {
47
+ DEPTH_ANYTHING_V2_VITG_PTH: 'depth_anything_v2_vitg.pth',
48
+ DEPTH_ANYTHING_V2_VITL_PTH: 'depth_anything_v2_vitl.pth',
49
+ DEPTH_ANYTHING_V2_VITB_PTH: 'depth_anything_v2_vitb.pth',
50
+ DEPTH_ANYTHING_V2_VITS_PTH: 'depth_anything_v2_vits.pth',
51
+ };
52
+ export const DwPoseBboxDetector = {
53
+ YOLOX_L_ONNX: 'yolox_l.onnx',
54
+ YOLOX_L_TORCHSCRIPT_PT: 'yolox_l.torchscript.pt',
55
+ YOLO_NAS_L_FP16_ONNX: 'yolo_nas_l_fp16.onnx',
56
+ YOLO_NAS_M_FP16_ONNX: 'yolo_nas_m_fp16.onnx',
57
+ YOLO_NAS_S_FP16_ONNX: 'yolo_nas_s_fp16.onnx',
58
+ };
59
+ export const DwPoseEstimator = {
60
+ DW_LL_UCOCO_384_BS5_TORCHSCRIPT_PT: 'dw-ll_ucoco_384_bs5.torchscript.pt',
61
+ DW_LL_UCOCO_384_ONNX: 'dw-ll_ucoco_384.onnx',
62
+ DW_LL_UCOCO_ONNX: 'dw-ll_ucoco.onnx',
63
+ };
16
64
  export const FileFormat = {
17
65
  UNKNOWN: 'unknown',
18
66
  SAFE_TENSOR: 'safeTensor',
@@ -20,6 +68,7 @@ export const FileFormat = {
20
68
  DIFFUSERS: 'diffusers',
21
69
  CORE_ML: 'coreML',
22
70
  ONNX: 'onnx',
71
+ TAR: 'tar',
23
72
  };
24
73
  export const HaiperVideoGenAspectRatio = {
25
74
  '16:9': '16:9',
@@ -75,9 +124,10 @@ export const KlingMode = {
75
124
  };
76
125
  export const KlingModel = {
77
126
  V1: 'v1',
78
- V1_5: 'v1_5',
79
- V1_6: 'v1_6',
127
+ V1_5: 'v1.5',
128
+ V1_6: 'v1.6',
80
129
  V2: 'v2',
130
+ V2_5_TURBO: 'v2.5-turbo',
81
131
  };
82
132
  export const KlingVideoGenAspectRatio = {
83
133
  '16:9': '16:9',
@@ -88,6 +138,10 @@ export const KlingVideoGenDuration = {
88
138
  5: '5',
89
139
  10: '10',
90
140
  };
141
+ export const LeresBoost = {
142
+ DISABLE: 'disable',
143
+ ENABLE: 'enable',
144
+ };
91
145
  export const LightricksAspectRatio = {
92
146
  '1:1': '1:1',
93
147
  '16:9': '16:9',
@@ -95,17 +149,33 @@ export const LightricksAspectRatio = {
95
149
  '3:2': '3:2',
96
150
  '2:3': '2:3',
97
151
  };
152
+ /**
153
+ * Represents the type of hash algorithm to use for media content.
154
+ */
155
+ export const MediaHashType = {
156
+ PERCEPTUAL: 'perceptual',
157
+ };
158
+ export const Metric3dBackbone = {
159
+ VIT_SMALL: 'vit-small',
160
+ VIT_LARGE: 'vit-large',
161
+ VIT_GIANT2: 'vit-giant2',
162
+ };
98
163
  export const MiniMaxVideoGenModel = {
99
164
  HAILOU: 'hailou',
100
165
  };
101
166
  export const NsfwLevel = {
102
167
  PG: 'pg',
103
- P_G13: 'pG13',
168
+ PG13: 'pg13',
104
169
  R: 'r',
105
170
  X: 'x',
106
171
  XXX: 'xxx',
107
172
  NA: 'na',
108
173
  };
174
+ export const OutputFormat = {
175
+ PNG: 'png',
176
+ JPEG: 'jpeg',
177
+ WEB_P: 'webP',
178
+ };
109
179
  /**
110
180
  * Available options for priority.
111
181
  */
@@ -114,6 +184,10 @@ export const Priority = {
114
184
  NORMAL: 'normal',
115
185
  LOW: 'low',
116
186
  };
187
+ export const SafeMode = {
188
+ ENABLE: 'enable',
189
+ DISABLE: 'disable',
190
+ };
117
191
  /**
118
192
  * The available options for schedulers used in image generation.
119
193
  */
@@ -144,6 +218,40 @@ export const Scheduler = {
144
218
  DEIS: 'deis',
145
219
  DP_M3MSDE: 'dpM3MSDE',
146
220
  };
221
+ export const SdCppSampleMethod = {
222
+ EULER: 'euler',
223
+ HEUN: 'heun',
224
+ DPM2: 'dpm2',
225
+ 'DPM++2S_A': 'dpm++2s_a',
226
+ 'DPM++2M': 'dpm++2m',
227
+ 'DPM++2MV2': 'dpm++2mv2',
228
+ IPNDM: 'ipndm',
229
+ IPNDM_V: 'ipndm_v',
230
+ DDIM_TRAILING: 'ddim_trailing',
231
+ EULER_A: 'euler_a',
232
+ LCM: 'lcm',
233
+ };
234
+ export const SdCppSchedule = {
235
+ SIMPLE: 'simple',
236
+ DISCRETE: 'discrete',
237
+ KARRAS: 'karras',
238
+ EXPONENTIAL: 'exponential',
239
+ AYS: 'ays',
240
+ };
241
+ export const SeedreamVersion = {
242
+ V3: 'v3',
243
+ V4: 'v4',
244
+ V4_5: 'v4.5',
245
+ };
246
+ /**
247
+ * The moderation status of the training data
248
+ */
249
+ export const TrainingModerationStatus = {
250
+ EVALUATING: 'evaluating',
251
+ UNDER_REVIEW: 'underReview',
252
+ APPROVED: 'approved',
253
+ REJECTED: 'rejected',
254
+ };
147
255
  export const TransactionType = {
148
256
  DEBIT: 'debit',
149
257
  CREDIT: 'credit',
@@ -159,6 +267,10 @@ export const Veo3AspectRatio = {
159
267
  '9:16': '9:16',
160
268
  '1:1': '1:1',
161
269
  };
270
+ export const Veo3Version = {
271
+ '3_0': '3.0',
272
+ '3_1': '3.1',
273
+ };
162
274
  export const ViduVideoGenModel = {
163
275
  DEFAULT: 'default',
164
276
  Q1: 'q1',
@@ -187,3 +299,7 @@ export const WorkflowUpgradeMode = {
187
299
  MANUAL: 'manual',
188
300
  AUTOMATIC: 'automatic',
189
301
  };
302
+ export const ZoeDepthEnvironment = {
303
+ INDOOR: 'indoor',
304
+ OUTDOOR: 'outdoor',
305
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.2",
3
+ "version": "0.2.0-beta.21",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,4 +54,4 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
57
- }
57
+ }
@@ -1,3 +0,0 @@
1
- type Prettify<T> = {
2
- [K in keyof T]: T[K];
3
- } & NonNullable<unknown>;
@@ -1 +0,0 @@
1
- "use strict";