@runapi.ai/kling 0.6.1 → 0.7.0

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.
package/README.md CHANGED
@@ -64,3 +64,7 @@ Use the TypeScript types in `src/types.ts` and the resource classes under `src/r
64
64
  ## License
65
65
 
66
66
  Licensed under the Apache License, Version 2.0.
67
+
68
+ ## Kling 4.0 images
69
+
70
+ Use the `text_to_image` resource, named `textToImage` in JavaScript, PHP, and Java and `TextToImage` in Go. It supports `kling-v4-image` and `kling-v4-long-image` through create, get, and run. Completed tasks return ordered `images` with download URLs; 8k output is JPEG. Standard image references use `source_image_urls` and named `elements` with `name`, `image_urls`, optional `description`, and optional `tag`. Long images require `skill`: ecommerce uses product `source_image_urls` and optional `length`, while webpage uses optional `style_image_url` and `subject_image_url`. See the [image guide](https://runapi.ai/docs/guides/task-api/kling-images) for constraints and the [model catalog](https://runapi.ai/models/kling) for current pricing.
package/dist/index.d.mts CHANGED
@@ -34,6 +34,18 @@ declare const modelValues: {
34
34
  readonly KLING_3_0: "kling-3.0";
35
35
  readonly KLING_V2_6: "kling-v2.6";
36
36
  };
37
+ readonly keyframeToVideo: {
38
+ readonly KLING_V4_FLASH_KEYFRAME_TO_VIDEO: "kling-v4-flash-keyframe-to-video";
39
+ readonly KLING_V4_KEYFRAME_TO_VIDEO: "kling-v4-keyframe-to-video";
40
+ };
41
+ readonly referenceToVideo: {
42
+ readonly KLING_V4_FLASH_REFERENCE_TO_VIDEO: "kling-v4-flash-reference-to-video";
43
+ readonly KLING_V4_REFERENCE_TO_VIDEO: "kling-v4-reference-to-video";
44
+ };
45
+ readonly textToImage: {
46
+ readonly KLING_V4_IMAGE: "kling-v4-image";
47
+ readonly KLING_V4_LONG_IMAGE: "kling-v4-long-image";
48
+ };
37
49
  };
38
50
 
39
51
  /**
@@ -277,6 +289,42 @@ interface V3OmniImageToVideoParams {
277
289
  }
278
290
  type ImageToVideoParams = V2ImageToVideoParams | KlingV26ImageToVideoParams | KlingO1ImageToVideoParams | V3TurboImageToVideoParams | V3OmniImageToVideoParams;
279
291
 
292
+ type KlingKeyframeToVideoModel = (typeof modelValues.keyframeToVideo)[keyof typeof modelValues.keyframeToVideo];
293
+ interface KeyframeToVideoParams {
294
+ model: KlingKeyframeToVideoModel;
295
+ prompt: string;
296
+ duration_seconds?: KlingDuration;
297
+ output_resolution?: KlingTextToVideoOutputResolution;
298
+ aspect_ratio?: KlingAspectRatio | 'auto';
299
+ first_frame_image_url?: string;
300
+ keyframe_urls?: string[];
301
+ last_frame_image_url?: string;
302
+ callback_url?: string;
303
+ }
304
+ interface KeyframeToVideoResponse extends AsyncTaskResponse {
305
+ videos?: VideoMetadata[];
306
+ error?: string;
307
+ [key: string]: unknown;
308
+ }
309
+ type KlingReferenceToVideoModel = (typeof modelValues.referenceToVideo)[keyof typeof modelValues.referenceToVideo];
310
+ interface ReferenceToVideoParams {
311
+ model: KlingReferenceToVideoModel;
312
+ prompt: string;
313
+ duration_seconds?: KlingDuration;
314
+ output_resolution?: KlingTextToVideoOutputResolution;
315
+ aspect_ratio?: KlingAspectRatio | 'auto';
316
+ reference_image_urls?: string[];
317
+ reference_video_urls?: string[];
318
+ keep_original_sound?: boolean;
319
+ elements?: Array<Record<string, unknown>>;
320
+ voices?: Array<Record<string, unknown>>;
321
+ callback_url?: string;
322
+ }
323
+ interface ReferenceToVideoResponse extends AsyncTaskResponse {
324
+ videos?: VideoMetadata[];
325
+ error?: string;
326
+ [key: string]: unknown;
327
+ }
280
328
  /** Continue a completed Kling V2.5 Turbo video task. */
281
329
  interface KlingExtendVideoParams {
282
330
  source_task_id: string;
@@ -393,6 +441,83 @@ type CompletedMotionControlResponse = MotionControlResponse & {
393
441
  videos: VideoMetadata[];
394
442
  };
395
443
 
444
+ type KlingTextToImageModel = (typeof modelValues.textToImage)[keyof typeof modelValues.textToImage];
445
+ interface KlingImageElement {
446
+ name: string;
447
+ image_urls: string[];
448
+ description?: string;
449
+ tag?: 'character' | 'animal' | 'prop' | 'costume' | 'scene' | 'effect' | 'others';
450
+ }
451
+ interface ImageCommonParams {
452
+ prompt: string;
453
+ callback_url?: string;
454
+ }
455
+ interface StandardImageParams extends ImageCommonParams {
456
+ model: typeof modelValues.textToImage.KLING_V4_IMAGE;
457
+ source_image_urls?: string[];
458
+ elements?: KlingImageElement[];
459
+ output_resolution?: '2k' | '4k' | '8k';
460
+ aspect_ratio?: 'auto' | '9:16' | '2:3' | '3:4' | '1:1' | '4:3' | '3:2' | '16:9' | '21:9';
461
+ }
462
+ type TextToImageParams = (StandardImageParams & {
463
+ mode?: 'default';
464
+ output_count?: number;
465
+ }) | (StandardImageParams & {
466
+ mode: 'series';
467
+ output_count: number;
468
+ }) | (ImageCommonParams & {
469
+ model: typeof modelValues.textToImage.KLING_V4_LONG_IMAGE;
470
+ skill: 'ecommerce';
471
+ source_image_urls: string[];
472
+ length?: 'short' | 'medium' | 'long';
473
+ output_resolution?: '1k' | '2k';
474
+ }) | (ImageCommonParams & {
475
+ model: typeof modelValues.textToImage.KLING_V4_LONG_IMAGE;
476
+ skill: 'webpage';
477
+ style_image_url?: string;
478
+ subject_image_url?: string;
479
+ output_resolution?: '1k' | '2k';
480
+ });
481
+ interface ImageMetadata {
482
+ url: string;
483
+ }
484
+ interface TextToImageResponse extends AsyncTaskResponse {
485
+ images?: ImageMetadata[];
486
+ error?: string;
487
+ [key: string]: unknown;
488
+ }
489
+ type CompletedTextToImageResponse = TextToImageResponse & {
490
+ status: 'completed';
491
+ images: ImageMetadata[];
492
+ };
493
+
494
+ /** Generate ordered standard, series, ecommerce, or webpage images. */
495
+ declare class TextToImage {
496
+ private readonly http;
497
+ constructor(http: HttpClient);
498
+ /**
499
+ * Generate an image from a text prompt and wait until complete.
500
+ * @param params Text-to-image parameters.
501
+ * @param options Per-request and polling overrides.
502
+ * @returns The completed task with images.
503
+ */
504
+ run(params: TextToImageParams, options?: RequestOptions & PollingOptions): Promise<CompletedTextToImageResponse>;
505
+ /**
506
+ * Create a text-to-image task; returns immediately with a task id.
507
+ * @param params Text-to-image parameters.
508
+ * @param options Per-request overrides.
509
+ * @returns The task creation result with id.
510
+ */
511
+ create(params: TextToImageParams, options?: RequestOptions): Promise<TaskCreateResponse>;
512
+ /**
513
+ * Fetch the current status of a text-to-image task.
514
+ * @param id The task id.
515
+ * @param options Per-request overrides.
516
+ * @returns The current text-to-image task status.
517
+ */
518
+ get(id: string, options?: RequestOptions): Promise<TextToImageResponse>;
519
+ }
520
+
396
521
  /** Generate video from text prompts. Supports multi-shot, sound, first/last frame images, and Kling elements on kling-3.0; negative prompts and cfg_scale on V2.x models. */
397
522
  declare class TextToVideo {
398
523
  private readonly http;
@@ -517,6 +642,24 @@ declare class EditVideo {
517
642
  get(id: string, options?: RequestOptions): Promise<TextToVideoResponse>;
518
643
  }
519
644
 
645
+ /** Generate video from ordered Kling 4.0 keyframes. */
646
+ declare class KeyframeToVideo {
647
+ private readonly http;
648
+ constructor(http: HttpClient);
649
+ run(params: KeyframeToVideoParams, options?: RequestOptions & PollingOptions): Promise<KeyframeToVideoResponse>;
650
+ create(params: KeyframeToVideoParams, options?: RequestOptions): Promise<TaskCreateResponse>;
651
+ get(id: string, options?: RequestOptions): Promise<KeyframeToVideoResponse>;
652
+ }
653
+
654
+ /** Generate video from Kling 4.0 image, video, subject, and voice references. */
655
+ declare class ReferenceToVideo {
656
+ private readonly http;
657
+ constructor(http: HttpClient);
658
+ run(params: ReferenceToVideoParams, options?: RequestOptions & PollingOptions): Promise<ReferenceToVideoResponse>;
659
+ create(params: ReferenceToVideoParams, options?: RequestOptions): Promise<TaskCreateResponse>;
660
+ get(id: string, options?: RequestOptions): Promise<ReferenceToVideoResponse>;
661
+ }
662
+
520
663
  /**
521
664
  * Kling video generation, AI avatar lip-sync, and motion control API client.
522
665
  *
@@ -533,6 +676,7 @@ declare class EditVideo {
533
676
  declare class KlingClient extends BaseClient {
534
677
  /** Text-to-video generation with multi-shot, sound, and Kling elements support on kling-3.0. */
535
678
  readonly textToVideo: TextToVideo;
679
+ readonly textToImage: TextToImage;
536
680
  /** Image-to-video animation from a first-frame image guided by a text prompt. */
537
681
  readonly imageToVideo: ImageToVideo;
538
682
  /** AI avatar lip-sync: animate a face image to match an audio track. */
@@ -542,7 +686,9 @@ declare class KlingClient extends BaseClient {
542
686
  readonly extendVideo: ExtendVideo;
543
687
  /** Edit a source video with the selected Kling v3 Omni model. */
544
688
  readonly editVideo: EditVideo;
689
+ readonly keyframeToVideo: KeyframeToVideo;
690
+ readonly referenceToVideo: ReferenceToVideo;
545
691
  constructor(options?: ClientOptions);
546
692
  }
547
693
 
548
- export { type AiAvatarModel, type AiAvatarParams, type AiAvatarResponse, type AsyncTaskResponse, type CompletedAiAvatarResponse, type CompletedImageToVideoResponse, type CompletedMotionControlResponse, type CompletedTextToVideoResponse, type EditVideoParams, type ImageToVideoParams, type ImageToVideoResponse, type Kling3MotionControlParams, type Kling3TextToVideoAutomaticShotParams, type Kling3TextToVideoMultiShotParams, type Kling3TextToVideoSingleShotParams, type KlingAspectRatio, KlingClient, type KlingDuration, type KlingEditVideoModel, type KlingElement, type KlingExtendVideoParams, type KlingImageToVideoModel, type KlingO1ImageToVideoParams, type KlingO1ReferenceVideoType, type KlingO1TextToVideoParams, type KlingTextToVideoModel, type KlingTextToVideoOutputResolution, type KlingV26ImageToVideoParams, type KlingV26Mode, type KlingV26MotionControlParams, type KlingV26TextToVideoParams, type KlingV2ImageToVideoModel, type KlingV3TurboOutputResolution, type MotionControlModel, type MotionControlParams, type MotionControlResponse, type MultiPromptItem, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type V21MasterTextToVideoParams, type V25TurboTextToVideoParams, type V2ImageToVideoParams, type V3OmniImageToVideoParams, type V3OmniReferenceTextToVideoParams, type V3OmniTextToVideoParams, type V3TurboImageToVideoParams, type V3TurboTextToVideoParams, type VideoMetadata };
694
+ export { type AiAvatarModel, type AiAvatarParams, type AiAvatarResponse, type AsyncTaskResponse, type CompletedAiAvatarResponse, type CompletedImageToVideoResponse, type CompletedMotionControlResponse, type CompletedTextToImageResponse, type CompletedTextToVideoResponse, type EditVideoParams, type ImageMetadata, type ImageToVideoParams, type ImageToVideoResponse, type KeyframeToVideoParams, type KeyframeToVideoResponse, type Kling3MotionControlParams, type Kling3TextToVideoAutomaticShotParams, type Kling3TextToVideoMultiShotParams, type Kling3TextToVideoSingleShotParams, type KlingAspectRatio, KlingClient, type KlingDuration, type KlingEditVideoModel, type KlingElement, type KlingExtendVideoParams, type KlingImageElement, type KlingImageToVideoModel, type KlingKeyframeToVideoModel, type KlingO1ImageToVideoParams, type KlingO1ReferenceVideoType, type KlingO1TextToVideoParams, type KlingReferenceToVideoModel, type KlingTextToImageModel, type KlingTextToVideoModel, type KlingTextToVideoOutputResolution, type KlingV26ImageToVideoParams, type KlingV26Mode, type KlingV26MotionControlParams, type KlingV26TextToVideoParams, type KlingV2ImageToVideoModel, type KlingV3TurboOutputResolution, type MotionControlModel, type MotionControlParams, type MotionControlResponse, type MultiPromptItem, type ReferenceToVideoParams, type ReferenceToVideoResponse, type TaskCreateResponse, type TextToImageParams, type TextToImageResponse, type TextToVideoParams, type TextToVideoResponse, type V21MasterTextToVideoParams, type V25TurboTextToVideoParams, type V2ImageToVideoParams, type V3OmniImageToVideoParams, type V3OmniReferenceTextToVideoParams, type V3OmniTextToVideoParams, type V3TurboImageToVideoParams, type V3TurboTextToVideoParams, type VideoMetadata };
package/dist/index.d.ts CHANGED
@@ -34,6 +34,18 @@ declare const modelValues: {
34
34
  readonly KLING_3_0: "kling-3.0";
35
35
  readonly KLING_V2_6: "kling-v2.6";
36
36
  };
37
+ readonly keyframeToVideo: {
38
+ readonly KLING_V4_FLASH_KEYFRAME_TO_VIDEO: "kling-v4-flash-keyframe-to-video";
39
+ readonly KLING_V4_KEYFRAME_TO_VIDEO: "kling-v4-keyframe-to-video";
40
+ };
41
+ readonly referenceToVideo: {
42
+ readonly KLING_V4_FLASH_REFERENCE_TO_VIDEO: "kling-v4-flash-reference-to-video";
43
+ readonly KLING_V4_REFERENCE_TO_VIDEO: "kling-v4-reference-to-video";
44
+ };
45
+ readonly textToImage: {
46
+ readonly KLING_V4_IMAGE: "kling-v4-image";
47
+ readonly KLING_V4_LONG_IMAGE: "kling-v4-long-image";
48
+ };
37
49
  };
38
50
 
39
51
  /**
@@ -277,6 +289,42 @@ interface V3OmniImageToVideoParams {
277
289
  }
278
290
  type ImageToVideoParams = V2ImageToVideoParams | KlingV26ImageToVideoParams | KlingO1ImageToVideoParams | V3TurboImageToVideoParams | V3OmniImageToVideoParams;
279
291
 
292
+ type KlingKeyframeToVideoModel = (typeof modelValues.keyframeToVideo)[keyof typeof modelValues.keyframeToVideo];
293
+ interface KeyframeToVideoParams {
294
+ model: KlingKeyframeToVideoModel;
295
+ prompt: string;
296
+ duration_seconds?: KlingDuration;
297
+ output_resolution?: KlingTextToVideoOutputResolution;
298
+ aspect_ratio?: KlingAspectRatio | 'auto';
299
+ first_frame_image_url?: string;
300
+ keyframe_urls?: string[];
301
+ last_frame_image_url?: string;
302
+ callback_url?: string;
303
+ }
304
+ interface KeyframeToVideoResponse extends AsyncTaskResponse {
305
+ videos?: VideoMetadata[];
306
+ error?: string;
307
+ [key: string]: unknown;
308
+ }
309
+ type KlingReferenceToVideoModel = (typeof modelValues.referenceToVideo)[keyof typeof modelValues.referenceToVideo];
310
+ interface ReferenceToVideoParams {
311
+ model: KlingReferenceToVideoModel;
312
+ prompt: string;
313
+ duration_seconds?: KlingDuration;
314
+ output_resolution?: KlingTextToVideoOutputResolution;
315
+ aspect_ratio?: KlingAspectRatio | 'auto';
316
+ reference_image_urls?: string[];
317
+ reference_video_urls?: string[];
318
+ keep_original_sound?: boolean;
319
+ elements?: Array<Record<string, unknown>>;
320
+ voices?: Array<Record<string, unknown>>;
321
+ callback_url?: string;
322
+ }
323
+ interface ReferenceToVideoResponse extends AsyncTaskResponse {
324
+ videos?: VideoMetadata[];
325
+ error?: string;
326
+ [key: string]: unknown;
327
+ }
280
328
  /** Continue a completed Kling V2.5 Turbo video task. */
281
329
  interface KlingExtendVideoParams {
282
330
  source_task_id: string;
@@ -393,6 +441,83 @@ type CompletedMotionControlResponse = MotionControlResponse & {
393
441
  videos: VideoMetadata[];
394
442
  };
395
443
 
444
+ type KlingTextToImageModel = (typeof modelValues.textToImage)[keyof typeof modelValues.textToImage];
445
+ interface KlingImageElement {
446
+ name: string;
447
+ image_urls: string[];
448
+ description?: string;
449
+ tag?: 'character' | 'animal' | 'prop' | 'costume' | 'scene' | 'effect' | 'others';
450
+ }
451
+ interface ImageCommonParams {
452
+ prompt: string;
453
+ callback_url?: string;
454
+ }
455
+ interface StandardImageParams extends ImageCommonParams {
456
+ model: typeof modelValues.textToImage.KLING_V4_IMAGE;
457
+ source_image_urls?: string[];
458
+ elements?: KlingImageElement[];
459
+ output_resolution?: '2k' | '4k' | '8k';
460
+ aspect_ratio?: 'auto' | '9:16' | '2:3' | '3:4' | '1:1' | '4:3' | '3:2' | '16:9' | '21:9';
461
+ }
462
+ type TextToImageParams = (StandardImageParams & {
463
+ mode?: 'default';
464
+ output_count?: number;
465
+ }) | (StandardImageParams & {
466
+ mode: 'series';
467
+ output_count: number;
468
+ }) | (ImageCommonParams & {
469
+ model: typeof modelValues.textToImage.KLING_V4_LONG_IMAGE;
470
+ skill: 'ecommerce';
471
+ source_image_urls: string[];
472
+ length?: 'short' | 'medium' | 'long';
473
+ output_resolution?: '1k' | '2k';
474
+ }) | (ImageCommonParams & {
475
+ model: typeof modelValues.textToImage.KLING_V4_LONG_IMAGE;
476
+ skill: 'webpage';
477
+ style_image_url?: string;
478
+ subject_image_url?: string;
479
+ output_resolution?: '1k' | '2k';
480
+ });
481
+ interface ImageMetadata {
482
+ url: string;
483
+ }
484
+ interface TextToImageResponse extends AsyncTaskResponse {
485
+ images?: ImageMetadata[];
486
+ error?: string;
487
+ [key: string]: unknown;
488
+ }
489
+ type CompletedTextToImageResponse = TextToImageResponse & {
490
+ status: 'completed';
491
+ images: ImageMetadata[];
492
+ };
493
+
494
+ /** Generate ordered standard, series, ecommerce, or webpage images. */
495
+ declare class TextToImage {
496
+ private readonly http;
497
+ constructor(http: HttpClient);
498
+ /**
499
+ * Generate an image from a text prompt and wait until complete.
500
+ * @param params Text-to-image parameters.
501
+ * @param options Per-request and polling overrides.
502
+ * @returns The completed task with images.
503
+ */
504
+ run(params: TextToImageParams, options?: RequestOptions & PollingOptions): Promise<CompletedTextToImageResponse>;
505
+ /**
506
+ * Create a text-to-image task; returns immediately with a task id.
507
+ * @param params Text-to-image parameters.
508
+ * @param options Per-request overrides.
509
+ * @returns The task creation result with id.
510
+ */
511
+ create(params: TextToImageParams, options?: RequestOptions): Promise<TaskCreateResponse>;
512
+ /**
513
+ * Fetch the current status of a text-to-image task.
514
+ * @param id The task id.
515
+ * @param options Per-request overrides.
516
+ * @returns The current text-to-image task status.
517
+ */
518
+ get(id: string, options?: RequestOptions): Promise<TextToImageResponse>;
519
+ }
520
+
396
521
  /** Generate video from text prompts. Supports multi-shot, sound, first/last frame images, and Kling elements on kling-3.0; negative prompts and cfg_scale on V2.x models. */
397
522
  declare class TextToVideo {
398
523
  private readonly http;
@@ -517,6 +642,24 @@ declare class EditVideo {
517
642
  get(id: string, options?: RequestOptions): Promise<TextToVideoResponse>;
518
643
  }
519
644
 
645
+ /** Generate video from ordered Kling 4.0 keyframes. */
646
+ declare class KeyframeToVideo {
647
+ private readonly http;
648
+ constructor(http: HttpClient);
649
+ run(params: KeyframeToVideoParams, options?: RequestOptions & PollingOptions): Promise<KeyframeToVideoResponse>;
650
+ create(params: KeyframeToVideoParams, options?: RequestOptions): Promise<TaskCreateResponse>;
651
+ get(id: string, options?: RequestOptions): Promise<KeyframeToVideoResponse>;
652
+ }
653
+
654
+ /** Generate video from Kling 4.0 image, video, subject, and voice references. */
655
+ declare class ReferenceToVideo {
656
+ private readonly http;
657
+ constructor(http: HttpClient);
658
+ run(params: ReferenceToVideoParams, options?: RequestOptions & PollingOptions): Promise<ReferenceToVideoResponse>;
659
+ create(params: ReferenceToVideoParams, options?: RequestOptions): Promise<TaskCreateResponse>;
660
+ get(id: string, options?: RequestOptions): Promise<ReferenceToVideoResponse>;
661
+ }
662
+
520
663
  /**
521
664
  * Kling video generation, AI avatar lip-sync, and motion control API client.
522
665
  *
@@ -533,6 +676,7 @@ declare class EditVideo {
533
676
  declare class KlingClient extends BaseClient {
534
677
  /** Text-to-video generation with multi-shot, sound, and Kling elements support on kling-3.0. */
535
678
  readonly textToVideo: TextToVideo;
679
+ readonly textToImage: TextToImage;
536
680
  /** Image-to-video animation from a first-frame image guided by a text prompt. */
537
681
  readonly imageToVideo: ImageToVideo;
538
682
  /** AI avatar lip-sync: animate a face image to match an audio track. */
@@ -542,7 +686,9 @@ declare class KlingClient extends BaseClient {
542
686
  readonly extendVideo: ExtendVideo;
543
687
  /** Edit a source video with the selected Kling v3 Omni model. */
544
688
  readonly editVideo: EditVideo;
689
+ readonly keyframeToVideo: KeyframeToVideo;
690
+ readonly referenceToVideo: ReferenceToVideo;
545
691
  constructor(options?: ClientOptions);
546
692
  }
547
693
 
548
- export { type AiAvatarModel, type AiAvatarParams, type AiAvatarResponse, type AsyncTaskResponse, type CompletedAiAvatarResponse, type CompletedImageToVideoResponse, type CompletedMotionControlResponse, type CompletedTextToVideoResponse, type EditVideoParams, type ImageToVideoParams, type ImageToVideoResponse, type Kling3MotionControlParams, type Kling3TextToVideoAutomaticShotParams, type Kling3TextToVideoMultiShotParams, type Kling3TextToVideoSingleShotParams, type KlingAspectRatio, KlingClient, type KlingDuration, type KlingEditVideoModel, type KlingElement, type KlingExtendVideoParams, type KlingImageToVideoModel, type KlingO1ImageToVideoParams, type KlingO1ReferenceVideoType, type KlingO1TextToVideoParams, type KlingTextToVideoModel, type KlingTextToVideoOutputResolution, type KlingV26ImageToVideoParams, type KlingV26Mode, type KlingV26MotionControlParams, type KlingV26TextToVideoParams, type KlingV2ImageToVideoModel, type KlingV3TurboOutputResolution, type MotionControlModel, type MotionControlParams, type MotionControlResponse, type MultiPromptItem, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type V21MasterTextToVideoParams, type V25TurboTextToVideoParams, type V2ImageToVideoParams, type V3OmniImageToVideoParams, type V3OmniReferenceTextToVideoParams, type V3OmniTextToVideoParams, type V3TurboImageToVideoParams, type V3TurboTextToVideoParams, type VideoMetadata };
694
+ export { type AiAvatarModel, type AiAvatarParams, type AiAvatarResponse, type AsyncTaskResponse, type CompletedAiAvatarResponse, type CompletedImageToVideoResponse, type CompletedMotionControlResponse, type CompletedTextToImageResponse, type CompletedTextToVideoResponse, type EditVideoParams, type ImageMetadata, type ImageToVideoParams, type ImageToVideoResponse, type KeyframeToVideoParams, type KeyframeToVideoResponse, type Kling3MotionControlParams, type Kling3TextToVideoAutomaticShotParams, type Kling3TextToVideoMultiShotParams, type Kling3TextToVideoSingleShotParams, type KlingAspectRatio, KlingClient, type KlingDuration, type KlingEditVideoModel, type KlingElement, type KlingExtendVideoParams, type KlingImageElement, type KlingImageToVideoModel, type KlingKeyframeToVideoModel, type KlingO1ImageToVideoParams, type KlingO1ReferenceVideoType, type KlingO1TextToVideoParams, type KlingReferenceToVideoModel, type KlingTextToImageModel, type KlingTextToVideoModel, type KlingTextToVideoOutputResolution, type KlingV26ImageToVideoParams, type KlingV26Mode, type KlingV26MotionControlParams, type KlingV26TextToVideoParams, type KlingV2ImageToVideoModel, type KlingV3TurboOutputResolution, type MotionControlModel, type MotionControlParams, type MotionControlResponse, type MultiPromptItem, type ReferenceToVideoParams, type ReferenceToVideoResponse, type TaskCreateResponse, type TextToImageParams, type TextToImageResponse, type TextToVideoParams, type TextToVideoResponse, type V21MasterTextToVideoParams, type V25TurboTextToVideoParams, type V2ImageToVideoParams, type V3OmniImageToVideoParams, type V3OmniReferenceTextToVideoParams, type V3OmniTextToVideoParams, type V3TurboImageToVideoParams, type V3TurboTextToVideoParams, type VideoMetadata };