@apicity/fal 0.18.1 → 0.20.0
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/README.md +137 -1
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +151 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/fal.d.ts.map +1 -1
- package/dist/src/fal.js +60 -1
- package/dist/src/fal.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +69 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +525 -0
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +112 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +1 -1
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAmiCA,cAAc;AACd,MAAM,OAAO,QAAS,SAAQ,KAAK;IACxB,MAAM,CAAS;IACf,IAAI,CAAe;IACnB,UAAU,CAAU;IACpB,QAAQ,CAAU;IAClB,IAAI,CAAU;IAEvB,YACE,OAAe,EACf,MAAc,EACd,IAAkB,EAClB,UAAmB,EACnB,QAAiB,EACjB,IAAc;QAEd,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;IAC3B,CAAC;CACF"}
|
package/dist/src/zod.d.ts
CHANGED
|
@@ -2874,6 +2874,255 @@ export declare const FalFlux3TextToImageRequestSchema: z.ZodObject<{
|
|
|
2874
2874
|
export type FalFlux3TextToImageRequest = z.input<typeof FalFlux3TextToImageRequestSchema>;
|
|
2875
2875
|
export type FalFlux3TextToImageRequestInput = FalFlux3TextToImageRequest;
|
|
2876
2876
|
export type FalFlux3TextToImageParsedRequest = z.output<typeof FalFlux3TextToImageRequestSchema>;
|
|
2877
|
+
export declare const FalFlux3KleinLoraSchema: z.ZodObject<{
|
|
2878
|
+
path: z.ZodString;
|
|
2879
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
2880
|
+
}, z.core.$strip>;
|
|
2881
|
+
export type FalFlux3KleinLora = z.input<typeof FalFlux3KleinLoraSchema>;
|
|
2882
|
+
export declare const FalFlux3KleinBoxSchema: z.ZodObject<{
|
|
2883
|
+
x_min: z.ZodNumber;
|
|
2884
|
+
y_min: z.ZodNumber;
|
|
2885
|
+
x_max: z.ZodNumber;
|
|
2886
|
+
y_max: z.ZodNumber;
|
|
2887
|
+
}, z.core.$strip>;
|
|
2888
|
+
export declare const FalFlux3KleinBoundingBoxSchema: z.ZodObject<{
|
|
2889
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2890
|
+
description: z.ZodString;
|
|
2891
|
+
box: z.ZodObject<{
|
|
2892
|
+
x_min: z.ZodNumber;
|
|
2893
|
+
y_min: z.ZodNumber;
|
|
2894
|
+
x_max: z.ZodNumber;
|
|
2895
|
+
y_max: z.ZodNumber;
|
|
2896
|
+
}, z.core.$strip>;
|
|
2897
|
+
}, z.core.$strip>;
|
|
2898
|
+
export declare const FalFlux3KleinEditBoundingBoxSchema: z.ZodObject<{
|
|
2899
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2900
|
+
description: z.ZodString;
|
|
2901
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2902
|
+
x_min: z.ZodNumber;
|
|
2903
|
+
y_min: z.ZodNumber;
|
|
2904
|
+
x_max: z.ZodNumber;
|
|
2905
|
+
y_max: z.ZodNumber;
|
|
2906
|
+
}, z.core.$strip>>>;
|
|
2907
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2908
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2909
|
+
x_min: z.ZodNumber;
|
|
2910
|
+
y_min: z.ZodNumber;
|
|
2911
|
+
x_max: z.ZodNumber;
|
|
2912
|
+
y_max: z.ZodNumber;
|
|
2913
|
+
}, z.core.$strip>>>;
|
|
2914
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2915
|
+
x_min: z.ZodNumber;
|
|
2916
|
+
y_min: z.ZodNumber;
|
|
2917
|
+
x_max: z.ZodNumber;
|
|
2918
|
+
y_max: z.ZodNumber;
|
|
2919
|
+
}, z.core.$strip>>>;
|
|
2920
|
+
}, z.core.$strip>;
|
|
2921
|
+
export declare const FalFlux3KleinImageSizeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2922
|
+
square: "square";
|
|
2923
|
+
square_hd: "square_hd";
|
|
2924
|
+
portrait_4_3: "portrait_4_3";
|
|
2925
|
+
portrait_16_9: "portrait_16_9";
|
|
2926
|
+
landscape_4_3: "landscape_4_3";
|
|
2927
|
+
landscape_16_9: "landscape_16_9";
|
|
2928
|
+
}>, z.ZodObject<{
|
|
2929
|
+
width: z.ZodNumber;
|
|
2930
|
+
height: z.ZodNumber;
|
|
2931
|
+
}, z.core.$strip>]>;
|
|
2932
|
+
export declare const FalFlux3KleinTextToImageLoraRequestSchema: z.ZodObject<{
|
|
2933
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2934
|
+
path: z.ZodString;
|
|
2935
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
2936
|
+
}, z.core.$strip>>>;
|
|
2937
|
+
prompt: z.ZodString;
|
|
2938
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
2939
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2940
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
2941
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2942
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
2943
|
+
png: "png";
|
|
2944
|
+
jpeg: "jpeg";
|
|
2945
|
+
webp: "webp";
|
|
2946
|
+
}>>;
|
|
2947
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
2948
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2949
|
+
square: "square";
|
|
2950
|
+
square_hd: "square_hd";
|
|
2951
|
+
portrait_4_3: "portrait_4_3";
|
|
2952
|
+
portrait_16_9: "portrait_16_9";
|
|
2953
|
+
landscape_4_3: "landscape_4_3";
|
|
2954
|
+
landscape_16_9: "landscape_16_9";
|
|
2955
|
+
}>, z.ZodObject<{
|
|
2956
|
+
width: z.ZodNumber;
|
|
2957
|
+
height: z.ZodNumber;
|
|
2958
|
+
}, z.core.$strip>]>>;
|
|
2959
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2960
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2961
|
+
description: z.ZodString;
|
|
2962
|
+
box: z.ZodObject<{
|
|
2963
|
+
x_min: z.ZodNumber;
|
|
2964
|
+
y_min: z.ZodNumber;
|
|
2965
|
+
x_max: z.ZodNumber;
|
|
2966
|
+
y_max: z.ZodNumber;
|
|
2967
|
+
}, z.core.$strip>;
|
|
2968
|
+
}, z.core.$strip>>>>;
|
|
2969
|
+
}, z.core.$strip>;
|
|
2970
|
+
export type FalFlux3KleinTextToImageLoraRequest = z.input<typeof FalFlux3KleinTextToImageLoraRequestSchema>;
|
|
2971
|
+
export type FalFlux3KleinTextToImageLoraRequestInput = FalFlux3KleinTextToImageLoraRequest;
|
|
2972
|
+
export type FalFlux3KleinTextToImageLoraParsedRequest = z.output<typeof FalFlux3KleinTextToImageLoraRequestSchema>;
|
|
2973
|
+
export declare const FalFlux3KleinTextToImageRequestSchema: z.ZodObject<{
|
|
2974
|
+
prompt: z.ZodString;
|
|
2975
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2976
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
2977
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
2978
|
+
png: "png";
|
|
2979
|
+
jpeg: "jpeg";
|
|
2980
|
+
webp: "webp";
|
|
2981
|
+
}>>;
|
|
2982
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
2983
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
2984
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2985
|
+
square: "square";
|
|
2986
|
+
square_hd: "square_hd";
|
|
2987
|
+
portrait_4_3: "portrait_4_3";
|
|
2988
|
+
portrait_16_9: "portrait_16_9";
|
|
2989
|
+
landscape_4_3: "landscape_4_3";
|
|
2990
|
+
landscape_16_9: "landscape_16_9";
|
|
2991
|
+
}>, z.ZodObject<{
|
|
2992
|
+
width: z.ZodNumber;
|
|
2993
|
+
height: z.ZodNumber;
|
|
2994
|
+
}, z.core.$strip>]>>;
|
|
2995
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
2996
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2997
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2998
|
+
description: z.ZodString;
|
|
2999
|
+
box: z.ZodObject<{
|
|
3000
|
+
x_min: z.ZodNumber;
|
|
3001
|
+
y_min: z.ZodNumber;
|
|
3002
|
+
x_max: z.ZodNumber;
|
|
3003
|
+
y_max: z.ZodNumber;
|
|
3004
|
+
}, z.core.$strip>;
|
|
3005
|
+
}, z.core.$strip>>>>;
|
|
3006
|
+
}, z.core.$strip>;
|
|
3007
|
+
export type FalFlux3KleinTextToImageRequest = z.input<typeof FalFlux3KleinTextToImageRequestSchema>;
|
|
3008
|
+
export type FalFlux3KleinTextToImageRequestInput = FalFlux3KleinTextToImageRequest;
|
|
3009
|
+
export type FalFlux3KleinTextToImageParsedRequest = z.output<typeof FalFlux3KleinTextToImageRequestSchema>;
|
|
3010
|
+
export declare const FalFlux3KleinEditImageLoraRequestSchema: z.ZodObject<{
|
|
3011
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3012
|
+
path: z.ZodString;
|
|
3013
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
3014
|
+
}, z.core.$strip>>>;
|
|
3015
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
3016
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3017
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
3018
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
3019
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
3020
|
+
png: "png";
|
|
3021
|
+
jpeg: "jpeg";
|
|
3022
|
+
webp: "webp";
|
|
3023
|
+
}>>;
|
|
3024
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
3025
|
+
prompt: z.ZodString;
|
|
3026
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3027
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3028
|
+
square: "square";
|
|
3029
|
+
square_hd: "square_hd";
|
|
3030
|
+
portrait_4_3: "portrait_4_3";
|
|
3031
|
+
portrait_16_9: "portrait_16_9";
|
|
3032
|
+
landscape_4_3: "landscape_4_3";
|
|
3033
|
+
landscape_16_9: "landscape_16_9";
|
|
3034
|
+
}>, z.ZodObject<{
|
|
3035
|
+
width: z.ZodNumber;
|
|
3036
|
+
height: z.ZodNumber;
|
|
3037
|
+
}, z.core.$strip>]>>>;
|
|
3038
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3039
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
+
description: z.ZodString;
|
|
3041
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3042
|
+
x_min: z.ZodNumber;
|
|
3043
|
+
y_min: z.ZodNumber;
|
|
3044
|
+
x_max: z.ZodNumber;
|
|
3045
|
+
y_max: z.ZodNumber;
|
|
3046
|
+
}, z.core.$strip>>>;
|
|
3047
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3048
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3049
|
+
x_min: z.ZodNumber;
|
|
3050
|
+
y_min: z.ZodNumber;
|
|
3051
|
+
x_max: z.ZodNumber;
|
|
3052
|
+
y_max: z.ZodNumber;
|
|
3053
|
+
}, z.core.$strip>>>;
|
|
3054
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3055
|
+
x_min: z.ZodNumber;
|
|
3056
|
+
y_min: z.ZodNumber;
|
|
3057
|
+
x_max: z.ZodNumber;
|
|
3058
|
+
y_max: z.ZodNumber;
|
|
3059
|
+
}, z.core.$strip>>>;
|
|
3060
|
+
}, z.core.$strip>>>>;
|
|
3061
|
+
}, z.core.$strip>;
|
|
3062
|
+
export type FalFlux3KleinEditImageLoraRequest = z.input<typeof FalFlux3KleinEditImageLoraRequestSchema>;
|
|
3063
|
+
export type FalFlux3KleinEditImageLoraRequestInput = FalFlux3KleinEditImageLoraRequest;
|
|
3064
|
+
export type FalFlux3KleinEditImageLoraParsedRequest = z.output<typeof FalFlux3KleinEditImageLoraRequestSchema>;
|
|
3065
|
+
export declare const FalFlux3KleinEditImageRequestSchema: z.ZodObject<{
|
|
3066
|
+
prompt: z.ZodString;
|
|
3067
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
3068
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3069
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
3070
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
3071
|
+
png: "png";
|
|
3072
|
+
jpeg: "jpeg";
|
|
3073
|
+
webp: "webp";
|
|
3074
|
+
}>>;
|
|
3075
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
3076
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
3077
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3078
|
+
square: "square";
|
|
3079
|
+
square_hd: "square_hd";
|
|
3080
|
+
portrait_4_3: "portrait_4_3";
|
|
3081
|
+
portrait_16_9: "portrait_16_9";
|
|
3082
|
+
landscape_4_3: "landscape_4_3";
|
|
3083
|
+
landscape_16_9: "landscape_16_9";
|
|
3084
|
+
}>, z.ZodObject<{
|
|
3085
|
+
width: z.ZodNumber;
|
|
3086
|
+
height: z.ZodNumber;
|
|
3087
|
+
}, z.core.$strip>]>>>;
|
|
3088
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
3089
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3090
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3091
|
+
description: z.ZodString;
|
|
3092
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3093
|
+
x_min: z.ZodNumber;
|
|
3094
|
+
y_min: z.ZodNumber;
|
|
3095
|
+
x_max: z.ZodNumber;
|
|
3096
|
+
y_max: z.ZodNumber;
|
|
3097
|
+
}, z.core.$strip>>>;
|
|
3098
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3099
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3100
|
+
x_min: z.ZodNumber;
|
|
3101
|
+
y_min: z.ZodNumber;
|
|
3102
|
+
x_max: z.ZodNumber;
|
|
3103
|
+
y_max: z.ZodNumber;
|
|
3104
|
+
}, z.core.$strip>>>;
|
|
3105
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3106
|
+
x_min: z.ZodNumber;
|
|
3107
|
+
y_min: z.ZodNumber;
|
|
3108
|
+
x_max: z.ZodNumber;
|
|
3109
|
+
y_max: z.ZodNumber;
|
|
3110
|
+
}, z.core.$strip>>>;
|
|
3111
|
+
}, z.core.$strip>>>>;
|
|
3112
|
+
}, z.core.$strip>;
|
|
3113
|
+
export type FalFlux3KleinEditImageRequest = z.input<typeof FalFlux3KleinEditImageRequestSchema>;
|
|
3114
|
+
export type FalFlux3KleinEditImageRequestInput = FalFlux3KleinEditImageRequest;
|
|
3115
|
+
export type FalFlux3KleinEditImageParsedRequest = z.output<typeof FalFlux3KleinEditImageRequestSchema>;
|
|
3116
|
+
export declare const FalFlux3KleinTrainerRequestSchema: z.ZodObject<{
|
|
3117
|
+
images_data_url: z.ZodString;
|
|
3118
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
3119
|
+
steps: z.ZodDefault<z.ZodNumber>;
|
|
3120
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
3121
|
+
resolution: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<512>, z.ZodLiteral<768>, z.ZodLiteral<1024>]>>;
|
|
3122
|
+
}, z.core.$strip>;
|
|
3123
|
+
export type FalFlux3KleinTrainerRequest = z.input<typeof FalFlux3KleinTrainerRequestSchema>;
|
|
3124
|
+
export type FalFlux3KleinTrainerRequestInput = FalFlux3KleinTrainerRequest;
|
|
3125
|
+
export type FalFlux3KleinTrainerParsedRequest = z.output<typeof FalFlux3KleinTrainerRequestSchema>;
|
|
2877
3126
|
export declare const FalXaiGrokImagineVideoV1p5LiteImageToVideoRequestSchema: z.ZodObject<{
|
|
2878
3127
|
prompt: z.ZodString;
|
|
2879
3128
|
resolution: z.ZodDefault<z.ZodEnum<{
|
|
@@ -22695,6 +22944,282 @@ export declare const FAL_ENDPOINT_REQUEST_SCHEMAS: {
|
|
|
22695
22944
|
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
22696
22945
|
version: z.ZodDefault<z.ZodLiteral<"latest">>;
|
|
22697
22946
|
}, z.core.$strip>;
|
|
22947
|
+
readonly "blackforestlabs/flux-3/klein/base/trainer": z.ZodObject<{
|
|
22948
|
+
images_data_url: z.ZodString;
|
|
22949
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
22950
|
+
steps: z.ZodDefault<z.ZodNumber>;
|
|
22951
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
22952
|
+
resolution: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<512>, z.ZodLiteral<768>, z.ZodLiteral<1024>]>>;
|
|
22953
|
+
}, z.core.$strip>;
|
|
22954
|
+
readonly "blackforestlabs/flux-3/klein/base/trainer/edit": z.ZodObject<{
|
|
22955
|
+
images_data_url: z.ZodString;
|
|
22956
|
+
trigger_phrase: z.ZodDefault<z.ZodString>;
|
|
22957
|
+
steps: z.ZodDefault<z.ZodNumber>;
|
|
22958
|
+
learning_rate: z.ZodDefault<z.ZodNumber>;
|
|
22959
|
+
resolution: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<512>, z.ZodLiteral<768>, z.ZodLiteral<1024>]>>;
|
|
22960
|
+
}, z.core.$strip>;
|
|
22961
|
+
readonly "blackforestlabs/flux-3/klein/base/edit-image/lora": z.ZodObject<{
|
|
22962
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22963
|
+
path: z.ZodString;
|
|
22964
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
22965
|
+
}, z.core.$strip>>>;
|
|
22966
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
22967
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22968
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
22969
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
22970
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
22971
|
+
png: "png";
|
|
22972
|
+
jpeg: "jpeg";
|
|
22973
|
+
webp: "webp";
|
|
22974
|
+
}>>;
|
|
22975
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
22976
|
+
prompt: z.ZodString;
|
|
22977
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
22978
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
22979
|
+
square: "square";
|
|
22980
|
+
square_hd: "square_hd";
|
|
22981
|
+
portrait_4_3: "portrait_4_3";
|
|
22982
|
+
portrait_16_9: "portrait_16_9";
|
|
22983
|
+
landscape_4_3: "landscape_4_3";
|
|
22984
|
+
landscape_16_9: "landscape_16_9";
|
|
22985
|
+
}>, z.ZodObject<{
|
|
22986
|
+
width: z.ZodNumber;
|
|
22987
|
+
height: z.ZodNumber;
|
|
22988
|
+
}, z.core.$strip>]>>>;
|
|
22989
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22990
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22991
|
+
description: z.ZodString;
|
|
22992
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22993
|
+
x_min: z.ZodNumber;
|
|
22994
|
+
y_min: z.ZodNumber;
|
|
22995
|
+
x_max: z.ZodNumber;
|
|
22996
|
+
y_max: z.ZodNumber;
|
|
22997
|
+
}, z.core.$strip>>>;
|
|
22998
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22999
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23000
|
+
x_min: z.ZodNumber;
|
|
23001
|
+
y_min: z.ZodNumber;
|
|
23002
|
+
x_max: z.ZodNumber;
|
|
23003
|
+
y_max: z.ZodNumber;
|
|
23004
|
+
}, z.core.$strip>>>;
|
|
23005
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23006
|
+
x_min: z.ZodNumber;
|
|
23007
|
+
y_min: z.ZodNumber;
|
|
23008
|
+
x_max: z.ZodNumber;
|
|
23009
|
+
y_max: z.ZodNumber;
|
|
23010
|
+
}, z.core.$strip>>>;
|
|
23011
|
+
}, z.core.$strip>>>>;
|
|
23012
|
+
}, z.core.$strip>;
|
|
23013
|
+
readonly "blackforestlabs/flux-3/klein/edit-image/lora": z.ZodObject<{
|
|
23014
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
23015
|
+
path: z.ZodString;
|
|
23016
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
23017
|
+
}, z.core.$strip>>>;
|
|
23018
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
23019
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23020
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23021
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23022
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23023
|
+
png: "png";
|
|
23024
|
+
jpeg: "jpeg";
|
|
23025
|
+
webp: "webp";
|
|
23026
|
+
}>>;
|
|
23027
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23028
|
+
prompt: z.ZodString;
|
|
23029
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
23030
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23031
|
+
square: "square";
|
|
23032
|
+
square_hd: "square_hd";
|
|
23033
|
+
portrait_4_3: "portrait_4_3";
|
|
23034
|
+
portrait_16_9: "portrait_16_9";
|
|
23035
|
+
landscape_4_3: "landscape_4_3";
|
|
23036
|
+
landscape_16_9: "landscape_16_9";
|
|
23037
|
+
}>, z.ZodObject<{
|
|
23038
|
+
width: z.ZodNumber;
|
|
23039
|
+
height: z.ZodNumber;
|
|
23040
|
+
}, z.core.$strip>]>>>;
|
|
23041
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23042
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23043
|
+
description: z.ZodString;
|
|
23044
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23045
|
+
x_min: z.ZodNumber;
|
|
23046
|
+
y_min: z.ZodNumber;
|
|
23047
|
+
x_max: z.ZodNumber;
|
|
23048
|
+
y_max: z.ZodNumber;
|
|
23049
|
+
}, z.core.$strip>>>;
|
|
23050
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23051
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23052
|
+
x_min: z.ZodNumber;
|
|
23053
|
+
y_min: z.ZodNumber;
|
|
23054
|
+
x_max: z.ZodNumber;
|
|
23055
|
+
y_max: z.ZodNumber;
|
|
23056
|
+
}, z.core.$strip>>>;
|
|
23057
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23058
|
+
x_min: z.ZodNumber;
|
|
23059
|
+
y_min: z.ZodNumber;
|
|
23060
|
+
x_max: z.ZodNumber;
|
|
23061
|
+
y_max: z.ZodNumber;
|
|
23062
|
+
}, z.core.$strip>>>;
|
|
23063
|
+
}, z.core.$strip>>>>;
|
|
23064
|
+
}, z.core.$strip>;
|
|
23065
|
+
readonly "blackforestlabs/flux-3/klein/base/text-to-image/lora": z.ZodObject<{
|
|
23066
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
23067
|
+
path: z.ZodString;
|
|
23068
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
23069
|
+
}, z.core.$strip>>>;
|
|
23070
|
+
prompt: z.ZodString;
|
|
23071
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
23072
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23073
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23074
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23075
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23076
|
+
png: "png";
|
|
23077
|
+
jpeg: "jpeg";
|
|
23078
|
+
webp: "webp";
|
|
23079
|
+
}>>;
|
|
23080
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23081
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23082
|
+
square: "square";
|
|
23083
|
+
square_hd: "square_hd";
|
|
23084
|
+
portrait_4_3: "portrait_4_3";
|
|
23085
|
+
portrait_16_9: "portrait_16_9";
|
|
23086
|
+
landscape_4_3: "landscape_4_3";
|
|
23087
|
+
landscape_16_9: "landscape_16_9";
|
|
23088
|
+
}>, z.ZodObject<{
|
|
23089
|
+
width: z.ZodNumber;
|
|
23090
|
+
height: z.ZodNumber;
|
|
23091
|
+
}, z.core.$strip>]>>;
|
|
23092
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23093
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23094
|
+
description: z.ZodString;
|
|
23095
|
+
box: z.ZodObject<{
|
|
23096
|
+
x_min: z.ZodNumber;
|
|
23097
|
+
y_min: z.ZodNumber;
|
|
23098
|
+
x_max: z.ZodNumber;
|
|
23099
|
+
y_max: z.ZodNumber;
|
|
23100
|
+
}, z.core.$strip>;
|
|
23101
|
+
}, z.core.$strip>>>>;
|
|
23102
|
+
}, z.core.$strip>;
|
|
23103
|
+
readonly "blackforestlabs/flux-3/klein/text-to-image/lora": z.ZodObject<{
|
|
23104
|
+
loras: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
23105
|
+
path: z.ZodString;
|
|
23106
|
+
scale: z.ZodDefault<z.ZodNumber>;
|
|
23107
|
+
}, z.core.$strip>>>;
|
|
23108
|
+
prompt: z.ZodString;
|
|
23109
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
23110
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23111
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23112
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23113
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23114
|
+
png: "png";
|
|
23115
|
+
jpeg: "jpeg";
|
|
23116
|
+
webp: "webp";
|
|
23117
|
+
}>>;
|
|
23118
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23119
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23120
|
+
square: "square";
|
|
23121
|
+
square_hd: "square_hd";
|
|
23122
|
+
portrait_4_3: "portrait_4_3";
|
|
23123
|
+
portrait_16_9: "portrait_16_9";
|
|
23124
|
+
landscape_4_3: "landscape_4_3";
|
|
23125
|
+
landscape_16_9: "landscape_16_9";
|
|
23126
|
+
}>, z.ZodObject<{
|
|
23127
|
+
width: z.ZodNumber;
|
|
23128
|
+
height: z.ZodNumber;
|
|
23129
|
+
}, z.core.$strip>]>>;
|
|
23130
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23131
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23132
|
+
description: z.ZodString;
|
|
23133
|
+
box: z.ZodObject<{
|
|
23134
|
+
x_min: z.ZodNumber;
|
|
23135
|
+
y_min: z.ZodNumber;
|
|
23136
|
+
x_max: z.ZodNumber;
|
|
23137
|
+
y_max: z.ZodNumber;
|
|
23138
|
+
}, z.core.$strip>;
|
|
23139
|
+
}, z.core.$strip>>>>;
|
|
23140
|
+
}, z.core.$strip>;
|
|
23141
|
+
readonly "blackforestlabs/flux-3/klein/text-to-image": z.ZodObject<{
|
|
23142
|
+
prompt: z.ZodString;
|
|
23143
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23144
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23145
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23146
|
+
png: "png";
|
|
23147
|
+
jpeg: "jpeg";
|
|
23148
|
+
webp: "webp";
|
|
23149
|
+
}>>;
|
|
23150
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23151
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23152
|
+
image_size: z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23153
|
+
square: "square";
|
|
23154
|
+
square_hd: "square_hd";
|
|
23155
|
+
portrait_4_3: "portrait_4_3";
|
|
23156
|
+
portrait_16_9: "portrait_16_9";
|
|
23157
|
+
landscape_4_3: "landscape_4_3";
|
|
23158
|
+
landscape_16_9: "landscape_16_9";
|
|
23159
|
+
}>, z.ZodObject<{
|
|
23160
|
+
width: z.ZodNumber;
|
|
23161
|
+
height: z.ZodNumber;
|
|
23162
|
+
}, z.core.$strip>]>>;
|
|
23163
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
23164
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23165
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23166
|
+
description: z.ZodString;
|
|
23167
|
+
box: z.ZodObject<{
|
|
23168
|
+
x_min: z.ZodNumber;
|
|
23169
|
+
y_min: z.ZodNumber;
|
|
23170
|
+
x_max: z.ZodNumber;
|
|
23171
|
+
y_max: z.ZodNumber;
|
|
23172
|
+
}, z.core.$strip>;
|
|
23173
|
+
}, z.core.$strip>>>>;
|
|
23174
|
+
}, z.core.$strip>;
|
|
23175
|
+
readonly "blackforestlabs/flux-3/klein/edit-image": z.ZodObject<{
|
|
23176
|
+
prompt: z.ZodString;
|
|
23177
|
+
image_urls: z.ZodArray<z.ZodString>;
|
|
23178
|
+
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23179
|
+
num_images: z.ZodDefault<z.ZodNumber>;
|
|
23180
|
+
output_format: z.ZodDefault<z.ZodEnum<{
|
|
23181
|
+
png: "png";
|
|
23182
|
+
jpeg: "jpeg";
|
|
23183
|
+
webp: "webp";
|
|
23184
|
+
}>>;
|
|
23185
|
+
sync_mode: z.ZodDefault<z.ZodBoolean>;
|
|
23186
|
+
enable_safety_checker: z.ZodDefault<z.ZodBoolean>;
|
|
23187
|
+
image_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23188
|
+
square: "square";
|
|
23189
|
+
square_hd: "square_hd";
|
|
23190
|
+
portrait_4_3: "portrait_4_3";
|
|
23191
|
+
portrait_16_9: "portrait_16_9";
|
|
23192
|
+
landscape_4_3: "landscape_4_3";
|
|
23193
|
+
landscape_16_9: "landscape_16_9";
|
|
23194
|
+
}>, z.ZodObject<{
|
|
23195
|
+
width: z.ZodNumber;
|
|
23196
|
+
height: z.ZodNumber;
|
|
23197
|
+
}, z.core.$strip>]>>>;
|
|
23198
|
+
enable_prompt_expansion: z.ZodDefault<z.ZodBoolean>;
|
|
23199
|
+
bounding_boxes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23200
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23201
|
+
description: z.ZodString;
|
|
23202
|
+
box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23203
|
+
x_min: z.ZodNumber;
|
|
23204
|
+
y_min: z.ZodNumber;
|
|
23205
|
+
x_max: z.ZodNumber;
|
|
23206
|
+
y_max: z.ZodNumber;
|
|
23207
|
+
}, z.core.$strip>>>;
|
|
23208
|
+
source_image_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23209
|
+
source_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23210
|
+
x_min: z.ZodNumber;
|
|
23211
|
+
y_min: z.ZodNumber;
|
|
23212
|
+
x_max: z.ZodNumber;
|
|
23213
|
+
y_max: z.ZodNumber;
|
|
23214
|
+
}, z.core.$strip>>>;
|
|
23215
|
+
target_box: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23216
|
+
x_min: z.ZodNumber;
|
|
23217
|
+
y_min: z.ZodNumber;
|
|
23218
|
+
x_max: z.ZodNumber;
|
|
23219
|
+
y_max: z.ZodNumber;
|
|
23220
|
+
}, z.core.$strip>>>;
|
|
23221
|
+
}, z.core.$strip>>>>;
|
|
23222
|
+
}, z.core.$strip>;
|
|
22698
23223
|
readonly "blackforestlabs/flux-3/edit-image": z.ZodObject<{
|
|
22699
23224
|
prompt: z.ZodString;
|
|
22700
23225
|
image_urls: z.ZodArray<z.ZodString>;
|