@hautechai/sdk 2.8.0 → 2.9.1

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.mjs CHANGED
@@ -12901,6 +12901,12 @@ var GiseleVtonV1InputCategory = {
12901
12901
  upper_body: "upper_body"
12902
12902
  };
12903
12903
 
12904
+ // src/autogenerated/schemas/googleNanoBananaV1InputOutputFormat.ts
12905
+ var GoogleNanoBananaV1InputOutputFormat = {
12906
+ jpg: "jpg",
12907
+ png: "png"
12908
+ };
12909
+
12904
12910
  // src/autogenerated/schemas/googleNanoBananaV1ResponseKind.ts
12905
12911
  var GoogleNanoBananaV1ResponseKind = {
12906
12912
  operation: "operation"
@@ -13639,6 +13645,20 @@ var StacksControllerListStacksV1OrderBy = {
13639
13645
  updatedAt_DESC: "updatedAt_DESC"
13640
13646
  };
13641
13647
 
13648
+ // src/autogenerated/schemas/startNaomiTrainingParamsDtoLrScheduler.ts
13649
+ var StartNaomiTrainingParamsDtoLrScheduler = {
13650
+ linear: "linear",
13651
+ cosine: "cosine",
13652
+ polynomial: "polynomial"
13653
+ };
13654
+
13655
+ // src/autogenerated/schemas/startNaomiTrainingParamsDtoMixedPrecision.ts
13656
+ var StartNaomiTrainingParamsDtoMixedPrecision = {
13657
+ no: "no",
13658
+ fp16: "fp16",
13659
+ bf16: "bf16"
13660
+ };
13661
+
13642
13662
  // src/autogenerated/schemas/storageEntityKind.ts
13643
13663
  var StorageEntityKind = {
13644
13664
  storage: "storage"
@@ -15011,13 +15031,35 @@ var usePipelinesApi = () => {
15011
15031
 
15012
15032
  // src/autogenerated/lora/lora.ts
15013
15033
  var getLora = () => {
15014
- const loraControllerStartV1 = (startLoraTrainingParamsDto, options) => {
15034
+ const loraControllerStartFluxV1 = (startFluxTrainingParamsDto, options) => {
15035
+ return axiosMutator(
15036
+ {
15037
+ url: `/v1/lora/train/flux`,
15038
+ method: "POST",
15039
+ headers: { "Content-Type": "application/json" },
15040
+ data: startFluxTrainingParamsDto
15041
+ },
15042
+ options
15043
+ );
15044
+ };
15045
+ const loraControllerStartNaomiV1 = (startNaomiTrainingParamsDto, options) => {
15046
+ return axiosMutator(
15047
+ {
15048
+ url: `/v1/lora/train/naomi`,
15049
+ method: "POST",
15050
+ headers: { "Content-Type": "application/json" },
15051
+ data: startNaomiTrainingParamsDto
15052
+ },
15053
+ options
15054
+ );
15055
+ };
15056
+ const loraControllerStartGeneralV1 = (startTrainingParamsDto, options) => {
15015
15057
  return axiosMutator(
15016
15058
  {
15017
15059
  url: `/v1/lora/train`,
15018
15060
  method: "POST",
15019
15061
  headers: { "Content-Type": "application/json" },
15020
- data: startLoraTrainingParamsDto
15062
+ data: startTrainingParamsDto
15021
15063
  },
15022
15064
  options
15023
15065
  );
@@ -15052,7 +15094,7 @@ var getLora = () => {
15052
15094
  options
15053
15095
  );
15054
15096
  };
15055
- return { loraControllerStartV1, loraControllerListV1, loraControllerGetV1, loraControllerTrainingsWebhookV1 };
15097
+ return { loraControllerStartFluxV1, loraControllerStartNaomiV1, loraControllerStartGeneralV1, loraControllerListV1, loraControllerGetV1, loraControllerTrainingsWebhookV1 };
15056
15098
  };
15057
15099
 
15058
15100
  // src/sdk/api-definitions/lora.ts
@@ -15075,7 +15117,9 @@ var waitLoraStatusChange = wrapCustomMethod(async function(lora, timeoutMs = 12e
15075
15117
  var useLoraApi = () => {
15076
15118
  const hautechApi = getLora();
15077
15119
  return useApi({
15078
- start: hautechApi.loraControllerStartV1,
15120
+ start: hautechApi.loraControllerStartGeneralV1,
15121
+ startFlux: hautechApi.loraControllerStartFluxV1,
15122
+ startNaomi: hautechApi.loraControllerStartNaomiV1,
15079
15123
  list: hautechApi.loraControllerListV1,
15080
15124
  get: hautechApi.loraControllerGetV1,
15081
15125
  wait: waitLoraStatusChange
@@ -15522,6 +15566,7 @@ export {
15522
15566
  GPTV3WebSearchToolDtoType,
15523
15567
  GetImageRepresentationParamsDtoType,
15524
15568
  GiseleVtonV1InputCategory,
15569
+ GoogleNanoBananaV1InputOutputFormat,
15525
15570
  GoogleNanoBananaV1ResponseKind,
15526
15571
  GoogleNanoBananaV1ResponseStatus,
15527
15572
  GptV1ResponseKind,
@@ -15624,6 +15669,8 @@ export {
15624
15669
  SelfAccountDtoType,
15625
15670
  StackEntityKind,
15626
15671
  StacksControllerListStacksV1OrderBy,
15672
+ StartNaomiTrainingParamsDtoLrScheduler,
15673
+ StartNaomiTrainingParamsDtoMixedPrecision,
15627
15674
  StorageEntityKind,
15628
15675
  StringsTemplateV1ResponseKind,
15629
15676
  StringsTemplateV1ResponseStatus,