@openloaf-saas/sdk 0.1.38 → 0.1.40
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.ts +880 -21
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -736,6 +736,356 @@ declare class SaaSContract {
|
|
|
736
736
|
updatedAt?: string | undefined;
|
|
737
737
|
};
|
|
738
738
|
}>;
|
|
739
|
+
readonly v3ChatCapabilities: Endpoint<void, {
|
|
740
|
+
success: true;
|
|
741
|
+
data: {
|
|
742
|
+
category: string;
|
|
743
|
+
features: {
|
|
744
|
+
id: string;
|
|
745
|
+
displayName: string;
|
|
746
|
+
description: string;
|
|
747
|
+
variants: {
|
|
748
|
+
id: string;
|
|
749
|
+
featureTabName: string;
|
|
750
|
+
creditsPerCall: number;
|
|
751
|
+
billingType: string;
|
|
752
|
+
minMembershipLevel: string;
|
|
753
|
+
maxBatchSize: number;
|
|
754
|
+
resourceConstraints: {
|
|
755
|
+
maxFileSize: number;
|
|
756
|
+
maxFiles: number;
|
|
757
|
+
acceptedFormats: string[];
|
|
758
|
+
requiresUpload: boolean;
|
|
759
|
+
maxResolution?: number | undefined;
|
|
760
|
+
precheck?: {
|
|
761
|
+
type: string;
|
|
762
|
+
description: string;
|
|
763
|
+
} | undefined;
|
|
764
|
+
} | null;
|
|
765
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
766
|
+
isAsync: boolean;
|
|
767
|
+
paramsSchema: ({
|
|
768
|
+
key: string;
|
|
769
|
+
label: string;
|
|
770
|
+
type: "select";
|
|
771
|
+
default?: unknown;
|
|
772
|
+
group?: "primary" | "advanced" | undefined;
|
|
773
|
+
visibleWhen?: unknown;
|
|
774
|
+
clientOnly?: boolean | undefined;
|
|
775
|
+
hint?: string | undefined;
|
|
776
|
+
required?: boolean | undefined;
|
|
777
|
+
options?: {
|
|
778
|
+
value: string | number | boolean;
|
|
779
|
+
label: string;
|
|
780
|
+
thumbnail?: string | undefined;
|
|
781
|
+
}[] | undefined;
|
|
782
|
+
catalog?: string | undefined;
|
|
783
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
784
|
+
searchable?: boolean | undefined;
|
|
785
|
+
} | {
|
|
786
|
+
key: string;
|
|
787
|
+
label: string;
|
|
788
|
+
type: "tab";
|
|
789
|
+
options: {
|
|
790
|
+
value: string | number | boolean;
|
|
791
|
+
label: string;
|
|
792
|
+
thumbnail?: string | undefined;
|
|
793
|
+
}[];
|
|
794
|
+
default?: unknown;
|
|
795
|
+
group?: "primary" | "advanced" | undefined;
|
|
796
|
+
visibleWhen?: unknown;
|
|
797
|
+
clientOnly?: boolean | undefined;
|
|
798
|
+
hint?: string | undefined;
|
|
799
|
+
required?: boolean | undefined;
|
|
800
|
+
} | {
|
|
801
|
+
key: string;
|
|
802
|
+
label: string;
|
|
803
|
+
type: "boolean";
|
|
804
|
+
default?: unknown;
|
|
805
|
+
group?: "primary" | "advanced" | undefined;
|
|
806
|
+
visibleWhen?: unknown;
|
|
807
|
+
clientOnly?: boolean | undefined;
|
|
808
|
+
hint?: string | undefined;
|
|
809
|
+
required?: boolean | undefined;
|
|
810
|
+
} | {
|
|
811
|
+
key: string;
|
|
812
|
+
label: string;
|
|
813
|
+
type: "text";
|
|
814
|
+
default?: unknown;
|
|
815
|
+
group?: "primary" | "advanced" | undefined;
|
|
816
|
+
visibleWhen?: unknown;
|
|
817
|
+
clientOnly?: boolean | undefined;
|
|
818
|
+
hint?: string | undefined;
|
|
819
|
+
required?: boolean | undefined;
|
|
820
|
+
multiline?: boolean | undefined;
|
|
821
|
+
placeholder?: string | undefined;
|
|
822
|
+
minLength?: number | undefined;
|
|
823
|
+
maxLength?: number | undefined;
|
|
824
|
+
} | {
|
|
825
|
+
key: string;
|
|
826
|
+
label: string;
|
|
827
|
+
type: "slider";
|
|
828
|
+
min: number;
|
|
829
|
+
max: number;
|
|
830
|
+
default?: unknown;
|
|
831
|
+
group?: "primary" | "advanced" | undefined;
|
|
832
|
+
visibleWhen?: unknown;
|
|
833
|
+
clientOnly?: boolean | undefined;
|
|
834
|
+
hint?: string | undefined;
|
|
835
|
+
required?: boolean | undefined;
|
|
836
|
+
step?: number | undefined;
|
|
837
|
+
} | {
|
|
838
|
+
key: string;
|
|
839
|
+
label: string;
|
|
840
|
+
type: "number";
|
|
841
|
+
default?: unknown;
|
|
842
|
+
group?: "primary" | "advanced" | undefined;
|
|
843
|
+
visibleWhen?: unknown;
|
|
844
|
+
clientOnly?: boolean | undefined;
|
|
845
|
+
hint?: string | undefined;
|
|
846
|
+
required?: boolean | undefined;
|
|
847
|
+
min?: number | undefined;
|
|
848
|
+
max?: number | undefined;
|
|
849
|
+
step?: number | undefined;
|
|
850
|
+
})[];
|
|
851
|
+
inputSlots: {
|
|
852
|
+
role: string;
|
|
853
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
854
|
+
label: string;
|
|
855
|
+
key?: string | undefined;
|
|
856
|
+
required?: boolean | undefined;
|
|
857
|
+
minCount?: number | undefined;
|
|
858
|
+
maxCount?: number | undefined;
|
|
859
|
+
placeholder?: string | undefined;
|
|
860
|
+
multiline?: boolean | undefined;
|
|
861
|
+
minLength?: number | undefined;
|
|
862
|
+
maxLength?: number | undefined;
|
|
863
|
+
maxFileSize?: number | undefined;
|
|
864
|
+
acceptFormats?: string[] | undefined;
|
|
865
|
+
minResolution?: number | undefined;
|
|
866
|
+
maxResolution?: number | undefined;
|
|
867
|
+
minDuration?: number | undefined;
|
|
868
|
+
maxDuration?: number | undefined;
|
|
869
|
+
hint?: string | undefined;
|
|
870
|
+
sharedGroup?: string | undefined;
|
|
871
|
+
sharedMaxCount?: number | undefined;
|
|
872
|
+
}[];
|
|
873
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
874
|
+
endpoint?: string | undefined;
|
|
875
|
+
tags?: string[] | undefined;
|
|
876
|
+
familyId?: string | undefined;
|
|
877
|
+
}[];
|
|
878
|
+
}[];
|
|
879
|
+
updatedAt?: string | undefined;
|
|
880
|
+
};
|
|
881
|
+
}>;
|
|
882
|
+
readonly v3ToolsCapabilities: Endpoint<void, {
|
|
883
|
+
success: true;
|
|
884
|
+
data: {
|
|
885
|
+
category: string;
|
|
886
|
+
features: {
|
|
887
|
+
id: string;
|
|
888
|
+
displayName: string;
|
|
889
|
+
description: string;
|
|
890
|
+
variants: {
|
|
891
|
+
id: string;
|
|
892
|
+
featureTabName: string;
|
|
893
|
+
creditsPerCall: number;
|
|
894
|
+
billingType: string;
|
|
895
|
+
minMembershipLevel: string;
|
|
896
|
+
maxBatchSize: number;
|
|
897
|
+
resourceConstraints: {
|
|
898
|
+
maxFileSize: number;
|
|
899
|
+
maxFiles: number;
|
|
900
|
+
acceptedFormats: string[];
|
|
901
|
+
requiresUpload: boolean;
|
|
902
|
+
maxResolution?: number | undefined;
|
|
903
|
+
precheck?: {
|
|
904
|
+
type: string;
|
|
905
|
+
description: string;
|
|
906
|
+
} | undefined;
|
|
907
|
+
} | null;
|
|
908
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
909
|
+
isAsync: boolean;
|
|
910
|
+
paramsSchema: ({
|
|
911
|
+
key: string;
|
|
912
|
+
label: string;
|
|
913
|
+
type: "select";
|
|
914
|
+
default?: unknown;
|
|
915
|
+
group?: "primary" | "advanced" | undefined;
|
|
916
|
+
visibleWhen?: unknown;
|
|
917
|
+
clientOnly?: boolean | undefined;
|
|
918
|
+
hint?: string | undefined;
|
|
919
|
+
required?: boolean | undefined;
|
|
920
|
+
options?: {
|
|
921
|
+
value: string | number | boolean;
|
|
922
|
+
label: string;
|
|
923
|
+
thumbnail?: string | undefined;
|
|
924
|
+
}[] | undefined;
|
|
925
|
+
catalog?: string | undefined;
|
|
926
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
927
|
+
searchable?: boolean | undefined;
|
|
928
|
+
} | {
|
|
929
|
+
key: string;
|
|
930
|
+
label: string;
|
|
931
|
+
type: "tab";
|
|
932
|
+
options: {
|
|
933
|
+
value: string | number | boolean;
|
|
934
|
+
label: string;
|
|
935
|
+
thumbnail?: string | undefined;
|
|
936
|
+
}[];
|
|
937
|
+
default?: unknown;
|
|
938
|
+
group?: "primary" | "advanced" | undefined;
|
|
939
|
+
visibleWhen?: unknown;
|
|
940
|
+
clientOnly?: boolean | undefined;
|
|
941
|
+
hint?: string | undefined;
|
|
942
|
+
required?: boolean | undefined;
|
|
943
|
+
} | {
|
|
944
|
+
key: string;
|
|
945
|
+
label: string;
|
|
946
|
+
type: "boolean";
|
|
947
|
+
default?: unknown;
|
|
948
|
+
group?: "primary" | "advanced" | undefined;
|
|
949
|
+
visibleWhen?: unknown;
|
|
950
|
+
clientOnly?: boolean | undefined;
|
|
951
|
+
hint?: string | undefined;
|
|
952
|
+
required?: boolean | undefined;
|
|
953
|
+
} | {
|
|
954
|
+
key: string;
|
|
955
|
+
label: string;
|
|
956
|
+
type: "text";
|
|
957
|
+
default?: unknown;
|
|
958
|
+
group?: "primary" | "advanced" | undefined;
|
|
959
|
+
visibleWhen?: unknown;
|
|
960
|
+
clientOnly?: boolean | undefined;
|
|
961
|
+
hint?: string | undefined;
|
|
962
|
+
required?: boolean | undefined;
|
|
963
|
+
multiline?: boolean | undefined;
|
|
964
|
+
placeholder?: string | undefined;
|
|
965
|
+
minLength?: number | undefined;
|
|
966
|
+
maxLength?: number | undefined;
|
|
967
|
+
} | {
|
|
968
|
+
key: string;
|
|
969
|
+
label: string;
|
|
970
|
+
type: "slider";
|
|
971
|
+
min: number;
|
|
972
|
+
max: number;
|
|
973
|
+
default?: unknown;
|
|
974
|
+
group?: "primary" | "advanced" | undefined;
|
|
975
|
+
visibleWhen?: unknown;
|
|
976
|
+
clientOnly?: boolean | undefined;
|
|
977
|
+
hint?: string | undefined;
|
|
978
|
+
required?: boolean | undefined;
|
|
979
|
+
step?: number | undefined;
|
|
980
|
+
} | {
|
|
981
|
+
key: string;
|
|
982
|
+
label: string;
|
|
983
|
+
type: "number";
|
|
984
|
+
default?: unknown;
|
|
985
|
+
group?: "primary" | "advanced" | undefined;
|
|
986
|
+
visibleWhen?: unknown;
|
|
987
|
+
clientOnly?: boolean | undefined;
|
|
988
|
+
hint?: string | undefined;
|
|
989
|
+
required?: boolean | undefined;
|
|
990
|
+
min?: number | undefined;
|
|
991
|
+
max?: number | undefined;
|
|
992
|
+
step?: number | undefined;
|
|
993
|
+
})[];
|
|
994
|
+
inputSlots: {
|
|
995
|
+
role: string;
|
|
996
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
997
|
+
label: string;
|
|
998
|
+
key?: string | undefined;
|
|
999
|
+
required?: boolean | undefined;
|
|
1000
|
+
minCount?: number | undefined;
|
|
1001
|
+
maxCount?: number | undefined;
|
|
1002
|
+
placeholder?: string | undefined;
|
|
1003
|
+
multiline?: boolean | undefined;
|
|
1004
|
+
minLength?: number | undefined;
|
|
1005
|
+
maxLength?: number | undefined;
|
|
1006
|
+
maxFileSize?: number | undefined;
|
|
1007
|
+
acceptFormats?: string[] | undefined;
|
|
1008
|
+
minResolution?: number | undefined;
|
|
1009
|
+
maxResolution?: number | undefined;
|
|
1010
|
+
minDuration?: number | undefined;
|
|
1011
|
+
maxDuration?: number | undefined;
|
|
1012
|
+
hint?: string | undefined;
|
|
1013
|
+
sharedGroup?: string | undefined;
|
|
1014
|
+
sharedMaxCount?: number | undefined;
|
|
1015
|
+
}[];
|
|
1016
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1017
|
+
endpoint?: string | undefined;
|
|
1018
|
+
tags?: string[] | undefined;
|
|
1019
|
+
familyId?: string | undefined;
|
|
1020
|
+
}[];
|
|
1021
|
+
}[];
|
|
1022
|
+
updatedAt?: string | undefined;
|
|
1023
|
+
};
|
|
1024
|
+
}>;
|
|
1025
|
+
readonly v3CapabilitiesOverview: Endpoint<{
|
|
1026
|
+
category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
|
|
1027
|
+
} | undefined, {
|
|
1028
|
+
success: true;
|
|
1029
|
+
data: {
|
|
1030
|
+
feature: string;
|
|
1031
|
+
description: string;
|
|
1032
|
+
category: string;
|
|
1033
|
+
variants: {
|
|
1034
|
+
id: string;
|
|
1035
|
+
name: string;
|
|
1036
|
+
description: string;
|
|
1037
|
+
}[];
|
|
1038
|
+
}[];
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
|
|
1041
|
+
success: true;
|
|
1042
|
+
data: {
|
|
1043
|
+
feature: string;
|
|
1044
|
+
featureDescription: string;
|
|
1045
|
+
category: string;
|
|
1046
|
+
variantId: string;
|
|
1047
|
+
variantName: string;
|
|
1048
|
+
creditsPerCall: number;
|
|
1049
|
+
billingType: string;
|
|
1050
|
+
minMembershipLevel: string;
|
|
1051
|
+
invocation: {
|
|
1052
|
+
method: string;
|
|
1053
|
+
endpoint: string;
|
|
1054
|
+
contentType: string;
|
|
1055
|
+
authRequired: boolean;
|
|
1056
|
+
executionMode: string;
|
|
1057
|
+
bodyTemplate: Record<string, unknown>;
|
|
1058
|
+
};
|
|
1059
|
+
inputs: {
|
|
1060
|
+
role: string;
|
|
1061
|
+
accept: string;
|
|
1062
|
+
label: string;
|
|
1063
|
+
description: string;
|
|
1064
|
+
required: boolean;
|
|
1065
|
+
maxLength?: number | undefined;
|
|
1066
|
+
acceptFormats?: string[] | undefined;
|
|
1067
|
+
}[];
|
|
1068
|
+
params: {
|
|
1069
|
+
key: string;
|
|
1070
|
+
type: string;
|
|
1071
|
+
label: string;
|
|
1072
|
+
description: string;
|
|
1073
|
+
advanced: boolean;
|
|
1074
|
+
required: boolean;
|
|
1075
|
+
default?: unknown;
|
|
1076
|
+
options?: {
|
|
1077
|
+
value: string | number | boolean;
|
|
1078
|
+
label: string;
|
|
1079
|
+
}[] | undefined;
|
|
1080
|
+
}[];
|
|
1081
|
+
};
|
|
1082
|
+
}>;
|
|
1083
|
+
readonly v3TextChat: Endpoint<{
|
|
1084
|
+
[x: string]: unknown;
|
|
1085
|
+
variant: string;
|
|
1086
|
+
messages: Record<string, unknown>[];
|
|
1087
|
+
stream?: boolean | undefined;
|
|
1088
|
+
}, unknown>;
|
|
739
1089
|
readonly v3TextGenerate: Endpoint<{
|
|
740
1090
|
feature: string;
|
|
741
1091
|
variant: string;
|
|
@@ -840,6 +1190,15 @@ declare class SaaSContract {
|
|
|
840
1190
|
precheck: "passed" | "skipped";
|
|
841
1191
|
};
|
|
842
1192
|
}>;
|
|
1193
|
+
readonly v3ToolExecute: Endpoint<{
|
|
1194
|
+
feature: string;
|
|
1195
|
+
variant: string;
|
|
1196
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1197
|
+
params?: Record<string, unknown> | undefined;
|
|
1198
|
+
}, {
|
|
1199
|
+
success: true;
|
|
1200
|
+
data: unknown;
|
|
1201
|
+
}>;
|
|
843
1202
|
};
|
|
844
1203
|
/** AI tools endpoints. */
|
|
845
1204
|
readonly aiTools: {
|
|
@@ -1447,18 +1806,306 @@ declare const aiEndpoints: {
|
|
|
1447
1806
|
supportsMulti?: boolean | undefined;
|
|
1448
1807
|
supportsAudio?: boolean | undefined;
|
|
1449
1808
|
} | undefined;
|
|
1450
|
-
} | undefined;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
}[];
|
|
1811
|
+
apiUrl?: string | undefined;
|
|
1812
|
+
authType?: string | undefined;
|
|
1813
|
+
websiteUrl?: string | null | undefined;
|
|
1814
|
+
docUrl?: string | null | undefined;
|
|
1815
|
+
}[];
|
|
1816
|
+
updatedAt?: string | undefined;
|
|
1817
|
+
};
|
|
1818
|
+
}>;
|
|
1819
|
+
/** Get image capabilities (features + variants). */
|
|
1820
|
+
readonly v3ImageCapabilities: Endpoint<void, {
|
|
1821
|
+
success: true;
|
|
1822
|
+
data: {
|
|
1823
|
+
category: string;
|
|
1824
|
+
features: {
|
|
1825
|
+
id: string;
|
|
1826
|
+
displayName: string;
|
|
1827
|
+
description: string;
|
|
1828
|
+
variants: {
|
|
1829
|
+
id: string;
|
|
1830
|
+
featureTabName: string;
|
|
1831
|
+
creditsPerCall: number;
|
|
1832
|
+
billingType: string;
|
|
1833
|
+
minMembershipLevel: string;
|
|
1834
|
+
maxBatchSize: number;
|
|
1835
|
+
resourceConstraints: {
|
|
1836
|
+
maxFileSize: number;
|
|
1837
|
+
maxFiles: number;
|
|
1838
|
+
acceptedFormats: string[];
|
|
1839
|
+
requiresUpload: boolean;
|
|
1840
|
+
maxResolution?: number | undefined;
|
|
1841
|
+
precheck?: {
|
|
1842
|
+
type: string;
|
|
1843
|
+
description: string;
|
|
1844
|
+
} | undefined;
|
|
1845
|
+
} | null;
|
|
1846
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1847
|
+
isAsync: boolean;
|
|
1848
|
+
paramsSchema: ({
|
|
1849
|
+
key: string;
|
|
1850
|
+
label: string;
|
|
1851
|
+
type: "select";
|
|
1852
|
+
default?: unknown;
|
|
1853
|
+
group?: "primary" | "advanced" | undefined;
|
|
1854
|
+
visibleWhen?: unknown;
|
|
1855
|
+
clientOnly?: boolean | undefined;
|
|
1856
|
+
hint?: string | undefined;
|
|
1857
|
+
required?: boolean | undefined;
|
|
1858
|
+
options?: {
|
|
1859
|
+
value: string | number | boolean;
|
|
1860
|
+
label: string;
|
|
1861
|
+
thumbnail?: string | undefined;
|
|
1862
|
+
}[] | undefined;
|
|
1863
|
+
catalog?: string | undefined;
|
|
1864
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
1865
|
+
searchable?: boolean | undefined;
|
|
1866
|
+
} | {
|
|
1867
|
+
key: string;
|
|
1868
|
+
label: string;
|
|
1869
|
+
type: "tab";
|
|
1870
|
+
options: {
|
|
1871
|
+
value: string | number | boolean;
|
|
1872
|
+
label: string;
|
|
1873
|
+
thumbnail?: string | undefined;
|
|
1874
|
+
}[];
|
|
1875
|
+
default?: unknown;
|
|
1876
|
+
group?: "primary" | "advanced" | undefined;
|
|
1877
|
+
visibleWhen?: unknown;
|
|
1878
|
+
clientOnly?: boolean | undefined;
|
|
1879
|
+
hint?: string | undefined;
|
|
1880
|
+
required?: boolean | undefined;
|
|
1881
|
+
} | {
|
|
1882
|
+
key: string;
|
|
1883
|
+
label: string;
|
|
1884
|
+
type: "boolean";
|
|
1885
|
+
default?: unknown;
|
|
1886
|
+
group?: "primary" | "advanced" | undefined;
|
|
1887
|
+
visibleWhen?: unknown;
|
|
1888
|
+
clientOnly?: boolean | undefined;
|
|
1889
|
+
hint?: string | undefined;
|
|
1890
|
+
required?: boolean | undefined;
|
|
1891
|
+
} | {
|
|
1892
|
+
key: string;
|
|
1893
|
+
label: string;
|
|
1894
|
+
type: "text";
|
|
1895
|
+
default?: unknown;
|
|
1896
|
+
group?: "primary" | "advanced" | undefined;
|
|
1897
|
+
visibleWhen?: unknown;
|
|
1898
|
+
clientOnly?: boolean | undefined;
|
|
1899
|
+
hint?: string | undefined;
|
|
1900
|
+
required?: boolean | undefined;
|
|
1901
|
+
multiline?: boolean | undefined;
|
|
1902
|
+
placeholder?: string | undefined;
|
|
1903
|
+
minLength?: number | undefined;
|
|
1904
|
+
maxLength?: number | undefined;
|
|
1905
|
+
} | {
|
|
1906
|
+
key: string;
|
|
1907
|
+
label: string;
|
|
1908
|
+
type: "slider";
|
|
1909
|
+
min: number;
|
|
1910
|
+
max: number;
|
|
1911
|
+
default?: unknown;
|
|
1912
|
+
group?: "primary" | "advanced" | undefined;
|
|
1913
|
+
visibleWhen?: unknown;
|
|
1914
|
+
clientOnly?: boolean | undefined;
|
|
1915
|
+
hint?: string | undefined;
|
|
1916
|
+
required?: boolean | undefined;
|
|
1917
|
+
step?: number | undefined;
|
|
1918
|
+
} | {
|
|
1919
|
+
key: string;
|
|
1920
|
+
label: string;
|
|
1921
|
+
type: "number";
|
|
1922
|
+
default?: unknown;
|
|
1923
|
+
group?: "primary" | "advanced" | undefined;
|
|
1924
|
+
visibleWhen?: unknown;
|
|
1925
|
+
clientOnly?: boolean | undefined;
|
|
1926
|
+
hint?: string | undefined;
|
|
1927
|
+
required?: boolean | undefined;
|
|
1928
|
+
min?: number | undefined;
|
|
1929
|
+
max?: number | undefined;
|
|
1930
|
+
step?: number | undefined;
|
|
1931
|
+
})[];
|
|
1932
|
+
inputSlots: {
|
|
1933
|
+
role: string;
|
|
1934
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
1935
|
+
label: string;
|
|
1936
|
+
key?: string | undefined;
|
|
1937
|
+
required?: boolean | undefined;
|
|
1938
|
+
minCount?: number | undefined;
|
|
1939
|
+
maxCount?: number | undefined;
|
|
1940
|
+
placeholder?: string | undefined;
|
|
1941
|
+
multiline?: boolean | undefined;
|
|
1942
|
+
minLength?: number | undefined;
|
|
1943
|
+
maxLength?: number | undefined;
|
|
1944
|
+
maxFileSize?: number | undefined;
|
|
1945
|
+
acceptFormats?: string[] | undefined;
|
|
1946
|
+
minResolution?: number | undefined;
|
|
1947
|
+
maxResolution?: number | undefined;
|
|
1948
|
+
minDuration?: number | undefined;
|
|
1949
|
+
maxDuration?: number | undefined;
|
|
1950
|
+
hint?: string | undefined;
|
|
1951
|
+
sharedGroup?: string | undefined;
|
|
1952
|
+
sharedMaxCount?: number | undefined;
|
|
1953
|
+
}[];
|
|
1954
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
1955
|
+
endpoint?: string | undefined;
|
|
1956
|
+
tags?: string[] | undefined;
|
|
1957
|
+
familyId?: string | undefined;
|
|
1958
|
+
}[];
|
|
1959
|
+
}[];
|
|
1960
|
+
updatedAt?: string | undefined;
|
|
1961
|
+
};
|
|
1962
|
+
}>;
|
|
1963
|
+
/** Get video capabilities (features + variants). */
|
|
1964
|
+
readonly v3VideoCapabilities: Endpoint<void, {
|
|
1965
|
+
success: true;
|
|
1966
|
+
data: {
|
|
1967
|
+
category: string;
|
|
1968
|
+
features: {
|
|
1969
|
+
id: string;
|
|
1970
|
+
displayName: string;
|
|
1971
|
+
description: string;
|
|
1972
|
+
variants: {
|
|
1973
|
+
id: string;
|
|
1974
|
+
featureTabName: string;
|
|
1975
|
+
creditsPerCall: number;
|
|
1976
|
+
billingType: string;
|
|
1977
|
+
minMembershipLevel: string;
|
|
1978
|
+
maxBatchSize: number;
|
|
1979
|
+
resourceConstraints: {
|
|
1980
|
+
maxFileSize: number;
|
|
1981
|
+
maxFiles: number;
|
|
1982
|
+
acceptedFormats: string[];
|
|
1983
|
+
requiresUpload: boolean;
|
|
1984
|
+
maxResolution?: number | undefined;
|
|
1985
|
+
precheck?: {
|
|
1986
|
+
type: string;
|
|
1987
|
+
description: string;
|
|
1988
|
+
} | undefined;
|
|
1989
|
+
} | null;
|
|
1990
|
+
resultType: "text" | "image" | "audio" | "video";
|
|
1991
|
+
isAsync: boolean;
|
|
1992
|
+
paramsSchema: ({
|
|
1993
|
+
key: string;
|
|
1994
|
+
label: string;
|
|
1995
|
+
type: "select";
|
|
1996
|
+
default?: unknown;
|
|
1997
|
+
group?: "primary" | "advanced" | undefined;
|
|
1998
|
+
visibleWhen?: unknown;
|
|
1999
|
+
clientOnly?: boolean | undefined;
|
|
2000
|
+
hint?: string | undefined;
|
|
2001
|
+
required?: boolean | undefined;
|
|
2002
|
+
options?: {
|
|
2003
|
+
value: string | number | boolean;
|
|
2004
|
+
label: string;
|
|
2005
|
+
thumbnail?: string | undefined;
|
|
2006
|
+
}[] | undefined;
|
|
2007
|
+
catalog?: string | undefined;
|
|
2008
|
+
display?: "dropdown" | "grid" | "pills" | undefined;
|
|
2009
|
+
searchable?: boolean | undefined;
|
|
2010
|
+
} | {
|
|
2011
|
+
key: string;
|
|
2012
|
+
label: string;
|
|
2013
|
+
type: "tab";
|
|
2014
|
+
options: {
|
|
2015
|
+
value: string | number | boolean;
|
|
2016
|
+
label: string;
|
|
2017
|
+
thumbnail?: string | undefined;
|
|
2018
|
+
}[];
|
|
2019
|
+
default?: unknown;
|
|
2020
|
+
group?: "primary" | "advanced" | undefined;
|
|
2021
|
+
visibleWhen?: unknown;
|
|
2022
|
+
clientOnly?: boolean | undefined;
|
|
2023
|
+
hint?: string | undefined;
|
|
2024
|
+
required?: boolean | undefined;
|
|
2025
|
+
} | {
|
|
2026
|
+
key: string;
|
|
2027
|
+
label: string;
|
|
2028
|
+
type: "boolean";
|
|
2029
|
+
default?: unknown;
|
|
2030
|
+
group?: "primary" | "advanced" | undefined;
|
|
2031
|
+
visibleWhen?: unknown;
|
|
2032
|
+
clientOnly?: boolean | undefined;
|
|
2033
|
+
hint?: string | undefined;
|
|
2034
|
+
required?: boolean | undefined;
|
|
2035
|
+
} | {
|
|
2036
|
+
key: string;
|
|
2037
|
+
label: string;
|
|
2038
|
+
type: "text";
|
|
2039
|
+
default?: unknown;
|
|
2040
|
+
group?: "primary" | "advanced" | undefined;
|
|
2041
|
+
visibleWhen?: unknown;
|
|
2042
|
+
clientOnly?: boolean | undefined;
|
|
2043
|
+
hint?: string | undefined;
|
|
2044
|
+
required?: boolean | undefined;
|
|
2045
|
+
multiline?: boolean | undefined;
|
|
2046
|
+
placeholder?: string | undefined;
|
|
2047
|
+
minLength?: number | undefined;
|
|
2048
|
+
maxLength?: number | undefined;
|
|
2049
|
+
} | {
|
|
2050
|
+
key: string;
|
|
2051
|
+
label: string;
|
|
2052
|
+
type: "slider";
|
|
2053
|
+
min: number;
|
|
2054
|
+
max: number;
|
|
2055
|
+
default?: unknown;
|
|
2056
|
+
group?: "primary" | "advanced" | undefined;
|
|
2057
|
+
visibleWhen?: unknown;
|
|
2058
|
+
clientOnly?: boolean | undefined;
|
|
2059
|
+
hint?: string | undefined;
|
|
2060
|
+
required?: boolean | undefined;
|
|
2061
|
+
step?: number | undefined;
|
|
2062
|
+
} | {
|
|
2063
|
+
key: string;
|
|
2064
|
+
label: string;
|
|
2065
|
+
type: "number";
|
|
2066
|
+
default?: unknown;
|
|
2067
|
+
group?: "primary" | "advanced" | undefined;
|
|
2068
|
+
visibleWhen?: unknown;
|
|
2069
|
+
clientOnly?: boolean | undefined;
|
|
2070
|
+
hint?: string | undefined;
|
|
2071
|
+
required?: boolean | undefined;
|
|
2072
|
+
min?: number | undefined;
|
|
2073
|
+
max?: number | undefined;
|
|
2074
|
+
step?: number | undefined;
|
|
2075
|
+
})[];
|
|
2076
|
+
inputSlots: {
|
|
2077
|
+
role: string;
|
|
2078
|
+
accept: "text" | "file" | "image" | "audio" | "video";
|
|
2079
|
+
label: string;
|
|
2080
|
+
key?: string | undefined;
|
|
2081
|
+
required?: boolean | undefined;
|
|
2082
|
+
minCount?: number | undefined;
|
|
2083
|
+
maxCount?: number | undefined;
|
|
2084
|
+
placeholder?: string | undefined;
|
|
2085
|
+
multiline?: boolean | undefined;
|
|
2086
|
+
minLength?: number | undefined;
|
|
2087
|
+
maxLength?: number | undefined;
|
|
2088
|
+
maxFileSize?: number | undefined;
|
|
2089
|
+
acceptFormats?: string[] | undefined;
|
|
2090
|
+
minResolution?: number | undefined;
|
|
2091
|
+
maxResolution?: number | undefined;
|
|
2092
|
+
minDuration?: number | undefined;
|
|
2093
|
+
maxDuration?: number | undefined;
|
|
2094
|
+
hint?: string | undefined;
|
|
2095
|
+
sharedGroup?: string | undefined;
|
|
2096
|
+
sharedMaxCount?: number | undefined;
|
|
2097
|
+
}[];
|
|
2098
|
+
executionMode?: "task" | "streaming" | "sync" | undefined;
|
|
2099
|
+
endpoint?: string | undefined;
|
|
2100
|
+
tags?: string[] | undefined;
|
|
2101
|
+
familyId?: string | undefined;
|
|
1451
2102
|
}[];
|
|
1452
|
-
apiUrl?: string | undefined;
|
|
1453
|
-
authType?: string | undefined;
|
|
1454
|
-
websiteUrl?: string | null | undefined;
|
|
1455
|
-
docUrl?: string | null | undefined;
|
|
1456
2103
|
}[];
|
|
1457
2104
|
updatedAt?: string | undefined;
|
|
1458
2105
|
};
|
|
1459
2106
|
}>;
|
|
1460
|
-
/** Get
|
|
1461
|
-
readonly
|
|
2107
|
+
/** Get audio capabilities (features + variants). */
|
|
2108
|
+
readonly v3AudioCapabilities: Endpoint<void, {
|
|
1462
2109
|
success: true;
|
|
1463
2110
|
data: {
|
|
1464
2111
|
category: string;
|
|
@@ -1601,8 +2248,8 @@ declare const aiEndpoints: {
|
|
|
1601
2248
|
updatedAt?: string | undefined;
|
|
1602
2249
|
};
|
|
1603
2250
|
}>;
|
|
1604
|
-
/** Get
|
|
1605
|
-
readonly
|
|
2251
|
+
/** Get text capabilities (features + variants). */
|
|
2252
|
+
readonly v3TextCapabilities: Endpoint<void, {
|
|
1606
2253
|
success: true;
|
|
1607
2254
|
data: {
|
|
1608
2255
|
category: string;
|
|
@@ -1745,8 +2392,8 @@ declare const aiEndpoints: {
|
|
|
1745
2392
|
updatedAt?: string | undefined;
|
|
1746
2393
|
};
|
|
1747
2394
|
}>;
|
|
1748
|
-
/** Get
|
|
1749
|
-
readonly
|
|
2395
|
+
/** Get chat capabilities (features + variants). */
|
|
2396
|
+
readonly v3ChatCapabilities: Endpoint<void, {
|
|
1750
2397
|
success: true;
|
|
1751
2398
|
data: {
|
|
1752
2399
|
category: string;
|
|
@@ -1889,8 +2536,8 @@ declare const aiEndpoints: {
|
|
|
1889
2536
|
updatedAt?: string | undefined;
|
|
1890
2537
|
};
|
|
1891
2538
|
}>;
|
|
1892
|
-
/** Get
|
|
1893
|
-
readonly
|
|
2539
|
+
/** Get tools capabilities (features + variants). */
|
|
2540
|
+
readonly v3ToolsCapabilities: Endpoint<void, {
|
|
1894
2541
|
success: true;
|
|
1895
2542
|
data: {
|
|
1896
2543
|
category: string;
|
|
@@ -2033,6 +2680,73 @@ declare const aiEndpoints: {
|
|
|
2033
2680
|
updatedAt?: string | undefined;
|
|
2034
2681
|
};
|
|
2035
2682
|
}>;
|
|
2683
|
+
/** Get capabilities overview (simplified, for AI agent discovery). */
|
|
2684
|
+
readonly v3CapabilitiesOverview: Endpoint<{
|
|
2685
|
+
category?: "text" | "image" | "audio" | "video" | "tools" | undefined;
|
|
2686
|
+
} | undefined, {
|
|
2687
|
+
success: true;
|
|
2688
|
+
data: {
|
|
2689
|
+
feature: string;
|
|
2690
|
+
description: string;
|
|
2691
|
+
category: string;
|
|
2692
|
+
variants: {
|
|
2693
|
+
id: string;
|
|
2694
|
+
name: string;
|
|
2695
|
+
description: string;
|
|
2696
|
+
}[];
|
|
2697
|
+
}[];
|
|
2698
|
+
}>;
|
|
2699
|
+
/** Get variant detail by ID (full params, inputs, invocation info). */
|
|
2700
|
+
readonly v3CapabilitiesDetail: (variantId: string) => Endpoint<void, {
|
|
2701
|
+
success: true;
|
|
2702
|
+
data: {
|
|
2703
|
+
feature: string;
|
|
2704
|
+
featureDescription: string;
|
|
2705
|
+
category: string;
|
|
2706
|
+
variantId: string;
|
|
2707
|
+
variantName: string;
|
|
2708
|
+
creditsPerCall: number;
|
|
2709
|
+
billingType: string;
|
|
2710
|
+
minMembershipLevel: string;
|
|
2711
|
+
invocation: {
|
|
2712
|
+
method: string;
|
|
2713
|
+
endpoint: string;
|
|
2714
|
+
contentType: string;
|
|
2715
|
+
authRequired: boolean;
|
|
2716
|
+
executionMode: string;
|
|
2717
|
+
bodyTemplate: Record<string, unknown>;
|
|
2718
|
+
};
|
|
2719
|
+
inputs: {
|
|
2720
|
+
role: string;
|
|
2721
|
+
accept: string;
|
|
2722
|
+
label: string;
|
|
2723
|
+
description: string;
|
|
2724
|
+
required: boolean;
|
|
2725
|
+
maxLength?: number | undefined;
|
|
2726
|
+
acceptFormats?: string[] | undefined;
|
|
2727
|
+
}[];
|
|
2728
|
+
params: {
|
|
2729
|
+
key: string;
|
|
2730
|
+
type: string;
|
|
2731
|
+
label: string;
|
|
2732
|
+
description: string;
|
|
2733
|
+
advanced: boolean;
|
|
2734
|
+
required: boolean;
|
|
2735
|
+
default?: unknown;
|
|
2736
|
+
options?: {
|
|
2737
|
+
value: string | number | boolean;
|
|
2738
|
+
label: string;
|
|
2739
|
+
}[] | undefined;
|
|
2740
|
+
}[];
|
|
2741
|
+
};
|
|
2742
|
+
}>;
|
|
2743
|
+
/** Submit a v3 text chat request (OpenAI-compatible, streaming SSE or JSON). */
|
|
2744
|
+
readonly v3TextChat: Endpoint<{
|
|
2745
|
+
[x: string]: unknown;
|
|
2746
|
+
variant: string;
|
|
2747
|
+
messages: Record<string, unknown>[];
|
|
2748
|
+
stream?: boolean | undefined;
|
|
2749
|
+
}, unknown>;
|
|
2036
2750
|
/** Submit a v3 text generate request (sync JSON or streaming SSE). */
|
|
2037
2751
|
readonly v3TextGenerate: Endpoint<{
|
|
2038
2752
|
feature: string;
|
|
@@ -2146,6 +2860,16 @@ declare const aiEndpoints: {
|
|
|
2146
2860
|
precheck: "passed" | "skipped";
|
|
2147
2861
|
};
|
|
2148
2862
|
}>;
|
|
2863
|
+
/** Execute a tool (e.g. webSearch). Returns sync JSON result. */
|
|
2864
|
+
readonly v3ToolExecute: Endpoint<{
|
|
2865
|
+
feature: string;
|
|
2866
|
+
variant: string;
|
|
2867
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2868
|
+
params?: Record<string, unknown> | undefined;
|
|
2869
|
+
}, {
|
|
2870
|
+
success: true;
|
|
2871
|
+
data: unknown;
|
|
2872
|
+
}>;
|
|
2149
2873
|
};
|
|
2150
2874
|
|
|
2151
2875
|
/** Optional client metadata shared by OpenAI-compatible chat requests. */
|
|
@@ -3897,6 +4621,92 @@ declare const v3UploadResponseSchema: z.ZodObject<{
|
|
|
3897
4621
|
}>;
|
|
3898
4622
|
}, z.core.$strip>;
|
|
3899
4623
|
}, z.core.$strip>;
|
|
4624
|
+
/** v3 text chat request body (OpenAI-compatible). */
|
|
4625
|
+
declare const v3TextChatRequestSchema: z.ZodObject<{
|
|
4626
|
+
variant: z.ZodString;
|
|
4627
|
+
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4628
|
+
stream: z.ZodOptional<z.ZodBoolean>;
|
|
4629
|
+
}, z.core.$loose>;
|
|
4630
|
+
/** v3 tool execute request body. */
|
|
4631
|
+
declare const v3ToolExecuteRequestSchema: z.ZodObject<{
|
|
4632
|
+
feature: z.ZodString;
|
|
4633
|
+
variant: z.ZodString;
|
|
4634
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4635
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4636
|
+
}, z.core.$strip>;
|
|
4637
|
+
/** v3 tool execute response. */
|
|
4638
|
+
declare const v3ToolExecuteResponseSchema: z.ZodObject<{
|
|
4639
|
+
success: z.ZodLiteral<true>;
|
|
4640
|
+
data: z.ZodUnknown;
|
|
4641
|
+
}, z.core.$strip>;
|
|
4642
|
+
/** Capabilities overview response. */
|
|
4643
|
+
declare const v3CapabilitiesOverviewResponseSchema: z.ZodObject<{
|
|
4644
|
+
success: z.ZodLiteral<true>;
|
|
4645
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4646
|
+
feature: z.ZodString;
|
|
4647
|
+
description: z.ZodString;
|
|
4648
|
+
category: z.ZodString;
|
|
4649
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
4650
|
+
id: z.ZodString;
|
|
4651
|
+
name: z.ZodString;
|
|
4652
|
+
description: z.ZodString;
|
|
4653
|
+
}, z.core.$strip>>;
|
|
4654
|
+
}, z.core.$strip>>;
|
|
4655
|
+
}, z.core.$strip>;
|
|
4656
|
+
/** Overview request (optional category query param). */
|
|
4657
|
+
declare const v3CapabilitiesOverviewRequestSchema: z.ZodOptional<z.ZodObject<{
|
|
4658
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
4659
|
+
text: "text";
|
|
4660
|
+
image: "image";
|
|
4661
|
+
audio: "audio";
|
|
4662
|
+
video: "video";
|
|
4663
|
+
tools: "tools";
|
|
4664
|
+
}>>;
|
|
4665
|
+
}, z.core.$strip>>;
|
|
4666
|
+
/** Capabilities detail response. */
|
|
4667
|
+
declare const v3CapabilitiesDetailResponseSchema: z.ZodObject<{
|
|
4668
|
+
success: z.ZodLiteral<true>;
|
|
4669
|
+
data: z.ZodObject<{
|
|
4670
|
+
feature: z.ZodString;
|
|
4671
|
+
featureDescription: z.ZodString;
|
|
4672
|
+
category: z.ZodString;
|
|
4673
|
+
variantId: z.ZodString;
|
|
4674
|
+
variantName: z.ZodString;
|
|
4675
|
+
creditsPerCall: z.ZodNumber;
|
|
4676
|
+
billingType: z.ZodString;
|
|
4677
|
+
minMembershipLevel: z.ZodString;
|
|
4678
|
+
invocation: z.ZodObject<{
|
|
4679
|
+
method: z.ZodString;
|
|
4680
|
+
endpoint: z.ZodString;
|
|
4681
|
+
contentType: z.ZodString;
|
|
4682
|
+
authRequired: z.ZodBoolean;
|
|
4683
|
+
executionMode: z.ZodString;
|
|
4684
|
+
bodyTemplate: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4685
|
+
}, z.core.$strip>;
|
|
4686
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
4687
|
+
role: z.ZodString;
|
|
4688
|
+
accept: z.ZodString;
|
|
4689
|
+
label: z.ZodString;
|
|
4690
|
+
description: z.ZodString;
|
|
4691
|
+
required: z.ZodBoolean;
|
|
4692
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4693
|
+
acceptFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4694
|
+
}, z.core.$strip>>;
|
|
4695
|
+
params: z.ZodArray<z.ZodObject<{
|
|
4696
|
+
key: z.ZodString;
|
|
4697
|
+
type: z.ZodString;
|
|
4698
|
+
label: z.ZodString;
|
|
4699
|
+
description: z.ZodString;
|
|
4700
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
4701
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4702
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4703
|
+
label: z.ZodString;
|
|
4704
|
+
}, z.core.$strip>>>;
|
|
4705
|
+
advanced: z.ZodBoolean;
|
|
4706
|
+
required: z.ZodBoolean;
|
|
4707
|
+
}, z.core.$strip>>;
|
|
4708
|
+
}, z.core.$strip>;
|
|
4709
|
+
}, z.core.$strip>;
|
|
3900
4710
|
/** Single param schema entry (UI metadata). */
|
|
3901
4711
|
type V3ParamSchema = z.infer<typeof paramSchemaSchema>;
|
|
3902
4712
|
/** Input slot declaration. */
|
|
@@ -3939,6 +4749,18 @@ type V3QueueTicket = z.infer<typeof v3QueueTicketSchema>;
|
|
|
3939
4749
|
type V3QueueResponse = z.infer<typeof v3QueueResponseSchema>;
|
|
3940
4750
|
/** Upload response. */
|
|
3941
4751
|
type V3UploadResponse = z.infer<typeof v3UploadResponseSchema>;
|
|
4752
|
+
/** v3 text chat request body. */
|
|
4753
|
+
type V3TextChatRequest = z.infer<typeof v3TextChatRequestSchema>;
|
|
4754
|
+
/** v3 tool execute request body. */
|
|
4755
|
+
type V3ToolExecuteRequest = z.infer<typeof v3ToolExecuteRequestSchema>;
|
|
4756
|
+
/** v3 tool execute response. */
|
|
4757
|
+
type V3ToolExecuteResponse = z.infer<typeof v3ToolExecuteResponseSchema>;
|
|
4758
|
+
/** Capabilities overview request. */
|
|
4759
|
+
type V3CapabilitiesOverviewRequest = z.infer<typeof v3CapabilitiesOverviewRequestSchema>;
|
|
4760
|
+
/** Capabilities overview response. */
|
|
4761
|
+
type V3CapabilitiesOverviewResponse = z.infer<typeof v3CapabilitiesOverviewResponseSchema>;
|
|
4762
|
+
/** Capabilities detail response. */
|
|
4763
|
+
type V3CapabilitiesDetailResponse = z.infer<typeof v3CapabilitiesDetailResponseSchema>;
|
|
3942
4764
|
/** Schema for task status SSE event data (lightweight, only taskId + status). */
|
|
3943
4765
|
declare const v3TaskSSEEventSchema: z.ZodObject<{
|
|
3944
4766
|
taskId: z.ZodString;
|
|
@@ -4094,6 +4916,16 @@ declare class AiClient {
|
|
|
4094
4916
|
updatedAt?: string | undefined;
|
|
4095
4917
|
};
|
|
4096
4918
|
}>;
|
|
4919
|
+
/**
|
|
4920
|
+
* Fetch capabilities overview (simplified list for AI agent discovery).
|
|
4921
|
+
* 公开接口,无需认证。支持 category 过滤。
|
|
4922
|
+
*/
|
|
4923
|
+
capabilitiesOverview(category?: "image" | "video" | "audio" | "text" | "tools"): Promise<V3CapabilitiesOverviewResponse>;
|
|
4924
|
+
/**
|
|
4925
|
+
* Fetch variant detail by ID (full params, inputs, invocation info).
|
|
4926
|
+
* 公开接口,无需认证。
|
|
4927
|
+
*/
|
|
4928
|
+
capabilitiesDetail(variantId: string): Promise<V3CapabilitiesDetailResponse>;
|
|
4097
4929
|
/** Fetch image capabilities (features + variants) via v3 API. */
|
|
4098
4930
|
imageCapabilities(): Promise<{
|
|
4099
4931
|
success: true;
|
|
@@ -4674,8 +5506,8 @@ declare class AiClient {
|
|
|
4674
5506
|
v3TextGenerate(payload: V3TextGenerateRequest): Promise<V3TextGenerateResponse>;
|
|
4675
5507
|
/**
|
|
4676
5508
|
* Submit a v3 text generate request in streaming mode.
|
|
4677
|
-
* 返回原始 Response,调用方通过 response.body (ReadableStream)
|
|
4678
|
-
*
|
|
5509
|
+
* 返回原始 Response,调用方通过 response.body (ReadableStream) 消费纯文本 chunk。
|
|
5510
|
+
* 响应格式为 AI SDK text stream(text/plain),直接读取即可拼接完整文本。
|
|
4679
5511
|
* taskId 通过响应头 x-task-id 返回。
|
|
4680
5512
|
*/
|
|
4681
5513
|
v3TextGenerateStream(payload: Omit<V3TextGenerateRequest, "stream">): Promise<Response>;
|
|
@@ -4971,6 +5803,21 @@ declare const MEDIA_FEATURES: {
|
|
|
4971
5803
|
readonly ja: "テキストを自然な音声に変換";
|
|
4972
5804
|
};
|
|
4973
5805
|
};
|
|
5806
|
+
readonly webSearch: {
|
|
5807
|
+
readonly id: "webSearch";
|
|
5808
|
+
readonly label: {
|
|
5809
|
+
readonly zh: "联网搜索";
|
|
5810
|
+
readonly "zh-TW": "聯網搜尋";
|
|
5811
|
+
readonly en: "Web Search";
|
|
5812
|
+
readonly ja: "ウェブ検索";
|
|
5813
|
+
};
|
|
5814
|
+
readonly description: {
|
|
5815
|
+
readonly zh: "联网搜索最新信息并整理回答";
|
|
5816
|
+
readonly "zh-TW": "聯網搜尋最新資訊並整理回答";
|
|
5817
|
+
readonly en: "Search the web for latest information and synthesize answers";
|
|
5818
|
+
readonly ja: "ウェブ検索で最新情報を取得し回答をまとめる";
|
|
5819
|
+
};
|
|
5820
|
+
};
|
|
4974
5821
|
readonly speechToText: {
|
|
4975
5822
|
readonly id: "speechToText";
|
|
4976
5823
|
readonly label: {
|
|
@@ -5229,8 +6076,8 @@ declare const MEDIA_FEATURES: {
|
|
|
5229
6076
|
readonly imageCaption: {
|
|
5230
6077
|
readonly id: "imageCaption";
|
|
5231
6078
|
readonly label: {
|
|
5232
|
-
readonly zh: "
|
|
5233
|
-
readonly "zh-TW": "
|
|
6079
|
+
readonly zh: "图片理解";
|
|
6080
|
+
readonly "zh-TW": "圖片理解";
|
|
5234
6081
|
readonly en: "Image Caption";
|
|
5235
6082
|
readonly ja: "画像キャプション";
|
|
5236
6083
|
};
|
|
@@ -5244,8 +6091,8 @@ declare const MEDIA_FEATURES: {
|
|
|
5244
6091
|
readonly videoCaption: {
|
|
5245
6092
|
readonly id: "videoCaption";
|
|
5246
6093
|
readonly label: {
|
|
5247
|
-
readonly zh: "
|
|
5248
|
-
readonly "zh-TW": "
|
|
6094
|
+
readonly zh: "视频理解";
|
|
6095
|
+
readonly "zh-TW": "影片理解";
|
|
5249
6096
|
readonly en: "Video Caption";
|
|
5250
6097
|
readonly ja: "動画キャプション";
|
|
5251
6098
|
};
|
|
@@ -5531,6 +6378,9 @@ type index$9_MediaFeatureId = MediaFeatureId;
|
|
|
5531
6378
|
type index$9_ModelProviderId = ModelProviderId;
|
|
5532
6379
|
type index$9_V3BasicSuccess = V3BasicSuccess;
|
|
5533
6380
|
type index$9_V3CapabilitiesData = V3CapabilitiesData;
|
|
6381
|
+
type index$9_V3CapabilitiesDetailResponse = V3CapabilitiesDetailResponse;
|
|
6382
|
+
type index$9_V3CapabilitiesOverviewRequest = V3CapabilitiesOverviewRequest;
|
|
6383
|
+
type index$9_V3CapabilitiesOverviewResponse = V3CapabilitiesOverviewResponse;
|
|
5534
6384
|
type index$9_V3CapabilitiesResponse = V3CapabilitiesResponse;
|
|
5535
6385
|
type index$9_V3CreditEstimate = V3CreditEstimate;
|
|
5536
6386
|
type index$9_V3EstimatePriceRequest = V3EstimatePriceRequest;
|
|
@@ -5547,8 +6397,11 @@ type index$9_V3TaskGroupResponse = V3TaskGroupResponse;
|
|
|
5547
6397
|
type index$9_V3TaskItem = V3TaskItem;
|
|
5548
6398
|
type index$9_V3TaskResponse = V3TaskResponse;
|
|
5549
6399
|
type index$9_V3TaskSSEEvent = V3TaskSSEEvent;
|
|
6400
|
+
type index$9_V3TextChatRequest = V3TextChatRequest;
|
|
5550
6401
|
type index$9_V3TextGenerateRequest = V3TextGenerateRequest;
|
|
5551
6402
|
type index$9_V3TextGenerateResponse = V3TextGenerateResponse;
|
|
6403
|
+
type index$9_V3ToolExecuteRequest = V3ToolExecuteRequest;
|
|
6404
|
+
type index$9_V3ToolExecuteResponse = V3ToolExecuteResponse;
|
|
5552
6405
|
type index$9_V3UploadResponse = V3UploadResponse;
|
|
5553
6406
|
type index$9_V3Variant = V3Variant;
|
|
5554
6407
|
declare const index$9_aiChatCompletionsRequestSchema: typeof aiChatCompletionsRequestSchema;
|
|
@@ -5582,6 +6435,9 @@ declare const index$9_inputSlotSchema: typeof inputSlotSchema;
|
|
|
5582
6435
|
declare const index$9_paramSchemaSchema: typeof paramSchemaSchema;
|
|
5583
6436
|
declare const index$9_v3BasicSuccessSchema: typeof v3BasicSuccessSchema;
|
|
5584
6437
|
declare const index$9_v3CapabilitiesDataSchema: typeof v3CapabilitiesDataSchema;
|
|
6438
|
+
declare const index$9_v3CapabilitiesDetailResponseSchema: typeof v3CapabilitiesDetailResponseSchema;
|
|
6439
|
+
declare const index$9_v3CapabilitiesOverviewRequestSchema: typeof v3CapabilitiesOverviewRequestSchema;
|
|
6440
|
+
declare const index$9_v3CapabilitiesOverviewResponseSchema: typeof v3CapabilitiesOverviewResponseSchema;
|
|
5585
6441
|
declare const index$9_v3CapabilitiesResponseSchema: typeof v3CapabilitiesResponseSchema;
|
|
5586
6442
|
declare const index$9_v3CreditEstimateSchema: typeof v3CreditEstimateSchema;
|
|
5587
6443
|
declare const index$9_v3EstimatePriceRequestSchema: typeof v3EstimatePriceRequestSchema;
|
|
@@ -5596,12 +6452,15 @@ declare const index$9_v3TaskGroupResponseSchema: typeof v3TaskGroupResponseSchem
|
|
|
5596
6452
|
declare const index$9_v3TaskItemSchema: typeof v3TaskItemSchema;
|
|
5597
6453
|
declare const index$9_v3TaskResponseSchema: typeof v3TaskResponseSchema;
|
|
5598
6454
|
declare const index$9_v3TaskSSEEventSchema: typeof v3TaskSSEEventSchema;
|
|
6455
|
+
declare const index$9_v3TextChatRequestSchema: typeof v3TextChatRequestSchema;
|
|
5599
6456
|
declare const index$9_v3TextGenerateRequestSchema: typeof v3TextGenerateRequestSchema;
|
|
5600
6457
|
declare const index$9_v3TextGenerateResponseSchema: typeof v3TextGenerateResponseSchema;
|
|
6458
|
+
declare const index$9_v3ToolExecuteRequestSchema: typeof v3ToolExecuteRequestSchema;
|
|
6459
|
+
declare const index$9_v3ToolExecuteResponseSchema: typeof v3ToolExecuteResponseSchema;
|
|
5601
6460
|
declare const index$9_v3UploadResponseSchema: typeof v3UploadResponseSchema;
|
|
5602
6461
|
declare const index$9_v3VariantSchema: typeof v3VariantSchema;
|
|
5603
6462
|
declare namespace index$9 {
|
|
5604
|
-
export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
|
|
6463
|
+
export { index$9_AI_MODEL_CAPABILITY_INPUT_KEYS as AI_MODEL_CAPABILITY_INPUT_KEYS, index$9_AI_MODEL_CAPABILITY_OUTPUT_KEYS as AI_MODEL_CAPABILITY_OUTPUT_KEYS, index$9_AI_MODEL_TAGS as AI_MODEL_TAGS, index$9_AI_MODEL_TAG_LABELS as AI_MODEL_TAG_LABELS, type index$9_AiChatCompletionsRequest as AiChatCompletionsRequest, type index$9_AiChatModel as AiChatModel, type index$9_AiChatModelsResponse as AiChatModelsResponse, type index$9_AiChatSessionMetadata as AiChatSessionMetadata, index$9_AiClient as AiClient, type index$9_AiClientMetadata as AiClientMetadata, type index$9_AiFileUploadOptions as AiFileUploadOptions, type index$9_AiFileUploadResponse as AiFileUploadResponse, type index$9_AiModel as AiModel, type index$9_AiModelCapabilities as AiModelCapabilities, type index$9_AiModelCapabilitiesInput as AiModelCapabilitiesInput, type index$9_AiModelCapabilitiesOutput as AiModelCapabilitiesOutput, type index$9_AiModelCapabilityInputKey as AiModelCapabilityInputKey, type index$9_AiModelCapabilityOutputKey as AiModelCapabilityOutputKey, type index$9_AiModelTag as AiModelTag, type index$9_AiModelsUpdatedAtData as AiModelsUpdatedAtData, type index$9_AiModelsUpdatedAtResponse as AiModelsUpdatedAtResponse, type index$9_AiProviderTemplate as AiProviderTemplate, type index$9_AiProviderTemplateModel as AiProviderTemplateModel, type index$9_AiProviderTemplatesResponse as AiProviderTemplatesResponse, type index$9_AiResponsesRequest as AiResponsesRequest, index$9_MEDIA_FEATURES as MEDIA_FEATURES, index$9_MODEL_PROVIDERS as MODEL_PROVIDERS, type index$9_MediaFeatureId as MediaFeatureId, type index$9_ModelProviderId as ModelProviderId, type index$9_V3BasicSuccess as V3BasicSuccess, type index$9_V3CapabilitiesData as V3CapabilitiesData, type index$9_V3CapabilitiesDetailResponse as V3CapabilitiesDetailResponse, type index$9_V3CapabilitiesOverviewRequest as V3CapabilitiesOverviewRequest, type index$9_V3CapabilitiesOverviewResponse as V3CapabilitiesOverviewResponse, type index$9_V3CapabilitiesResponse as V3CapabilitiesResponse, type index$9_V3CreditEstimate as V3CreditEstimate, type index$9_V3EstimatePriceRequest as V3EstimatePriceRequest, type index$9_V3EstimatePriceResponse as V3EstimatePriceResponse, type index$9_V3Feature as V3Feature, type index$9_V3GenerateRequest as V3GenerateRequest, type index$9_V3InputSlot as V3InputSlot, type index$9_V3ParamSchema as V3ParamSchema, type index$9_V3QueueRequest as V3QueueRequest, type index$9_V3QueueResponse as V3QueueResponse, type index$9_V3QueueTicket as V3QueueTicket, type index$9_V3TaskCreated as V3TaskCreated, type index$9_V3TaskGroupResponse as V3TaskGroupResponse, type index$9_V3TaskItem as V3TaskItem, type index$9_V3TaskResponse as V3TaskResponse, type index$9_V3TaskSSEEvent as V3TaskSSEEvent, type index$9_V3TextChatRequest as V3TextChatRequest, type index$9_V3TextGenerateRequest as V3TextGenerateRequest, type index$9_V3TextGenerateResponse as V3TextGenerateResponse, type index$9_V3ToolExecuteRequest as V3ToolExecuteRequest, type index$9_V3ToolExecuteResponse as V3ToolExecuteResponse, type index$9_V3UploadResponse as V3UploadResponse, type index$9_V3Variant as V3Variant, index$9_aiChatCompletionsRequestSchema as aiChatCompletionsRequestSchema, index$9_aiChatModelSchema as aiChatModelSchema, index$9_aiChatModelsPayloadSchema as aiChatModelsPayloadSchema, index$9_aiChatModelsResponseSchema as aiChatModelsResponseSchema, index$9_aiChatModelsSuccessSchema as aiChatModelsSuccessSchema, index$9_aiChatSessionMetadataSchema as aiChatSessionMetadataSchema, index$9_aiClientMetadataSchema as aiClientMetadataSchema, index$9_aiEndpoints as aiEndpoints, index$9_aiErrorResponseSchema as aiErrorResponseSchema, index$9_aiModelCapabilitiesInputSchema as aiModelCapabilitiesInputSchema, index$9_aiModelCapabilitiesOutputSchema as aiModelCapabilitiesOutputSchema, index$9_aiModelCapabilitiesSchema as aiModelCapabilitiesSchema, index$9_aiModelCapabilityCommonSchema as aiModelCapabilityCommonSchema, index$9_aiModelParameterFieldSchema as aiModelParameterFieldSchema, index$9_aiModelParamsSchema as aiModelParamsSchema, index$9_aiModelSchema as aiModelSchema, index$9_aiModelsRequestSchema as aiModelsRequestSchema, index$9_aiModelsUpdatedAtDataSchema as aiModelsUpdatedAtDataSchema, index$9_aiModelsUpdatedAtResponseSchema as aiModelsUpdatedAtResponseSchema, index$9_aiModelsUpdatedAtSuccessSchema as aiModelsUpdatedAtSuccessSchema, index$9_aiProviderTemplateModelSchema as aiProviderTemplateModelSchema, index$9_aiProviderTemplateSchema as aiProviderTemplateSchema, index$9_aiProviderTemplatesPayloadSchema as aiProviderTemplatesPayloadSchema, index$9_aiProviderTemplatesRequestSchema as aiProviderTemplatesRequestSchema, index$9_aiProviderTemplatesResponseSchema as aiProviderTemplatesResponseSchema, index$9_aiProviderTemplatesSuccessSchema as aiProviderTemplatesSuccessSchema, index$9_aiResponsesRequestSchema as aiResponsesRequestSchema, index$9_inputSlotSchema as inputSlotSchema, index$9_paramSchemaSchema as paramSchemaSchema, index$9_v3BasicSuccessSchema as v3BasicSuccessSchema, index$9_v3CapabilitiesDataSchema as v3CapabilitiesDataSchema, index$9_v3CapabilitiesDetailResponseSchema as v3CapabilitiesDetailResponseSchema, index$9_v3CapabilitiesOverviewRequestSchema as v3CapabilitiesOverviewRequestSchema, index$9_v3CapabilitiesOverviewResponseSchema as v3CapabilitiesOverviewResponseSchema, index$9_v3CapabilitiesResponseSchema as v3CapabilitiesResponseSchema, index$9_v3CreditEstimateSchema as v3CreditEstimateSchema, index$9_v3EstimatePriceRequestSchema as v3EstimatePriceRequestSchema, index$9_v3EstimatePriceResponseSchema as v3EstimatePriceResponseSchema, index$9_v3FeatureSchema as v3FeatureSchema, index$9_v3GenerateRequestSchema as v3GenerateRequestSchema, index$9_v3QueueRequestSchema as v3QueueRequestSchema, index$9_v3QueueResponseSchema as v3QueueResponseSchema, index$9_v3QueueTicketSchema as v3QueueTicketSchema, index$9_v3TaskCreatedSchema as v3TaskCreatedSchema, index$9_v3TaskGroupResponseSchema as v3TaskGroupResponseSchema, index$9_v3TaskItemSchema as v3TaskItemSchema, index$9_v3TaskResponseSchema as v3TaskResponseSchema, index$9_v3TaskSSEEventSchema as v3TaskSSEEventSchema, index$9_v3TextChatRequestSchema as v3TextChatRequestSchema, index$9_v3TextGenerateRequestSchema as v3TextGenerateRequestSchema, index$9_v3TextGenerateResponseSchema as v3TextGenerateResponseSchema, index$9_v3ToolExecuteRequestSchema as v3ToolExecuteRequestSchema, index$9_v3ToolExecuteResponseSchema as v3ToolExecuteResponseSchema, index$9_v3UploadResponseSchema as v3UploadResponseSchema, index$9_v3VariantSchema as v3VariantSchema };
|
|
5605
6464
|
}
|
|
5606
6465
|
|
|
5607
6466
|
declare const aiToolsEndpoints: {
|
|
@@ -7785,4 +8644,4 @@ declare function createTrpcClient(options: TrpcClientOptions): _trpc_client.TRPC
|
|
|
7785
8644
|
transformer: false;
|
|
7786
8645
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<_trpc_server.TRPCCreateRouterOptions>>>;
|
|
7787
8646
|
|
|
7788
|
-
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MarketSkillEntry, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, marketSkillEntrySchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|
|
8647
|
+
export { AI_MODEL_CAPABILITY_INPUT_KEYS, AI_MODEL_CAPABILITY_OUTPUT_KEYS, AI_MODEL_TAGS, AI_MODEL_TAG_LABELS, type AiChatCompletionsRequest, type AiChatModel, type AiChatModelsResponse, type AiChatSessionMetadata, AiClient, type AiClientMetadata, type AiFileUploadOptions, type AiFileUploadResponse, type AiModel, type AiModelCapabilities, type AiModelCapabilitiesInput, type AiModelCapabilitiesOutput, type AiModelCapabilityInputKey, type AiModelCapabilityOutputKey, type AiModelTag, type AiModelsUpdatedAtData, type AiModelsUpdatedAtResponse, type AiProviderTemplate, type AiProviderTemplateModel, type AiProviderTemplatesResponse, type AiResponsesRequest, AiToolsClient, type AnalyzeSkillsRequest, type AnalyzeSkillsResponse, AuthClient, type AuthExchangeRequest, type AuthExchangeResponse, type AuthLogoutRequest, type AuthLogoutResponse, type AuthRefreshError, type AuthRefreshRequest, type AuthRefreshResponse, type AuthRefreshSuccess, AuxiliaryClient, type AuxiliaryInferRequest, type AuxiliaryInferResponse, type AuxiliaryQuota, type AuxiliaryQuotaResponse, type CreateEmbedOptions, type EmbedEventMap, type EmbedInstance, Endpoint, type FeedbackAttachmentResponse, FeedbackClient, type FeedbackDetailPayload, type FeedbackDetailRequest, type FeedbackDetailResponse, type FeedbackListPayload, type FeedbackListRequest, type FeedbackListResponse, type FeedbackSaasStatus, type FeedbackSource, type FeedbackSubmitError, type FeedbackSubmitRequest, type FeedbackSubmitResponse, type FeedbackType, type HeaderInput, type HttpMethod, MEDIA_FEATURES, MODEL_PROVIDERS, type MarketSkillEntry, type MediaFeatureId, type ModelProviderId, type OrderStatusRequest, type OrderStatusResponse, PaymentClient, type RechargeRequest, type RechargeResponse, type RecommendActionsRequest, type RecommendActionsResponse, RedeemCodeClient, type RedeemCodeRecordItem, type RedeemCodeRecordsRequest, type RedeemCodeRecordsResponse, type RedeemCodeRedeemRequest, type RedeemCodeRedeemResponse, type RedeemCodeSummary, type RefundRequest, type RefundResponse, type ResponseType, SaaSClient, type SaaSClientOptions, SaaSContract, SaaSHttpError, SaaSNetworkError, SaaSSchemaError, type SkillArchiveFormat, type SkillListItem, type SkillMarketCheckUpdatesRequest, type SkillMarketCheckUpdatesResponse, SkillMarketClient, type SkillMarketDetailResponse, type SkillMarketListRequest, type SkillMarketListResponse, type SkillMarketRateRequest, type SkillMarketRateResponse, type SkillOwnerSummary, type SkillSource, type SkillStatus, type SkillType, type SkillVersionSummary, type SkillVisibility, SkillsClient, type SkillsDetailResponse, type SkillsDownloadResponse, type SkillsListRequest, type SkillsListResponse, type SubscribeRequest, type SubscribeResponse, type SummarizeRequest, type SummarizeResponse, type TrpcClientOptions, type UpgradeRequest, type UpgradeResponse, UserClient, type UserMembershipLevel, type UserSelf, type UserSelfRequest, type UserSelfResponse, type V3BasicSuccess, type V3CapabilitiesData, type V3CapabilitiesDetailResponse, type V3CapabilitiesOverviewRequest, type V3CapabilitiesOverviewResponse, type V3CapabilitiesResponse, type V3CreditEstimate, type V3EstimatePriceRequest, type V3EstimatePriceResponse, type V3Feature, type V3GenerateRequest, type V3InputSlot, type V3ParamSchema, type V3QueueRequest, type V3QueueResponse, type V3QueueTicket, type V3TaskCreated, type V3TaskGroupResponse, type V3TaskItem, type V3TaskResponse, type V3TaskSSEEvent, type V3TextChatRequest, type V3TextGenerateRequest, type V3TextGenerateResponse, type V3ToolExecuteRequest, type V3ToolExecuteResponse, type V3UploadResponse, type V3Variant, aiChatCompletionsRequestSchema, aiChatModelSchema, aiChatModelsPayloadSchema, aiChatModelsResponseSchema, aiChatModelsSuccessSchema, aiChatSessionMetadataSchema, aiClientMetadataSchema, aiEndpoints, aiErrorResponseSchema, aiModelCapabilitiesInputSchema, aiModelCapabilitiesOutputSchema, aiModelCapabilitiesSchema, aiModelCapabilityCommonSchema, aiModelParameterFieldSchema, aiModelParamsSchema, aiModelSchema, aiModelsRequestSchema, aiModelsUpdatedAtDataSchema, aiModelsUpdatedAtResponseSchema, aiModelsUpdatedAtSuccessSchema, index$9 as aiModule, aiProviderTemplateModelSchema, aiProviderTemplateSchema, aiProviderTemplatesPayloadSchema, aiProviderTemplatesRequestSchema, aiProviderTemplatesResponseSchema, aiProviderTemplatesSuccessSchema, aiResponsesRequestSchema, aiToolsEndpoints, index$8 as aiToolsModule, analyzeSkillsRequestSchema, analyzeSkillsResponseSchema, authEndpoints, authExchangeRequestSchema, authExchangeResponseSchema, authLogoutRequestSchema, authLogoutResponseSchema, index$7 as authModule, authRefreshErrorSchema, authRefreshRequestSchema, authRefreshResponseSchema, authRefreshSuccessSchema, authRefreshUserSchema, auxiliaryEndpoints, auxiliaryInferRequestSchema, auxiliaryInferResponseSchema, index$6 as auxiliaryModule, auxiliaryQuotaResponseSchema, contract, createEmbed, createPricingEmbed, createRechargeEmbed, createTrpcClient, feedbackDetailPayloadSchema, feedbackDetailRequestSchema, feedbackDetailResponseSchema, feedbackEndpoints, feedbackItemSchema, feedbackListPayloadSchema, feedbackListRequestSchema, feedbackListResponseSchema, index$5 as feedbackModule, feedbackSaasStatusSchema, feedbackSourceSchema, feedbackSubmitErrorSchema, feedbackSubmitRequestSchema, feedbackSubmitResponseSchema, feedbackTypeSchema, inputSlotSchema, marketSkillEntrySchema, mergeHeaders, normalizeHeaders, orderStatusRequestSchema, orderStatusResponseSchema, paramSchemaSchema, paymentEndpoints, index$4 as paymentModule, rechargeRequestSchema, rechargeResponseSchema, recommendActionsRequestSchema, recommendActionsResponseSchema, redeemCodeEndpoints, redeemCodeMembershipLevelSchema, index$3 as redeemCodeModule, redeemCodeRecordItemSchema, redeemCodeRecordsRequestSchema, redeemCodeRecordsResponseSchema, redeemCodeRedeemRequestSchema, redeemCodeRedeemResponseSchema, redeemCodeSummarySchema, refundRequestSchema, refundResponseSchema, request, skillArchiveFormatSchema, skillListItemSchema, skillMarketCheckUpdatesRequestSchema, skillMarketCheckUpdatesResponseSchema, skillMarketDetailResponseSchema, skillMarketEndpoints, skillMarketListRequestSchema, skillMarketListResponseSchema, index$2 as skillMarketModule, skillMarketRateRequestSchema, skillMarketRateResponseSchema, skillOwnerSummarySchema, skillSourceSchema, skillStatusSchema, skillTypeSchema, skillVersionSummarySchema, skillVisibilitySchema, skillsDetailRequestSchema, skillsDetailResponseSchema, skillsDownloadResponseSchema, skillsEndpoints, skillsListRequestSchema, skillsListResponseSchema, index$1 as skillsModule, subscribeRequestSchema, subscribeResponseSchema, summarizeRequestSchema, summarizeResponseSchema, upgradeRequestSchema, upgradeResponseSchema, userEndpoints, userMembershipLevelSchema, index as userModule, userSelfRequestSchema, userSelfResponseSchema, userSelfSchema, v3BasicSuccessSchema, v3CapabilitiesDataSchema, v3CapabilitiesDetailResponseSchema, v3CapabilitiesOverviewRequestSchema, v3CapabilitiesOverviewResponseSchema, v3CapabilitiesResponseSchema, v3CreditEstimateSchema, v3EstimatePriceRequestSchema, v3EstimatePriceResponseSchema, v3FeatureSchema, v3GenerateRequestSchema, v3QueueRequestSchema, v3QueueResponseSchema, v3QueueTicketSchema, v3TaskCreatedSchema, v3TaskGroupResponseSchema, v3TaskItemSchema, v3TaskResponseSchema, v3TaskSSEEventSchema, v3TextChatRequestSchema, v3TextGenerateRequestSchema, v3TextGenerateResponseSchema, v3ToolExecuteRequestSchema, v3ToolExecuteResponseSchema, v3UploadResponseSchema, v3VariantSchema };
|