@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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +26 -1637
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1619
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaskResponse, AsyncTaskStatus,
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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. */
|