@hautechai/sdk 2.30.2 → 2.30.3
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 +33 -43
- package/dist/index.d.ts +33 -43
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12417,19 +12417,6 @@ interface SeedV1Response {
|
|
|
12417
12417
|
updatedAt: string;
|
|
12418
12418
|
}
|
|
12419
12419
|
|
|
12420
|
-
/**
|
|
12421
|
-
* Generated by orval v7.10.0 🍺
|
|
12422
|
-
* Do not edit manually.
|
|
12423
|
-
* Hautech API
|
|
12424
|
-
* OpenAPI spec version: 1.0
|
|
12425
|
-
*/
|
|
12426
|
-
type SeedanceV1InputType = typeof SeedanceV1InputType[keyof typeof SeedanceV1InputType];
|
|
12427
|
-
declare const SeedanceV1InputType: {
|
|
12428
|
-
readonly text_to_video: "text_to_video";
|
|
12429
|
-
readonly image_to_video_first_frame: "image_to_video_first_frame";
|
|
12430
|
-
readonly image_to_video_first_and_last: "image_to_video_first_and_last";
|
|
12431
|
-
};
|
|
12432
|
-
|
|
12433
12420
|
/**
|
|
12434
12421
|
* Generated by orval v7.10.0 🍺
|
|
12435
12422
|
* Do not edit manually.
|
|
@@ -12443,23 +12430,6 @@ declare const SeedanceV1InputResolution: {
|
|
|
12443
12430
|
readonly '1080p': "1080p";
|
|
12444
12431
|
};
|
|
12445
12432
|
|
|
12446
|
-
/**
|
|
12447
|
-
* Generated by orval v7.10.0 🍺
|
|
12448
|
-
* Do not edit manually.
|
|
12449
|
-
* Hautech API
|
|
12450
|
-
* OpenAPI spec version: 1.0
|
|
12451
|
-
*/
|
|
12452
|
-
type SeedanceV1InputAspectRatio = typeof SeedanceV1InputAspectRatio[keyof typeof SeedanceV1InputAspectRatio];
|
|
12453
|
-
declare const SeedanceV1InputAspectRatio: {
|
|
12454
|
-
readonly '16:9': "16:9";
|
|
12455
|
-
readonly '4:3': "4:3";
|
|
12456
|
-
readonly '1:1': "1:1";
|
|
12457
|
-
readonly '3:4': "3:4";
|
|
12458
|
-
readonly '9:16': "9:16";
|
|
12459
|
-
readonly '21:9': "21:9";
|
|
12460
|
-
readonly adaptive: "adaptive";
|
|
12461
|
-
};
|
|
12462
|
-
|
|
12463
12433
|
/**
|
|
12464
12434
|
* Generated by orval v7.10.0 🍺
|
|
12465
12435
|
* Do not edit manually.
|
|
@@ -12468,32 +12438,22 @@ declare const SeedanceV1InputAspectRatio: {
|
|
|
12468
12438
|
*/
|
|
12469
12439
|
|
|
12470
12440
|
interface SeedanceV1Input {
|
|
12471
|
-
type: SeedanceV1InputType;
|
|
12472
|
-
/**
|
|
12473
|
-
* Text prompt
|
|
12474
|
-
* @minLength 1
|
|
12475
|
-
*/
|
|
12476
12441
|
prompt?: string;
|
|
12477
12442
|
resolution?: SeedanceV1InputResolution;
|
|
12478
|
-
aspectRatio?:
|
|
12443
|
+
aspectRatio?: string;
|
|
12479
12444
|
/**
|
|
12480
|
-
* Duration in seconds
|
|
12481
12445
|
* @minimum 2
|
|
12482
12446
|
* @maximum 12
|
|
12483
12447
|
*/
|
|
12484
12448
|
durationSeconds?: number;
|
|
12485
12449
|
/**
|
|
12486
|
-
* Random seed (-1 for random)
|
|
12487
12450
|
* @minimum -1
|
|
12488
12451
|
* @maximum 4294967295
|
|
12489
12452
|
*/
|
|
12490
12453
|
seed?: number;
|
|
12491
|
-
/** Lock the camera (image modes only) */
|
|
12492
12454
|
cameraFixed?: boolean;
|
|
12493
|
-
|
|
12494
|
-
|
|
12495
|
-
/** ID of the last frame image (two-frame mode) */
|
|
12496
|
-
last_frame_id?: string;
|
|
12455
|
+
firstFrameId?: string;
|
|
12456
|
+
lastFrameId?: string;
|
|
12497
12457
|
}
|
|
12498
12458
|
|
|
12499
12459
|
/**
|
|
@@ -12586,6 +12546,36 @@ interface SeedanceV1FastV1Response {
|
|
|
12586
12546
|
updatedAt: string;
|
|
12587
12547
|
}
|
|
12588
12548
|
|
|
12549
|
+
/**
|
|
12550
|
+
* Generated by orval v7.10.0 🍺
|
|
12551
|
+
* Do not edit manually.
|
|
12552
|
+
* Hautech API
|
|
12553
|
+
* OpenAPI spec version: 1.0
|
|
12554
|
+
*/
|
|
12555
|
+
type SeedanceV1InputAspectRatio = typeof SeedanceV1InputAspectRatio[keyof typeof SeedanceV1InputAspectRatio];
|
|
12556
|
+
declare const SeedanceV1InputAspectRatio: {
|
|
12557
|
+
readonly '16:9': "16:9";
|
|
12558
|
+
readonly '4:3': "4:3";
|
|
12559
|
+
readonly '1:1': "1:1";
|
|
12560
|
+
readonly '3:4': "3:4";
|
|
12561
|
+
readonly '9:16': "9:16";
|
|
12562
|
+
readonly '21:9': "21:9";
|
|
12563
|
+
readonly adaptive: "adaptive";
|
|
12564
|
+
};
|
|
12565
|
+
|
|
12566
|
+
/**
|
|
12567
|
+
* Generated by orval v7.10.0 🍺
|
|
12568
|
+
* Do not edit manually.
|
|
12569
|
+
* Hautech API
|
|
12570
|
+
* OpenAPI spec version: 1.0
|
|
12571
|
+
*/
|
|
12572
|
+
type SeedanceV1InputType = typeof SeedanceV1InputType[keyof typeof SeedanceV1InputType];
|
|
12573
|
+
declare const SeedanceV1InputType: {
|
|
12574
|
+
readonly text_to_video: "text_to_video";
|
|
12575
|
+
readonly image_to_video_first_frame: "image_to_video_first_frame";
|
|
12576
|
+
readonly image_to_video_first_and_last: "image_to_video_first_and_last";
|
|
12577
|
+
};
|
|
12578
|
+
|
|
12589
12579
|
/**
|
|
12590
12580
|
* Generated by orval v7.10.0 🍺
|
|
12591
12581
|
* Do not edit manually.
|
package/dist/index.d.ts
CHANGED
|
@@ -12417,19 +12417,6 @@ interface SeedV1Response {
|
|
|
12417
12417
|
updatedAt: string;
|
|
12418
12418
|
}
|
|
12419
12419
|
|
|
12420
|
-
/**
|
|
12421
|
-
* Generated by orval v7.10.0 🍺
|
|
12422
|
-
* Do not edit manually.
|
|
12423
|
-
* Hautech API
|
|
12424
|
-
* OpenAPI spec version: 1.0
|
|
12425
|
-
*/
|
|
12426
|
-
type SeedanceV1InputType = typeof SeedanceV1InputType[keyof typeof SeedanceV1InputType];
|
|
12427
|
-
declare const SeedanceV1InputType: {
|
|
12428
|
-
readonly text_to_video: "text_to_video";
|
|
12429
|
-
readonly image_to_video_first_frame: "image_to_video_first_frame";
|
|
12430
|
-
readonly image_to_video_first_and_last: "image_to_video_first_and_last";
|
|
12431
|
-
};
|
|
12432
|
-
|
|
12433
12420
|
/**
|
|
12434
12421
|
* Generated by orval v7.10.0 🍺
|
|
12435
12422
|
* Do not edit manually.
|
|
@@ -12443,23 +12430,6 @@ declare const SeedanceV1InputResolution: {
|
|
|
12443
12430
|
readonly '1080p': "1080p";
|
|
12444
12431
|
};
|
|
12445
12432
|
|
|
12446
|
-
/**
|
|
12447
|
-
* Generated by orval v7.10.0 🍺
|
|
12448
|
-
* Do not edit manually.
|
|
12449
|
-
* Hautech API
|
|
12450
|
-
* OpenAPI spec version: 1.0
|
|
12451
|
-
*/
|
|
12452
|
-
type SeedanceV1InputAspectRatio = typeof SeedanceV1InputAspectRatio[keyof typeof SeedanceV1InputAspectRatio];
|
|
12453
|
-
declare const SeedanceV1InputAspectRatio: {
|
|
12454
|
-
readonly '16:9': "16:9";
|
|
12455
|
-
readonly '4:3': "4:3";
|
|
12456
|
-
readonly '1:1': "1:1";
|
|
12457
|
-
readonly '3:4': "3:4";
|
|
12458
|
-
readonly '9:16': "9:16";
|
|
12459
|
-
readonly '21:9': "21:9";
|
|
12460
|
-
readonly adaptive: "adaptive";
|
|
12461
|
-
};
|
|
12462
|
-
|
|
12463
12433
|
/**
|
|
12464
12434
|
* Generated by orval v7.10.0 🍺
|
|
12465
12435
|
* Do not edit manually.
|
|
@@ -12468,32 +12438,22 @@ declare const SeedanceV1InputAspectRatio: {
|
|
|
12468
12438
|
*/
|
|
12469
12439
|
|
|
12470
12440
|
interface SeedanceV1Input {
|
|
12471
|
-
type: SeedanceV1InputType;
|
|
12472
|
-
/**
|
|
12473
|
-
* Text prompt
|
|
12474
|
-
* @minLength 1
|
|
12475
|
-
*/
|
|
12476
12441
|
prompt?: string;
|
|
12477
12442
|
resolution?: SeedanceV1InputResolution;
|
|
12478
|
-
aspectRatio?:
|
|
12443
|
+
aspectRatio?: string;
|
|
12479
12444
|
/**
|
|
12480
|
-
* Duration in seconds
|
|
12481
12445
|
* @minimum 2
|
|
12482
12446
|
* @maximum 12
|
|
12483
12447
|
*/
|
|
12484
12448
|
durationSeconds?: number;
|
|
12485
12449
|
/**
|
|
12486
|
-
* Random seed (-1 for random)
|
|
12487
12450
|
* @minimum -1
|
|
12488
12451
|
* @maximum 4294967295
|
|
12489
12452
|
*/
|
|
12490
12453
|
seed?: number;
|
|
12491
|
-
/** Lock the camera (image modes only) */
|
|
12492
12454
|
cameraFixed?: boolean;
|
|
12493
|
-
|
|
12494
|
-
|
|
12495
|
-
/** ID of the last frame image (two-frame mode) */
|
|
12496
|
-
last_frame_id?: string;
|
|
12455
|
+
firstFrameId?: string;
|
|
12456
|
+
lastFrameId?: string;
|
|
12497
12457
|
}
|
|
12498
12458
|
|
|
12499
12459
|
/**
|
|
@@ -12586,6 +12546,36 @@ interface SeedanceV1FastV1Response {
|
|
|
12586
12546
|
updatedAt: string;
|
|
12587
12547
|
}
|
|
12588
12548
|
|
|
12549
|
+
/**
|
|
12550
|
+
* Generated by orval v7.10.0 🍺
|
|
12551
|
+
* Do not edit manually.
|
|
12552
|
+
* Hautech API
|
|
12553
|
+
* OpenAPI spec version: 1.0
|
|
12554
|
+
*/
|
|
12555
|
+
type SeedanceV1InputAspectRatio = typeof SeedanceV1InputAspectRatio[keyof typeof SeedanceV1InputAspectRatio];
|
|
12556
|
+
declare const SeedanceV1InputAspectRatio: {
|
|
12557
|
+
readonly '16:9': "16:9";
|
|
12558
|
+
readonly '4:3': "4:3";
|
|
12559
|
+
readonly '1:1': "1:1";
|
|
12560
|
+
readonly '3:4': "3:4";
|
|
12561
|
+
readonly '9:16': "9:16";
|
|
12562
|
+
readonly '21:9': "21:9";
|
|
12563
|
+
readonly adaptive: "adaptive";
|
|
12564
|
+
};
|
|
12565
|
+
|
|
12566
|
+
/**
|
|
12567
|
+
* Generated by orval v7.10.0 🍺
|
|
12568
|
+
* Do not edit manually.
|
|
12569
|
+
* Hautech API
|
|
12570
|
+
* OpenAPI spec version: 1.0
|
|
12571
|
+
*/
|
|
12572
|
+
type SeedanceV1InputType = typeof SeedanceV1InputType[keyof typeof SeedanceV1InputType];
|
|
12573
|
+
declare const SeedanceV1InputType: {
|
|
12574
|
+
readonly text_to_video: "text_to_video";
|
|
12575
|
+
readonly image_to_video_first_frame: "image_to_video_first_frame";
|
|
12576
|
+
readonly image_to_video_first_and_last: "image_to_video_first_and_last";
|
|
12577
|
+
};
|
|
12578
|
+
|
|
12589
12579
|
/**
|
|
12590
12580
|
* Generated by orval v7.10.0 🍺
|
|
12591
12581
|
* Do not edit manually.
|