@hautechai/sdk 2.31.1 → 2.32.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.d.mts +438 -335
- package/dist/index.d.ts +438 -335
- package/dist/index.js +200 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +191 -72
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10653,6 +10653,15 @@ var getWorkflows = () => {
|
|
|
10653
10653
|
options
|
|
10654
10654
|
);
|
|
10655
10655
|
};
|
|
10656
|
+
const workflowsControllerGetPublicWorkflowByAliasV1 = (alias, options) => {
|
|
10657
|
+
return axiosMutator(
|
|
10658
|
+
{
|
|
10659
|
+
url: `/v1/workflows/public/alias/${alias}`,
|
|
10660
|
+
method: "GET"
|
|
10661
|
+
},
|
|
10662
|
+
options
|
|
10663
|
+
);
|
|
10664
|
+
};
|
|
10656
10665
|
const workflowsControllerRunPublicWorkflowV1 = (id, runWorkflowParamsDto, options) => {
|
|
10657
10666
|
return axiosMutator(
|
|
10658
10667
|
{
|
|
@@ -10742,7 +10751,7 @@ var getWorkflows = () => {
|
|
|
10742
10751
|
options
|
|
10743
10752
|
);
|
|
10744
10753
|
};
|
|
10745
|
-
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerRunPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerRevokeWorkflowPublicAccessV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
10754
|
+
return { workflowsControllerCreateWorkflowV1, workflowsControllerListWorkflowsV1, workflowsControllerListPublicWorkflowsV1, workflowsControllerGetPublicWorkflowV1, workflowsControllerGetPublicWorkflowByAliasV1, workflowsControllerRunPublicWorkflowV1, workflowsControllerShareWorkflowWithEveryoneV1, workflowsControllerRevokeWorkflowPublicAccessV1, workflowsControllerGetWorkflowV1, workflowsControllerUpdateWorkflowV1, workflowsControllerDeleteWorkflowV1, workflowsControllerRunWorkflowV1, workflowsControllerGetWorkflowSchemaV1, workflowsControllerGetSharedWorkflowStatisticsV1 };
|
|
10746
10755
|
};
|
|
10747
10756
|
|
|
10748
10757
|
// src/sdk/api-definitions/workflows.ts
|
|
@@ -10751,6 +10760,7 @@ var useWorkflowsApi = () => {
|
|
|
10751
10760
|
return useApi({
|
|
10752
10761
|
create: hautechApi.workflowsControllerCreateWorkflowV1,
|
|
10753
10762
|
get: wrapApiCallNullable(hautechApi.workflowsControllerGetWorkflowV1),
|
|
10763
|
+
getByAlias: wrapApiCallNullable(hautechApi.workflowsControllerGetPublicWorkflowByAliasV1),
|
|
10754
10764
|
list: hautechApi.workflowsControllerListWorkflowsV1,
|
|
10755
10765
|
update: hautechApi.workflowsControllerUpdateWorkflowV1,
|
|
10756
10766
|
delete: hautechApi.workflowsControllerDeleteWorkflowV1,
|
|
@@ -11748,6 +11758,17 @@ var getOperations = () => {
|
|
|
11748
11758
|
options
|
|
11749
11759
|
);
|
|
11750
11760
|
};
|
|
11761
|
+
const operationsControllerRunSeedream45EditV1V1 = (seedream45EditV1Request, options) => {
|
|
11762
|
+
return axiosMutator(
|
|
11763
|
+
{
|
|
11764
|
+
url: `/v1/operations/run/seedream.4_5_edit.v1`,
|
|
11765
|
+
method: "POST",
|
|
11766
|
+
headers: { "Content-Type": "application/json" },
|
|
11767
|
+
data: seedream45EditV1Request
|
|
11768
|
+
},
|
|
11769
|
+
options
|
|
11770
|
+
);
|
|
11771
|
+
};
|
|
11751
11772
|
const operationsControllerRunJsonToImageV1V1 = (jsonToImageV1Request, options) => {
|
|
11752
11773
|
return axiosMutator(
|
|
11753
11774
|
{
|
|
@@ -11803,6 +11824,17 @@ var getOperations = () => {
|
|
|
11803
11824
|
options
|
|
11804
11825
|
);
|
|
11805
11826
|
};
|
|
11827
|
+
const operationsControllerRunSeedream45T2iV1V1 = (seedream45T2iV1Request, options) => {
|
|
11828
|
+
return axiosMutator(
|
|
11829
|
+
{
|
|
11830
|
+
url: `/v1/operations/run/seedream.4_5_t2i.v1`,
|
|
11831
|
+
method: "POST",
|
|
11832
|
+
headers: { "Content-Type": "application/json" },
|
|
11833
|
+
data: seedream45T2iV1Request
|
|
11834
|
+
},
|
|
11835
|
+
options
|
|
11836
|
+
);
|
|
11837
|
+
};
|
|
11806
11838
|
const operationsControllerRunSeedanceV1ProV1V1 = (seedanceV1ProV1Request, options) => {
|
|
11807
11839
|
return axiosMutator(
|
|
11808
11840
|
{
|
|
@@ -11946,7 +11978,7 @@ var getOperations = () => {
|
|
|
11946
11978
|
options
|
|
11947
11979
|
);
|
|
11948
11980
|
};
|
|
11949
|
-
return { operationsControllerGetOperationV1, operationsControllerGetOperationsV1, operationsControllerListOperationsV1, operationsControllerUpdateMetadataV1, operationsControllerRunHauteLindaV1V1, operationsControllerRunHauteNaomiV1V1, operationsControllerRunInpaintKateV1V1, operationsControllerRunGptV1V1, operationsControllerRunGptV2V1, operationsControllerRunGptV3V1, operationsControllerRunTranslateV1V1, operationsControllerRunStringsTemplateV1V1, operationsControllerRunStringsSwitchV1V1, operationsControllerRunStringsSliceV1V1, operationsControllerRunStringsLengthV1V1, operationsControllerRunImagineKateV1V1, operationsControllerRunUpscaleV1V1, operationsControllerRunObjectDetectionV1V1, operationsControllerRunSegmentAnythingEmbeddingsV1V1, operationsControllerRunSegmentAnythingMaskV1V1, operationsControllerRunPoseEstimationV1V1, operationsControllerRunCutV1V1, operationsControllerRunCropV1V1, operationsControllerRunNoiseV1V1, operationsControllerRunResizeV1V1, operationsControllerRunImagesDownscaleV1V1, operationsControllerRunContrastV1V1, operationsControllerRunCompositeV1V1, operationsControllerRunVtonGiseleV1V1, operationsControllerRunNegateImageV1V1, operationsControllerRunEchoV1V1, operationsControllerRunMathV1V1, operationsControllerRunAnimateKling16ProV1V1, operationsControllerRunAnimateKling21V1V1, operationsControllerRunAnimateKling21StandardV1V1, operationsControllerRunAnimateKling21ProV1V1, operationsControllerRunAnimateCreatomateV1V1, operationsControllerRunOnecompilerV1V1, operationsControllerRunEditFluxKontextDevV1V1, operationsControllerRunVeo3V1V1, operationsControllerRunVeo3FastV1V1, operationsControllerRunVeo31V1V1, operationsControllerRunVeo31FastV1V1, operationsControllerRunPipelineMapV1V1, operationsControllerRunImagen4V1V1, operationsControllerRunTopazUpscaleV1V1, operationsControllerRunIdeogramCharacterV1V1, operationsControllerRunSeedream3V1V1, operationsControllerRunLumaPhotonV1V1, operationsControllerRunImagineFlux11ProUltraV1V1, operationsControllerRunSeedV1V1, operationsControllerRunGoogleNanoBananaV1V1, operationsControllerRunGoogleNanoBananaProEditV1V1, operationsControllerRunHauteNaomiTrainV1V1, operationsControllerRunHauteNaomiPrepareDatasetV1V1, operationsControllerRunFashnVton16V1V1, operationsControllerRunAlphabakeVtonV1V1, operationsControllerRunKlingKolorsVtonV1V1, operationsControllerRunSeedream4EditV1V1, operationsControllerRunJsonToImageV1V1, operationsControllerRunJsonToVideoV1V1, operationsControllerRunReveRemixV1V1, operationsControllerRunYolo11xPoseV1V1, operationsControllerRunSeedream4T2iV1V1, operationsControllerRunSeedanceV1ProV1V1, operationsControllerRunSeedanceV1FastV1V1, operationsControllerRunSeedanceV1LightV1V1, operationsControllerRunImagen4FastV1V1, operationsControllerRunImagen4StandardV1V1, operationsControllerRunImagen4UltraV1V1, operationsControllerRunWorkflowsRunV1V1, operationsControllerRunKlingVideo25ProImageToVideoV1V1, operationsControllerRunFluxKontextDevPrepareDatasetV1V1, operationsControllerRunFluxKontextDevTrainV1V1, operationsControllerRunFluxKontextDevV1V1, operationsControllerRunImagesRenameV1V1, operationsControllerRunClipClassifyV1V1 };
|
|
11981
|
+
return { operationsControllerGetOperationV1, operationsControllerGetOperationsV1, operationsControllerListOperationsV1, operationsControllerUpdateMetadataV1, operationsControllerRunHauteLindaV1V1, operationsControllerRunHauteNaomiV1V1, operationsControllerRunInpaintKateV1V1, operationsControllerRunGptV1V1, operationsControllerRunGptV2V1, operationsControllerRunGptV3V1, operationsControllerRunTranslateV1V1, operationsControllerRunStringsTemplateV1V1, operationsControllerRunStringsSwitchV1V1, operationsControllerRunStringsSliceV1V1, operationsControllerRunStringsLengthV1V1, operationsControllerRunImagineKateV1V1, operationsControllerRunUpscaleV1V1, operationsControllerRunObjectDetectionV1V1, operationsControllerRunSegmentAnythingEmbeddingsV1V1, operationsControllerRunSegmentAnythingMaskV1V1, operationsControllerRunPoseEstimationV1V1, operationsControllerRunCutV1V1, operationsControllerRunCropV1V1, operationsControllerRunNoiseV1V1, operationsControllerRunResizeV1V1, operationsControllerRunImagesDownscaleV1V1, operationsControllerRunContrastV1V1, operationsControllerRunCompositeV1V1, operationsControllerRunVtonGiseleV1V1, operationsControllerRunNegateImageV1V1, operationsControllerRunEchoV1V1, operationsControllerRunMathV1V1, operationsControllerRunAnimateKling16ProV1V1, operationsControllerRunAnimateKling21V1V1, operationsControllerRunAnimateKling21StandardV1V1, operationsControllerRunAnimateKling21ProV1V1, operationsControllerRunAnimateCreatomateV1V1, operationsControllerRunOnecompilerV1V1, operationsControllerRunEditFluxKontextDevV1V1, operationsControllerRunVeo3V1V1, operationsControllerRunVeo3FastV1V1, operationsControllerRunVeo31V1V1, operationsControllerRunVeo31FastV1V1, operationsControllerRunPipelineMapV1V1, operationsControllerRunImagen4V1V1, operationsControllerRunTopazUpscaleV1V1, operationsControllerRunIdeogramCharacterV1V1, operationsControllerRunSeedream3V1V1, operationsControllerRunLumaPhotonV1V1, operationsControllerRunImagineFlux11ProUltraV1V1, operationsControllerRunSeedV1V1, operationsControllerRunGoogleNanoBananaV1V1, operationsControllerRunGoogleNanoBananaProEditV1V1, operationsControllerRunHauteNaomiTrainV1V1, operationsControllerRunHauteNaomiPrepareDatasetV1V1, operationsControllerRunFashnVton16V1V1, operationsControllerRunAlphabakeVtonV1V1, operationsControllerRunKlingKolorsVtonV1V1, operationsControllerRunSeedream4EditV1V1, operationsControllerRunSeedream45EditV1V1, operationsControllerRunJsonToImageV1V1, operationsControllerRunJsonToVideoV1V1, operationsControllerRunReveRemixV1V1, operationsControllerRunYolo11xPoseV1V1, operationsControllerRunSeedream4T2iV1V1, operationsControllerRunSeedream45T2iV1V1, operationsControllerRunSeedanceV1ProV1V1, operationsControllerRunSeedanceV1FastV1V1, operationsControllerRunSeedanceV1LightV1V1, operationsControllerRunImagen4FastV1V1, operationsControllerRunImagen4StandardV1V1, operationsControllerRunImagen4UltraV1V1, operationsControllerRunWorkflowsRunV1V1, operationsControllerRunKlingVideo25ProImageToVideoV1V1, operationsControllerRunFluxKontextDevPrepareDatasetV1V1, operationsControllerRunFluxKontextDevTrainV1V1, operationsControllerRunFluxKontextDevV1V1, operationsControllerRunImagesRenameV1V1, operationsControllerRunClipClassifyV1V1 };
|
|
11950
11982
|
};
|
|
11951
11983
|
|
|
11952
11984
|
// src/sdk/api-definitions/operations.ts
|
|
@@ -13020,47 +13052,11 @@ var FluxKontextPrepareDatasetOutputDtoKind = {
|
|
|
13020
13052
|
json: "json"
|
|
13021
13053
|
};
|
|
13022
13054
|
|
|
13023
|
-
// src/autogenerated/schemas/fluxKontextPrepareDatasetV1ResponseKind.ts
|
|
13024
|
-
var FluxKontextPrepareDatasetV1ResponseKind = {
|
|
13025
|
-
operation: "operation"
|
|
13026
|
-
};
|
|
13027
|
-
|
|
13028
|
-
// src/autogenerated/schemas/fluxKontextPrepareDatasetV1ResponseStatus.ts
|
|
13029
|
-
var FluxKontextPrepareDatasetV1ResponseStatus = {
|
|
13030
|
-
pending: "pending",
|
|
13031
|
-
finished: "finished",
|
|
13032
|
-
failed: "failed"
|
|
13033
|
-
};
|
|
13034
|
-
|
|
13035
13055
|
// src/autogenerated/schemas/fluxKontextTrainOutputDtoKind.ts
|
|
13036
13056
|
var FluxKontextTrainOutputDtoKind = {
|
|
13037
13057
|
json: "json"
|
|
13038
13058
|
};
|
|
13039
13059
|
|
|
13040
|
-
// src/autogenerated/schemas/fluxKontextTrainV1ResponseKind.ts
|
|
13041
|
-
var FluxKontextTrainV1ResponseKind = {
|
|
13042
|
-
operation: "operation"
|
|
13043
|
-
};
|
|
13044
|
-
|
|
13045
|
-
// src/autogenerated/schemas/fluxKontextTrainV1ResponseStatus.ts
|
|
13046
|
-
var FluxKontextTrainV1ResponseStatus = {
|
|
13047
|
-
pending: "pending",
|
|
13048
|
-
finished: "finished",
|
|
13049
|
-
failed: "failed"
|
|
13050
|
-
};
|
|
13051
|
-
|
|
13052
|
-
// src/autogenerated/schemas/fluxKontextV1ResponseKind.ts
|
|
13053
|
-
var FluxKontextV1ResponseKind = {
|
|
13054
|
-
operation: "operation"
|
|
13055
|
-
};
|
|
13056
|
-
|
|
13057
|
-
// src/autogenerated/schemas/fluxKontextV1ResponseStatus.ts
|
|
13058
|
-
var FluxKontextV1ResponseStatus = {
|
|
13059
|
-
pending: "pending",
|
|
13060
|
-
finished: "finished",
|
|
13061
|
-
failed: "failed"
|
|
13062
|
-
};
|
|
13063
|
-
|
|
13064
13060
|
// src/autogenerated/schemas/gPTV1InputModel.ts
|
|
13065
13061
|
var GPTV1InputModel = {
|
|
13066
13062
|
"gpt-4o": "gpt-4o",
|
|
@@ -14554,17 +14550,6 @@ var SeedanceV1FastV1ResponseStatus = {
|
|
|
14554
14550
|
failed: "failed"
|
|
14555
14551
|
};
|
|
14556
14552
|
|
|
14557
|
-
// src/autogenerated/schemas/seedanceV1InputAspectRatio.ts
|
|
14558
|
-
var SeedanceV1InputAspectRatio = {
|
|
14559
|
-
"16:9": "16:9",
|
|
14560
|
-
"4:3": "4:3",
|
|
14561
|
-
"1:1": "1:1",
|
|
14562
|
-
"3:4": "3:4",
|
|
14563
|
-
"9:16": "9:16",
|
|
14564
|
-
"21:9": "21:9",
|
|
14565
|
-
adaptive: "adaptive"
|
|
14566
|
-
};
|
|
14567
|
-
|
|
14568
14553
|
// src/autogenerated/schemas/seedanceV1InputResolution.ts
|
|
14569
14554
|
var SeedanceV1InputResolution = {
|
|
14570
14555
|
"480p": "480p",
|
|
@@ -14572,13 +14557,6 @@ var SeedanceV1InputResolution = {
|
|
|
14572
14557
|
"1080p": "1080p"
|
|
14573
14558
|
};
|
|
14574
14559
|
|
|
14575
|
-
// src/autogenerated/schemas/seedanceV1InputType.ts
|
|
14576
|
-
var SeedanceV1InputType = {
|
|
14577
|
-
text_to_video: "text_to_video",
|
|
14578
|
-
image_to_video_first_frame: "image_to_video_first_frame",
|
|
14579
|
-
image_to_video_first_and_last: "image_to_video_first_and_last"
|
|
14580
|
-
};
|
|
14581
|
-
|
|
14582
14560
|
// src/autogenerated/schemas/seedanceV1LightV1ResponseKind.ts
|
|
14583
14561
|
var SeedanceV1LightV1ResponseKind = {
|
|
14584
14562
|
operation: "operation"
|
|
@@ -14635,6 +14613,60 @@ var Seedream3V1ResponseStatus = {
|
|
|
14635
14613
|
failed: "failed"
|
|
14636
14614
|
};
|
|
14637
14615
|
|
|
14616
|
+
// src/autogenerated/schemas/seedream45EditV1InputHeight.ts
|
|
14617
|
+
var Seedream45EditV1InputHeight = {
|
|
14618
|
+
NUMBER_2048: 2048,
|
|
14619
|
+
NUMBER_4096: 4096
|
|
14620
|
+
};
|
|
14621
|
+
|
|
14622
|
+
// src/autogenerated/schemas/seedream45EditV1InputOptimizePromptOptions.ts
|
|
14623
|
+
var Seedream45EditV1InputOptimizePromptOptions = {
|
|
14624
|
+
standard: "standard",
|
|
14625
|
+
fast: "fast"
|
|
14626
|
+
};
|
|
14627
|
+
|
|
14628
|
+
// src/autogenerated/schemas/seedream45EditV1InputWidth.ts
|
|
14629
|
+
var Seedream45EditV1InputWidth = {
|
|
14630
|
+
NUMBER_2048: 2048,
|
|
14631
|
+
NUMBER_4096: 4096
|
|
14632
|
+
};
|
|
14633
|
+
|
|
14634
|
+
// src/autogenerated/schemas/seedream45EditV1ResponseKind.ts
|
|
14635
|
+
var Seedream45EditV1ResponseKind = {
|
|
14636
|
+
operation: "operation"
|
|
14637
|
+
};
|
|
14638
|
+
|
|
14639
|
+
// src/autogenerated/schemas/seedream45EditV1ResponseStatus.ts
|
|
14640
|
+
var Seedream45EditV1ResponseStatus = {
|
|
14641
|
+
pending: "pending",
|
|
14642
|
+
finished: "finished",
|
|
14643
|
+
failed: "failed"
|
|
14644
|
+
};
|
|
14645
|
+
|
|
14646
|
+
// src/autogenerated/schemas/seedream45T2IV1InputHeight.ts
|
|
14647
|
+
var Seedream45T2IV1InputHeight = {
|
|
14648
|
+
NUMBER_2048: 2048,
|
|
14649
|
+
NUMBER_4096: 4096
|
|
14650
|
+
};
|
|
14651
|
+
|
|
14652
|
+
// src/autogenerated/schemas/seedream45T2IV1InputWidth.ts
|
|
14653
|
+
var Seedream45T2IV1InputWidth = {
|
|
14654
|
+
NUMBER_2048: 2048,
|
|
14655
|
+
NUMBER_4096: 4096
|
|
14656
|
+
};
|
|
14657
|
+
|
|
14658
|
+
// src/autogenerated/schemas/seedream45T2iV1ResponseKind.ts
|
|
14659
|
+
var Seedream45T2iV1ResponseKind = {
|
|
14660
|
+
operation: "operation"
|
|
14661
|
+
};
|
|
14662
|
+
|
|
14663
|
+
// src/autogenerated/schemas/seedream45T2iV1ResponseStatus.ts
|
|
14664
|
+
var Seedream45T2iV1ResponseStatus = {
|
|
14665
|
+
pending: "pending",
|
|
14666
|
+
finished: "finished",
|
|
14667
|
+
failed: "failed"
|
|
14668
|
+
};
|
|
14669
|
+
|
|
14638
14670
|
// src/autogenerated/schemas/seedream4EditV1InputOptimizePromptOptions.ts
|
|
14639
14671
|
var Seedream4EditV1InputOptimizePromptOptions = {
|
|
14640
14672
|
standard: "standard",
|
|
@@ -14695,12 +14727,6 @@ var SelfAccountDtoType = {
|
|
|
14695
14727
|
user: "user"
|
|
14696
14728
|
};
|
|
14697
14729
|
|
|
14698
|
-
// src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccess.ts
|
|
14699
|
-
var ShareWithEveryoneControllerParamsDtoAccess = {
|
|
14700
|
-
public_execute: "public_execute",
|
|
14701
|
-
public_read: "public_read"
|
|
14702
|
-
};
|
|
14703
|
-
|
|
14704
14730
|
// src/autogenerated/schemas/shareWithEveryoneControllerParamsDtoAccessItem.ts
|
|
14705
14731
|
var ShareWithEveryoneControllerParamsDtoAccessItem = {
|
|
14706
14732
|
public_execute: "public_execute",
|
|
@@ -16010,6 +16036,17 @@ var getCall = () => {
|
|
|
16010
16036
|
options
|
|
16011
16037
|
);
|
|
16012
16038
|
};
|
|
16039
|
+
const callControllerCallOperationsRunSeedream45EditV1V1 = (seedream45EditV1Request, options) => {
|
|
16040
|
+
return axiosMutator(
|
|
16041
|
+
{
|
|
16042
|
+
url: `/v1/call/operations.run.seedream.4_5_edit.v1`,
|
|
16043
|
+
method: "POST",
|
|
16044
|
+
headers: { "Content-Type": "application/json" },
|
|
16045
|
+
data: seedream45EditV1Request
|
|
16046
|
+
},
|
|
16047
|
+
options
|
|
16048
|
+
);
|
|
16049
|
+
};
|
|
16013
16050
|
const callControllerCallOperationsRunJsonToImageV1V1 = (jsonToImageV1Request, options) => {
|
|
16014
16051
|
return axiosMutator(
|
|
16015
16052
|
{
|
|
@@ -16065,6 +16102,17 @@ var getCall = () => {
|
|
|
16065
16102
|
options
|
|
16066
16103
|
);
|
|
16067
16104
|
};
|
|
16105
|
+
const callControllerCallOperationsRunSeedream45T2iV1V1 = (seedream45T2iV1Request, options) => {
|
|
16106
|
+
return axiosMutator(
|
|
16107
|
+
{
|
|
16108
|
+
url: `/v1/call/operations.run.seedream.4_5_t2i.v1`,
|
|
16109
|
+
method: "POST",
|
|
16110
|
+
headers: { "Content-Type": "application/json" },
|
|
16111
|
+
data: seedream45T2iV1Request
|
|
16112
|
+
},
|
|
16113
|
+
options
|
|
16114
|
+
);
|
|
16115
|
+
};
|
|
16068
16116
|
const callControllerCallOperationsRunSeedanceV1ProV1V1 = (seedanceV1ProV1Request, options) => {
|
|
16069
16117
|
return axiosMutator(
|
|
16070
16118
|
{
|
|
@@ -16362,7 +16410,7 @@ var getCall = () => {
|
|
|
16362
16410
|
options
|
|
16363
16411
|
);
|
|
16364
16412
|
};
|
|
16365
|
-
return { callControllerCallAccessGrantV1, callControllerCallAccessAttachV1, callControllerCallAccountsCreateV1, callControllerCallAccountsGetV1, callControllerCallAccountsSelfV1, callControllerCallAccountsListV1, callControllerCallAccountsUpdateV1, callControllerCallAccountsBalanceAddV1, callControllerCallAccountsBalanceSelfV1, callControllerCallAccountsBalanceGetV1, callControllerCallCollectionsCreateV1, callControllerCallCollectionsGetV1, callControllerCallCollectionsListV1, callControllerCallCollectionsMetadataUpdateV1, callControllerCallCollectionsItemsAddV1, callControllerCallCollectionsItemsListV1, callControllerCallCollectionsItemsRemoveV1, callControllerCallGroupsCreateV1, callControllerCallGroupsGetV1, callControllerCallGroupsDeleteV1, callControllerCallGroupsAccountsAddV1, callControllerCallGroupsAccountsRemoveV1, callControllerCallImagesGetManyV1, callControllerCallImagesGetV1, callControllerCallImagesRepresentationsGetV1, callControllerCallVideosGetManyV1, callControllerCallVideosGetV1, callControllerCallOperationsGetV1, callControllerCallOperationsGetManyV1, callControllerCallOperationsListV1, callControllerCallOperationsMetadataUpdateV1, callControllerCallOperationsWaitV1, callControllerCallOperationsRunHauteLindaV1V1, callControllerCallOperationsRunHauteNaomiV1V1, callControllerCallOperationsRunInpaintKateV1V1, callControllerCallOperationsRunGptV1V1, callControllerCallOperationsRunGptV2V1, callControllerCallOperationsRunGptV3V1, callControllerCallOperationsRunTranslateV1V1, callControllerCallOperationsRunStringsTemplateV1V1, callControllerCallOperationsRunStringsSwitchV1V1, callControllerCallOperationsRunStringsSliceV1V1, callControllerCallOperationsRunStringsLengthV1V1, callControllerCallOperationsRunImagineKateV1V1, callControllerCallOperationsRunUpscaleV1V1, callControllerCallOperationsRunObjectDetectionV1V1, callControllerCallOperationsRunSegmentAnythingEmbeddingsV1V1, callControllerCallOperationsRunSegmentAnythingMaskV1V1, callControllerCallOperationsRunPoseEstimationV1V1, callControllerCallOperationsRunCutV1V1, callControllerCallOperationsRunCropV1V1, callControllerCallOperationsRunNoiseV1V1, callControllerCallOperationsRunResizeV1V1, callControllerCallOperationsRunImagesDownscaleV1V1, callControllerCallOperationsRunContrastV1V1, callControllerCallOperationsRunCompositeV1V1, callControllerCallOperationsRunVtonGiseleV1V1, callControllerCallOperationsRunNegateImageV1V1, callControllerCallOperationsRunEchoV1V1, callControllerCallOperationsRunMathV1V1, callControllerCallOperationsRunAnimateKling16ProV1V1, callControllerCallOperationsRunAnimateKling21V1V1, callControllerCallOperationsRunAnimateKling21StandardV1V1, callControllerCallOperationsRunAnimateKling21ProV1V1, callControllerCallOperationsRunAnimateCreatomateV1V1, callControllerCallOperationsRunOnecompilerV1V1, callControllerCallOperationsRunEditFluxKontextDevV1V1, callControllerCallOperationsRunVeo3V1V1, callControllerCallOperationsRunVeo3FastV1V1, callControllerCallOperationsRunVeo31V1V1, callControllerCallOperationsRunVeo31FastV1V1, callControllerCallOperationsRunPipelineMapV1V1, callControllerCallOperationsRunImagen4V1V1, callControllerCallOperationsRunTopazUpscaleV1V1, callControllerCallOperationsRunIdeogramCharacterV1V1, callControllerCallOperationsRunSeedream3V1V1, callControllerCallOperationsRunLumaPhotonV1V1, callControllerCallOperationsRunImagineFlux11ProUltraV1V1, callControllerCallOperationsRunSeedV1V1, callControllerCallOperationsRunGoogleNanoBananaV1V1, callControllerCallOperationsRunGoogleNanoBananaProEditV1V1, callControllerCallOperationsRunHauteNaomiTrainV1V1, callControllerCallOperationsRunHauteNaomiPrepareDatasetV1V1, callControllerCallOperationsRunFashnVton16V1V1, callControllerCallOperationsRunAlphabakeVtonV1V1, callControllerCallOperationsRunKlingKolorsVtonV1V1, callControllerCallOperationsRunSeedream4EditV1V1, callControllerCallOperationsRunJsonToImageV1V1, callControllerCallOperationsRunJsonToVideoV1V1, callControllerCallOperationsRunReveRemixV1V1, callControllerCallOperationsRunYolo11xPoseV1V1, callControllerCallOperationsRunSeedream4T2iV1V1, callControllerCallOperationsRunSeedanceV1ProV1V1, callControllerCallOperationsRunSeedanceV1FastV1V1, callControllerCallOperationsRunSeedanceV1LightV1V1, callControllerCallOperationsRunImagen4FastV1V1, callControllerCallOperationsRunImagen4StandardV1V1, callControllerCallOperationsRunImagen4UltraV1V1, callControllerCallOperationsRunWorkflowsRunV1V1, callControllerCallOperationsRunKlingVideo25ProImageToVideoV1V1, callControllerCallOperationsRunFluxKontextDevPrepareDatasetV1V1, callControllerCallOperationsRunFluxKontextDevTrainV1V1, callControllerCallOperationsRunFluxKontextDevV1V1, callControllerCallOperationsRunImagesRenameV1V1, callControllerCallOperationsRunClipClassifyV1V1, callControllerCallPosesGetV1, callControllerCallPosesListV1, callControllerCallPosesPreviewSetV1, callControllerCallPosesMetadataUpdateV1, callControllerCallStacksCreateV1, callControllerCallStacksGetV1, callControllerCallStacksListV1, callControllerCallStacksMetadataUpdateV1, callControllerCallStacksItemsAddV1, callControllerCallStacksItemsRemoveV1, callControllerCallStorageCreateV1, callControllerCallStorageDeleteV1, callControllerCallStorageGetManyV1, callControllerCallStorageUpdateV1 };
|
|
16413
|
+
return { callControllerCallAccessGrantV1, callControllerCallAccessAttachV1, callControllerCallAccountsCreateV1, callControllerCallAccountsGetV1, callControllerCallAccountsSelfV1, callControllerCallAccountsListV1, callControllerCallAccountsUpdateV1, callControllerCallAccountsBalanceAddV1, callControllerCallAccountsBalanceSelfV1, callControllerCallAccountsBalanceGetV1, callControllerCallCollectionsCreateV1, callControllerCallCollectionsGetV1, callControllerCallCollectionsListV1, callControllerCallCollectionsMetadataUpdateV1, callControllerCallCollectionsItemsAddV1, callControllerCallCollectionsItemsListV1, callControllerCallCollectionsItemsRemoveV1, callControllerCallGroupsCreateV1, callControllerCallGroupsGetV1, callControllerCallGroupsDeleteV1, callControllerCallGroupsAccountsAddV1, callControllerCallGroupsAccountsRemoveV1, callControllerCallImagesGetManyV1, callControllerCallImagesGetV1, callControllerCallImagesRepresentationsGetV1, callControllerCallVideosGetManyV1, callControllerCallVideosGetV1, callControllerCallOperationsGetV1, callControllerCallOperationsGetManyV1, callControllerCallOperationsListV1, callControllerCallOperationsMetadataUpdateV1, callControllerCallOperationsWaitV1, callControllerCallOperationsRunHauteLindaV1V1, callControllerCallOperationsRunHauteNaomiV1V1, callControllerCallOperationsRunInpaintKateV1V1, callControllerCallOperationsRunGptV1V1, callControllerCallOperationsRunGptV2V1, callControllerCallOperationsRunGptV3V1, callControllerCallOperationsRunTranslateV1V1, callControllerCallOperationsRunStringsTemplateV1V1, callControllerCallOperationsRunStringsSwitchV1V1, callControllerCallOperationsRunStringsSliceV1V1, callControllerCallOperationsRunStringsLengthV1V1, callControllerCallOperationsRunImagineKateV1V1, callControllerCallOperationsRunUpscaleV1V1, callControllerCallOperationsRunObjectDetectionV1V1, callControllerCallOperationsRunSegmentAnythingEmbeddingsV1V1, callControllerCallOperationsRunSegmentAnythingMaskV1V1, callControllerCallOperationsRunPoseEstimationV1V1, callControllerCallOperationsRunCutV1V1, callControllerCallOperationsRunCropV1V1, callControllerCallOperationsRunNoiseV1V1, callControllerCallOperationsRunResizeV1V1, callControllerCallOperationsRunImagesDownscaleV1V1, callControllerCallOperationsRunContrastV1V1, callControllerCallOperationsRunCompositeV1V1, callControllerCallOperationsRunVtonGiseleV1V1, callControllerCallOperationsRunNegateImageV1V1, callControllerCallOperationsRunEchoV1V1, callControllerCallOperationsRunMathV1V1, callControllerCallOperationsRunAnimateKling16ProV1V1, callControllerCallOperationsRunAnimateKling21V1V1, callControllerCallOperationsRunAnimateKling21StandardV1V1, callControllerCallOperationsRunAnimateKling21ProV1V1, callControllerCallOperationsRunAnimateCreatomateV1V1, callControllerCallOperationsRunOnecompilerV1V1, callControllerCallOperationsRunEditFluxKontextDevV1V1, callControllerCallOperationsRunVeo3V1V1, callControllerCallOperationsRunVeo3FastV1V1, callControllerCallOperationsRunVeo31V1V1, callControllerCallOperationsRunVeo31FastV1V1, callControllerCallOperationsRunPipelineMapV1V1, callControllerCallOperationsRunImagen4V1V1, callControllerCallOperationsRunTopazUpscaleV1V1, callControllerCallOperationsRunIdeogramCharacterV1V1, callControllerCallOperationsRunSeedream3V1V1, callControllerCallOperationsRunLumaPhotonV1V1, callControllerCallOperationsRunImagineFlux11ProUltraV1V1, callControllerCallOperationsRunSeedV1V1, callControllerCallOperationsRunGoogleNanoBananaV1V1, callControllerCallOperationsRunGoogleNanoBananaProEditV1V1, callControllerCallOperationsRunHauteNaomiTrainV1V1, callControllerCallOperationsRunHauteNaomiPrepareDatasetV1V1, callControllerCallOperationsRunFashnVton16V1V1, callControllerCallOperationsRunAlphabakeVtonV1V1, callControllerCallOperationsRunKlingKolorsVtonV1V1, callControllerCallOperationsRunSeedream4EditV1V1, callControllerCallOperationsRunSeedream45EditV1V1, callControllerCallOperationsRunJsonToImageV1V1, callControllerCallOperationsRunJsonToVideoV1V1, callControllerCallOperationsRunReveRemixV1V1, callControllerCallOperationsRunYolo11xPoseV1V1, callControllerCallOperationsRunSeedream4T2iV1V1, callControllerCallOperationsRunSeedream45T2iV1V1, callControllerCallOperationsRunSeedanceV1ProV1V1, callControllerCallOperationsRunSeedanceV1FastV1V1, callControllerCallOperationsRunSeedanceV1LightV1V1, callControllerCallOperationsRunImagen4FastV1V1, callControllerCallOperationsRunImagen4StandardV1V1, callControllerCallOperationsRunImagen4UltraV1V1, callControllerCallOperationsRunWorkflowsRunV1V1, callControllerCallOperationsRunKlingVideo25ProImageToVideoV1V1, callControllerCallOperationsRunFluxKontextDevPrepareDatasetV1V1, callControllerCallOperationsRunFluxKontextDevTrainV1V1, callControllerCallOperationsRunFluxKontextDevV1V1, callControllerCallOperationsRunImagesRenameV1V1, callControllerCallOperationsRunClipClassifyV1V1, callControllerCallPosesGetV1, callControllerCallPosesListV1, callControllerCallPosesPreviewSetV1, callControllerCallPosesMetadataUpdateV1, callControllerCallStacksCreateV1, callControllerCallStacksGetV1, callControllerCallStacksListV1, callControllerCallStacksMetadataUpdateV1, callControllerCallStacksItemsAddV1, callControllerCallStacksItemsRemoveV1, callControllerCallStorageCreateV1, callControllerCallStorageDeleteV1, callControllerCallStorageGetManyV1, callControllerCallStorageUpdateV1 };
|
|
16366
16414
|
};
|
|
16367
16415
|
|
|
16368
16416
|
// src/autogenerated/pipeline-methods.ts
|
|
@@ -16640,8 +16688,14 @@ var usePipelineDefinitions = () => {
|
|
|
16640
16688
|
"4_edit": {
|
|
16641
16689
|
"v1": api.callControllerCallOperationsRunSeedream4EditV1V1
|
|
16642
16690
|
},
|
|
16691
|
+
"4_5_edit": {
|
|
16692
|
+
"v1": api.callControllerCallOperationsRunSeedream45EditV1V1
|
|
16693
|
+
},
|
|
16643
16694
|
"4_t2i": {
|
|
16644
16695
|
"v1": api.callControllerCallOperationsRunSeedream4T2iV1V1
|
|
16696
|
+
},
|
|
16697
|
+
"4_5_t2i": {
|
|
16698
|
+
"v1": api.callControllerCallOperationsRunSeedream45T2iV1V1
|
|
16645
16699
|
}
|
|
16646
16700
|
},
|
|
16647
16701
|
"json_to_image": {
|
|
@@ -17013,6 +17067,70 @@ var useRewardsApi = () => {
|
|
|
17013
17067
|
});
|
|
17014
17068
|
};
|
|
17015
17069
|
|
|
17070
|
+
// src/autogenerated/workflow-versions/workflow-versions.ts
|
|
17071
|
+
var getWorkflowVersions = () => {
|
|
17072
|
+
const workflowVersionsControllerPublishVersionV1 = (workflowId, publishWorkflowVersionParamsDto, options) => {
|
|
17073
|
+
return axiosMutator(
|
|
17074
|
+
{
|
|
17075
|
+
url: `/v1/workflow-versions/workflows/${workflowId}`,
|
|
17076
|
+
method: "POST",
|
|
17077
|
+
headers: { "Content-Type": "application/json" },
|
|
17078
|
+
data: publishWorkflowVersionParamsDto
|
|
17079
|
+
},
|
|
17080
|
+
options
|
|
17081
|
+
);
|
|
17082
|
+
};
|
|
17083
|
+
const workflowVersionsControllerListWorkflowVersionsV1 = (workflowId, options) => {
|
|
17084
|
+
return axiosMutator(
|
|
17085
|
+
{
|
|
17086
|
+
url: `/v1/workflow-versions/workflows/${workflowId}`,
|
|
17087
|
+
method: "GET"
|
|
17088
|
+
},
|
|
17089
|
+
options
|
|
17090
|
+
);
|
|
17091
|
+
};
|
|
17092
|
+
const workflowVersionsControllerGetVersionByNumberV1 = (workflowId, versionNumber, options) => {
|
|
17093
|
+
return axiosMutator(
|
|
17094
|
+
{
|
|
17095
|
+
url: `/v1/workflow-versions/workflows/${workflowId}/version/${versionNumber}`,
|
|
17096
|
+
method: "GET"
|
|
17097
|
+
},
|
|
17098
|
+
options
|
|
17099
|
+
);
|
|
17100
|
+
};
|
|
17101
|
+
const workflowVersionsControllerGetVersionV1 = (versionId, options) => {
|
|
17102
|
+
return axiosMutator(
|
|
17103
|
+
{
|
|
17104
|
+
url: `/v1/workflow-versions/${versionId}`,
|
|
17105
|
+
method: "GET"
|
|
17106
|
+
},
|
|
17107
|
+
options
|
|
17108
|
+
);
|
|
17109
|
+
};
|
|
17110
|
+
const workflowVersionsControllerDeleteVersionV1 = (versionId, options) => {
|
|
17111
|
+
return axiosMutator(
|
|
17112
|
+
{
|
|
17113
|
+
url: `/v1/workflow-versions/${versionId}`,
|
|
17114
|
+
method: "DELETE"
|
|
17115
|
+
},
|
|
17116
|
+
options
|
|
17117
|
+
);
|
|
17118
|
+
};
|
|
17119
|
+
return { workflowVersionsControllerPublishVersionV1, workflowVersionsControllerListWorkflowVersionsV1, workflowVersionsControllerGetVersionByNumberV1, workflowVersionsControllerGetVersionV1, workflowVersionsControllerDeleteVersionV1 };
|
|
17120
|
+
};
|
|
17121
|
+
|
|
17122
|
+
// src/sdk/api-definitions/workflow-versions.ts
|
|
17123
|
+
var useWorkflowVersionsApi = () => {
|
|
17124
|
+
const hautechApi = getWorkflowVersions();
|
|
17125
|
+
return useApi({
|
|
17126
|
+
publish: hautechApi.workflowVersionsControllerPublishVersionV1,
|
|
17127
|
+
list: hautechApi.workflowVersionsControllerListWorkflowVersionsV1,
|
|
17128
|
+
get: hautechApi.workflowVersionsControllerGetVersionV1,
|
|
17129
|
+
getByNumber: hautechApi.workflowVersionsControllerGetVersionByNumberV1,
|
|
17130
|
+
delete: hautechApi.workflowVersionsControllerDeleteVersionV1
|
|
17131
|
+
});
|
|
17132
|
+
};
|
|
17133
|
+
|
|
17016
17134
|
// src/sdk/ws-client.ts
|
|
17017
17135
|
import { io } from "socket.io-client";
|
|
17018
17136
|
var useWsClient = (config) => new WsClient(config);
|
|
@@ -17099,6 +17217,7 @@ var WsClient = class {
|
|
|
17099
17217
|
var apiDefinitions = {
|
|
17100
17218
|
videos: useVideosApi(),
|
|
17101
17219
|
workflows: useWorkflowsApi(),
|
|
17220
|
+
workflowVersions: useWorkflowVersionsApi(),
|
|
17102
17221
|
storage: useStorageApi(),
|
|
17103
17222
|
stacks: useStacksApi(),
|
|
17104
17223
|
poses: usePosesApi(),
|
|
@@ -17297,13 +17416,7 @@ export {
|
|
|
17297
17416
|
FluxKontextDevV1ResponseKind,
|
|
17298
17417
|
FluxKontextDevV1ResponseStatus,
|
|
17299
17418
|
FluxKontextPrepareDatasetOutputDtoKind,
|
|
17300
|
-
FluxKontextPrepareDatasetV1ResponseKind,
|
|
17301
|
-
FluxKontextPrepareDatasetV1ResponseStatus,
|
|
17302
17419
|
FluxKontextTrainOutputDtoKind,
|
|
17303
|
-
FluxKontextTrainV1ResponseKind,
|
|
17304
|
-
FluxKontextTrainV1ResponseStatus,
|
|
17305
|
-
FluxKontextV1ResponseKind,
|
|
17306
|
-
FluxKontextV1ResponseStatus,
|
|
17307
17420
|
GPTV1InputModel,
|
|
17308
17421
|
GPTV2AssistantMessageDtoRole,
|
|
17309
17422
|
GPTV2DeveloperMessageDtoRole,
|
|
@@ -17532,9 +17645,7 @@ export {
|
|
|
17532
17645
|
SeedV1ResponseStatus,
|
|
17533
17646
|
SeedanceV1FastV1ResponseKind,
|
|
17534
17647
|
SeedanceV1FastV1ResponseStatus,
|
|
17535
|
-
SeedanceV1InputAspectRatio,
|
|
17536
17648
|
SeedanceV1InputResolution,
|
|
17537
|
-
SeedanceV1InputType,
|
|
17538
17649
|
SeedanceV1LightV1ResponseKind,
|
|
17539
17650
|
SeedanceV1LightV1ResponseStatus,
|
|
17540
17651
|
SeedanceV1ProV1ResponseKind,
|
|
@@ -17543,6 +17654,15 @@ export {
|
|
|
17543
17654
|
Seedream3V1InputSize,
|
|
17544
17655
|
Seedream3V1ResponseKind,
|
|
17545
17656
|
Seedream3V1ResponseStatus,
|
|
17657
|
+
Seedream45EditV1InputHeight,
|
|
17658
|
+
Seedream45EditV1InputOptimizePromptOptions,
|
|
17659
|
+
Seedream45EditV1InputWidth,
|
|
17660
|
+
Seedream45EditV1ResponseKind,
|
|
17661
|
+
Seedream45EditV1ResponseStatus,
|
|
17662
|
+
Seedream45T2IV1InputHeight,
|
|
17663
|
+
Seedream45T2IV1InputWidth,
|
|
17664
|
+
Seedream45T2iV1ResponseKind,
|
|
17665
|
+
Seedream45T2iV1ResponseStatus,
|
|
17546
17666
|
Seedream4EditV1InputOptimizePromptOptions,
|
|
17547
17667
|
Seedream4EditV1ResponseKind,
|
|
17548
17668
|
Seedream4EditV1ResponseStatus,
|
|
@@ -17553,7 +17673,6 @@ export {
|
|
|
17553
17673
|
SegmentAnythingMaskV1ResponseKind,
|
|
17554
17674
|
SegmentAnythingMaskV1ResponseStatus,
|
|
17555
17675
|
SelfAccountDtoType,
|
|
17556
|
-
ShareWithEveryoneControllerParamsDtoAccess,
|
|
17557
17676
|
ShareWithEveryoneControllerParamsDtoAccessItem,
|
|
17558
17677
|
SharedAccessEntryDtoRelationsItem,
|
|
17559
17678
|
SharedAccessResponseDtoPublicAccessItem,
|