@civitai/client 0.2.0-beta.24 → 0.2.0-beta.25

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.
@@ -218,6 +218,40 @@ export type ComfyInput = {
218
218
  */
219
219
  useSpineComfy?: boolean | null;
220
220
  };
221
+ /**
222
+ * Create video from text prompt, optionally with a source image (ComfyUI backend)
223
+ */
224
+ export type ComfyLtx2CreateVideoInput = ComfyLtx2VideoGenInput & {
225
+ /**
226
+ * Optional source image for image-to-video generation
227
+ */
228
+ images?: Array<string>;
229
+ } & {
230
+ operation: 'createVideo';
231
+ };
232
+ /**
233
+ * LTX Video v2 generation via ComfyUI backend
234
+ */
235
+ export type ComfyLtx2VideoGenInput = VideoGenInput & {
236
+ engine: 'ltx2';
237
+ } & {
238
+ operation: string | null;
239
+ negativePrompt?: string | null;
240
+ seed?: number | null;
241
+ /**
242
+ * Duration in seconds (3 or 5)
243
+ */
244
+ duration?: 3 | 5;
245
+ width?: number;
246
+ height?: number;
247
+ fps?: number;
248
+ generateAudio?: boolean;
249
+ guidanceScale?: number;
250
+ numInferenceSteps?: number;
251
+ loras?: Array<VideoGenInputLora>;
252
+ } & {
253
+ engine: 'ltx2';
254
+ };
221
255
  export type ComfyNode = {
222
256
  classType: string;
223
257
  meta?: {
@@ -1255,67 +1289,6 @@ export type LightricksVideoGenInput = VideoGenInput & {
1255
1289
  } & {
1256
1290
  engine: 'lightricks';
1257
1291
  };
1258
- /**
1259
- * Create video from text prompt, optionally with a source image
1260
- */
1261
- export type Ltx2CreateVideoInput = Ltx2VideoGenInput & {
1262
- images?: Array<string>;
1263
- } & {
1264
- operation: 'createVideo';
1265
- };
1266
- /**
1267
- * Extend an existing video
1268
- */
1269
- export type Ltx2ExtendVideoInput = Ltx2VideoGenInput & {
1270
- sourceVideo: string;
1271
- matchInputFps?: boolean;
1272
- numContextFrames?: number;
1273
- } & {
1274
- operation: 'extendVideo';
1275
- };
1276
- /**
1277
- * Remix an existing video with a new prompt
1278
- */
1279
- export type Ltx2RemixVideoInput = Ltx2VideoGenInput & {
1280
- sourceVideo: string;
1281
- matchVideoLength?: boolean;
1282
- strength?: number;
1283
- preprocessor?: 'depth' | 'canny' | 'pose' | 'none';
1284
- icLoraType?: 'match_preprocessor' | 'canny' | 'depth' | 'pose' | 'detailer' | 'none';
1285
- icLoraScale?: number;
1286
- } & {
1287
- operation: 'remixVideo';
1288
- };
1289
- export type Ltx2VideoGenInput = VideoGenInput & {
1290
- engine: 'ltx2';
1291
- } & {
1292
- operation: string | null;
1293
- negativePrompt?: string | null;
1294
- seed?: number | null;
1295
- numFrames?: number;
1296
- fps?: number;
1297
- aspectRatio?: '16:9' | '9:16' | '4:3' | '3:4' | '1:1';
1298
- generateAudio?: boolean;
1299
- useMultiscale?: boolean;
1300
- acceleration?: 'none' | 'regular' | 'high' | 'full';
1301
- cameraLora?:
1302
- | 'dolly_in'
1303
- | 'dolly_out'
1304
- | 'dolly_left'
1305
- | 'dolly_right'
1306
- | 'jib_up'
1307
- | 'jib_down'
1308
- | 'static'
1309
- | 'none';
1310
- cameraLoraScale?: number;
1311
- quality?: 'low' | 'medium' | 'high' | 'maximum';
1312
- loras?: Array<VideoGenInputLora>;
1313
- model?: 'distilled' | 'standard';
1314
- guidanceScale?: number;
1315
- numInferenceSteps?: number;
1316
- } & {
1317
- engine: 'ltx2';
1318
- };
1319
1292
  /**
1320
1293
  * Represents the input information needed for the MediaHash workflow step.
1321
1294
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.2.0-beta.24",
3
+ "version": "0.2.0-beta.25",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",