@hautechai/sdk 2.32.1 → 2.32.2
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 +68 -53
- package/dist/index.d.ts +68 -53
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12614,36 +12614,6 @@ interface Seedream3V1Response {
|
|
|
12614
12614
|
updatedAt: string;
|
|
12615
12615
|
}
|
|
12616
12616
|
|
|
12617
|
-
/**
|
|
12618
|
-
* Generated by orval v7.10.0 🍺
|
|
12619
|
-
* Do not edit manually.
|
|
12620
|
-
* Hautech API
|
|
12621
|
-
* OpenAPI spec version: 1.0
|
|
12622
|
-
*/
|
|
12623
|
-
/**
|
|
12624
|
-
* Width of the generated image in pixels (2048 or 4096)
|
|
12625
|
-
*/
|
|
12626
|
-
type Seedream45EditV1InputWidth = typeof Seedream45EditV1InputWidth[keyof typeof Seedream45EditV1InputWidth];
|
|
12627
|
-
declare const Seedream45EditV1InputWidth: {
|
|
12628
|
-
readonly NUMBER_2048: 2048;
|
|
12629
|
-
readonly NUMBER_4096: 4096;
|
|
12630
|
-
};
|
|
12631
|
-
|
|
12632
|
-
/**
|
|
12633
|
-
* Generated by orval v7.10.0 🍺
|
|
12634
|
-
* Do not edit manually.
|
|
12635
|
-
* Hautech API
|
|
12636
|
-
* OpenAPI spec version: 1.0
|
|
12637
|
-
*/
|
|
12638
|
-
/**
|
|
12639
|
-
* Height of the generated image in pixels (2048 or 4096)
|
|
12640
|
-
*/
|
|
12641
|
-
type Seedream45EditV1InputHeight = typeof Seedream45EditV1InputHeight[keyof typeof Seedream45EditV1InputHeight];
|
|
12642
|
-
declare const Seedream45EditV1InputHeight: {
|
|
12643
|
-
readonly NUMBER_2048: 2048;
|
|
12644
|
-
readonly NUMBER_4096: 4096;
|
|
12645
|
-
};
|
|
12646
|
-
|
|
12647
12617
|
/**
|
|
12648
12618
|
* Generated by orval v7.10.0 🍺
|
|
12649
12619
|
* Do not edit manually.
|
|
@@ -12674,16 +12644,54 @@ interface Seedream45EditV1Input {
|
|
|
12674
12644
|
* @minItems 1
|
|
12675
12645
|
*/
|
|
12676
12646
|
imageIds: string[];
|
|
12677
|
-
/**
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12647
|
+
/**
|
|
12648
|
+
* Width of the generated image in pixels (range 2048-4096 inclusive).
|
|
12649
|
+
* @minimum 2048
|
|
12650
|
+
* @maximum 4096
|
|
12651
|
+
*/
|
|
12652
|
+
width?: number;
|
|
12653
|
+
/**
|
|
12654
|
+
* Height of the generated image in pixels (range 2048-4096 inclusive).
|
|
12655
|
+
* @minimum 2048
|
|
12656
|
+
* @maximum 4096
|
|
12657
|
+
*/
|
|
12658
|
+
height?: number;
|
|
12681
12659
|
/** Random seed for deterministic generation */
|
|
12682
12660
|
seed?: number;
|
|
12683
12661
|
/** Prompt optimization mode */
|
|
12684
12662
|
optimizePromptOptions?: Seedream45EditV1InputOptimizePromptOptions;
|
|
12685
12663
|
}
|
|
12686
12664
|
|
|
12665
|
+
/**
|
|
12666
|
+
* Generated by orval v7.10.0 🍺
|
|
12667
|
+
* Do not edit manually.
|
|
12668
|
+
* Hautech API
|
|
12669
|
+
* OpenAPI spec version: 1.0
|
|
12670
|
+
*/
|
|
12671
|
+
/**
|
|
12672
|
+
* Height of the generated image in pixels (2048 or 4096)
|
|
12673
|
+
*/
|
|
12674
|
+
type Seedream45EditV1InputHeight = typeof Seedream45EditV1InputHeight[keyof typeof Seedream45EditV1InputHeight];
|
|
12675
|
+
declare const Seedream45EditV1InputHeight: {
|
|
12676
|
+
readonly NUMBER_2048: 2048;
|
|
12677
|
+
readonly NUMBER_4096: 4096;
|
|
12678
|
+
};
|
|
12679
|
+
|
|
12680
|
+
/**
|
|
12681
|
+
* Generated by orval v7.10.0 🍺
|
|
12682
|
+
* Do not edit manually.
|
|
12683
|
+
* Hautech API
|
|
12684
|
+
* OpenAPI spec version: 1.0
|
|
12685
|
+
*/
|
|
12686
|
+
/**
|
|
12687
|
+
* Width of the generated image in pixels (2048 or 4096)
|
|
12688
|
+
*/
|
|
12689
|
+
type Seedream45EditV1InputWidth = typeof Seedream45EditV1InputWidth[keyof typeof Seedream45EditV1InputWidth];
|
|
12690
|
+
declare const Seedream45EditV1InputWidth: {
|
|
12691
|
+
readonly NUMBER_2048: 2048;
|
|
12692
|
+
readonly NUMBER_4096: 4096;
|
|
12693
|
+
};
|
|
12694
|
+
|
|
12687
12695
|
/**
|
|
12688
12696
|
* Generated by orval v7.10.0 🍺
|
|
12689
12697
|
* Do not edit manually.
|
|
@@ -12780,14 +12788,24 @@ interface Seedream45EditV1Response {
|
|
|
12780
12788
|
* Hautech API
|
|
12781
12789
|
* OpenAPI spec version: 1.0
|
|
12782
12790
|
*/
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
+
interface Seedream45T2IV1Input {
|
|
12792
|
+
/** Text prompt describing the image to generate. Uses BytePlus ModelArk endpoint ep-20251204195257-ptf48. */
|
|
12793
|
+
prompt: string;
|
|
12794
|
+
/**
|
|
12795
|
+
* Width of the generated image in pixels (range 2048-4096 inclusive).
|
|
12796
|
+
* @minimum 2048
|
|
12797
|
+
* @maximum 4096
|
|
12798
|
+
*/
|
|
12799
|
+
width?: number;
|
|
12800
|
+
/**
|
|
12801
|
+
* Height of the generated image in pixels (range 2048-4096 inclusive).
|
|
12802
|
+
* @minimum 2048
|
|
12803
|
+
* @maximum 4096
|
|
12804
|
+
*/
|
|
12805
|
+
height?: number;
|
|
12806
|
+
/** Random seed for deterministic generation */
|
|
12807
|
+
seed?: number;
|
|
12808
|
+
}
|
|
12791
12809
|
|
|
12792
12810
|
/**
|
|
12793
12811
|
* Generated by orval v7.10.0 🍺
|
|
@@ -12810,17 +12828,14 @@ declare const Seedream45T2IV1InputHeight: {
|
|
|
12810
12828
|
* Hautech API
|
|
12811
12829
|
* OpenAPI spec version: 1.0
|
|
12812
12830
|
*/
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
/** Random seed for deterministic generation */
|
|
12822
|
-
seed?: number;
|
|
12823
|
-
}
|
|
12831
|
+
/**
|
|
12832
|
+
* Width of the generated image in pixels (2048 or 4096)
|
|
12833
|
+
*/
|
|
12834
|
+
type Seedream45T2IV1InputWidth = typeof Seedream45T2IV1InputWidth[keyof typeof Seedream45T2IV1InputWidth];
|
|
12835
|
+
declare const Seedream45T2IV1InputWidth: {
|
|
12836
|
+
readonly NUMBER_2048: 2048;
|
|
12837
|
+
readonly NUMBER_4096: 4096;
|
|
12838
|
+
};
|
|
12824
12839
|
|
|
12825
12840
|
/**
|
|
12826
12841
|
* Generated by orval v7.10.0 🍺
|
package/dist/index.d.ts
CHANGED
|
@@ -12614,36 +12614,6 @@ interface Seedream3V1Response {
|
|
|
12614
12614
|
updatedAt: string;
|
|
12615
12615
|
}
|
|
12616
12616
|
|
|
12617
|
-
/**
|
|
12618
|
-
* Generated by orval v7.10.0 🍺
|
|
12619
|
-
* Do not edit manually.
|
|
12620
|
-
* Hautech API
|
|
12621
|
-
* OpenAPI spec version: 1.0
|
|
12622
|
-
*/
|
|
12623
|
-
/**
|
|
12624
|
-
* Width of the generated image in pixels (2048 or 4096)
|
|
12625
|
-
*/
|
|
12626
|
-
type Seedream45EditV1InputWidth = typeof Seedream45EditV1InputWidth[keyof typeof Seedream45EditV1InputWidth];
|
|
12627
|
-
declare const Seedream45EditV1InputWidth: {
|
|
12628
|
-
readonly NUMBER_2048: 2048;
|
|
12629
|
-
readonly NUMBER_4096: 4096;
|
|
12630
|
-
};
|
|
12631
|
-
|
|
12632
|
-
/**
|
|
12633
|
-
* Generated by orval v7.10.0 🍺
|
|
12634
|
-
* Do not edit manually.
|
|
12635
|
-
* Hautech API
|
|
12636
|
-
* OpenAPI spec version: 1.0
|
|
12637
|
-
*/
|
|
12638
|
-
/**
|
|
12639
|
-
* Height of the generated image in pixels (2048 or 4096)
|
|
12640
|
-
*/
|
|
12641
|
-
type Seedream45EditV1InputHeight = typeof Seedream45EditV1InputHeight[keyof typeof Seedream45EditV1InputHeight];
|
|
12642
|
-
declare const Seedream45EditV1InputHeight: {
|
|
12643
|
-
readonly NUMBER_2048: 2048;
|
|
12644
|
-
readonly NUMBER_4096: 4096;
|
|
12645
|
-
};
|
|
12646
|
-
|
|
12647
12617
|
/**
|
|
12648
12618
|
* Generated by orval v7.10.0 🍺
|
|
12649
12619
|
* Do not edit manually.
|
|
@@ -12674,16 +12644,54 @@ interface Seedream45EditV1Input {
|
|
|
12674
12644
|
* @minItems 1
|
|
12675
12645
|
*/
|
|
12676
12646
|
imageIds: string[];
|
|
12677
|
-
/**
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12647
|
+
/**
|
|
12648
|
+
* Width of the generated image in pixels (range 2048-4096 inclusive).
|
|
12649
|
+
* @minimum 2048
|
|
12650
|
+
* @maximum 4096
|
|
12651
|
+
*/
|
|
12652
|
+
width?: number;
|
|
12653
|
+
/**
|
|
12654
|
+
* Height of the generated image in pixels (range 2048-4096 inclusive).
|
|
12655
|
+
* @minimum 2048
|
|
12656
|
+
* @maximum 4096
|
|
12657
|
+
*/
|
|
12658
|
+
height?: number;
|
|
12681
12659
|
/** Random seed for deterministic generation */
|
|
12682
12660
|
seed?: number;
|
|
12683
12661
|
/** Prompt optimization mode */
|
|
12684
12662
|
optimizePromptOptions?: Seedream45EditV1InputOptimizePromptOptions;
|
|
12685
12663
|
}
|
|
12686
12664
|
|
|
12665
|
+
/**
|
|
12666
|
+
* Generated by orval v7.10.0 🍺
|
|
12667
|
+
* Do not edit manually.
|
|
12668
|
+
* Hautech API
|
|
12669
|
+
* OpenAPI spec version: 1.0
|
|
12670
|
+
*/
|
|
12671
|
+
/**
|
|
12672
|
+
* Height of the generated image in pixels (2048 or 4096)
|
|
12673
|
+
*/
|
|
12674
|
+
type Seedream45EditV1InputHeight = typeof Seedream45EditV1InputHeight[keyof typeof Seedream45EditV1InputHeight];
|
|
12675
|
+
declare const Seedream45EditV1InputHeight: {
|
|
12676
|
+
readonly NUMBER_2048: 2048;
|
|
12677
|
+
readonly NUMBER_4096: 4096;
|
|
12678
|
+
};
|
|
12679
|
+
|
|
12680
|
+
/**
|
|
12681
|
+
* Generated by orval v7.10.0 🍺
|
|
12682
|
+
* Do not edit manually.
|
|
12683
|
+
* Hautech API
|
|
12684
|
+
* OpenAPI spec version: 1.0
|
|
12685
|
+
*/
|
|
12686
|
+
/**
|
|
12687
|
+
* Width of the generated image in pixels (2048 or 4096)
|
|
12688
|
+
*/
|
|
12689
|
+
type Seedream45EditV1InputWidth = typeof Seedream45EditV1InputWidth[keyof typeof Seedream45EditV1InputWidth];
|
|
12690
|
+
declare const Seedream45EditV1InputWidth: {
|
|
12691
|
+
readonly NUMBER_2048: 2048;
|
|
12692
|
+
readonly NUMBER_4096: 4096;
|
|
12693
|
+
};
|
|
12694
|
+
|
|
12687
12695
|
/**
|
|
12688
12696
|
* Generated by orval v7.10.0 🍺
|
|
12689
12697
|
* Do not edit manually.
|
|
@@ -12780,14 +12788,24 @@ interface Seedream45EditV1Response {
|
|
|
12780
12788
|
* Hautech API
|
|
12781
12789
|
* OpenAPI spec version: 1.0
|
|
12782
12790
|
*/
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
+
interface Seedream45T2IV1Input {
|
|
12792
|
+
/** Text prompt describing the image to generate. Uses BytePlus ModelArk endpoint ep-20251204195257-ptf48. */
|
|
12793
|
+
prompt: string;
|
|
12794
|
+
/**
|
|
12795
|
+
* Width of the generated image in pixels (range 2048-4096 inclusive).
|
|
12796
|
+
* @minimum 2048
|
|
12797
|
+
* @maximum 4096
|
|
12798
|
+
*/
|
|
12799
|
+
width?: number;
|
|
12800
|
+
/**
|
|
12801
|
+
* Height of the generated image in pixels (range 2048-4096 inclusive).
|
|
12802
|
+
* @minimum 2048
|
|
12803
|
+
* @maximum 4096
|
|
12804
|
+
*/
|
|
12805
|
+
height?: number;
|
|
12806
|
+
/** Random seed for deterministic generation */
|
|
12807
|
+
seed?: number;
|
|
12808
|
+
}
|
|
12791
12809
|
|
|
12792
12810
|
/**
|
|
12793
12811
|
* Generated by orval v7.10.0 🍺
|
|
@@ -12810,17 +12828,14 @@ declare const Seedream45T2IV1InputHeight: {
|
|
|
12810
12828
|
* Hautech API
|
|
12811
12829
|
* OpenAPI spec version: 1.0
|
|
12812
12830
|
*/
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12816
|
-
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
/** Random seed for deterministic generation */
|
|
12822
|
-
seed?: number;
|
|
12823
|
-
}
|
|
12831
|
+
/**
|
|
12832
|
+
* Width of the generated image in pixels (2048 or 4096)
|
|
12833
|
+
*/
|
|
12834
|
+
type Seedream45T2IV1InputWidth = typeof Seedream45T2IV1InputWidth[keyof typeof Seedream45T2IV1InputWidth];
|
|
12835
|
+
declare const Seedream45T2IV1InputWidth: {
|
|
12836
|
+
readonly NUMBER_2048: 2048;
|
|
12837
|
+
readonly NUMBER_4096: 4096;
|
|
12838
|
+
};
|
|
12824
12839
|
|
|
12825
12840
|
/**
|
|
12826
12841
|
* Generated by orval v7.10.0 🍺
|