@runapi.ai/kling 0.3.5 → 0.5.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/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
1
+ import { TaskResponse, AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
2
2
  export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';
3
3
 
4
4
  declare const modelValues: {
@@ -298,7 +298,7 @@ interface AsyncTaskResponse extends TaskResponse {
298
298
  id: string;
299
299
  status: AsyncTaskStatus;
300
300
  }
301
- interface TaskCreateResponse extends TaskBillingResponse {
301
+ interface TaskCreateResponse {
302
302
  id: string;
303
303
  }
304
304
  interface VideoMetadata {
@@ -345,10 +345,10 @@ interface MotionControlCommonParams {
345
345
  prompt?: string;
346
346
  callback_url?: string;
347
347
  }
348
- /** Kling 3.0 motion transfer with optional orientation and background controls. */
348
+ /** Kling 3.0 motion transfer with explicit resolution and optional orientation and background controls. */
349
349
  interface Kling3MotionControlParams extends MotionControlCommonParams {
350
350
  model: (typeof modelValues.motionControl.KLING_3_0);
351
- output_resolution?: '720p' | '1080p';
351
+ output_resolution: '720p' | '1080p';
352
352
  /** Whether the character faces the direction from the video or the image. */
353
353
  character_orientation?: 'video' | 'image';
354
354
  /** Whether the background comes from the video or the image. */
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
1
+ import { TaskResponse, AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
2
2
  export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';
3
3
 
4
4
  declare const modelValues: {
@@ -298,7 +298,7 @@ interface AsyncTaskResponse extends TaskResponse {
298
298
  id: string;
299
299
  status: AsyncTaskStatus;
300
300
  }
301
- interface TaskCreateResponse extends TaskBillingResponse {
301
+ interface TaskCreateResponse {
302
302
  id: string;
303
303
  }
304
304
  interface VideoMetadata {
@@ -345,10 +345,10 @@ interface MotionControlCommonParams {
345
345
  prompt?: string;
346
346
  callback_url?: string;
347
347
  }
348
- /** Kling 3.0 motion transfer with optional orientation and background controls. */
348
+ /** Kling 3.0 motion transfer with explicit resolution and optional orientation and background controls. */
349
349
  interface Kling3MotionControlParams extends MotionControlCommonParams {
350
350
  model: (typeof modelValues.motionControl.KLING_3_0);
351
- output_resolution?: '720p' | '1080p';
351
+ output_resolution: '720p' | '1080p';
352
352
  /** Whether the character faces the direction from the video or the image. */
353
353
  character_orientation?: 'video' | 'image';
354
354
  /** Whether the background comes from the video or the image. */