fal-endpoint-types 1.3.19 → 1.3.20
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/package.json +1 -1
- package/types/fal/endpoints/components.d.ts +296 -96
- package/types/fal/endpoints/index.d.ts +25 -0
- package/types/fal/endpoints/schema.d.ts +2032 -1388
|
@@ -44,7 +44,7 @@ export interface XaiGrokImagineVideoTextToVideoOutput {
|
|
|
44
44
|
* "num_frames": 145
|
|
45
45
|
* }
|
|
46
46
|
*/
|
|
47
|
-
video: Components.
|
|
47
|
+
video: Components.VideoFile;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export interface XaiGrokImagineVideoImageToVideoInput {
|
|
@@ -97,7 +97,7 @@ export interface XaiGrokImagineVideoImageToVideoOutput {
|
|
|
97
97
|
* "num_frames": 145
|
|
98
98
|
* }
|
|
99
99
|
*/
|
|
100
|
-
video: Components.
|
|
100
|
+
video: Components.VideoFile;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
export interface XaiGrokImagineVideoEditVideoInput {
|
|
@@ -137,7 +137,7 @@ export interface XaiGrokImagineVideoEditVideoOutput {
|
|
|
137
137
|
* "num_frames": 121
|
|
138
138
|
* }
|
|
139
139
|
*/
|
|
140
|
-
video: Components.
|
|
140
|
+
video: Components.VideoFile;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
export interface XaiGrokImagineImageEditInput {
|
|
@@ -366,7 +366,7 @@ export interface WanV26TextToVideoOutput {
|
|
|
366
366
|
* "url": "https://v3b.fal.media/files/b/0a867564/PsHtrg623uJuI7DdRqXvb_etx4d0Un.mp4"
|
|
367
367
|
* }
|
|
368
368
|
*/
|
|
369
|
-
video: Components.
|
|
369
|
+
video: Components.VideoFile;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
export interface WanV26TextToImageInput {
|
|
@@ -534,7 +534,7 @@ export interface WanV26ReferenceToVideoFlashInput {
|
|
|
534
534
|
video_urls?: string[];
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
export interface WanV26ReferenceToVideoFlashOutput extends
|
|
537
|
+
export interface WanV26ReferenceToVideoFlashOutput extends SharedType_a3d {}
|
|
538
538
|
|
|
539
539
|
export interface WanV26ReferenceToVideoInput {
|
|
540
540
|
/**
|
|
@@ -608,15 +608,15 @@ export interface WanV26ReferenceToVideoInput {
|
|
|
608
608
|
video_urls: string[];
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
export interface WanV26ReferenceToVideoOutput extends
|
|
611
|
+
export interface WanV26ReferenceToVideoOutput extends SharedType_a3d {}
|
|
612
612
|
|
|
613
613
|
export interface WanV26ImageToVideoFlashInput extends SharedType_d35 {}
|
|
614
614
|
|
|
615
|
-
export interface WanV26ImageToVideoFlashOutput extends
|
|
615
|
+
export interface WanV26ImageToVideoFlashOutput extends SharedType_291 {}
|
|
616
616
|
|
|
617
617
|
export interface WanV26ImageToVideoInput extends SharedType_d35 {}
|
|
618
618
|
|
|
619
|
-
export interface WanV26ImageToVideoOutput extends
|
|
619
|
+
export interface WanV26ImageToVideoOutput extends SharedType_291 {}
|
|
620
620
|
|
|
621
621
|
export interface WanV26ImageToImageInput {
|
|
622
622
|
/**
|
|
@@ -1661,6 +1661,28 @@ export interface SharedType_fb3 {
|
|
|
1661
1661
|
seed?: number;
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
|
+
export interface SharedType_fb1 {
|
|
1665
|
+
/** @description ZIP archive of all video frames if requested. */
|
|
1666
|
+
frames_zip?: Components.File_1;
|
|
1667
|
+
/**
|
|
1668
|
+
* Prompt
|
|
1669
|
+
* @description The prompt used for generation.
|
|
1670
|
+
*/
|
|
1671
|
+
prompt: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Seed
|
|
1674
|
+
* @description The seed used for generation.
|
|
1675
|
+
*/
|
|
1676
|
+
seed: number;
|
|
1677
|
+
/**
|
|
1678
|
+
* @description The generated pose video file.
|
|
1679
|
+
* @example {
|
|
1680
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-pose-output.mp4"
|
|
1681
|
+
* }
|
|
1682
|
+
*/
|
|
1683
|
+
video: Components.VideoFile_1;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1664
1686
|
export interface SharedType_faf {
|
|
1665
1687
|
/**
|
|
1666
1688
|
* Acceleration
|
|
@@ -1845,6 +1867,19 @@ export interface SharedType_f74 {
|
|
|
1845
1867
|
seed: number;
|
|
1846
1868
|
}
|
|
1847
1869
|
|
|
1870
|
+
export interface SharedType_f671 {
|
|
1871
|
+
/**
|
|
1872
|
+
* Video
|
|
1873
|
+
* @description The generated video file
|
|
1874
|
+
* @example {
|
|
1875
|
+
* "file_name": "ltxv-2-i2v-output.mp4",
|
|
1876
|
+
* "content_type": "video/mp4",
|
|
1877
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/ltxv-2-i2v-output.mp4"
|
|
1878
|
+
* }
|
|
1879
|
+
*/
|
|
1880
|
+
video: Components.VideoFile;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1848
1883
|
export interface SharedType_f67 {
|
|
1849
1884
|
/**
|
|
1850
1885
|
* Auto Trim
|
|
@@ -2284,6 +2319,94 @@ export interface SharedType_ec2 {
|
|
|
2284
2319
|
video: Components.File;
|
|
2285
2320
|
}
|
|
2286
2321
|
|
|
2322
|
+
export interface SharedType_ec0 {
|
|
2323
|
+
/**
|
|
2324
|
+
* Art Style
|
|
2325
|
+
* @description Desired art style of the object. Note: enable_pbr should be false for sculpture style.
|
|
2326
|
+
* @default realistic
|
|
2327
|
+
* @enum {string}
|
|
2328
|
+
*/
|
|
2329
|
+
art_style?: 'realistic' | 'sculpture';
|
|
2330
|
+
/**
|
|
2331
|
+
* Enable Pbr
|
|
2332
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Should be false for sculpture style.
|
|
2333
|
+
* @default false
|
|
2334
|
+
*/
|
|
2335
|
+
enable_pbr?: boolean;
|
|
2336
|
+
/**
|
|
2337
|
+
* Enable Prompt Expansion
|
|
2338
|
+
* @description Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
|
|
2339
|
+
* @default false
|
|
2340
|
+
*/
|
|
2341
|
+
enable_prompt_expansion?: boolean;
|
|
2342
|
+
/**
|
|
2343
|
+
* Enable Safety Checker
|
|
2344
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
2345
|
+
* @default true
|
|
2346
|
+
*/
|
|
2347
|
+
enable_safety_checker?: boolean;
|
|
2348
|
+
/**
|
|
2349
|
+
* Is A T Pose
|
|
2350
|
+
* @description Whether to generate the model in an A/T pose
|
|
2351
|
+
* @default false
|
|
2352
|
+
*/
|
|
2353
|
+
is_a_t_pose?: boolean;
|
|
2354
|
+
/**
|
|
2355
|
+
* Mode
|
|
2356
|
+
* @description Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
|
|
2357
|
+
* @default full
|
|
2358
|
+
* @enum {string}
|
|
2359
|
+
*/
|
|
2360
|
+
mode?: 'preview' | 'full';
|
|
2361
|
+
/**
|
|
2362
|
+
* Prompt
|
|
2363
|
+
* @description Describe what kind of object the 3D model is. Maximum 600 characters.
|
|
2364
|
+
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
2365
|
+
*/
|
|
2366
|
+
prompt: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* Seed
|
|
2369
|
+
* @description Seed for reproducible results. Same prompt and seed usually generate the same result.
|
|
2370
|
+
*/
|
|
2371
|
+
seed?: number;
|
|
2372
|
+
/**
|
|
2373
|
+
* Should Remesh
|
|
2374
|
+
* @description Whether to enable the remesh phase. When false, returns unprocessed triangular mesh.
|
|
2375
|
+
* @default true
|
|
2376
|
+
*/
|
|
2377
|
+
should_remesh?: boolean;
|
|
2378
|
+
/**
|
|
2379
|
+
* Symmetry Mode
|
|
2380
|
+
* @description Controls symmetry behavior during model generation.
|
|
2381
|
+
* @default auto
|
|
2382
|
+
* @enum {string}
|
|
2383
|
+
*/
|
|
2384
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
2385
|
+
/**
|
|
2386
|
+
* Target Polycount
|
|
2387
|
+
* @description Target number of polygons in the generated model
|
|
2388
|
+
* @default 30000
|
|
2389
|
+
*/
|
|
2390
|
+
target_polycount?: number;
|
|
2391
|
+
/**
|
|
2392
|
+
* Texture Image Url
|
|
2393
|
+
* @description 2D image to guide the texturing process (only used in 'full' mode)
|
|
2394
|
+
*/
|
|
2395
|
+
texture_image_url?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Texture Prompt
|
|
2398
|
+
* @description Additional text prompt to guide the texturing process (only used in 'full' mode)
|
|
2399
|
+
*/
|
|
2400
|
+
texture_prompt?: string;
|
|
2401
|
+
/**
|
|
2402
|
+
* Topology
|
|
2403
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
2404
|
+
* @default triangle
|
|
2405
|
+
* @enum {string}
|
|
2406
|
+
*/
|
|
2407
|
+
topology?: 'quad' | 'triangle';
|
|
2408
|
+
}
|
|
2409
|
+
|
|
2287
2410
|
export interface SharedType_e8e {
|
|
2288
2411
|
/**
|
|
2289
2412
|
* Video
|
|
@@ -3118,6 +3241,57 @@ export interface SharedType_dbd {
|
|
|
3118
3241
|
seed: number;
|
|
3119
3242
|
}
|
|
3120
3243
|
|
|
3244
|
+
export interface SharedType_da9 {
|
|
3245
|
+
/**
|
|
3246
|
+
* Output
|
|
3247
|
+
* @description Generated output from video processing
|
|
3248
|
+
* @example that's the way I look at it and I don't know what you would say. Sooner or later the child gets run over.
|
|
3249
|
+
* They seem to be too local, too provincial.
|
|
3250
|
+
*/
|
|
3251
|
+
output: string;
|
|
3252
|
+
/**
|
|
3253
|
+
* Usage
|
|
3254
|
+
* @description Token usage information
|
|
3255
|
+
* @example {
|
|
3256
|
+
* "prompt_tokens": 1000,
|
|
3257
|
+
* "total_tokens": 1100,
|
|
3258
|
+
* "completion_tokens": 100,
|
|
3259
|
+
* "cost": 0.0005
|
|
3260
|
+
* }
|
|
3261
|
+
*/
|
|
3262
|
+
usage?: Components.UsageInfo;
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
export interface SharedType_da5 {
|
|
3266
|
+
/**
|
|
3267
|
+
* Prompt
|
|
3268
|
+
* @description The prompt used for the generation.
|
|
3269
|
+
* @example Continue the scene naturally, maintaining the same style and motion.
|
|
3270
|
+
*/
|
|
3271
|
+
prompt: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* Seed
|
|
3274
|
+
* @description The seed used for the random number generator.
|
|
3275
|
+
* @example 866232447
|
|
3276
|
+
*/
|
|
3277
|
+
seed: number;
|
|
3278
|
+
/**
|
|
3279
|
+
* Video
|
|
3280
|
+
* @description The generated video.
|
|
3281
|
+
* @example {
|
|
3282
|
+
* "height": 704,
|
|
3283
|
+
* "duration": 10.28,
|
|
3284
|
+
* "url": "https://v3b.fal.media/files/b/0a88289e/CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
3285
|
+
* "fps": 25,
|
|
3286
|
+
* "width": 1248,
|
|
3287
|
+
* "file_name": "CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
3288
|
+
* "content_type": "video/mp4",
|
|
3289
|
+
* "num_frames": 257
|
|
3290
|
+
* }
|
|
3291
|
+
*/
|
|
3292
|
+
video: Components.VideoFile;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3121
3295
|
export interface SharedType_d99 {
|
|
3122
3296
|
/**
|
|
3123
3297
|
* Aspect Ratio
|
|
@@ -3390,6 +3564,28 @@ export interface SharedType_d19 {
|
|
|
3390
3564
|
video: Components.File;
|
|
3391
3565
|
}
|
|
3392
3566
|
|
|
3567
|
+
export interface SharedType_d17 {
|
|
3568
|
+
/** @description ZIP archive of all video frames if requested. */
|
|
3569
|
+
frames_zip?: Components.File_1;
|
|
3570
|
+
/**
|
|
3571
|
+
* Prompt
|
|
3572
|
+
* @description The prompt used for generation.
|
|
3573
|
+
*/
|
|
3574
|
+
prompt: string;
|
|
3575
|
+
/**
|
|
3576
|
+
* Seed
|
|
3577
|
+
* @description The seed used for generation.
|
|
3578
|
+
*/
|
|
3579
|
+
seed: number;
|
|
3580
|
+
/**
|
|
3581
|
+
* @description The generated reframe video file.
|
|
3582
|
+
* @example {
|
|
3583
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-reframe-output.mp4"
|
|
3584
|
+
* }
|
|
3585
|
+
*/
|
|
3586
|
+
video: Components.VideoFile_1;
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3393
3589
|
export interface SharedType_d0e {
|
|
3394
3590
|
/**
|
|
3395
3591
|
* Video
|
|
@@ -3699,26 +3895,6 @@ export interface SharedType_cbd {
|
|
|
3699
3895
|
sync_mode?: boolean;
|
|
3700
3896
|
}
|
|
3701
3897
|
|
|
3702
|
-
export interface SharedType_cbb {
|
|
3703
|
-
/**
|
|
3704
|
-
* Output
|
|
3705
|
-
* @description Generated output from video processing
|
|
3706
|
-
* @example that's the way I look at it and I don't know what you would say. Sooner or later the child gets run over.
|
|
3707
|
-
* They seem to be too local, too provincial.
|
|
3708
|
-
*/
|
|
3709
|
-
output: string;
|
|
3710
|
-
/**
|
|
3711
|
-
* @description Token usage information
|
|
3712
|
-
* @example {
|
|
3713
|
-
* "completion_tokens": 100,
|
|
3714
|
-
* "total_tokens": 1100,
|
|
3715
|
-
* "prompt_tokens": 1000,
|
|
3716
|
-
* "cost": 0.0005
|
|
3717
|
-
* }
|
|
3718
|
-
*/
|
|
3719
|
-
usage: Components.UsageInfo;
|
|
3720
|
-
}
|
|
3721
|
-
|
|
3722
3898
|
export interface SharedType_cb4 {
|
|
3723
3899
|
/**
|
|
3724
3900
|
* Acceleration
|
|
@@ -3884,6 +4060,88 @@ export interface SharedType_c7e {
|
|
|
3884
4060
|
audio: Components.File;
|
|
3885
4061
|
}
|
|
3886
4062
|
|
|
4063
|
+
export interface SharedType_c5e {
|
|
4064
|
+
/**
|
|
4065
|
+
* Acceleration
|
|
4066
|
+
* @description Acceleration level for image generation. 'regular' balances speed and quality.
|
|
4067
|
+
* @default none
|
|
4068
|
+
* @enum {string}
|
|
4069
|
+
*/
|
|
4070
|
+
acceleration?: 'none' | 'regular';
|
|
4071
|
+
/**
|
|
4072
|
+
* Enable Safety Checker
|
|
4073
|
+
* @description If set to true, the safety checker will be enabled.
|
|
4074
|
+
* @default true
|
|
4075
|
+
*/
|
|
4076
|
+
enable_safety_checker?: boolean;
|
|
4077
|
+
/**
|
|
4078
|
+
* Guidance scale (CFG)
|
|
4079
|
+
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
4080
|
+
* the model to stick to your prompt when looking for a related image to show you.
|
|
4081
|
+
* @default 3.5
|
|
4082
|
+
*/
|
|
4083
|
+
guidance_scale?: number;
|
|
4084
|
+
/**
|
|
4085
|
+
* Image Size
|
|
4086
|
+
* @description The size of the generated image.
|
|
4087
|
+
* @default landscape_4_3
|
|
4088
|
+
*/
|
|
4089
|
+
image_size?:
|
|
4090
|
+
| Components.ImageSize
|
|
4091
|
+
| (
|
|
4092
|
+
| 'square_hd'
|
|
4093
|
+
| 'square'
|
|
4094
|
+
| 'portrait_4_3'
|
|
4095
|
+
| 'portrait_16_9'
|
|
4096
|
+
| 'landscape_4_3'
|
|
4097
|
+
| 'landscape_16_9'
|
|
4098
|
+
);
|
|
4099
|
+
/**
|
|
4100
|
+
* Loras
|
|
4101
|
+
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
4102
|
+
* and they will be merged together to generate the final image.
|
|
4103
|
+
* @default []
|
|
4104
|
+
*/
|
|
4105
|
+
loras?: Components.LoraWeight[];
|
|
4106
|
+
/**
|
|
4107
|
+
* Num Images
|
|
4108
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
4109
|
+
* @default 1
|
|
4110
|
+
*/
|
|
4111
|
+
num_images?: number;
|
|
4112
|
+
/**
|
|
4113
|
+
* Num Inference Steps
|
|
4114
|
+
* @description The number of inference steps to perform.
|
|
4115
|
+
* @default 28
|
|
4116
|
+
*/
|
|
4117
|
+
num_inference_steps?: number;
|
|
4118
|
+
/**
|
|
4119
|
+
* Output Format
|
|
4120
|
+
* @description The format of the generated image.
|
|
4121
|
+
* @default jpeg
|
|
4122
|
+
* @enum {string}
|
|
4123
|
+
*/
|
|
4124
|
+
output_format?: 'jpeg' | 'png';
|
|
4125
|
+
/**
|
|
4126
|
+
* Prompt
|
|
4127
|
+
* @description The prompt to generate an image from.
|
|
4128
|
+
* @example Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word "FLUX" is painted over it in big, white brush strokes with visible texture.
|
|
4129
|
+
*/
|
|
4130
|
+
prompt: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Seed
|
|
4133
|
+
* @description The same seed and the same prompt given to the same version of the model
|
|
4134
|
+
* will output the same image every time.
|
|
4135
|
+
*/
|
|
4136
|
+
seed?: number;
|
|
4137
|
+
/**
|
|
4138
|
+
* Sync Mode
|
|
4139
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
4140
|
+
* @default false
|
|
4141
|
+
*/
|
|
4142
|
+
sync_mode?: boolean;
|
|
4143
|
+
}
|
|
4144
|
+
|
|
3887
4145
|
export interface SharedType_c4e {
|
|
3888
4146
|
/**
|
|
3889
4147
|
* Seed
|
|
@@ -4307,6 +4565,27 @@ export interface SharedType_b8b {
|
|
|
4307
4565
|
diffusers_lora_file: Components.File_1;
|
|
4308
4566
|
}
|
|
4309
4567
|
|
|
4568
|
+
export interface SharedType_b8a {
|
|
4569
|
+
/**
|
|
4570
|
+
* Image Url
|
|
4571
|
+
* @description The URL of the image to be processed.
|
|
4572
|
+
* @example https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg
|
|
4573
|
+
* @example http://ecx.images-amazon.com/images/I/51UUzBDAMsL.jpg
|
|
4574
|
+
*/
|
|
4575
|
+
image_url: string;
|
|
4576
|
+
/**
|
|
4577
|
+
* Region
|
|
4578
|
+
* @description The user input coordinates
|
|
4579
|
+
* @example {
|
|
4580
|
+
* "y2": 200,
|
|
4581
|
+
* "x2": 200,
|
|
4582
|
+
* "x1": 100,
|
|
4583
|
+
* "y1": 100
|
|
4584
|
+
* }
|
|
4585
|
+
*/
|
|
4586
|
+
region: Components.Region;
|
|
4587
|
+
}
|
|
4588
|
+
|
|
4310
4589
|
export interface SharedType_b88 {
|
|
4311
4590
|
/**
|
|
4312
4591
|
* @description The generated video file.
|
|
@@ -4777,6 +5056,94 @@ export interface SharedType_aed {
|
|
|
4777
5056
|
sync_mode?: boolean;
|
|
4778
5057
|
}
|
|
4779
5058
|
|
|
5059
|
+
export interface SharedType_ae3 {
|
|
5060
|
+
/**
|
|
5061
|
+
* Actual Prompt
|
|
5062
|
+
* @description The actual prompt used if prompt expansion was enabled
|
|
5063
|
+
*/
|
|
5064
|
+
actual_prompt?: string;
|
|
5065
|
+
/**
|
|
5066
|
+
* Model Glb
|
|
5067
|
+
* @description Generated 3D object in GLB format.
|
|
5068
|
+
* @example {
|
|
5069
|
+
* "file_size": 9314028,
|
|
5070
|
+
* "file_name": "model.glb",
|
|
5071
|
+
* "content_type": "model/gltf-binary",
|
|
5072
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
5073
|
+
* }
|
|
5074
|
+
*/
|
|
5075
|
+
model_glb: Components.File;
|
|
5076
|
+
/**
|
|
5077
|
+
* Model Urls
|
|
5078
|
+
* @description URLs for different 3D model formats
|
|
5079
|
+
* @example {
|
|
5080
|
+
* "fbx": {
|
|
5081
|
+
* "file_size": 5444380,
|
|
5082
|
+
* "file_name": "model.fbx",
|
|
5083
|
+
* "content_type": "application/octet-stream",
|
|
5084
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
5085
|
+
* },
|
|
5086
|
+
* "usdz": {
|
|
5087
|
+
* "file_size": 9834246,
|
|
5088
|
+
* "file_name": "model.usdz",
|
|
5089
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
5090
|
+
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
5091
|
+
* },
|
|
5092
|
+
* "glb": {
|
|
5093
|
+
* "file_size": 9314028,
|
|
5094
|
+
* "file_name": "model.glb",
|
|
5095
|
+
* "content_type": "model/gltf-binary",
|
|
5096
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
5097
|
+
* },
|
|
5098
|
+
* "obj": {
|
|
5099
|
+
* "file_size": 2755145,
|
|
5100
|
+
* "file_name": "model.obj",
|
|
5101
|
+
* "content_type": "text/plain",
|
|
5102
|
+
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
5103
|
+
* }
|
|
5104
|
+
* }
|
|
5105
|
+
*/
|
|
5106
|
+
model_urls: Components.ModelUrls;
|
|
5107
|
+
/**
|
|
5108
|
+
* Prompt
|
|
5109
|
+
* @description The text prompt used for generation
|
|
5110
|
+
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
5111
|
+
*/
|
|
5112
|
+
prompt: string;
|
|
5113
|
+
/**
|
|
5114
|
+
* Seed
|
|
5115
|
+
* @description The seed used for generation
|
|
5116
|
+
* @example 4002110719
|
|
5117
|
+
*/
|
|
5118
|
+
seed?: number;
|
|
5119
|
+
/**
|
|
5120
|
+
* Texture Urls
|
|
5121
|
+
* @description Array of texture file objects
|
|
5122
|
+
* @example [
|
|
5123
|
+
* {
|
|
5124
|
+
* "base_color": {
|
|
5125
|
+
* "file_size": 4254502,
|
|
5126
|
+
* "file_name": "texture_0.png",
|
|
5127
|
+
* "content_type": "image/png",
|
|
5128
|
+
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
5129
|
+
* }
|
|
5130
|
+
* }
|
|
5131
|
+
* ]
|
|
5132
|
+
*/
|
|
5133
|
+
texture_urls?: Components.TextureFiles[];
|
|
5134
|
+
/**
|
|
5135
|
+
* Thumbnail
|
|
5136
|
+
* @description Preview thumbnail of the generated model
|
|
5137
|
+
* @example {
|
|
5138
|
+
* "file_size": 173792,
|
|
5139
|
+
* "file_name": "preview.png",
|
|
5140
|
+
* "content_type": "image/png",
|
|
5141
|
+
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
5142
|
+
* }
|
|
5143
|
+
*/
|
|
5144
|
+
thumbnail?: Components.File;
|
|
5145
|
+
}
|
|
5146
|
+
|
|
4780
5147
|
export interface SharedType_ade {
|
|
4781
5148
|
/**
|
|
4782
5149
|
* Video
|
|
@@ -4876,6 +5243,36 @@ export interface SharedType_a97 {
|
|
|
4876
5243
|
seed: number;
|
|
4877
5244
|
}
|
|
4878
5245
|
|
|
5246
|
+
export interface SharedType_a96 {
|
|
5247
|
+
/**
|
|
5248
|
+
* Prompt
|
|
5249
|
+
* @description The prompt used for the generation.
|
|
5250
|
+
* @example A cowboy walking through a dusty town at high noon, camera following from behind, cinematic depth, realistic lighting, western mood, 4K film grain.
|
|
5251
|
+
*/
|
|
5252
|
+
prompt: string;
|
|
5253
|
+
/**
|
|
5254
|
+
* Seed
|
|
5255
|
+
* @description The seed used for the random number generator.
|
|
5256
|
+
* @example 149063119
|
|
5257
|
+
*/
|
|
5258
|
+
seed: number;
|
|
5259
|
+
/**
|
|
5260
|
+
* Video
|
|
5261
|
+
* @description The generated video.
|
|
5262
|
+
* @example {
|
|
5263
|
+
* "height": 704,
|
|
5264
|
+
* "duration": 6.44,
|
|
5265
|
+
* "url": "https://v3b.fal.media/files/b/0a8824b1/sdm0KfmenrlywesfzY1Y1_if6euPp1.mp4",
|
|
5266
|
+
* "fps": 25,
|
|
5267
|
+
* "width": 1248,
|
|
5268
|
+
* "file_name": "sdm0KfmenrlywesfzY1Y1_if6euPp1.mp4",
|
|
5269
|
+
* "content_type": "video/mp4",
|
|
5270
|
+
* "num_frames": 161
|
|
5271
|
+
* }
|
|
5272
|
+
*/
|
|
5273
|
+
video: Components.VideoFile;
|
|
5274
|
+
}
|
|
5275
|
+
|
|
4879
5276
|
export interface SharedType_a95 {
|
|
4880
5277
|
/**
|
|
4881
5278
|
* Audio
|
|
@@ -5023,30 +5420,6 @@ export interface SharedType_a88 {
|
|
|
5023
5420
|
};
|
|
5024
5421
|
}
|
|
5025
5422
|
|
|
5026
|
-
export interface SharedType_a7f {
|
|
5027
|
-
/**
|
|
5028
|
-
* Actual Prompt
|
|
5029
|
-
* @description The actual prompt used if prompt rewriting was enabled
|
|
5030
|
-
* @example Dance battle between Character1 and Character2, cinematic lighting, dynamic camera movement.
|
|
5031
|
-
*/
|
|
5032
|
-
actual_prompt?: string;
|
|
5033
|
-
/**
|
|
5034
|
-
* Seed
|
|
5035
|
-
* @description The seed used for generation
|
|
5036
|
-
* @example 175932751
|
|
5037
|
-
*/
|
|
5038
|
-
seed: number;
|
|
5039
|
-
/**
|
|
5040
|
-
* Video
|
|
5041
|
-
* @description The generated video file
|
|
5042
|
-
* @example {
|
|
5043
|
-
* "content_type": "video/mp4",
|
|
5044
|
-
* "url": "https://v3b.fal.media/files/b/0a86762b/iDknfPkLFSFwWkyMgJi0U_QIzjwBDQ.mp4"
|
|
5045
|
-
* }
|
|
5046
|
-
*/
|
|
5047
|
-
video: Components.VideoFile_1;
|
|
5048
|
-
}
|
|
5049
|
-
|
|
5050
5423
|
export interface SharedType_a77 {
|
|
5051
5424
|
/**
|
|
5052
5425
|
* Acceleration
|
|
@@ -5157,7 +5530,7 @@ export interface SharedType_a54 {
|
|
|
5157
5530
|
diffusers_lora_file: Components.File;
|
|
5158
5531
|
}
|
|
5159
5532
|
|
|
5160
|
-
export interface
|
|
5533
|
+
export interface SharedType_a3d1 {
|
|
5161
5534
|
/**
|
|
5162
5535
|
* Default Caption
|
|
5163
5536
|
* @description Default caption to use when caption files are missing. If None, missing captions will cause an error.
|
|
@@ -5211,6 +5584,30 @@ export interface SharedType_a3d {
|
|
|
5211
5584
|
steps?: number;
|
|
5212
5585
|
}
|
|
5213
5586
|
|
|
5587
|
+
export interface SharedType_a3d {
|
|
5588
|
+
/**
|
|
5589
|
+
* Actual Prompt
|
|
5590
|
+
* @description The actual prompt used if prompt rewriting was enabled
|
|
5591
|
+
* @example Dance battle between Character1 and Character2, cinematic lighting, dynamic camera movement.
|
|
5592
|
+
*/
|
|
5593
|
+
actual_prompt?: string;
|
|
5594
|
+
/**
|
|
5595
|
+
* Seed
|
|
5596
|
+
* @description The seed used for generation
|
|
5597
|
+
* @example 175932751
|
|
5598
|
+
*/
|
|
5599
|
+
seed: number;
|
|
5600
|
+
/**
|
|
5601
|
+
* Video
|
|
5602
|
+
* @description The generated video file
|
|
5603
|
+
* @example {
|
|
5604
|
+
* "content_type": "video/mp4",
|
|
5605
|
+
* "url": "https://v3b.fal.media/files/b/0a86762b/iDknfPkLFSFwWkyMgJi0U_QIzjwBDQ.mp4"
|
|
5606
|
+
* }
|
|
5607
|
+
*/
|
|
5608
|
+
video: Components.VideoFile;
|
|
5609
|
+
}
|
|
5610
|
+
|
|
5214
5611
|
export interface SharedType_a3c {
|
|
5215
5612
|
/**
|
|
5216
5613
|
* Video
|
|
@@ -5336,35 +5733,6 @@ export interface SharedType_a1c {
|
|
|
5336
5733
|
video: Components.File;
|
|
5337
5734
|
}
|
|
5338
5735
|
|
|
5339
|
-
export interface SharedType_a00 {
|
|
5340
|
-
/**
|
|
5341
|
-
* Prompt
|
|
5342
|
-
* @description The prompt used for the generation.
|
|
5343
|
-
* @example Continue the scene naturally, maintaining the same style and motion.
|
|
5344
|
-
*/
|
|
5345
|
-
prompt: string;
|
|
5346
|
-
/**
|
|
5347
|
-
* Seed
|
|
5348
|
-
* @description The seed used for the random number generator.
|
|
5349
|
-
* @example 866232447
|
|
5350
|
-
*/
|
|
5351
|
-
seed: number;
|
|
5352
|
-
/**
|
|
5353
|
-
* @description The generated video.
|
|
5354
|
-
* @example {
|
|
5355
|
-
* "height": 704,
|
|
5356
|
-
* "duration": 10.28,
|
|
5357
|
-
* "url": "https://v3b.fal.media/files/b/0a88289e/CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
5358
|
-
* "fps": 25,
|
|
5359
|
-
* "width": 1248,
|
|
5360
|
-
* "file_name": "CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
5361
|
-
* "content_type": "video/mp4",
|
|
5362
|
-
* "num_frames": 257
|
|
5363
|
-
* }
|
|
5364
|
-
*/
|
|
5365
|
-
video: Components.VideoFile;
|
|
5366
|
-
}
|
|
5367
|
-
|
|
5368
5736
|
export interface SharedType_9fe {
|
|
5369
5737
|
/**
|
|
5370
5738
|
* Video
|
|
@@ -5627,6 +5995,75 @@ export interface SharedType_9d8 {
|
|
|
5627
5995
|
video: Components.File_1;
|
|
5628
5996
|
}
|
|
5629
5997
|
|
|
5998
|
+
export interface SharedType_9af {
|
|
5999
|
+
/**
|
|
6000
|
+
* Enable Pbr
|
|
6001
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color
|
|
6002
|
+
* @default false
|
|
6003
|
+
*/
|
|
6004
|
+
enable_pbr?: boolean;
|
|
6005
|
+
/**
|
|
6006
|
+
* Enable Safety Checker
|
|
6007
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
6008
|
+
* @default true
|
|
6009
|
+
*/
|
|
6010
|
+
enable_safety_checker?: boolean;
|
|
6011
|
+
/**
|
|
6012
|
+
* Image Url
|
|
6013
|
+
* @description Image URL or base64 data URI for 3D model creation. Supports .jpg, .jpeg, and .png formats. Also supports AVIF and HEIF formats which will be automatically converted.
|
|
6014
|
+
* @example https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png
|
|
6015
|
+
*/
|
|
6016
|
+
image_url: string;
|
|
6017
|
+
/**
|
|
6018
|
+
* Is A T Pose
|
|
6019
|
+
* @description Whether to generate the model in an A/T pose
|
|
6020
|
+
* @default false
|
|
6021
|
+
*/
|
|
6022
|
+
is_a_t_pose?: boolean;
|
|
6023
|
+
/**
|
|
6024
|
+
* Should Remesh
|
|
6025
|
+
* @description Whether to enable the remesh phase
|
|
6026
|
+
* @default true
|
|
6027
|
+
*/
|
|
6028
|
+
should_remesh?: boolean;
|
|
6029
|
+
/**
|
|
6030
|
+
* Should Texture
|
|
6031
|
+
* @description Whether to generate textures
|
|
6032
|
+
* @default true
|
|
6033
|
+
*/
|
|
6034
|
+
should_texture?: boolean;
|
|
6035
|
+
/**
|
|
6036
|
+
* Symmetry Mode
|
|
6037
|
+
* @description Controls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry.
|
|
6038
|
+
* @default auto
|
|
6039
|
+
* @enum {string}
|
|
6040
|
+
*/
|
|
6041
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
6042
|
+
/**
|
|
6043
|
+
* Target Polycount
|
|
6044
|
+
* @description Target number of polygons in the generated model
|
|
6045
|
+
* @default 30000
|
|
6046
|
+
*/
|
|
6047
|
+
target_polycount?: number;
|
|
6048
|
+
/**
|
|
6049
|
+
* Texture Image Url
|
|
6050
|
+
* @description 2D image to guide the texturing process
|
|
6051
|
+
*/
|
|
6052
|
+
texture_image_url?: string;
|
|
6053
|
+
/**
|
|
6054
|
+
* Texture Prompt
|
|
6055
|
+
* @description Text prompt to guide the texturing process
|
|
6056
|
+
*/
|
|
6057
|
+
texture_prompt?: string;
|
|
6058
|
+
/**
|
|
6059
|
+
* Topology
|
|
6060
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
6061
|
+
* @default triangle
|
|
6062
|
+
* @enum {string}
|
|
6063
|
+
*/
|
|
6064
|
+
topology?: 'quad' | 'triangle';
|
|
6065
|
+
}
|
|
6066
|
+
|
|
5630
6067
|
export interface SharedType_98c {
|
|
5631
6068
|
/**
|
|
5632
6069
|
* Description
|
|
@@ -6298,82 +6735,6 @@ export interface SharedType_8c5 {
|
|
|
6298
6735
|
seed: number;
|
|
6299
6736
|
}
|
|
6300
6737
|
|
|
6301
|
-
export interface SharedType_8c2 {
|
|
6302
|
-
/**
|
|
6303
|
-
* Aspect Ratio
|
|
6304
|
-
* @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
|
|
6305
|
-
* @default 1:1
|
|
6306
|
-
*/
|
|
6307
|
-
aspect_ratio?:
|
|
6308
|
-
| 'auto'
|
|
6309
|
-
| '21:9'
|
|
6310
|
-
| '16:9'
|
|
6311
|
-
| '3:2'
|
|
6312
|
-
| '4:3'
|
|
6313
|
-
| '5:4'
|
|
6314
|
-
| '1:1'
|
|
6315
|
-
| '4:5'
|
|
6316
|
-
| '3:4'
|
|
6317
|
-
| '2:3'
|
|
6318
|
-
| '9:16';
|
|
6319
|
-
/**
|
|
6320
|
-
* Enable Web Search
|
|
6321
|
-
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
6322
|
-
* @default false
|
|
6323
|
-
*/
|
|
6324
|
-
enable_web_search?: boolean;
|
|
6325
|
-
/**
|
|
6326
|
-
* Limit Generations
|
|
6327
|
-
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
6328
|
-
* @default false
|
|
6329
|
-
*/
|
|
6330
|
-
limit_generations?: boolean;
|
|
6331
|
-
/**
|
|
6332
|
-
* Number of Images
|
|
6333
|
-
* @description The number of images to generate.
|
|
6334
|
-
* @default 1
|
|
6335
|
-
*/
|
|
6336
|
-
num_images?: number;
|
|
6337
|
-
/**
|
|
6338
|
-
* Output Format
|
|
6339
|
-
* @description The format of the generated image.
|
|
6340
|
-
* @default png
|
|
6341
|
-
* @enum {string}
|
|
6342
|
-
*/
|
|
6343
|
-
output_format?: 'jpeg' | 'png' | 'webp';
|
|
6344
|
-
/**
|
|
6345
|
-
* Prompt
|
|
6346
|
-
* @description The text prompt to generate an image from.
|
|
6347
|
-
* @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
|
|
6348
|
-
*/
|
|
6349
|
-
prompt: string;
|
|
6350
|
-
/**
|
|
6351
|
-
* Resolution
|
|
6352
|
-
* @description The resolution of the image to generate.
|
|
6353
|
-
* @default 1K
|
|
6354
|
-
* @enum {string}
|
|
6355
|
-
*/
|
|
6356
|
-
resolution?: '1K' | '2K' | '4K';
|
|
6357
|
-
/**
|
|
6358
|
-
* Safety Tolerance
|
|
6359
|
-
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
6360
|
-
* @default 4
|
|
6361
|
-
* @enum {string}
|
|
6362
|
-
*/
|
|
6363
|
-
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
6364
|
-
/**
|
|
6365
|
-
* Seed
|
|
6366
|
-
* @description The seed for the random number generator.
|
|
6367
|
-
*/
|
|
6368
|
-
seed?: number;
|
|
6369
|
-
/**
|
|
6370
|
-
* Sync Mode
|
|
6371
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
6372
|
-
* @default false
|
|
6373
|
-
*/
|
|
6374
|
-
sync_mode?: boolean;
|
|
6375
|
-
}
|
|
6376
|
-
|
|
6377
6738
|
export interface SharedType_8c0 {
|
|
6378
6739
|
/**
|
|
6379
6740
|
* Seed
|
|
@@ -6388,25 +6749,30 @@ export interface SharedType_8c0 {
|
|
|
6388
6749
|
video: Components.File;
|
|
6389
6750
|
}
|
|
6390
6751
|
|
|
6391
|
-
export interface
|
|
6392
|
-
/**
|
|
6393
|
-
* Prompt
|
|
6394
|
-
* @description The prompt used for the generation.
|
|
6395
|
-
* @example A woman speaks to the camera
|
|
6396
|
-
*/
|
|
6397
|
-
prompt: string;
|
|
6752
|
+
export interface SharedType_8aa {
|
|
6398
6753
|
/**
|
|
6399
6754
|
* Seed
|
|
6400
|
-
* @description
|
|
6401
|
-
* @example 175932751
|
|
6755
|
+
* @description Seed used for generating the video.
|
|
6402
6756
|
*/
|
|
6403
6757
|
seed: number;
|
|
6404
6758
|
/**
|
|
6405
|
-
*
|
|
6759
|
+
* Video
|
|
6760
|
+
* @description Generated video file.
|
|
6406
6761
|
* @example {
|
|
6407
|
-
* "
|
|
6762
|
+
* "url": "https://fal-cdn.batuhan-941.workers.dev/files/kangaroo/DSrFBOk9XXIplm_kukI4n.mp4"
|
|
6763
|
+
* }
|
|
6764
|
+
*/
|
|
6765
|
+
video: Components.File;
|
|
6766
|
+
}
|
|
6767
|
+
|
|
6768
|
+
export interface SharedType_899 {
|
|
6769
|
+
/**
|
|
6770
|
+
* Video
|
|
6771
|
+
* @description The generated video file
|
|
6772
|
+
* @example {
|
|
6773
|
+
* "file_name": "ltxv-2-t2v-output.mp4",
|
|
6408
6774
|
* "content_type": "video/mp4",
|
|
6409
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/
|
|
6775
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/ltxv-2-t2v-output.mp4"
|
|
6410
6776
|
* }
|
|
6411
6777
|
*/
|
|
6412
6778
|
video: Components.VideoFile;
|
|
@@ -6426,119 +6792,6 @@ export interface SharedType_894 {
|
|
|
6426
6792
|
video: Components.File;
|
|
6427
6793
|
}
|
|
6428
6794
|
|
|
6429
|
-
export interface SharedType_88d {
|
|
6430
|
-
/**
|
|
6431
|
-
* Enable Safety Checker
|
|
6432
|
-
* @description If set to true, the safety checker will be enabled.
|
|
6433
|
-
* @default true
|
|
6434
|
-
*/
|
|
6435
|
-
enable_safety_checker?: boolean;
|
|
6436
|
-
/**
|
|
6437
|
-
* Guidance scale (CFG)
|
|
6438
|
-
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
6439
|
-
* the model to stick to your prompt when looking for a related image to show you.
|
|
6440
|
-
* @default 3.5
|
|
6441
|
-
*/
|
|
6442
|
-
guidance_scale?: number;
|
|
6443
|
-
/**
|
|
6444
|
-
* Image Size
|
|
6445
|
-
* @description The size of the generated image.
|
|
6446
|
-
*/
|
|
6447
|
-
image_size?:
|
|
6448
|
-
| Components.ImageSize
|
|
6449
|
-
| (
|
|
6450
|
-
| 'square_hd'
|
|
6451
|
-
| 'square'
|
|
6452
|
-
| 'portrait_4_3'
|
|
6453
|
-
| 'portrait_16_9'
|
|
6454
|
-
| 'landscape_4_3'
|
|
6455
|
-
| 'landscape_16_9'
|
|
6456
|
-
);
|
|
6457
|
-
/**
|
|
6458
|
-
* Image Url
|
|
6459
|
-
* @description URL of image to use for inpainting. or img2img
|
|
6460
|
-
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
6461
|
-
*/
|
|
6462
|
-
image_url: string;
|
|
6463
|
-
/**
|
|
6464
|
-
* Loras
|
|
6465
|
-
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
6466
|
-
* and they will be merged together to generate the final image.
|
|
6467
|
-
* @default []
|
|
6468
|
-
*/
|
|
6469
|
-
loras?: Components.LoraWeight[];
|
|
6470
|
-
/**
|
|
6471
|
-
* Mask Url
|
|
6472
|
-
* @description The mask to area to Inpaint in.
|
|
6473
|
-
* @example https://storage.googleapis.com/falserverless/example_inputs/dog_mask.png
|
|
6474
|
-
*/
|
|
6475
|
-
mask_url: string;
|
|
6476
|
-
/**
|
|
6477
|
-
* Num Images
|
|
6478
|
-
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
6479
|
-
* @default 1
|
|
6480
|
-
*/
|
|
6481
|
-
num_images?: number;
|
|
6482
|
-
/**
|
|
6483
|
-
* Num Inference Steps
|
|
6484
|
-
* @description The number of inference steps to perform.
|
|
6485
|
-
* @default 28
|
|
6486
|
-
*/
|
|
6487
|
-
num_inference_steps?: number;
|
|
6488
|
-
/**
|
|
6489
|
-
* Output Format
|
|
6490
|
-
* @description The format of the generated image.
|
|
6491
|
-
* @default jpeg
|
|
6492
|
-
* @enum {string}
|
|
6493
|
-
*/
|
|
6494
|
-
output_format?: 'jpeg' | 'png';
|
|
6495
|
-
/**
|
|
6496
|
-
* Prompt
|
|
6497
|
-
* @description The prompt to generate an image from.
|
|
6498
|
-
* @example A photo of a lion sitting on a stone bench
|
|
6499
|
-
*/
|
|
6500
|
-
prompt: string;
|
|
6501
|
-
/**
|
|
6502
|
-
* Seed
|
|
6503
|
-
* @description The same seed and the same prompt given to the same version of the model
|
|
6504
|
-
* will output the same image every time.
|
|
6505
|
-
*/
|
|
6506
|
-
seed?: number;
|
|
6507
|
-
/**
|
|
6508
|
-
* Strength
|
|
6509
|
-
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
6510
|
-
* @default 0.85
|
|
6511
|
-
*/
|
|
6512
|
-
strength?: number;
|
|
6513
|
-
/**
|
|
6514
|
-
* Sync Mode
|
|
6515
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
6516
|
-
* @default false
|
|
6517
|
-
*/
|
|
6518
|
-
sync_mode?: boolean;
|
|
6519
|
-
}
|
|
6520
|
-
|
|
6521
|
-
export interface SharedType_886 {
|
|
6522
|
-
/**
|
|
6523
|
-
* Image Url
|
|
6524
|
-
* @description The URL of the image to be processed.
|
|
6525
|
-
* @example https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg
|
|
6526
|
-
* @example http://ecx.images-amazon.com/images/I/51UUzBDAMsL.jpg
|
|
6527
|
-
*/
|
|
6528
|
-
image_url: string;
|
|
6529
|
-
/**
|
|
6530
|
-
* Region
|
|
6531
|
-
* @description The user input coordinates
|
|
6532
|
-
* @example {
|
|
6533
|
-
* "y1": 100,
|
|
6534
|
-
* "x2": 200,
|
|
6535
|
-
* "x1": 100,
|
|
6536
|
-
* "y2": 200
|
|
6537
|
-
* }
|
|
6538
|
-
*/
|
|
6539
|
-
region: Components.Region;
|
|
6540
|
-
}
|
|
6541
|
-
|
|
6542
6795
|
export interface SharedType_87d {
|
|
6543
6796
|
/**
|
|
6544
6797
|
* Video
|
|
@@ -6550,26 +6803,6 @@ export interface SharedType_87d {
|
|
|
6550
6803
|
video: Components.File;
|
|
6551
6804
|
}
|
|
6552
6805
|
|
|
6553
|
-
export interface SharedType_876 {
|
|
6554
|
-
/**
|
|
6555
|
-
* Description
|
|
6556
|
-
* @description The description of the generated images.
|
|
6557
|
-
*/
|
|
6558
|
-
description: string;
|
|
6559
|
-
/**
|
|
6560
|
-
* Images
|
|
6561
|
-
* @description The edited images.
|
|
6562
|
-
* @example [
|
|
6563
|
-
* {
|
|
6564
|
-
* "file_name": "nano-banana-multi-edit-output.png",
|
|
6565
|
-
* "content_type": "image/png",
|
|
6566
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-multi-edit-output.png"
|
|
6567
|
-
* }
|
|
6568
|
-
* ]
|
|
6569
|
-
*/
|
|
6570
|
-
images: Components.ImageFile_1[];
|
|
6571
|
-
}
|
|
6572
|
-
|
|
6573
6806
|
export interface SharedType_86b {
|
|
6574
6807
|
/**
|
|
6575
6808
|
* Audio Path
|
|
@@ -6637,28 +6870,6 @@ export interface SharedType_868 {
|
|
|
6637
6870
|
sync_mode?: boolean;
|
|
6638
6871
|
}
|
|
6639
6872
|
|
|
6640
|
-
export interface SharedType_82f {
|
|
6641
|
-
/** @description ZIP archive of all video frames if requested. */
|
|
6642
|
-
frames_zip?: Components.File_1;
|
|
6643
|
-
/**
|
|
6644
|
-
* Prompt
|
|
6645
|
-
* @description The prompt used for generation.
|
|
6646
|
-
*/
|
|
6647
|
-
prompt: string;
|
|
6648
|
-
/**
|
|
6649
|
-
* Seed
|
|
6650
|
-
* @description The seed used for generation.
|
|
6651
|
-
*/
|
|
6652
|
-
seed: number;
|
|
6653
|
-
/**
|
|
6654
|
-
* @description The generated outpainting video file.
|
|
6655
|
-
* @example {
|
|
6656
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-outpainting-output.mp4"
|
|
6657
|
-
* }
|
|
6658
|
-
*/
|
|
6659
|
-
video: Components.VideoFile;
|
|
6660
|
-
}
|
|
6661
|
-
|
|
6662
6873
|
export interface SharedType_82a {
|
|
6663
6874
|
/**
|
|
6664
6875
|
* Aspect Ratio (W:H)
|
|
@@ -7135,7 +7346,7 @@ export interface SharedType_7f3 {
|
|
|
7135
7346
|
sync_mode?: boolean;
|
|
7136
7347
|
}
|
|
7137
7348
|
|
|
7138
|
-
export interface
|
|
7349
|
+
export interface SharedType_7eb {
|
|
7139
7350
|
/**
|
|
7140
7351
|
* Has Nsfw Concepts
|
|
7141
7352
|
* @description Whether the generated images contain NSFW concepts.
|
|
@@ -7155,28 +7366,6 @@ export interface SharedType_7eb1 {
|
|
|
7155
7366
|
};
|
|
7156
7367
|
}
|
|
7157
7368
|
|
|
7158
|
-
export interface SharedType_7eb {
|
|
7159
|
-
/** @description ZIP archive of all video frames if requested. */
|
|
7160
|
-
frames_zip?: Components.File_1;
|
|
7161
|
-
/**
|
|
7162
|
-
* Prompt
|
|
7163
|
-
* @description The prompt used for generation.
|
|
7164
|
-
*/
|
|
7165
|
-
prompt: string;
|
|
7166
|
-
/**
|
|
7167
|
-
* Seed
|
|
7168
|
-
* @description The seed used for generation.
|
|
7169
|
-
*/
|
|
7170
|
-
seed: number;
|
|
7171
|
-
/**
|
|
7172
|
-
* @description The generated reframe video file.
|
|
7173
|
-
* @example {
|
|
7174
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-reframe-output.mp4"
|
|
7175
|
-
* }
|
|
7176
|
-
*/
|
|
7177
|
-
video: Components.VideoFile;
|
|
7178
|
-
}
|
|
7179
|
-
|
|
7180
7369
|
export interface SharedType_7e9 {
|
|
7181
7370
|
/**
|
|
7182
7371
|
* Video
|
|
@@ -7191,42 +7380,6 @@ export interface SharedType_7e9 {
|
|
|
7191
7380
|
video?: Components.File;
|
|
7192
7381
|
}
|
|
7193
7382
|
|
|
7194
|
-
export interface SharedType_7da {
|
|
7195
|
-
/**
|
|
7196
|
-
* Seed
|
|
7197
|
-
* @description Seed used for generating the video.
|
|
7198
|
-
*/
|
|
7199
|
-
seed: number;
|
|
7200
|
-
/**
|
|
7201
|
-
* Video
|
|
7202
|
-
* @description Generated video file.
|
|
7203
|
-
* @example {
|
|
7204
|
-
* "url": "https://fal-cdn.batuhan-941.workers.dev/files/kangaroo/DSrFBOk9XXIplm_kukI4n.mp4"
|
|
7205
|
-
* }
|
|
7206
|
-
*/
|
|
7207
|
-
video: Components.File_1;
|
|
7208
|
-
}
|
|
7209
|
-
|
|
7210
|
-
export interface SharedType_7b9 {
|
|
7211
|
-
/**
|
|
7212
|
-
* Description
|
|
7213
|
-
* @description The description of the generated images.
|
|
7214
|
-
*/
|
|
7215
|
-
description: string;
|
|
7216
|
-
/**
|
|
7217
|
-
* Images
|
|
7218
|
-
* @description The generated images.
|
|
7219
|
-
* @example [
|
|
7220
|
-
* {
|
|
7221
|
-
* "file_name": "nano-banana-t2i-output.png",
|
|
7222
|
-
* "content_type": "image/png",
|
|
7223
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-t2i-output.png"
|
|
7224
|
-
* }
|
|
7225
|
-
* ]
|
|
7226
|
-
*/
|
|
7227
|
-
images: Components.ImageFile_1[];
|
|
7228
|
-
}
|
|
7229
|
-
|
|
7230
7383
|
export interface SharedType_7a3 {
|
|
7231
7384
|
/**
|
|
7232
7385
|
* Aspect Ratio
|
|
@@ -7305,19 +7458,6 @@ export interface SharedType_79c {
|
|
|
7305
7458
|
seed?: number;
|
|
7306
7459
|
}
|
|
7307
7460
|
|
|
7308
|
-
export interface SharedType_799 {
|
|
7309
|
-
/**
|
|
7310
|
-
* Video
|
|
7311
|
-
* @description The generated video file
|
|
7312
|
-
* @example {
|
|
7313
|
-
* "file_name": "ltxv-2-i2v-output.mp4",
|
|
7314
|
-
* "content_type": "video/mp4",
|
|
7315
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/ltxv-2-i2v-output.mp4"
|
|
7316
|
-
* }
|
|
7317
|
-
*/
|
|
7318
|
-
video: Components.VideoFile_1;
|
|
7319
|
-
}
|
|
7320
|
-
|
|
7321
7461
|
export interface SharedType_78a {
|
|
7322
7462
|
/**
|
|
7323
7463
|
* @example {
|
|
@@ -7480,6 +7620,83 @@ export interface SharedType_74f {
|
|
|
7480
7620
|
video: Components.File;
|
|
7481
7621
|
}
|
|
7482
7622
|
|
|
7623
|
+
export interface SharedType_748 {
|
|
7624
|
+
/**
|
|
7625
|
+
* Model Glb
|
|
7626
|
+
* @description Generated 3D object in GLB format.
|
|
7627
|
+
* @example {
|
|
7628
|
+
* "file_size": 9242744,
|
|
7629
|
+
* "file_name": "model.glb",
|
|
7630
|
+
* "content_type": "model/gltf-binary",
|
|
7631
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7632
|
+
* }
|
|
7633
|
+
*/
|
|
7634
|
+
model_glb: Components.File;
|
|
7635
|
+
/**
|
|
7636
|
+
* Model Urls
|
|
7637
|
+
* @description URLs for different 3D model formats
|
|
7638
|
+
* @example {
|
|
7639
|
+
* "fbx": {
|
|
7640
|
+
* "file_size": 5427052,
|
|
7641
|
+
* "file_name": "model.fbx",
|
|
7642
|
+
* "content_type": "application/octet-stream",
|
|
7643
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
7644
|
+
* },
|
|
7645
|
+
* "usdz": {
|
|
7646
|
+
* "file_size": 9991969,
|
|
7647
|
+
* "file_name": "model.usdz",
|
|
7648
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
7649
|
+
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
7650
|
+
* },
|
|
7651
|
+
* "glb": {
|
|
7652
|
+
* "file_size": 9242744,
|
|
7653
|
+
* "file_name": "model.glb",
|
|
7654
|
+
* "content_type": "model/gltf-binary",
|
|
7655
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7656
|
+
* },
|
|
7657
|
+
* "obj": {
|
|
7658
|
+
* "file_size": 2744413,
|
|
7659
|
+
* "file_name": "model.obj",
|
|
7660
|
+
* "content_type": "text/plain",
|
|
7661
|
+
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
7662
|
+
* }
|
|
7663
|
+
* }
|
|
7664
|
+
*/
|
|
7665
|
+
model_urls: Components.ModelUrls;
|
|
7666
|
+
/**
|
|
7667
|
+
* Seed
|
|
7668
|
+
* @description The seed used for generation (if available)
|
|
7669
|
+
* @example 2009275957
|
|
7670
|
+
*/
|
|
7671
|
+
seed?: number;
|
|
7672
|
+
/**
|
|
7673
|
+
* Texture Urls
|
|
7674
|
+
* @description Array of texture file objects, matching Meshy API structure
|
|
7675
|
+
* @example [
|
|
7676
|
+
* {
|
|
7677
|
+
* "base_color": {
|
|
7678
|
+
* "file_size": 4328755,
|
|
7679
|
+
* "file_name": "texture_0.png",
|
|
7680
|
+
* "content_type": "image/png",
|
|
7681
|
+
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
7682
|
+
* }
|
|
7683
|
+
* }
|
|
7684
|
+
* ]
|
|
7685
|
+
*/
|
|
7686
|
+
texture_urls?: Components.TextureFiles[];
|
|
7687
|
+
/**
|
|
7688
|
+
* Thumbnail
|
|
7689
|
+
* @description Preview thumbnail of the generated model
|
|
7690
|
+
* @example {
|
|
7691
|
+
* "file_size": 54279,
|
|
7692
|
+
* "file_name": "preview.png",
|
|
7693
|
+
* "content_type": "image/png",
|
|
7694
|
+
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
7695
|
+
* }
|
|
7696
|
+
*/
|
|
7697
|
+
thumbnail?: Components.File;
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7483
7700
|
export interface SharedType_744 {
|
|
7484
7701
|
/**
|
|
7485
7702
|
* Image
|
|
@@ -7510,26 +7727,6 @@ export interface SharedType_72e {
|
|
|
7510
7727
|
video: Components.File;
|
|
7511
7728
|
}
|
|
7512
7729
|
|
|
7513
|
-
export interface SharedType_720 {
|
|
7514
|
-
/** @description Generated image. */
|
|
7515
|
-
image: Components.Image_2;
|
|
7516
|
-
/**
|
|
7517
|
-
* Images
|
|
7518
|
-
* @description Generated images.
|
|
7519
|
-
* @default []
|
|
7520
|
-
*/
|
|
7521
|
-
images?: {
|
|
7522
|
-
[key: string]: { [x: string]: any } | null;
|
|
7523
|
-
}[];
|
|
7524
|
-
/**
|
|
7525
|
-
* Structured Prompt
|
|
7526
|
-
* @description Current prompt.
|
|
7527
|
-
*/
|
|
7528
|
-
structured_prompt: {
|
|
7529
|
-
[key: string]: { [x: string]: any } | null;
|
|
7530
|
-
};
|
|
7531
|
-
}
|
|
7532
|
-
|
|
7533
7730
|
export interface SharedType_709 {
|
|
7534
7731
|
/**
|
|
7535
7732
|
* Duration
|
|
@@ -7660,30 +7857,6 @@ export interface SharedType_6f9 {
|
|
|
7660
7857
|
sync_mode?: boolean;
|
|
7661
7858
|
}
|
|
7662
7859
|
|
|
7663
|
-
export interface SharedType_6ea {
|
|
7664
|
-
/**
|
|
7665
|
-
* Actual Prompt
|
|
7666
|
-
* @description The actual prompt used if prompt rewriting was enabled
|
|
7667
|
-
* @example The white dragon warrior stands still in a grand cathedral-like structure, its glowing golden eyes fixed forward. The camera slowly moves closer, focusing on the warrior's armored chest and face. It then begins to circle around the warrior, capturing the intricate details of the white scale armor with gold accents. The warrior maintains a strong, determined posture. Ambient sounds and soft choral tones fill the background, enhancing the majestic atmosphere. The camera continues its slow circular motion, emphasizing the warrior's heroic presence before ending with a close-up of the face.
|
|
7668
|
-
*/
|
|
7669
|
-
actual_prompt?: string;
|
|
7670
|
-
/**
|
|
7671
|
-
* Seed
|
|
7672
|
-
* @description The seed used for generation
|
|
7673
|
-
* @example 175932751
|
|
7674
|
-
*/
|
|
7675
|
-
seed: number;
|
|
7676
|
-
/**
|
|
7677
|
-
* Video
|
|
7678
|
-
* @description The generated video file
|
|
7679
|
-
* @example {
|
|
7680
|
-
* "content_type": "video/mp4",
|
|
7681
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4"
|
|
7682
|
-
* }
|
|
7683
|
-
*/
|
|
7684
|
-
video: Components.VideoFile_1;
|
|
7685
|
-
}
|
|
7686
|
-
|
|
7687
7860
|
export interface SharedType_6e6 {
|
|
7688
7861
|
/**
|
|
7689
7862
|
* Has Nsfw Concepts
|
|
@@ -8127,35 +8300,6 @@ export interface SharedType_63d {
|
|
|
8127
8300
|
video: Components.File;
|
|
8128
8301
|
}
|
|
8129
8302
|
|
|
8130
|
-
export interface SharedType_61b {
|
|
8131
|
-
/**
|
|
8132
|
-
* Prompt
|
|
8133
|
-
* @description The prompt used for the generation.
|
|
8134
|
-
* @example A cowboy walking through a dusty town at high noon, camera following from behind, cinematic depth, realistic lighting, western mood, 4K film grain.
|
|
8135
|
-
*/
|
|
8136
|
-
prompt: string;
|
|
8137
|
-
/**
|
|
8138
|
-
* Seed
|
|
8139
|
-
* @description The seed used for the random number generator.
|
|
8140
|
-
* @example 149063119
|
|
8141
|
-
*/
|
|
8142
|
-
seed: number;
|
|
8143
|
-
/**
|
|
8144
|
-
* @description The generated video.
|
|
8145
|
-
* @example {
|
|
8146
|
-
* "height": 704,
|
|
8147
|
-
* "duration": 6.44,
|
|
8148
|
-
* "url": "https://v3b.fal.media/files/b/0a8824b1/sdm0KfmenrlywesfzY1Y1_if6euPp1.mp4",
|
|
8149
|
-
* "fps": 25,
|
|
8150
|
-
* "width": 1248,
|
|
8151
|
-
* "file_name": "sdm0KfmenrlywesfzY1Y1_if6euPp1.mp4",
|
|
8152
|
-
* "content_type": "video/mp4",
|
|
8153
|
-
* "num_frames": 161
|
|
8154
|
-
* }
|
|
8155
|
-
*/
|
|
8156
|
-
video: Components.VideoFile;
|
|
8157
|
-
}
|
|
8158
|
-
|
|
8159
8303
|
export interface SharedType_618 {
|
|
8160
8304
|
/**
|
|
8161
8305
|
* Video
|
|
@@ -8929,35 +9073,6 @@ export interface SharedType_56f {
|
|
|
8929
9073
|
video: Components.File;
|
|
8930
9074
|
}
|
|
8931
9075
|
|
|
8932
|
-
export interface SharedType_567 {
|
|
8933
|
-
/**
|
|
8934
|
-
* Prompt
|
|
8935
|
-
* @description The prompt used for the generation.
|
|
8936
|
-
* @example A woman stands still amid a busy neon-lit street at night. The camera slowly dollies in toward her face as people blur past, their motion emphasizing her calm presence. City lights flicker and reflections shift across her denim jacket.
|
|
8937
|
-
*/
|
|
8938
|
-
prompt: string;
|
|
8939
|
-
/**
|
|
8940
|
-
* Seed
|
|
8941
|
-
* @description The seed used for the random number generator.
|
|
8942
|
-
* @example 2078003885
|
|
8943
|
-
*/
|
|
8944
|
-
seed: number;
|
|
8945
|
-
/**
|
|
8946
|
-
* @description The generated video.
|
|
8947
|
-
* @example {
|
|
8948
|
-
* "height": 704,
|
|
8949
|
-
* "duration": 6.44,
|
|
8950
|
-
* "url": "https://v3b.fal.media/files/b/0a894013/N9lnMTq7W3uMC0lOQg845_BknRPV8I.mp4",
|
|
8951
|
-
* "fps": 25,
|
|
8952
|
-
* "width": 1248,
|
|
8953
|
-
* "file_name": "CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
8954
|
-
* "content_type": "video/mp4",
|
|
8955
|
-
* "num_frames": 161
|
|
8956
|
-
* }
|
|
8957
|
-
*/
|
|
8958
|
-
video: Components.VideoFile;
|
|
8959
|
-
}
|
|
8960
|
-
|
|
8961
9076
|
export interface SharedType_54d {
|
|
8962
9077
|
/**
|
|
8963
9078
|
* Default Caption
|
|
@@ -9047,25 +9162,23 @@ export interface SharedType_54a {
|
|
|
9047
9162
|
y_start?: number;
|
|
9048
9163
|
}
|
|
9049
9164
|
|
|
9050
|
-
export interface
|
|
9165
|
+
export interface SharedType_524 {
|
|
9166
|
+
/** @description ZIP archive of all video frames if requested. */
|
|
9167
|
+
frames_zip?: Components.File_1;
|
|
9051
9168
|
/**
|
|
9052
|
-
*
|
|
9053
|
-
* @description The
|
|
9054
|
-
* @example A comedic cinematic scene where the creator interacts with AI-generated reality transformations.
|
|
9169
|
+
* Prompt
|
|
9170
|
+
* @description The prompt used for generation.
|
|
9055
9171
|
*/
|
|
9056
|
-
|
|
9172
|
+
prompt: string;
|
|
9057
9173
|
/**
|
|
9058
9174
|
* Seed
|
|
9059
|
-
* @description The seed used for generation
|
|
9060
|
-
* @example 175932751
|
|
9175
|
+
* @description The seed used for generation.
|
|
9061
9176
|
*/
|
|
9062
9177
|
seed: number;
|
|
9063
9178
|
/**
|
|
9064
|
-
*
|
|
9065
|
-
* @description The generated video file
|
|
9179
|
+
* @description The generated inpainting video file.
|
|
9066
9180
|
* @example {
|
|
9067
|
-
* "
|
|
9068
|
-
* "url": "https://v3b.fal.media/files/b/0a8675cf/bCu9FiFXSjsSnIwOmjUOY_BVs2IFR3.mp4"
|
|
9181
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-inpainting-output.mp4"
|
|
9069
9182
|
* }
|
|
9070
9183
|
*/
|
|
9071
9184
|
video: Components.VideoFile_1;
|
|
@@ -9087,48 +9200,6 @@ export interface SharedType_4f3 {
|
|
|
9087
9200
|
seed: number;
|
|
9088
9201
|
}
|
|
9089
9202
|
|
|
9090
|
-
export interface SharedType_4f2 {
|
|
9091
|
-
/**
|
|
9092
|
-
* Video
|
|
9093
|
-
* @description The generated video file
|
|
9094
|
-
* @example {
|
|
9095
|
-
* "file_name": "ltxv-2-t2v-output.mp4",
|
|
9096
|
-
* "content_type": "video/mp4",
|
|
9097
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/ltxv-2-t2v-output.mp4"
|
|
9098
|
-
* }
|
|
9099
|
-
*/
|
|
9100
|
-
video: Components.VideoFile_1;
|
|
9101
|
-
}
|
|
9102
|
-
|
|
9103
|
-
export interface SharedType_4ed {
|
|
9104
|
-
/**
|
|
9105
|
-
* Prompt
|
|
9106
|
-
* @description The prompt used for the generation.
|
|
9107
|
-
* @example black-and-white video, a cowboy walks through a dusty town, film grain
|
|
9108
|
-
*/
|
|
9109
|
-
prompt: string;
|
|
9110
|
-
/**
|
|
9111
|
-
* Seed
|
|
9112
|
-
* @description The seed used for the random number generator.
|
|
9113
|
-
* @example 1490631192028410600
|
|
9114
|
-
*/
|
|
9115
|
-
seed: number;
|
|
9116
|
-
/**
|
|
9117
|
-
* @description The generated video.
|
|
9118
|
-
* @example {
|
|
9119
|
-
* "height": 704,
|
|
9120
|
-
* "duration": 6.44,
|
|
9121
|
-
* "url": "https://v3b.fal.media/files/b/0a895ed5/SaTGe87IpMUMiSq33w5Qb_RoCJFZhc.mp4",
|
|
9122
|
-
* "fps": 25,
|
|
9123
|
-
* "width": 1248,
|
|
9124
|
-
* "file_name": "SaTGe87IpMUMiSq33w5Qb_RoCJFZhc.mp4",
|
|
9125
|
-
* "content_type": "video/mp4",
|
|
9126
|
-
* "num_frames": 161
|
|
9127
|
-
* }
|
|
9128
|
-
*/
|
|
9129
|
-
video: Components.VideoFile;
|
|
9130
|
-
}
|
|
9131
|
-
|
|
9132
9203
|
export interface SharedType_4c2 {
|
|
9133
9204
|
/**
|
|
9134
9205
|
* Video
|
|
@@ -9321,92 +9392,6 @@ export interface SharedType_4b2 {
|
|
|
9321
9392
|
resolution?: '360p' | '540p' | '720p' | '1080p';
|
|
9322
9393
|
}
|
|
9323
9394
|
|
|
9324
|
-
export interface SharedType_4ae {
|
|
9325
|
-
/**
|
|
9326
|
-
* Enable Safety Checker
|
|
9327
|
-
* @description If set to true, the safety checker will be enabled.
|
|
9328
|
-
* @default true
|
|
9329
|
-
*/
|
|
9330
|
-
enable_safety_checker?: boolean;
|
|
9331
|
-
/**
|
|
9332
|
-
* Guidance scale (CFG)
|
|
9333
|
-
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
9334
|
-
* the model to stick to your prompt when looking for a related image to show you.
|
|
9335
|
-
* @default 3.5
|
|
9336
|
-
*/
|
|
9337
|
-
guidance_scale?: number;
|
|
9338
|
-
/**
|
|
9339
|
-
* Image Size
|
|
9340
|
-
* @description The size of the generated image.
|
|
9341
|
-
*/
|
|
9342
|
-
image_size?:
|
|
9343
|
-
| Components.ImageSize
|
|
9344
|
-
| (
|
|
9345
|
-
| 'square_hd'
|
|
9346
|
-
| 'square'
|
|
9347
|
-
| 'portrait_4_3'
|
|
9348
|
-
| 'portrait_16_9'
|
|
9349
|
-
| 'landscape_4_3'
|
|
9350
|
-
| 'landscape_16_9'
|
|
9351
|
-
);
|
|
9352
|
-
/**
|
|
9353
|
-
* Image Url
|
|
9354
|
-
* @description URL of image to use for inpainting. or img2img
|
|
9355
|
-
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
9356
|
-
*/
|
|
9357
|
-
image_url: string;
|
|
9358
|
-
/**
|
|
9359
|
-
* Loras
|
|
9360
|
-
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
9361
|
-
* and they will be merged together to generate the final image.
|
|
9362
|
-
* @default []
|
|
9363
|
-
*/
|
|
9364
|
-
loras?: Components.LoraWeight[];
|
|
9365
|
-
/**
|
|
9366
|
-
* Num Images
|
|
9367
|
-
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
9368
|
-
* @default 1
|
|
9369
|
-
*/
|
|
9370
|
-
num_images?: number;
|
|
9371
|
-
/**
|
|
9372
|
-
* Num Inference Steps
|
|
9373
|
-
* @description The number of inference steps to perform.
|
|
9374
|
-
* @default 28
|
|
9375
|
-
*/
|
|
9376
|
-
num_inference_steps?: number;
|
|
9377
|
-
/**
|
|
9378
|
-
* Output Format
|
|
9379
|
-
* @description The format of the generated image.
|
|
9380
|
-
* @default jpeg
|
|
9381
|
-
* @enum {string}
|
|
9382
|
-
*/
|
|
9383
|
-
output_format?: 'jpeg' | 'png';
|
|
9384
|
-
/**
|
|
9385
|
-
* Prompt
|
|
9386
|
-
* @description The prompt to generate an image from.
|
|
9387
|
-
* @example A photo of a lion sitting on a stone bench
|
|
9388
|
-
*/
|
|
9389
|
-
prompt: string;
|
|
9390
|
-
/**
|
|
9391
|
-
* Seed
|
|
9392
|
-
* @description The same seed and the same prompt given to the same version of the model
|
|
9393
|
-
* will output the same image every time.
|
|
9394
|
-
*/
|
|
9395
|
-
seed?: number;
|
|
9396
|
-
/**
|
|
9397
|
-
* Strength
|
|
9398
|
-
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
9399
|
-
* @default 0.85
|
|
9400
|
-
*/
|
|
9401
|
-
strength?: number;
|
|
9402
|
-
/**
|
|
9403
|
-
* Sync Mode
|
|
9404
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
9405
|
-
* @default false
|
|
9406
|
-
*/
|
|
9407
|
-
sync_mode?: boolean;
|
|
9408
|
-
}
|
|
9409
|
-
|
|
9410
9395
|
export interface SharedType_4ad {
|
|
9411
9396
|
/**
|
|
9412
9397
|
* Video
|
|
@@ -9654,6 +9639,19 @@ export interface SharedType_441 {
|
|
|
9654
9639
|
sync_mode?: boolean;
|
|
9655
9640
|
}
|
|
9656
9641
|
|
|
9642
|
+
export interface SharedType_429 {
|
|
9643
|
+
/**
|
|
9644
|
+
* Config File
|
|
9645
|
+
* @description URL to the configuration file for the trained model.
|
|
9646
|
+
*/
|
|
9647
|
+
config_file: Components.File;
|
|
9648
|
+
/**
|
|
9649
|
+
* Diffusers Lora File
|
|
9650
|
+
* @description URL to the trained diffusers lora weights.
|
|
9651
|
+
*/
|
|
9652
|
+
diffusers_lora_file: Components.File;
|
|
9653
|
+
}
|
|
9654
|
+
|
|
9657
9655
|
export interface SharedType_424 {
|
|
9658
9656
|
/**
|
|
9659
9657
|
* Video
|
|
@@ -9676,6 +9674,36 @@ export interface SharedType_417 {
|
|
|
9676
9674
|
video: Components.File;
|
|
9677
9675
|
}
|
|
9678
9676
|
|
|
9677
|
+
export interface SharedType_416 {
|
|
9678
|
+
/**
|
|
9679
|
+
* Prompt
|
|
9680
|
+
* @description The prompt used for the generation.
|
|
9681
|
+
* @example A woman stands still amid a busy neon-lit street at night. The camera slowly dollies in toward her face as people blur past, their motion emphasizing her calm presence. City lights flicker and reflections shift across her denim jacket.
|
|
9682
|
+
*/
|
|
9683
|
+
prompt: string;
|
|
9684
|
+
/**
|
|
9685
|
+
* Seed
|
|
9686
|
+
* @description The seed used for the random number generator.
|
|
9687
|
+
* @example 2078003885
|
|
9688
|
+
*/
|
|
9689
|
+
seed: number;
|
|
9690
|
+
/**
|
|
9691
|
+
* Video
|
|
9692
|
+
* @description The generated video.
|
|
9693
|
+
* @example {
|
|
9694
|
+
* "height": 704,
|
|
9695
|
+
* "duration": 6.44,
|
|
9696
|
+
* "url": "https://v3b.fal.media/files/b/0a894013/N9lnMTq7W3uMC0lOQg845_BknRPV8I.mp4",
|
|
9697
|
+
* "fps": 25,
|
|
9698
|
+
* "width": 1248,
|
|
9699
|
+
* "file_name": "CJcQGDrxOSRg2YFl5GNDt_glXPMoji.mp4",
|
|
9700
|
+
* "content_type": "video/mp4",
|
|
9701
|
+
* "num_frames": 161
|
|
9702
|
+
* }
|
|
9703
|
+
*/
|
|
9704
|
+
video: Components.VideoFile;
|
|
9705
|
+
}
|
|
9706
|
+
|
|
9679
9707
|
export interface SharedType_411 {
|
|
9680
9708
|
/**
|
|
9681
9709
|
* Aspect Ratio
|
|
@@ -10164,91 +10192,6 @@ export interface SharedType_368 {
|
|
|
10164
10192
|
};
|
|
10165
10193
|
}
|
|
10166
10194
|
|
|
10167
|
-
export interface SharedType_367 {
|
|
10168
|
-
/**
|
|
10169
|
-
* Aspect Ratio
|
|
10170
|
-
* @description The aspect ratio of the generated image.
|
|
10171
|
-
* @default auto
|
|
10172
|
-
*/
|
|
10173
|
-
aspect_ratio?:
|
|
10174
|
-
| 'auto'
|
|
10175
|
-
| '21:9'
|
|
10176
|
-
| '16:9'
|
|
10177
|
-
| '3:2'
|
|
10178
|
-
| '4:3'
|
|
10179
|
-
| '5:4'
|
|
10180
|
-
| '1:1'
|
|
10181
|
-
| '4:5'
|
|
10182
|
-
| '3:4'
|
|
10183
|
-
| '2:3'
|
|
10184
|
-
| '9:16';
|
|
10185
|
-
/**
|
|
10186
|
-
* Enable Web Search
|
|
10187
|
-
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
10188
|
-
* @default false
|
|
10189
|
-
*/
|
|
10190
|
-
enable_web_search?: boolean;
|
|
10191
|
-
/**
|
|
10192
|
-
* Image URLs
|
|
10193
|
-
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
10194
|
-
* @example [
|
|
10195
|
-
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
10196
|
-
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
10197
|
-
* ]
|
|
10198
|
-
*/
|
|
10199
|
-
image_urls: string[];
|
|
10200
|
-
/**
|
|
10201
|
-
* Limit Generations
|
|
10202
|
-
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
10203
|
-
* @default false
|
|
10204
|
-
*/
|
|
10205
|
-
limit_generations?: boolean;
|
|
10206
|
-
/**
|
|
10207
|
-
* Number of Images
|
|
10208
|
-
* @description The number of images to generate.
|
|
10209
|
-
* @default 1
|
|
10210
|
-
*/
|
|
10211
|
-
num_images?: number;
|
|
10212
|
-
/**
|
|
10213
|
-
* Output Format
|
|
10214
|
-
* @description The format of the generated image.
|
|
10215
|
-
* @default png
|
|
10216
|
-
* @enum {string}
|
|
10217
|
-
*/
|
|
10218
|
-
output_format?: 'jpeg' | 'png' | 'webp';
|
|
10219
|
-
/**
|
|
10220
|
-
* Prompt
|
|
10221
|
-
* @description The prompt for image editing.
|
|
10222
|
-
* @example make a photo of the man driving the car down the california coastline
|
|
10223
|
-
*/
|
|
10224
|
-
prompt: string;
|
|
10225
|
-
/**
|
|
10226
|
-
* Resolution
|
|
10227
|
-
* @description The resolution of the image to generate.
|
|
10228
|
-
* @default 1K
|
|
10229
|
-
* @enum {string}
|
|
10230
|
-
*/
|
|
10231
|
-
resolution?: '1K' | '2K' | '4K';
|
|
10232
|
-
/**
|
|
10233
|
-
* Safety Tolerance
|
|
10234
|
-
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
10235
|
-
* @default 4
|
|
10236
|
-
* @enum {string}
|
|
10237
|
-
*/
|
|
10238
|
-
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
10239
|
-
/**
|
|
10240
|
-
* Seed
|
|
10241
|
-
* @description The seed for the random number generator.
|
|
10242
|
-
*/
|
|
10243
|
-
seed?: number;
|
|
10244
|
-
/**
|
|
10245
|
-
* Sync Mode
|
|
10246
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
10247
|
-
* @default false
|
|
10248
|
-
*/
|
|
10249
|
-
sync_mode?: boolean;
|
|
10250
|
-
}
|
|
10251
|
-
|
|
10252
10195
|
export interface SharedType_35f {
|
|
10253
10196
|
/**
|
|
10254
10197
|
* Has Nsfw Concepts
|
|
@@ -10497,6 +10440,30 @@ export interface SharedType_298 {
|
|
|
10497
10440
|
partial?: boolean;
|
|
10498
10441
|
}
|
|
10499
10442
|
|
|
10443
|
+
export interface SharedType_291 {
|
|
10444
|
+
/**
|
|
10445
|
+
* Actual Prompt
|
|
10446
|
+
* @description The actual prompt used if prompt rewriting was enabled
|
|
10447
|
+
* @example A comedic cinematic scene where the creator interacts with AI-generated reality transformations.
|
|
10448
|
+
*/
|
|
10449
|
+
actual_prompt?: string;
|
|
10450
|
+
/**
|
|
10451
|
+
* Seed
|
|
10452
|
+
* @description The seed used for generation
|
|
10453
|
+
* @example 175932751
|
|
10454
|
+
*/
|
|
10455
|
+
seed: number;
|
|
10456
|
+
/**
|
|
10457
|
+
* Video
|
|
10458
|
+
* @description The generated video file
|
|
10459
|
+
* @example {
|
|
10460
|
+
* "content_type": "video/mp4",
|
|
10461
|
+
* "url": "https://v3b.fal.media/files/b/0a8675cf/bCu9FiFXSjsSnIwOmjUOY_BVs2IFR3.mp4"
|
|
10462
|
+
* }
|
|
10463
|
+
*/
|
|
10464
|
+
video: Components.VideoFile;
|
|
10465
|
+
}
|
|
10466
|
+
|
|
10500
10467
|
export interface SharedType_266 {
|
|
10501
10468
|
/**
|
|
10502
10469
|
* Seed
|
|
@@ -10527,22 +10494,6 @@ export interface SharedType_25a {
|
|
|
10527
10494
|
video: Components.File;
|
|
10528
10495
|
}
|
|
10529
10496
|
|
|
10530
|
-
export interface SharedType_24d {
|
|
10531
|
-
/**
|
|
10532
|
-
* Seed
|
|
10533
|
-
* @description Seed used for generating the video.
|
|
10534
|
-
*/
|
|
10535
|
-
seed: number;
|
|
10536
|
-
/**
|
|
10537
|
-
* Video
|
|
10538
|
-
* @description Generated video file.
|
|
10539
|
-
* @example {
|
|
10540
|
-
* "url": "https://fal-cdn.batuhan-941.workers.dev/files/koala/5Cb_6P_s9wW8f8-g9c4yj.mp4"
|
|
10541
|
-
* }
|
|
10542
|
-
*/
|
|
10543
|
-
video: Components.File_1;
|
|
10544
|
-
}
|
|
10545
|
-
|
|
10546
10497
|
export interface SharedType_247 {
|
|
10547
10498
|
/**
|
|
10548
10499
|
* Aspect Ratio
|
|
@@ -10584,28 +10535,6 @@ export interface SharedType_247 {
|
|
|
10584
10535
|
style?: 'anime' | '3d_animation' | 'clay' | 'comic' | 'cyberpunk';
|
|
10585
10536
|
}
|
|
10586
10537
|
|
|
10587
|
-
export interface SharedType_21e {
|
|
10588
|
-
/** @description ZIP archive of all video frames if requested. */
|
|
10589
|
-
frames_zip?: Components.File_1;
|
|
10590
|
-
/**
|
|
10591
|
-
* Prompt
|
|
10592
|
-
* @description The prompt used for generation.
|
|
10593
|
-
*/
|
|
10594
|
-
prompt: string;
|
|
10595
|
-
/**
|
|
10596
|
-
* Seed
|
|
10597
|
-
* @description The seed used for generation.
|
|
10598
|
-
*/
|
|
10599
|
-
seed: number;
|
|
10600
|
-
/**
|
|
10601
|
-
* @description The generated pose video file.
|
|
10602
|
-
* @example {
|
|
10603
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-pose-output.mp4"
|
|
10604
|
-
* }
|
|
10605
|
-
*/
|
|
10606
|
-
video: Components.VideoFile;
|
|
10607
|
-
}
|
|
10608
|
-
|
|
10609
10538
|
export interface SharedType_21d {
|
|
10610
10539
|
/**
|
|
10611
10540
|
* Enable Safety Checker
|
|
@@ -10873,6 +10802,28 @@ export interface SharedType_207 {
|
|
|
10873
10802
|
sync_mode?: boolean;
|
|
10874
10803
|
}
|
|
10875
10804
|
|
|
10805
|
+
export interface SharedType_1fe {
|
|
10806
|
+
/** @description ZIP archive of all video frames if requested. */
|
|
10807
|
+
frames_zip?: Components.File_1;
|
|
10808
|
+
/**
|
|
10809
|
+
* Prompt
|
|
10810
|
+
* @description The prompt used for generation.
|
|
10811
|
+
*/
|
|
10812
|
+
prompt: string;
|
|
10813
|
+
/**
|
|
10814
|
+
* Seed
|
|
10815
|
+
* @description The seed used for generation.
|
|
10816
|
+
*/
|
|
10817
|
+
seed: number;
|
|
10818
|
+
/**
|
|
10819
|
+
* @description The generated depth video file.
|
|
10820
|
+
* @example {
|
|
10821
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-depth-output.mp4"
|
|
10822
|
+
* }
|
|
10823
|
+
*/
|
|
10824
|
+
video: Components.VideoFile_1;
|
|
10825
|
+
}
|
|
10826
|
+
|
|
10876
10827
|
export interface SharedType_1d1 {
|
|
10877
10828
|
/**
|
|
10878
10829
|
* Audio Setting
|
|
@@ -10955,6 +10906,30 @@ export interface SharedType_1d1 {
|
|
|
10955
10906
|
voice_setting?: Components.VoiceSetting;
|
|
10956
10907
|
}
|
|
10957
10908
|
|
|
10909
|
+
export interface SharedType_1cd {
|
|
10910
|
+
/**
|
|
10911
|
+
* Actual Prompt
|
|
10912
|
+
* @description The actual prompt used if prompt rewriting was enabled
|
|
10913
|
+
* @example The white dragon warrior stands still in a grand cathedral-like structure, its glowing golden eyes fixed forward. The camera slowly moves closer, focusing on the warrior's armored chest and face. It then begins to circle around the warrior, capturing the intricate details of the white scale armor with gold accents. The warrior maintains a strong, determined posture. Ambient sounds and soft choral tones fill the background, enhancing the majestic atmosphere. The camera continues its slow circular motion, emphasizing the warrior's heroic presence before ending with a close-up of the face.
|
|
10914
|
+
*/
|
|
10915
|
+
actual_prompt?: string;
|
|
10916
|
+
/**
|
|
10917
|
+
* Seed
|
|
10918
|
+
* @description The seed used for generation
|
|
10919
|
+
* @example 175932751
|
|
10920
|
+
*/
|
|
10921
|
+
seed: number;
|
|
10922
|
+
/**
|
|
10923
|
+
* Video
|
|
10924
|
+
* @description The generated video file
|
|
10925
|
+
* @example {
|
|
10926
|
+
* "content_type": "video/mp4",
|
|
10927
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4"
|
|
10928
|
+
* }
|
|
10929
|
+
*/
|
|
10930
|
+
video: Components.VideoFile;
|
|
10931
|
+
}
|
|
10932
|
+
|
|
10958
10933
|
export interface SharedType_1b6 {
|
|
10959
10934
|
/**
|
|
10960
10935
|
* @description The generated audio file
|
|
@@ -11067,6 +11042,28 @@ export interface SharedType_187 {
|
|
|
11067
11042
|
steps?: number;
|
|
11068
11043
|
}
|
|
11069
11044
|
|
|
11045
|
+
export interface SharedType_164 {
|
|
11046
|
+
/** @description ZIP archive of all video frames if requested. */
|
|
11047
|
+
frames_zip?: Components.File_1;
|
|
11048
|
+
/**
|
|
11049
|
+
* Prompt
|
|
11050
|
+
* @description The prompt used for generation.
|
|
11051
|
+
*/
|
|
11052
|
+
prompt: string;
|
|
11053
|
+
/**
|
|
11054
|
+
* Seed
|
|
11055
|
+
* @description The seed used for generation.
|
|
11056
|
+
*/
|
|
11057
|
+
seed: number;
|
|
11058
|
+
/**
|
|
11059
|
+
* @description The generated outpainting video file.
|
|
11060
|
+
* @example {
|
|
11061
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-outpainting-output.mp4"
|
|
11062
|
+
* }
|
|
11063
|
+
*/
|
|
11064
|
+
video: Components.VideoFile_1;
|
|
11065
|
+
}
|
|
11066
|
+
|
|
11070
11067
|
export interface SharedType_156 {
|
|
11071
11068
|
/**
|
|
11072
11069
|
* Video
|
|
@@ -11110,28 +11107,6 @@ export interface SharedType_151 {
|
|
|
11110
11107
|
video: Components.File;
|
|
11111
11108
|
}
|
|
11112
11109
|
|
|
11113
|
-
export interface SharedType_13e {
|
|
11114
|
-
/** @description ZIP archive of all video frames if requested. */
|
|
11115
|
-
frames_zip?: Components.File_1;
|
|
11116
|
-
/**
|
|
11117
|
-
* Prompt
|
|
11118
|
-
* @description The prompt used for generation.
|
|
11119
|
-
*/
|
|
11120
|
-
prompt: string;
|
|
11121
|
-
/**
|
|
11122
|
-
* Seed
|
|
11123
|
-
* @description The seed used for generation.
|
|
11124
|
-
*/
|
|
11125
|
-
seed: number;
|
|
11126
|
-
/**
|
|
11127
|
-
* @description The generated depth video file.
|
|
11128
|
-
* @example {
|
|
11129
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-depth-output.mp4"
|
|
11130
|
-
* }
|
|
11131
|
-
*/
|
|
11132
|
-
video: Components.VideoFile;
|
|
11133
|
-
}
|
|
11134
|
-
|
|
11135
11110
|
export interface SharedType_137 {
|
|
11136
11111
|
/**
|
|
11137
11112
|
* Aspect Ratio
|
|
@@ -11238,6 +11213,22 @@ export interface SharedType_110 {
|
|
|
11238
11213
|
seed: number;
|
|
11239
11214
|
}
|
|
11240
11215
|
|
|
11216
|
+
export interface SharedType_10f {
|
|
11217
|
+
/**
|
|
11218
|
+
* Seed
|
|
11219
|
+
* @description Seed used for generating the video.
|
|
11220
|
+
*/
|
|
11221
|
+
seed: number;
|
|
11222
|
+
/**
|
|
11223
|
+
* Video
|
|
11224
|
+
* @description Generated video file.
|
|
11225
|
+
* @example {
|
|
11226
|
+
* "url": "https://fal-cdn.batuhan-941.workers.dev/files/koala/5Cb_6P_s9wW8f8-g9c4yj.mp4"
|
|
11227
|
+
* }
|
|
11228
|
+
*/
|
|
11229
|
+
video: Components.File;
|
|
11230
|
+
}
|
|
11231
|
+
|
|
11241
11232
|
export interface SharedType_0f9 {
|
|
11242
11233
|
/** @description Generated 3D mesh file */
|
|
11243
11234
|
model_mesh: Components.File_1;
|
|
@@ -11346,28 +11337,6 @@ export interface SharedType_0d8 {
|
|
|
11346
11337
|
sync_mode?: boolean;
|
|
11347
11338
|
}
|
|
11348
11339
|
|
|
11349
|
-
export interface SharedType_0d0 {
|
|
11350
|
-
/**
|
|
11351
|
-
* Image Url
|
|
11352
|
-
* @description Reference image (file or URL).
|
|
11353
|
-
*/
|
|
11354
|
-
image_url?: string;
|
|
11355
|
-
/**
|
|
11356
|
-
* Prompt
|
|
11357
|
-
* @description Prompt for image generation.
|
|
11358
|
-
* @example A hyper-detailed, ultra-fluffy owl sitting in the trees at night, looking directly at the camera with wide, adorable, expressive eyes. Its feathers are soft and voluminous, catching the cool moonlight with subtle silver highlights. The owl’s gaze is curious and full of charm, giving it a whimsical, storybook-like personality.
|
|
11359
|
-
*/
|
|
11360
|
-
prompt?: string;
|
|
11361
|
-
/**
|
|
11362
|
-
* Seed
|
|
11363
|
-
* @description Random seed for reproducibility.
|
|
11364
|
-
* @default 5555
|
|
11365
|
-
*/
|
|
11366
|
-
seed?: number;
|
|
11367
|
-
/** @description The structured prompt to generate an image from. */
|
|
11368
|
-
structured_prompt?: Components.StructuredPrompt;
|
|
11369
|
-
}
|
|
11370
|
-
|
|
11371
11340
|
export interface SharedType_0cd {
|
|
11372
11341
|
/**
|
|
11373
11342
|
* Acceleration
|
|
@@ -11476,28 +11445,6 @@ export interface SharedType_0bd {
|
|
|
11476
11445
|
video: Components.File;
|
|
11477
11446
|
}
|
|
11478
11447
|
|
|
11479
|
-
export interface SharedType_0b5 {
|
|
11480
|
-
/** @description ZIP archive of all video frames if requested. */
|
|
11481
|
-
frames_zip?: Components.File_1;
|
|
11482
|
-
/**
|
|
11483
|
-
* Prompt
|
|
11484
|
-
* @description The prompt used for generation.
|
|
11485
|
-
*/
|
|
11486
|
-
prompt: string;
|
|
11487
|
-
/**
|
|
11488
|
-
* Seed
|
|
11489
|
-
* @description The seed used for generation.
|
|
11490
|
-
*/
|
|
11491
|
-
seed: number;
|
|
11492
|
-
/**
|
|
11493
|
-
* @description The generated inpainting video file.
|
|
11494
|
-
* @example {
|
|
11495
|
-
* "url": "https://storage.googleapis.com/falserverless/example_outputs/wan-vace-inpainting-output.mp4"
|
|
11496
|
-
* }
|
|
11497
|
-
*/
|
|
11498
|
-
video: Components.VideoFile;
|
|
11499
|
-
}
|
|
11500
|
-
|
|
11501
11448
|
export interface SharedType_0ab {
|
|
11502
11449
|
/**
|
|
11503
11450
|
* Acceleration
|
|
@@ -11862,6 +11809,31 @@ export interface SharedType_084 {
|
|
|
11862
11809
|
sync_mode?: boolean;
|
|
11863
11810
|
}
|
|
11864
11811
|
|
|
11812
|
+
export interface SharedType_081 {
|
|
11813
|
+
/**
|
|
11814
|
+
* Prompt
|
|
11815
|
+
* @description The prompt used for the generation.
|
|
11816
|
+
* @example A woman speaks to the camera
|
|
11817
|
+
*/
|
|
11818
|
+
prompt: string;
|
|
11819
|
+
/**
|
|
11820
|
+
* Seed
|
|
11821
|
+
* @description The seed used for the random number generator.
|
|
11822
|
+
* @example 175932751
|
|
11823
|
+
*/
|
|
11824
|
+
seed: number;
|
|
11825
|
+
/**
|
|
11826
|
+
* Video
|
|
11827
|
+
* @description The generated video.
|
|
11828
|
+
* @example {
|
|
11829
|
+
* "file_name": "ltx-2-a2v-output.mp4",
|
|
11830
|
+
* "content_type": "video/mp4",
|
|
11831
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/ltx-2-a2v-output.mp4"
|
|
11832
|
+
* }
|
|
11833
|
+
*/
|
|
11834
|
+
video: Components.VideoFile;
|
|
11835
|
+
}
|
|
11836
|
+
|
|
11865
11837
|
export interface SharedType_075 {
|
|
11866
11838
|
/**
|
|
11867
11839
|
* Aspect Ratio
|
|
@@ -11914,6 +11886,36 @@ export interface SharedType_075 {
|
|
|
11914
11886
|
seed?: number;
|
|
11915
11887
|
}
|
|
11916
11888
|
|
|
11889
|
+
export interface SharedType_05c {
|
|
11890
|
+
/**
|
|
11891
|
+
* Prompt
|
|
11892
|
+
* @description The prompt used for the generation.
|
|
11893
|
+
* @example black-and-white video, a cowboy walks through a dusty town, film grain
|
|
11894
|
+
*/
|
|
11895
|
+
prompt: string;
|
|
11896
|
+
/**
|
|
11897
|
+
* Seed
|
|
11898
|
+
* @description The seed used for the random number generator.
|
|
11899
|
+
* @example 1490631192028410600
|
|
11900
|
+
*/
|
|
11901
|
+
seed: number;
|
|
11902
|
+
/**
|
|
11903
|
+
* Video
|
|
11904
|
+
* @description The generated video.
|
|
11905
|
+
* @example {
|
|
11906
|
+
* "height": 704,
|
|
11907
|
+
* "duration": 6.44,
|
|
11908
|
+
* "url": "https://v3b.fal.media/files/b/0a895ed5/SaTGe87IpMUMiSq33w5Qb_RoCJFZhc.mp4",
|
|
11909
|
+
* "fps": 25,
|
|
11910
|
+
* "width": 1248,
|
|
11911
|
+
* "file_name": "SaTGe87IpMUMiSq33w5Qb_RoCJFZhc.mp4",
|
|
11912
|
+
* "content_type": "video/mp4",
|
|
11913
|
+
* "num_frames": 161
|
|
11914
|
+
* }
|
|
11915
|
+
*/
|
|
11916
|
+
video: Components.VideoFile;
|
|
11917
|
+
}
|
|
11918
|
+
|
|
11917
11919
|
export interface SharedType_055 {
|
|
11918
11920
|
/**
|
|
11919
11921
|
* Image
|
|
@@ -12711,15 +12713,16 @@ export interface OpenrouterRouterVisionOutput {
|
|
|
12711
12713
|
*/
|
|
12712
12714
|
output: string;
|
|
12713
12715
|
/**
|
|
12716
|
+
* Usage
|
|
12714
12717
|
* @description Token usage information
|
|
12715
12718
|
* @example {
|
|
12716
|
-
* "completion_tokens": 63,
|
|
12717
|
-
* "total_tokens": 1403,
|
|
12718
12719
|
* "prompt_tokens": 1340,
|
|
12720
|
+
* "total_tokens": 1403,
|
|
12721
|
+
* "completion_tokens": 63,
|
|
12719
12722
|
* "cost": 0.0005595
|
|
12720
12723
|
* }
|
|
12721
12724
|
*/
|
|
12722
|
-
usage
|
|
12725
|
+
usage?: Components.UsageInfo;
|
|
12723
12726
|
}
|
|
12724
12727
|
|
|
12725
12728
|
export interface OpenrouterRouterVideoEnterpriseInput {
|
|
@@ -12779,7 +12782,7 @@ export interface OpenrouterRouterVideoEnterpriseInput {
|
|
|
12779
12782
|
video_urls?: string[];
|
|
12780
12783
|
}
|
|
12781
12784
|
|
|
12782
|
-
export interface OpenrouterRouterVideoEnterpriseOutput extends
|
|
12785
|
+
export interface OpenrouterRouterVideoEnterpriseOutput extends SharedType_da9 {}
|
|
12783
12786
|
|
|
12784
12787
|
export interface OpenrouterRouterVideoInput {
|
|
12785
12788
|
/**
|
|
@@ -12831,7 +12834,7 @@ export interface OpenrouterRouterVideoInput {
|
|
|
12831
12834
|
video_urls?: string[];
|
|
12832
12835
|
}
|
|
12833
12836
|
|
|
12834
|
-
export interface OpenrouterRouterVideoOutput extends
|
|
12837
|
+
export interface OpenrouterRouterVideoOutput extends SharedType_da9 {}
|
|
12835
12838
|
|
|
12836
12839
|
export interface OpenrouterRouterAudioInput {
|
|
12837
12840
|
/**
|
|
@@ -12888,15 +12891,16 @@ export interface OpenrouterRouterAudioOutput {
|
|
|
12888
12891
|
*/
|
|
12889
12892
|
output: string;
|
|
12890
12893
|
/**
|
|
12894
|
+
* Usage
|
|
12891
12895
|
* @description Token usage information
|
|
12892
12896
|
* @example {
|
|
12893
|
-
* "completion_tokens": 50,
|
|
12894
|
-
* "total_tokens": 550,
|
|
12895
12897
|
* "prompt_tokens": 500,
|
|
12898
|
+
* "total_tokens": 550,
|
|
12899
|
+
* "completion_tokens": 50,
|
|
12896
12900
|
* "cost": 0.0003
|
|
12897
12901
|
* }
|
|
12898
12902
|
*/
|
|
12899
|
-
usage
|
|
12903
|
+
usage?: Components.UsageInfo;
|
|
12900
12904
|
}
|
|
12901
12905
|
|
|
12902
12906
|
export interface OpenrouterRouterInput {
|
|
@@ -12968,11 +12972,12 @@ export interface OpenrouterRouterOutput {
|
|
|
12968
12972
|
*/
|
|
12969
12973
|
reasoning?: string;
|
|
12970
12974
|
/**
|
|
12975
|
+
* Usage
|
|
12971
12976
|
* @description Token usage information
|
|
12972
12977
|
* @example {
|
|
12973
|
-
* "completion_tokens": 227,
|
|
12974
|
-
* "total_tokens": 267,
|
|
12975
12978
|
* "prompt_tokens": 40,
|
|
12979
|
+
* "total_tokens": 267,
|
|
12980
|
+
* "completion_tokens": 227,
|
|
12976
12981
|
* "cost": 0.0005795
|
|
12977
12982
|
* }
|
|
12978
12983
|
*/
|
|
@@ -13799,6 +13804,66 @@ export interface HalfmoonaiAiHomeEditOutput {
|
|
|
13799
13804
|
status: string;
|
|
13800
13805
|
}
|
|
13801
13806
|
|
|
13807
|
+
export interface HalfmoonaiAiFaceSwapFaceswapvideomultiInput {
|
|
13808
|
+
/**
|
|
13809
|
+
* Enable Occlusion Prevention
|
|
13810
|
+
* @description Enable occlusion prevention for handling faces covered by hands/objects. Warning: Enabling this runs an occlusion-aware model which costs 2x more.
|
|
13811
|
+
* @default false
|
|
13812
|
+
*/
|
|
13813
|
+
enable_occlusion_prevention?: boolean;
|
|
13814
|
+
/**
|
|
13815
|
+
* Source Face Url 1
|
|
13816
|
+
* @description First source face image (will be mapped to faces matching source_gender_1). Allowed items: bmp, jpeg, png, tiff, webp
|
|
13817
|
+
* @example https://images.pexels.com/photos/1642228/pexels-photo-1642228.jpeg
|
|
13818
|
+
*/
|
|
13819
|
+
source_face_url_1: string;
|
|
13820
|
+
/**
|
|
13821
|
+
* Source Face Url 2
|
|
13822
|
+
* @description Second source face image (optional, will be mapped to faces matching source_gender_2). If provided, source_gender_2 must also be specified. Allowed items: bmp, jpeg, png, tiff, webp
|
|
13823
|
+
* @example https://images.pexels.com/photos/6066877/pexels-photo-6066877.jpeg
|
|
13824
|
+
*/
|
|
13825
|
+
source_face_url_2?: string;
|
|
13826
|
+
/**
|
|
13827
|
+
* Source Gender 1
|
|
13828
|
+
* @description Gender of source 1 face - faces matching this gender in target will be swapped with source_face_url_1
|
|
13829
|
+
* @enum {string}
|
|
13830
|
+
*/
|
|
13831
|
+
source_gender_1: 'female' | 'male';
|
|
13832
|
+
/**
|
|
13833
|
+
* Source Gender 2
|
|
13834
|
+
* @description Gender of source 2 face - required when source_face_url_2 is provided. Faces matching this gender in target will be swapped with source_face_url_2
|
|
13835
|
+
* @default male
|
|
13836
|
+
*/
|
|
13837
|
+
source_gender_2?: 'female' | 'male';
|
|
13838
|
+
/**
|
|
13839
|
+
* Target Video Url
|
|
13840
|
+
* @description Target video URL (max 25 minutes, will be truncated if longer; FPS capped at 25). Allowed items: avi, m4v, mkv, mp4, mpeg, mov, mxf, webm, wmv
|
|
13841
|
+
* @example https://www.pexels.com/download/video/5686255/
|
|
13842
|
+
*/
|
|
13843
|
+
target_video_url: string;
|
|
13844
|
+
}
|
|
13845
|
+
|
|
13846
|
+
export interface HalfmoonaiAiFaceSwapFaceswapvideomultiOutput {
|
|
13847
|
+
/**
|
|
13848
|
+
* Processing Time Ms
|
|
13849
|
+
* @description Optional processing duration in milliseconds
|
|
13850
|
+
*/
|
|
13851
|
+
processing_time_ms?: number;
|
|
13852
|
+
/**
|
|
13853
|
+
* @description Generated video result
|
|
13854
|
+
* @example {
|
|
13855
|
+
* "content_type": "video/mp4",
|
|
13856
|
+
* "url": "https://v3b.fal.media/files/b/0a8c13e7/TI9qpBqF8L_9nuOajc55C_swapped_with_audio.mp4"
|
|
13857
|
+
* }
|
|
13858
|
+
*/
|
|
13859
|
+
video: Components.File_1;
|
|
13860
|
+
/**
|
|
13861
|
+
* Warning
|
|
13862
|
+
* @description Warning message if video was modified (e.g., truncated or FPS reduced)
|
|
13863
|
+
*/
|
|
13864
|
+
warning?: string;
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13802
13867
|
export interface HalfmoonaiAiFaceSwapFaceswapvideoInput {
|
|
13803
13868
|
/**
|
|
13804
13869
|
* Enable Occlusion Prevention
|
|
@@ -13841,6 +13906,63 @@ export interface HalfmoonaiAiFaceSwapFaceswapvideoOutput {
|
|
|
13841
13906
|
warning?: string;
|
|
13842
13907
|
}
|
|
13843
13908
|
|
|
13909
|
+
export interface HalfmoonaiAiFaceSwapFaceswapimagemultiInput {
|
|
13910
|
+
/**
|
|
13911
|
+
* Enable Occlusion Prevention
|
|
13912
|
+
* @description Enable occlusion prevention for handling faces covered by hands/objects. Warning: Enabling this runs an occlusion-aware model which costs 2x more.
|
|
13913
|
+
* @default false
|
|
13914
|
+
*/
|
|
13915
|
+
enable_occlusion_prevention?: boolean;
|
|
13916
|
+
/**
|
|
13917
|
+
* Source Face Url 1
|
|
13918
|
+
* @description First source face image (will be mapped to faces matching source_gender_1). Allowed items: bmp, jpeg, png, tiff, webp
|
|
13919
|
+
* @example https://images.pexels.com/photos/1642228/pexels-photo-1642228.jpeg
|
|
13920
|
+
*/
|
|
13921
|
+
source_face_url_1: string;
|
|
13922
|
+
/**
|
|
13923
|
+
* Source Face Url 2
|
|
13924
|
+
* @description Second source face image (optional, will be mapped to faces matching source_gender_2). If provided, source_gender_2 must also be specified. Allowed items: bmp, jpeg, png, tiff, webp
|
|
13925
|
+
* @example https://images.pexels.com/photos/6066877/pexels-photo-6066877.jpeg
|
|
13926
|
+
*/
|
|
13927
|
+
source_face_url_2?: string;
|
|
13928
|
+
/**
|
|
13929
|
+
* Source Gender 1
|
|
13930
|
+
* @description Gender of source 1 face - faces matching this gender in target will be swapped with source_face_url_1
|
|
13931
|
+
* @enum {string}
|
|
13932
|
+
*/
|
|
13933
|
+
source_gender_1: 'female' | 'male';
|
|
13934
|
+
/**
|
|
13935
|
+
* Source Gender 2
|
|
13936
|
+
* @description Gender of source 2 face - required when source_face_url_2 is provided. Faces matching this gender in target will be swapped with source_face_url_2
|
|
13937
|
+
* @default male
|
|
13938
|
+
*/
|
|
13939
|
+
source_gender_2?: 'female' | 'male';
|
|
13940
|
+
/**
|
|
13941
|
+
* Target Image Url
|
|
13942
|
+
* @description Target image URL. Allowed items: bmp, jpeg, png, tiff, webp
|
|
13943
|
+
* @example https://images.pexels.com/photos/16280336/pexels-photo-16280336.jpeg
|
|
13944
|
+
*/
|
|
13945
|
+
target_image_url: string;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13948
|
+
export interface HalfmoonaiAiFaceSwapFaceswapimagemultiOutput {
|
|
13949
|
+
/**
|
|
13950
|
+
* @description Generated image result
|
|
13951
|
+
* @example {
|
|
13952
|
+
* "height": 742,
|
|
13953
|
+
* "content_type": "image/jpeg",
|
|
13954
|
+
* "url": "https://v3b.fal.media/files/b/0a8c136c/B7HMnRi-GNwIhlRBwaHrU_b41c39d877904258903121452d9668ab.jpg",
|
|
13955
|
+
* "width": 520
|
|
13956
|
+
* }
|
|
13957
|
+
*/
|
|
13958
|
+
image: Components.Image_2;
|
|
13959
|
+
/**
|
|
13960
|
+
* Processing Time Ms
|
|
13961
|
+
* @description Optional processing duration in milliseconds
|
|
13962
|
+
*/
|
|
13963
|
+
processing_time_ms?: number;
|
|
13964
|
+
}
|
|
13965
|
+
|
|
13844
13966
|
export interface HalfmoonaiAiFaceSwapFaceswapimageInput {
|
|
13845
13967
|
/**
|
|
13846
13968
|
* Enable Occlusion Prevention
|
|
@@ -15158,7 +15280,7 @@ export interface ZImageBaseOutput extends SharedType_e5a {}
|
|
|
15158
15280
|
|
|
15159
15281
|
export interface ZImageTurboTrainerV2Input extends SharedType_54d {}
|
|
15160
15282
|
|
|
15161
|
-
export interface ZImageTurboTrainerV2Output extends
|
|
15283
|
+
export interface ZImageTurboTrainerV2Output extends SharedType_429 {}
|
|
15162
15284
|
|
|
15163
15285
|
export interface ZImageTrainerInput {
|
|
15164
15286
|
/**
|
|
@@ -18692,7 +18814,7 @@ export interface WanVaceAppsVideoEditOutput {
|
|
|
18692
18814
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/vace-video-edit-output.mp4"
|
|
18693
18815
|
* }
|
|
18694
18816
|
*/
|
|
18695
|
-
video: Components.
|
|
18817
|
+
video: Components.VideoFile;
|
|
18696
18818
|
}
|
|
18697
18819
|
|
|
18698
18820
|
export interface WanVaceAppsLongReframeInput {
|
|
@@ -18870,28 +18992,28 @@ export interface WanVaceAppsLongReframeOutput {
|
|
|
18870
18992
|
* Video
|
|
18871
18993
|
* @description The output video file.
|
|
18872
18994
|
*/
|
|
18873
|
-
video: Components.
|
|
18995
|
+
video: Components.VideoFile;
|
|
18874
18996
|
}
|
|
18875
18997
|
|
|
18876
18998
|
export interface WanVace14bReframeInput extends SharedType_e15 {}
|
|
18877
18999
|
|
|
18878
|
-
export interface WanVace14bReframeOutput extends
|
|
19000
|
+
export interface WanVace14bReframeOutput extends SharedType_d17 {}
|
|
18879
19001
|
|
|
18880
19002
|
export interface WanVace14bPoseInput extends SharedType_397 {}
|
|
18881
19003
|
|
|
18882
|
-
export interface WanVace14bPoseOutput extends
|
|
19004
|
+
export interface WanVace14bPoseOutput extends SharedType_fb1 {}
|
|
18883
19005
|
|
|
18884
19006
|
export interface WanVace14bOutpaintingInput extends SharedType_913 {}
|
|
18885
19007
|
|
|
18886
|
-
export interface WanVace14bOutpaintingOutput extends
|
|
19008
|
+
export interface WanVace14bOutpaintingOutput extends SharedType_164 {}
|
|
18887
19009
|
|
|
18888
19010
|
export interface WanVace14bInpaintingInput extends SharedType_0ab {}
|
|
18889
19011
|
|
|
18890
|
-
export interface WanVace14bInpaintingOutput extends
|
|
19012
|
+
export interface WanVace14bInpaintingOutput extends SharedType_524 {}
|
|
18891
19013
|
|
|
18892
19014
|
export interface WanVace14bDepthInput extends SharedType_57e {}
|
|
18893
19015
|
|
|
18894
|
-
export interface WanVace14bDepthOutput extends
|
|
19016
|
+
export interface WanVace14bDepthOutput extends SharedType_1fe {}
|
|
18895
19017
|
|
|
18896
19018
|
export interface WanVace14bInput {
|
|
18897
19019
|
/**
|
|
@@ -19134,7 +19256,7 @@ export interface WanVace14bOutput {
|
|
|
19134
19256
|
*/
|
|
19135
19257
|
seed: number;
|
|
19136
19258
|
/** @description The generated video file. */
|
|
19137
|
-
video: Components.
|
|
19259
|
+
video: Components.VideoFile_1;
|
|
19138
19260
|
}
|
|
19139
19261
|
|
|
19140
19262
|
export interface WanVace13bInput {
|
|
@@ -20276,7 +20398,7 @@ export interface WanAlphaOutput {
|
|
|
20276
20398
|
* Image
|
|
20277
20399
|
* @description The generated image file.
|
|
20278
20400
|
*/
|
|
20279
|
-
image?: Components.
|
|
20401
|
+
image?: Components.VideoFile;
|
|
20280
20402
|
/**
|
|
20281
20403
|
* Mask
|
|
20282
20404
|
* @description The generated mask file.
|
|
@@ -20291,7 +20413,7 @@ export interface WanAlphaOutput {
|
|
|
20291
20413
|
* "num_frames": 81
|
|
20292
20414
|
* }
|
|
20293
20415
|
*/
|
|
20294
|
-
mask?: Components.
|
|
20416
|
+
mask?: Components.VideoFile;
|
|
20295
20417
|
/**
|
|
20296
20418
|
* Prompt
|
|
20297
20419
|
* @description The prompt used for generation.
|
|
@@ -20315,7 +20437,7 @@ export interface WanAlphaOutput {
|
|
|
20315
20437
|
* "width": 1280
|
|
20316
20438
|
* }
|
|
20317
20439
|
*/
|
|
20318
|
-
video?: Components.
|
|
20440
|
+
video?: Components.VideoFile;
|
|
20319
20441
|
}
|
|
20320
20442
|
|
|
20321
20443
|
export interface Wan25PreviewTextToVideoInput {
|
|
@@ -20387,7 +20509,7 @@ export interface Wan25PreviewTextToVideoInput {
|
|
|
20387
20509
|
seed?: number;
|
|
20388
20510
|
}
|
|
20389
20511
|
|
|
20390
|
-
export interface Wan25PreviewTextToVideoOutput extends
|
|
20512
|
+
export interface Wan25PreviewTextToVideoOutput extends SharedType_1cd {}
|
|
20391
20513
|
|
|
20392
20514
|
export interface Wan25PreviewTextToImageInput {
|
|
20393
20515
|
/**
|
|
@@ -20549,7 +20671,7 @@ export interface Wan25PreviewImageToVideoInput {
|
|
|
20549
20671
|
seed?: number;
|
|
20550
20672
|
}
|
|
20551
20673
|
|
|
20552
|
-
export interface Wan25PreviewImageToVideoOutput extends
|
|
20674
|
+
export interface Wan25PreviewImageToVideoOutput extends SharedType_1cd {}
|
|
20553
20675
|
|
|
20554
20676
|
export interface Wan25PreviewImageToImageInput {
|
|
20555
20677
|
/**
|
|
@@ -20645,23 +20767,23 @@ export interface Wan25PreviewImageToImageOutput {
|
|
|
20645
20767
|
|
|
20646
20768
|
export interface Wan22VaceFunA14bReframeInput extends SharedType_e15 {}
|
|
20647
20769
|
|
|
20648
|
-
export interface Wan22VaceFunA14bReframeOutput extends
|
|
20770
|
+
export interface Wan22VaceFunA14bReframeOutput extends SharedType_d17 {}
|
|
20649
20771
|
|
|
20650
20772
|
export interface Wan22VaceFunA14bPoseInput extends SharedType_397 {}
|
|
20651
20773
|
|
|
20652
|
-
export interface Wan22VaceFunA14bPoseOutput extends
|
|
20774
|
+
export interface Wan22VaceFunA14bPoseOutput extends SharedType_fb1 {}
|
|
20653
20775
|
|
|
20654
20776
|
export interface Wan22VaceFunA14bOutpaintingInput extends SharedType_913 {}
|
|
20655
20777
|
|
|
20656
|
-
export interface Wan22VaceFunA14bOutpaintingOutput extends
|
|
20778
|
+
export interface Wan22VaceFunA14bOutpaintingOutput extends SharedType_164 {}
|
|
20657
20779
|
|
|
20658
20780
|
export interface Wan22VaceFunA14bInpaintingInput extends SharedType_0ab {}
|
|
20659
20781
|
|
|
20660
|
-
export interface Wan22VaceFunA14bInpaintingOutput extends
|
|
20782
|
+
export interface Wan22VaceFunA14bInpaintingOutput extends SharedType_524 {}
|
|
20661
20783
|
|
|
20662
20784
|
export interface Wan22VaceFunA14bDepthInput extends SharedType_57e {}
|
|
20663
20785
|
|
|
20664
|
-
export interface Wan22VaceFunA14bDepthOutput extends
|
|
20786
|
+
export interface Wan22VaceFunA14bDepthOutput extends SharedType_1fe {}
|
|
20665
20787
|
|
|
20666
20788
|
export interface Wan22ImageTrainerInput {
|
|
20667
20789
|
/**
|
|
@@ -21115,16 +21237,21 @@ export interface ViduQ3TextToVideoOutput {
|
|
|
21115
21237
|
export interface ViduQ3ImageToVideoInput {
|
|
21116
21238
|
/**
|
|
21117
21239
|
* Audio
|
|
21118
|
-
* @description Whether to use direct audio-video generation. When true, outputs video with sound.
|
|
21240
|
+
* @description Whether to use direct audio-video generation. When true, outputs video with sound (including dialogue and sound effects).
|
|
21119
21241
|
* @default true
|
|
21120
21242
|
*/
|
|
21121
21243
|
audio?: boolean;
|
|
21122
21244
|
/**
|
|
21123
21245
|
* Duration
|
|
21124
|
-
* @description Duration of the video in seconds
|
|
21246
|
+
* @description Duration of the video in seconds (1-16 for Q3 models)
|
|
21125
21247
|
* @default 5
|
|
21126
21248
|
*/
|
|
21127
21249
|
duration?: number;
|
|
21250
|
+
/**
|
|
21251
|
+
* End Image Url
|
|
21252
|
+
* @description URL of the image to use as the ending frame. When provided, generates a transition video between start and end frames.
|
|
21253
|
+
*/
|
|
21254
|
+
end_image_url?: string;
|
|
21128
21255
|
/**
|
|
21129
21256
|
* Image Url
|
|
21130
21257
|
* @description URL or base64 image to use as the starting frame
|
|
@@ -21134,12 +21261,13 @@ export interface ViduQ3ImageToVideoInput {
|
|
|
21134
21261
|
/**
|
|
21135
21262
|
* Prompt
|
|
21136
21263
|
* @description Text prompt for video generation, max 2000 characters
|
|
21264
|
+
* @default
|
|
21137
21265
|
* @example The astronaut waved and the camera moved up.
|
|
21138
21266
|
*/
|
|
21139
|
-
prompt
|
|
21267
|
+
prompt?: string;
|
|
21140
21268
|
/**
|
|
21141
21269
|
* Resolution
|
|
21142
|
-
* @description Output video resolution
|
|
21270
|
+
* @description Output video resolution. Note: 360p is not available when end_image_url is provided.
|
|
21143
21271
|
* @default 720p
|
|
21144
21272
|
* @enum {string}
|
|
21145
21273
|
*/
|
|
@@ -23255,14 +23383,14 @@ export interface SyncLipsyncReact1Output {
|
|
|
23255
23383
|
* "height": 1088,
|
|
23256
23384
|
* "duration": 7.041667,
|
|
23257
23385
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/react_1/output.mp4",
|
|
23258
|
-
* "width": 1920,
|
|
23259
23386
|
* "fps": 24,
|
|
23387
|
+
* "width": 1920,
|
|
23260
23388
|
* "file_name": "output.mp4",
|
|
23261
|
-
* "
|
|
23262
|
-
* "
|
|
23389
|
+
* "content_type": "video/mp4",
|
|
23390
|
+
* "num_frames": 169
|
|
23263
23391
|
* }
|
|
23264
23392
|
*/
|
|
23265
|
-
video: Components.
|
|
23393
|
+
video: Components.VideoFile;
|
|
23266
23394
|
}
|
|
23267
23395
|
|
|
23268
23396
|
export interface SyncLipsyncInput {
|
|
@@ -24739,7 +24867,7 @@ export interface Sora2VideoToVideoRemixOutput {
|
|
|
24739
24867
|
* "url": "https://v3b.fal.media/files/b/rabbit/nk1MK6LY90QqScvI4_Yn8.mp4"
|
|
24740
24868
|
* }
|
|
24741
24869
|
*/
|
|
24742
|
-
video: Components.
|
|
24870
|
+
video: Components.VideoFile;
|
|
24743
24871
|
/**
|
|
24744
24872
|
* Video ID
|
|
24745
24873
|
* @description The ID of the generated video
|
|
@@ -24803,7 +24931,7 @@ export interface Sora2TextToVideoProOutput {
|
|
|
24803
24931
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/sora-2-pro-t2v-output.mp4"
|
|
24804
24932
|
* }
|
|
24805
24933
|
*/
|
|
24806
|
-
video: Components.
|
|
24934
|
+
video: Components.VideoFile;
|
|
24807
24935
|
/**
|
|
24808
24936
|
* Video ID
|
|
24809
24937
|
* @description The ID of the generated video
|
|
@@ -24874,7 +25002,7 @@ export interface Sora2TextToVideoOutput {
|
|
|
24874
25002
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/sora_t2v_output.mp4"
|
|
24875
25003
|
* }
|
|
24876
25004
|
*/
|
|
24877
|
-
video: Components.
|
|
25005
|
+
video: Components.VideoFile;
|
|
24878
25006
|
/**
|
|
24879
25007
|
* Video ID
|
|
24880
25008
|
* @description The ID of the generated video
|
|
@@ -24944,7 +25072,7 @@ export interface Sora2ImageToVideoProOutput {
|
|
|
24944
25072
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/sora-2-pro-i2v-output.mp4"
|
|
24945
25073
|
* }
|
|
24946
25074
|
*/
|
|
24947
|
-
video: Components.
|
|
25075
|
+
video: Components.VideoFile;
|
|
24948
25076
|
/**
|
|
24949
25077
|
* Video ID
|
|
24950
25078
|
* @description The ID of the generated video
|
|
@@ -25021,7 +25149,7 @@ export interface Sora2ImageToVideoOutput {
|
|
|
25021
25149
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/sora_2_i2v_output.mp4"
|
|
25022
25150
|
* }
|
|
25023
25151
|
*/
|
|
25024
|
-
video: Components.
|
|
25152
|
+
video: Components.VideoFile;
|
|
25025
25153
|
/**
|
|
25026
25154
|
* Video ID
|
|
25027
25155
|
* @description The ID of the generated video
|
|
@@ -33207,13 +33335,12 @@ export interface PikaV2TurboTextToVideoInput {
|
|
|
33207
33335
|
|
|
33208
33336
|
export interface PikaV2TurboTextToVideoOutput {
|
|
33209
33337
|
/**
|
|
33210
|
-
* Video
|
|
33211
33338
|
* @description The generated video
|
|
33212
33339
|
* @example {
|
|
33213
33340
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_t2v_v2_turbo_output.mp4"
|
|
33214
33341
|
* }
|
|
33215
33342
|
*/
|
|
33216
|
-
video: Components.
|
|
33343
|
+
video: Components.File_1;
|
|
33217
33344
|
}
|
|
33218
33345
|
|
|
33219
33346
|
export interface PikaV2TurboImageToVideoInput {
|
|
@@ -33255,13 +33382,12 @@ export interface PikaV2TurboImageToVideoInput {
|
|
|
33255
33382
|
|
|
33256
33383
|
export interface PikaV2TurboImageToVideoOutput {
|
|
33257
33384
|
/**
|
|
33258
|
-
* Video
|
|
33259
33385
|
* @description The generated video
|
|
33260
33386
|
* @example {
|
|
33261
33387
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_i2v_v2_turbo_output.mp4"
|
|
33262
33388
|
* }
|
|
33263
33389
|
*/
|
|
33264
|
-
video: Components.
|
|
33390
|
+
video: Components.File_1;
|
|
33265
33391
|
}
|
|
33266
33392
|
|
|
33267
33393
|
export interface PikaV2PikadditionsInput {
|
|
@@ -33297,13 +33423,12 @@ export interface PikaV2PikadditionsInput {
|
|
|
33297
33423
|
|
|
33298
33424
|
export interface PikaV2PikadditionsOutput {
|
|
33299
33425
|
/**
|
|
33300
|
-
* Video
|
|
33301
33426
|
* @description The generated video with added objects/images
|
|
33302
33427
|
* @example {
|
|
33303
33428
|
* "url": "https://v3.fal.media/files/lion/sbM48rVVi7y0yh5EuMtoC_output.mp4"
|
|
33304
33429
|
* }
|
|
33305
33430
|
*/
|
|
33306
|
-
video: Components.
|
|
33431
|
+
video: Components.File_1;
|
|
33307
33432
|
}
|
|
33308
33433
|
|
|
33309
33434
|
export interface PikaV22TextToVideoInput {
|
|
@@ -33350,13 +33475,12 @@ export interface PikaV22TextToVideoInput {
|
|
|
33350
33475
|
|
|
33351
33476
|
export interface PikaV22TextToVideoOutput {
|
|
33352
33477
|
/**
|
|
33353
|
-
* Video
|
|
33354
33478
|
* @description The generated video
|
|
33355
33479
|
* @example {
|
|
33356
33480
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_t2v_v22_output.mp4"
|
|
33357
33481
|
* }
|
|
33358
33482
|
*/
|
|
33359
|
-
video: Components.
|
|
33483
|
+
video: Components.File_1;
|
|
33360
33484
|
}
|
|
33361
33485
|
|
|
33362
33486
|
export interface PikaV22PikascenesInput {
|
|
@@ -33423,13 +33547,12 @@ export interface PikaV22PikascenesInput {
|
|
|
33423
33547
|
|
|
33424
33548
|
export interface PikaV22PikascenesOutput {
|
|
33425
33549
|
/**
|
|
33426
|
-
* Video
|
|
33427
33550
|
* @description The generated video combining multiple images
|
|
33428
33551
|
* @example {
|
|
33429
33552
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_scenes/output.mp4"
|
|
33430
33553
|
* }
|
|
33431
33554
|
*/
|
|
33432
|
-
video: Components.
|
|
33555
|
+
video: Components.File_1;
|
|
33433
33556
|
}
|
|
33434
33557
|
|
|
33435
33558
|
export interface PikaV22PikaframesInput {
|
|
@@ -33478,7 +33601,6 @@ export interface PikaV22PikaframesInput {
|
|
|
33478
33601
|
|
|
33479
33602
|
export interface PikaV22PikaframesOutput {
|
|
33480
33603
|
/**
|
|
33481
|
-
* Video
|
|
33482
33604
|
* @description The generated video with transitions between keyframes
|
|
33483
33605
|
* @example {
|
|
33484
33606
|
* "file_size": 1583228,
|
|
@@ -33487,7 +33609,7 @@ export interface PikaV22PikaframesOutput {
|
|
|
33487
33609
|
* "url": "https://v3b.fal.media/files/b/lion/0KxHFdw-mp0OzGsLrQLIy_tmpjfwlno11.mp4"
|
|
33488
33610
|
* }
|
|
33489
33611
|
*/
|
|
33490
|
-
video: Components.
|
|
33612
|
+
video: Components.File_1;
|
|
33491
33613
|
}
|
|
33492
33614
|
|
|
33493
33615
|
export interface PikaV22ImageToVideoInput {
|
|
@@ -33533,13 +33655,12 @@ export interface PikaV22ImageToVideoInput {
|
|
|
33533
33655
|
|
|
33534
33656
|
export interface PikaV22ImageToVideoOutput {
|
|
33535
33657
|
/**
|
|
33536
|
-
* Video
|
|
33537
33658
|
* @description The generated video
|
|
33538
33659
|
* @example {
|
|
33539
33660
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_i2v_v22_output.mp4"
|
|
33540
33661
|
* }
|
|
33541
33662
|
*/
|
|
33542
|
-
video: Components.
|
|
33663
|
+
video: Components.File_1;
|
|
33543
33664
|
}
|
|
33544
33665
|
|
|
33545
33666
|
export interface PikaV21TextToVideoInput {
|
|
@@ -33583,13 +33704,12 @@ export interface PikaV21TextToVideoInput {
|
|
|
33583
33704
|
|
|
33584
33705
|
export interface PikaV21TextToVideoOutput {
|
|
33585
33706
|
/**
|
|
33586
|
-
* Video
|
|
33587
33707
|
* @description The generated video
|
|
33588
33708
|
* @example {
|
|
33589
33709
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_t2v_v21_output.mp4"
|
|
33590
33710
|
* }
|
|
33591
33711
|
*/
|
|
33592
|
-
video: Components.
|
|
33712
|
+
video: Components.File_1;
|
|
33593
33713
|
}
|
|
33594
33714
|
|
|
33595
33715
|
export interface PikaV21ImageToVideoInput {
|
|
@@ -33631,13 +33751,12 @@ export interface PikaV21ImageToVideoInput {
|
|
|
33631
33751
|
|
|
33632
33752
|
export interface PikaV21ImageToVideoOutput {
|
|
33633
33753
|
/**
|
|
33634
|
-
* Video
|
|
33635
33754
|
* @description The generated video
|
|
33636
33755
|
* @example {
|
|
33637
33756
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_i2v_v21_output.mp4"
|
|
33638
33757
|
* }
|
|
33639
33758
|
*/
|
|
33640
|
-
video: Components.
|
|
33759
|
+
video: Components.File_1;
|
|
33641
33760
|
}
|
|
33642
33761
|
|
|
33643
33762
|
export interface PikaV15PikaffectsInput {
|
|
@@ -33690,13 +33809,12 @@ export interface PikaV15PikaffectsInput {
|
|
|
33690
33809
|
|
|
33691
33810
|
export interface PikaV15PikaffectsOutput {
|
|
33692
33811
|
/**
|
|
33693
|
-
* Video
|
|
33694
33812
|
* @description The generated video with applied effect
|
|
33695
33813
|
* @example {
|
|
33696
33814
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/pika/pika_effects/cake.mp4"
|
|
33697
33815
|
* }
|
|
33698
33816
|
*/
|
|
33699
|
-
video: Components.
|
|
33817
|
+
video: Components.File_1;
|
|
33700
33818
|
}
|
|
33701
33819
|
|
|
33702
33820
|
export interface PiflowInput {
|
|
@@ -34753,13 +34871,13 @@ export interface NovaSrOutput {
|
|
|
34753
34871
|
* Audio
|
|
34754
34872
|
* @description The enhanced audio file.
|
|
34755
34873
|
* @example {
|
|
34756
|
-
* "
|
|
34874
|
+
* "channels": 1,
|
|
34757
34875
|
* "duration": 12.283291666666667,
|
|
34758
34876
|
* "url": "https://v3b.fal.media/files/b/0a8a3f1a/lTKExJu-R6ZJdnFlpzEeq_TxmNTNhl.mp3",
|
|
34759
34877
|
* "file_name": "lTKExJu-R6ZJdnFlpzEeq_TxmNTNhl.mp3",
|
|
34760
34878
|
* "sample_rate": 48000,
|
|
34761
34879
|
* "content_type": "audio/mpeg",
|
|
34762
|
-
* "
|
|
34880
|
+
* "bitrate": "192k"
|
|
34763
34881
|
* }
|
|
34764
34882
|
*/
|
|
34765
34883
|
audio: Components.AudioFile;
|
|
@@ -34871,13 +34989,172 @@ export interface NanoBananaEditInput extends SharedType_813 {}
|
|
|
34871
34989
|
|
|
34872
34990
|
export interface NanoBananaEditOutput extends SharedType_98c {}
|
|
34873
34991
|
|
|
34874
|
-
export interface NanoBananaProEditInput
|
|
34992
|
+
export interface NanoBananaProEditInput {
|
|
34993
|
+
/**
|
|
34994
|
+
* Aspect Ratio
|
|
34995
|
+
* @description The aspect ratio of the generated image.
|
|
34996
|
+
* @default auto
|
|
34997
|
+
* @enum {string}
|
|
34998
|
+
*/
|
|
34999
|
+
aspect_ratio?:
|
|
35000
|
+
| 'auto'
|
|
35001
|
+
| '21:9'
|
|
35002
|
+
| '16:9'
|
|
35003
|
+
| '3:2'
|
|
35004
|
+
| '4:3'
|
|
35005
|
+
| '5:4'
|
|
35006
|
+
| '1:1'
|
|
35007
|
+
| '4:5'
|
|
35008
|
+
| '3:4'
|
|
35009
|
+
| '2:3'
|
|
35010
|
+
| '9:16';
|
|
35011
|
+
/**
|
|
35012
|
+
* Enable Web Search
|
|
35013
|
+
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
35014
|
+
* @default false
|
|
35015
|
+
*/
|
|
35016
|
+
enable_web_search?: boolean;
|
|
35017
|
+
/**
|
|
35018
|
+
* Image URLs
|
|
35019
|
+
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
35020
|
+
* @example [
|
|
35021
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
35022
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
35023
|
+
* ]
|
|
35024
|
+
*/
|
|
35025
|
+
image_urls: string[];
|
|
35026
|
+
/**
|
|
35027
|
+
* Limit Generations
|
|
35028
|
+
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
35029
|
+
* @default false
|
|
35030
|
+
*/
|
|
35031
|
+
limit_generations?: boolean;
|
|
35032
|
+
/**
|
|
35033
|
+
* Number of Images
|
|
35034
|
+
* @description The number of images to generate.
|
|
35035
|
+
* @default 1
|
|
35036
|
+
*/
|
|
35037
|
+
num_images?: number;
|
|
35038
|
+
/**
|
|
35039
|
+
* Output Format
|
|
35040
|
+
* @description The format of the generated image.
|
|
35041
|
+
* @default png
|
|
35042
|
+
* @enum {string}
|
|
35043
|
+
*/
|
|
35044
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
35045
|
+
/**
|
|
35046
|
+
* Prompt
|
|
35047
|
+
* @description The prompt for image editing.
|
|
35048
|
+
* @example make a photo of the man driving the car down the california coastline
|
|
35049
|
+
*/
|
|
35050
|
+
prompt: string;
|
|
35051
|
+
/**
|
|
35052
|
+
* Resolution
|
|
35053
|
+
* @description The resolution of the image to generate.
|
|
35054
|
+
* @default 1K
|
|
35055
|
+
* @enum {string}
|
|
35056
|
+
*/
|
|
35057
|
+
resolution?: '1K' | '2K' | '4K';
|
|
35058
|
+
/**
|
|
35059
|
+
* Safety Tolerance
|
|
35060
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
35061
|
+
* @default 4
|
|
35062
|
+
* @enum {string}
|
|
35063
|
+
*/
|
|
35064
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
35065
|
+
/**
|
|
35066
|
+
* Seed
|
|
35067
|
+
* @description The seed for the random number generator.
|
|
35068
|
+
*/
|
|
35069
|
+
seed?: number;
|
|
35070
|
+
/**
|
|
35071
|
+
* Sync Mode
|
|
35072
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
35073
|
+
* @default false
|
|
35074
|
+
*/
|
|
35075
|
+
sync_mode?: boolean;
|
|
35076
|
+
}
|
|
34875
35077
|
|
|
34876
|
-
export interface NanoBananaProEditOutput extends
|
|
35078
|
+
export interface NanoBananaProEditOutput extends SharedType_98c {}
|
|
34877
35079
|
|
|
34878
|
-
export interface NanoBananaProInput
|
|
35080
|
+
export interface NanoBananaProInput {
|
|
35081
|
+
/**
|
|
35082
|
+
* Aspect Ratio
|
|
35083
|
+
* @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
|
|
35084
|
+
* @default 1:1
|
|
35085
|
+
* @enum {string}
|
|
35086
|
+
*/
|
|
35087
|
+
aspect_ratio?:
|
|
35088
|
+
| 'auto'
|
|
35089
|
+
| '21:9'
|
|
35090
|
+
| '16:9'
|
|
35091
|
+
| '3:2'
|
|
35092
|
+
| '4:3'
|
|
35093
|
+
| '5:4'
|
|
35094
|
+
| '1:1'
|
|
35095
|
+
| '4:5'
|
|
35096
|
+
| '3:4'
|
|
35097
|
+
| '2:3'
|
|
35098
|
+
| '9:16';
|
|
35099
|
+
/**
|
|
35100
|
+
* Enable Web Search
|
|
35101
|
+
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
35102
|
+
* @default false
|
|
35103
|
+
*/
|
|
35104
|
+
enable_web_search?: boolean;
|
|
35105
|
+
/**
|
|
35106
|
+
* Limit Generations
|
|
35107
|
+
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
35108
|
+
* @default false
|
|
35109
|
+
*/
|
|
35110
|
+
limit_generations?: boolean;
|
|
35111
|
+
/**
|
|
35112
|
+
* Number of Images
|
|
35113
|
+
* @description The number of images to generate.
|
|
35114
|
+
* @default 1
|
|
35115
|
+
*/
|
|
35116
|
+
num_images?: number;
|
|
35117
|
+
/**
|
|
35118
|
+
* Output Format
|
|
35119
|
+
* @description The format of the generated image.
|
|
35120
|
+
* @default png
|
|
35121
|
+
* @enum {string}
|
|
35122
|
+
*/
|
|
35123
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
35124
|
+
/**
|
|
35125
|
+
* Prompt
|
|
35126
|
+
* @description The text prompt to generate an image from.
|
|
35127
|
+
* @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
|
|
35128
|
+
*/
|
|
35129
|
+
prompt: string;
|
|
35130
|
+
/**
|
|
35131
|
+
* Resolution
|
|
35132
|
+
* @description The resolution of the image to generate.
|
|
35133
|
+
* @default 1K
|
|
35134
|
+
* @enum {string}
|
|
35135
|
+
*/
|
|
35136
|
+
resolution?: '1K' | '2K' | '4K';
|
|
35137
|
+
/**
|
|
35138
|
+
* Safety Tolerance
|
|
35139
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
35140
|
+
* @default 4
|
|
35141
|
+
* @enum {string}
|
|
35142
|
+
*/
|
|
35143
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
35144
|
+
/**
|
|
35145
|
+
* Seed
|
|
35146
|
+
* @description The seed for the random number generator.
|
|
35147
|
+
*/
|
|
35148
|
+
seed?: number;
|
|
35149
|
+
/**
|
|
35150
|
+
* Sync Mode
|
|
35151
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
35152
|
+
* @default false
|
|
35153
|
+
*/
|
|
35154
|
+
sync_mode?: boolean;
|
|
35155
|
+
}
|
|
34879
35156
|
|
|
34880
|
-
export interface NanoBananaProOutput extends
|
|
35157
|
+
export interface NanoBananaProOutput extends SharedType_662 {}
|
|
34881
35158
|
|
|
34882
35159
|
export interface NanoBananaInput extends SharedType_97e {}
|
|
34883
35160
|
|
|
@@ -35022,10 +35299,10 @@ export interface Moondream3PreviewQueryOutput {
|
|
|
35022
35299
|
* @description Usage information for the request
|
|
35023
35300
|
* @example {
|
|
35024
35301
|
* "output_tokens": 23,
|
|
35025
|
-
* "
|
|
35302
|
+
* "prefill_time_ms": 54.45315001998097,
|
|
35026
35303
|
* "input_tokens": 737,
|
|
35027
35304
|
* "ttft_ms": 91.87838807702065,
|
|
35028
|
-
* "
|
|
35305
|
+
* "decode_time_ms": 811.5944429300725
|
|
35029
35306
|
* }
|
|
35030
35307
|
*/
|
|
35031
35308
|
usage_info: Components.UsageInfo_1;
|
|
@@ -35126,10 +35403,10 @@ export interface Moondream3PreviewPointOutput {
|
|
|
35126
35403
|
* @description Usage information for the request
|
|
35127
35404
|
* @example {
|
|
35128
35405
|
* "output_tokens": 23,
|
|
35129
|
-
* "
|
|
35406
|
+
* "prefill_time_ms": 54.45315001998097,
|
|
35130
35407
|
* "input_tokens": 737,
|
|
35131
35408
|
* "ttft_ms": 91.87838807702065,
|
|
35132
|
-
* "
|
|
35409
|
+
* "decode_time_ms": 811.5944429300725
|
|
35133
35410
|
* }
|
|
35134
35411
|
*/
|
|
35135
35412
|
usage_info: Components.UsageInfo_1;
|
|
@@ -35198,10 +35475,10 @@ export interface Moondream3PreviewDetectOutput {
|
|
|
35198
35475
|
* @description Usage information for the request
|
|
35199
35476
|
* @example {
|
|
35200
35477
|
* "output_tokens": 23,
|
|
35201
|
-
* "
|
|
35478
|
+
* "prefill_time_ms": 54.45315001998097,
|
|
35202
35479
|
* "input_tokens": 737,
|
|
35203
35480
|
* "ttft_ms": 91.87838807702065,
|
|
35204
|
-
* "
|
|
35481
|
+
* "decode_time_ms": 811.5944429300725
|
|
35205
35482
|
* }
|
|
35206
35483
|
*/
|
|
35207
35484
|
usage_info: Components.UsageInfo_1;
|
|
@@ -35253,10 +35530,10 @@ export interface Moondream3PreviewCaptionOutput {
|
|
|
35253
35530
|
* @description Usage information for the request
|
|
35254
35531
|
* @example {
|
|
35255
35532
|
* "output_tokens": 23,
|
|
35256
|
-
* "
|
|
35533
|
+
* "prefill_time_ms": 54.45315001998097,
|
|
35257
35534
|
* "input_tokens": 737,
|
|
35258
35535
|
* "ttft_ms": 91.87838807702065,
|
|
35259
|
-
* "
|
|
35536
|
+
* "decode_time_ms": 811.5944429300725
|
|
35260
35537
|
* }
|
|
35261
35538
|
*/
|
|
35262
35539
|
usage_info: Components.UsageInfo_1;
|
|
@@ -36872,327 +37149,21 @@ export interface MinimaxMusicOutput {
|
|
|
36872
37149
|
audio: Components.File;
|
|
36873
37150
|
}
|
|
36874
37151
|
|
|
36875
|
-
export interface
|
|
36876
|
-
/**
|
|
36877
|
-
* Art Style
|
|
36878
|
-
* @description Desired art style of the object. Note: enable_pbr should be false for sculpture style.
|
|
36879
|
-
* @default realistic
|
|
36880
|
-
* @enum {string}
|
|
36881
|
-
*/
|
|
36882
|
-
art_style?: 'realistic' | 'sculpture';
|
|
36883
|
-
/**
|
|
36884
|
-
* Enable Pbr
|
|
36885
|
-
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Should be false for sculpture style.
|
|
36886
|
-
* @default false
|
|
36887
|
-
*/
|
|
36888
|
-
enable_pbr?: boolean;
|
|
36889
|
-
/**
|
|
36890
|
-
* Enable Prompt Expansion
|
|
36891
|
-
* @description Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
|
|
36892
|
-
* @default false
|
|
36893
|
-
*/
|
|
36894
|
-
enable_prompt_expansion?: boolean;
|
|
36895
|
-
/**
|
|
36896
|
-
* Enable Safety Checker
|
|
36897
|
-
* @description If set to true, input data will be checked for safety before processing.
|
|
36898
|
-
* @default true
|
|
36899
|
-
*/
|
|
36900
|
-
enable_safety_checker?: boolean;
|
|
36901
|
-
/**
|
|
36902
|
-
* Is A T Pose
|
|
36903
|
-
* @description Whether to generate the model in an A/T pose
|
|
36904
|
-
* @default false
|
|
36905
|
-
*/
|
|
36906
|
-
is_a_t_pose?: boolean;
|
|
36907
|
-
/**
|
|
36908
|
-
* Mode
|
|
36909
|
-
* @description Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
|
|
36910
|
-
* @default full
|
|
36911
|
-
* @enum {string}
|
|
36912
|
-
*/
|
|
36913
|
-
mode?: 'preview' | 'full';
|
|
36914
|
-
/**
|
|
36915
|
-
* Prompt
|
|
36916
|
-
* @description Describe what kind of object the 3D model is. Maximum 600 characters.
|
|
36917
|
-
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
36918
|
-
*/
|
|
36919
|
-
prompt: string;
|
|
36920
|
-
/**
|
|
36921
|
-
* Seed
|
|
36922
|
-
* @description Seed for reproducible results. Same prompt and seed usually generate the same result.
|
|
36923
|
-
*/
|
|
36924
|
-
seed?: number;
|
|
36925
|
-
/**
|
|
36926
|
-
* Should Remesh
|
|
36927
|
-
* @description Whether to enable the remesh phase. When false, returns unprocessed triangular mesh.
|
|
36928
|
-
* @default true
|
|
36929
|
-
*/
|
|
36930
|
-
should_remesh?: boolean;
|
|
36931
|
-
/**
|
|
36932
|
-
* Symmetry Mode
|
|
36933
|
-
* @description Controls symmetry behavior during model generation.
|
|
36934
|
-
* @default auto
|
|
36935
|
-
* @enum {string}
|
|
36936
|
-
*/
|
|
36937
|
-
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
36938
|
-
/**
|
|
36939
|
-
* Target Polycount
|
|
36940
|
-
* @description Target number of polygons in the generated model
|
|
36941
|
-
* @default 30000
|
|
36942
|
-
*/
|
|
36943
|
-
target_polycount?: number;
|
|
36944
|
-
/**
|
|
36945
|
-
* Texture Image Url
|
|
36946
|
-
* @description 2D image to guide the texturing process (only used in 'full' mode)
|
|
36947
|
-
*/
|
|
36948
|
-
texture_image_url?: string;
|
|
36949
|
-
/**
|
|
36950
|
-
* Texture Prompt
|
|
36951
|
-
* @description Additional text prompt to guide the texturing process (only used in 'full' mode)
|
|
36952
|
-
*/
|
|
36953
|
-
texture_prompt?: string;
|
|
36954
|
-
/**
|
|
36955
|
-
* Topology
|
|
36956
|
-
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
36957
|
-
* @default triangle
|
|
36958
|
-
* @enum {string}
|
|
36959
|
-
*/
|
|
36960
|
-
topology?: 'quad' | 'triangle';
|
|
36961
|
-
}
|
|
37152
|
+
export interface MeshyV6TextTo3dInput extends SharedType_ec0 {}
|
|
36962
37153
|
|
|
36963
|
-
export interface
|
|
36964
|
-
/**
|
|
36965
|
-
* Actual Prompt
|
|
36966
|
-
* @description The actual prompt used if prompt expansion was enabled
|
|
36967
|
-
*/
|
|
36968
|
-
actual_prompt?: string;
|
|
36969
|
-
/**
|
|
36970
|
-
* Model Glb
|
|
36971
|
-
* @description Generated 3D object in GLB format.
|
|
36972
|
-
* @example {
|
|
36973
|
-
* "file_size": 9314028,
|
|
36974
|
-
* "file_name": "model.glb",
|
|
36975
|
-
* "content_type": "model/gltf-binary",
|
|
36976
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
36977
|
-
* }
|
|
36978
|
-
*/
|
|
36979
|
-
model_glb: Components.File;
|
|
36980
|
-
/**
|
|
36981
|
-
* Model Urls
|
|
36982
|
-
* @description URLs for different 3D model formats
|
|
36983
|
-
* @example {
|
|
36984
|
-
* "fbx": {
|
|
36985
|
-
* "file_size": 5444380,
|
|
36986
|
-
* "file_name": "model.fbx",
|
|
36987
|
-
* "content_type": "application/octet-stream",
|
|
36988
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
36989
|
-
* },
|
|
36990
|
-
* "usdz": {
|
|
36991
|
-
* "file_size": 9834246,
|
|
36992
|
-
* "file_name": "model.usdz",
|
|
36993
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
36994
|
-
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
36995
|
-
* },
|
|
36996
|
-
* "glb": {
|
|
36997
|
-
* "file_size": 9314028,
|
|
36998
|
-
* "file_name": "model.glb",
|
|
36999
|
-
* "content_type": "model/gltf-binary",
|
|
37000
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
37001
|
-
* },
|
|
37002
|
-
* "obj": {
|
|
37003
|
-
* "file_size": 2755145,
|
|
37004
|
-
* "file_name": "model.obj",
|
|
37005
|
-
* "content_type": "text/plain",
|
|
37006
|
-
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
37007
|
-
* }
|
|
37008
|
-
* }
|
|
37009
|
-
*/
|
|
37010
|
-
model_urls: Components.ModelUrls_1;
|
|
37011
|
-
/**
|
|
37012
|
-
* Prompt
|
|
37013
|
-
* @description The text prompt used for generation
|
|
37014
|
-
* @example A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It's heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.
|
|
37015
|
-
*/
|
|
37016
|
-
prompt: string;
|
|
37017
|
-
/**
|
|
37018
|
-
* Seed
|
|
37019
|
-
* @description The seed used for generation
|
|
37020
|
-
* @example 4002110719
|
|
37021
|
-
*/
|
|
37022
|
-
seed?: number;
|
|
37023
|
-
/**
|
|
37024
|
-
* Texture Urls
|
|
37025
|
-
* @description Array of texture file objects
|
|
37026
|
-
* @example [
|
|
37027
|
-
* {
|
|
37028
|
-
* "base_color": {
|
|
37029
|
-
* "file_size": 4254502,
|
|
37030
|
-
* "file_name": "texture_0.png",
|
|
37031
|
-
* "content_type": "image/png",
|
|
37032
|
-
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
37033
|
-
* }
|
|
37034
|
-
* }
|
|
37035
|
-
* ]
|
|
37036
|
-
*/
|
|
37037
|
-
texture_urls?: Components.TextureFiles[];
|
|
37038
|
-
/**
|
|
37039
|
-
* Thumbnail
|
|
37040
|
-
* @description Preview thumbnail of the generated model
|
|
37041
|
-
* @example {
|
|
37042
|
-
* "file_size": 173792,
|
|
37043
|
-
* "file_name": "preview.png",
|
|
37044
|
-
* "content_type": "image/png",
|
|
37045
|
-
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
37046
|
-
* }
|
|
37047
|
-
*/
|
|
37048
|
-
thumbnail?: Components.File;
|
|
37049
|
-
}
|
|
37154
|
+
export interface MeshyV6TextTo3dOutput extends SharedType_ae3 {}
|
|
37050
37155
|
|
|
37051
|
-
export interface
|
|
37052
|
-
/**
|
|
37053
|
-
* Enable Pbr
|
|
37054
|
-
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color
|
|
37055
|
-
* @default false
|
|
37056
|
-
*/
|
|
37057
|
-
enable_pbr?: boolean;
|
|
37058
|
-
/**
|
|
37059
|
-
* Enable Safety Checker
|
|
37060
|
-
* @description If set to true, input data will be checked for safety before processing.
|
|
37061
|
-
* @default true
|
|
37062
|
-
*/
|
|
37063
|
-
enable_safety_checker?: boolean;
|
|
37064
|
-
/**
|
|
37065
|
-
* Image Url
|
|
37066
|
-
* @description Image URL or base64 data URI for 3D model creation. Supports .jpg, .jpeg, and .png formats. Also supports AVIF and HEIF formats which will be automatically converted.
|
|
37067
|
-
* @example https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png
|
|
37068
|
-
*/
|
|
37069
|
-
image_url: string;
|
|
37070
|
-
/**
|
|
37071
|
-
* Is A T Pose
|
|
37072
|
-
* @description Whether to generate the model in an A/T pose
|
|
37073
|
-
* @default false
|
|
37074
|
-
*/
|
|
37075
|
-
is_a_t_pose?: boolean;
|
|
37076
|
-
/**
|
|
37077
|
-
* Should Remesh
|
|
37078
|
-
* @description Whether to enable the remesh phase
|
|
37079
|
-
* @default true
|
|
37080
|
-
*/
|
|
37081
|
-
should_remesh?: boolean;
|
|
37082
|
-
/**
|
|
37083
|
-
* Should Texture
|
|
37084
|
-
* @description Whether to generate textures
|
|
37085
|
-
* @default true
|
|
37086
|
-
*/
|
|
37087
|
-
should_texture?: boolean;
|
|
37088
|
-
/**
|
|
37089
|
-
* Symmetry Mode
|
|
37090
|
-
* @description Controls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry.
|
|
37091
|
-
* @default auto
|
|
37092
|
-
* @enum {string}
|
|
37093
|
-
*/
|
|
37094
|
-
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
37095
|
-
/**
|
|
37096
|
-
* Target Polycount
|
|
37097
|
-
* @description Target number of polygons in the generated model
|
|
37098
|
-
* @default 30000
|
|
37099
|
-
*/
|
|
37100
|
-
target_polycount?: number;
|
|
37101
|
-
/**
|
|
37102
|
-
* Texture Image Url
|
|
37103
|
-
* @description 2D image to guide the texturing process
|
|
37104
|
-
*/
|
|
37105
|
-
texture_image_url?: string;
|
|
37106
|
-
/**
|
|
37107
|
-
* Texture Prompt
|
|
37108
|
-
* @description Text prompt to guide the texturing process
|
|
37109
|
-
*/
|
|
37110
|
-
texture_prompt?: string;
|
|
37111
|
-
/**
|
|
37112
|
-
* Topology
|
|
37113
|
-
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
37114
|
-
* @default triangle
|
|
37115
|
-
* @enum {string}
|
|
37116
|
-
*/
|
|
37117
|
-
topology?: 'quad' | 'triangle';
|
|
37118
|
-
}
|
|
37156
|
+
export interface MeshyV6ImageTo3dInput extends SharedType_9af {}
|
|
37119
37157
|
|
|
37120
|
-
export interface
|
|
37121
|
-
|
|
37122
|
-
|
|
37123
|
-
|
|
37124
|
-
|
|
37125
|
-
|
|
37126
|
-
|
|
37127
|
-
|
|
37128
|
-
|
|
37129
|
-
* }
|
|
37130
|
-
*/
|
|
37131
|
-
model_glb: Components.File;
|
|
37132
|
-
/**
|
|
37133
|
-
* Model Urls
|
|
37134
|
-
* @description URLs for different 3D model formats
|
|
37135
|
-
* @example {
|
|
37136
|
-
* "fbx": {
|
|
37137
|
-
* "file_size": 5427052,
|
|
37138
|
-
* "file_name": "model.fbx",
|
|
37139
|
-
* "content_type": "application/octet-stream",
|
|
37140
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
37141
|
-
* },
|
|
37142
|
-
* "usdz": {
|
|
37143
|
-
* "file_size": 9991969,
|
|
37144
|
-
* "file_name": "model.usdz",
|
|
37145
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
37146
|
-
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
37147
|
-
* },
|
|
37148
|
-
* "glb": {
|
|
37149
|
-
* "file_size": 9242744,
|
|
37150
|
-
* "file_name": "model.glb",
|
|
37151
|
-
* "content_type": "model/gltf-binary",
|
|
37152
|
-
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
37153
|
-
* },
|
|
37154
|
-
* "obj": {
|
|
37155
|
-
* "file_size": 2744413,
|
|
37156
|
-
* "file_name": "model.obj",
|
|
37157
|
-
* "content_type": "text/plain",
|
|
37158
|
-
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
37159
|
-
* }
|
|
37160
|
-
* }
|
|
37161
|
-
*/
|
|
37162
|
-
model_urls: Components.ModelUrls_1;
|
|
37163
|
-
/**
|
|
37164
|
-
* Seed
|
|
37165
|
-
* @description The seed used for generation (if available)
|
|
37166
|
-
* @example 2009275957
|
|
37167
|
-
*/
|
|
37168
|
-
seed?: number;
|
|
37169
|
-
/**
|
|
37170
|
-
* Texture Urls
|
|
37171
|
-
* @description Array of texture file objects, matching Meshy API structure
|
|
37172
|
-
* @example [
|
|
37173
|
-
* {
|
|
37174
|
-
* "base_color": {
|
|
37175
|
-
* "file_size": 4328755,
|
|
37176
|
-
* "file_name": "texture_0.png",
|
|
37177
|
-
* "content_type": "image/png",
|
|
37178
|
-
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
37179
|
-
* }
|
|
37180
|
-
* }
|
|
37181
|
-
* ]
|
|
37182
|
-
*/
|
|
37183
|
-
texture_urls?: Components.TextureFiles[];
|
|
37184
|
-
/**
|
|
37185
|
-
* Thumbnail
|
|
37186
|
-
* @description Preview thumbnail of the generated model
|
|
37187
|
-
* @example {
|
|
37188
|
-
* "file_size": 54279,
|
|
37189
|
-
* "file_name": "preview.png",
|
|
37190
|
-
* "content_type": "image/png",
|
|
37191
|
-
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
37192
|
-
* }
|
|
37193
|
-
*/
|
|
37194
|
-
thumbnail?: Components.File;
|
|
37195
|
-
}
|
|
37158
|
+
export interface MeshyV6ImageTo3dOutput extends SharedType_748 {}
|
|
37159
|
+
|
|
37160
|
+
export interface MeshyV6PreviewTextTo3dInput extends SharedType_ec0 {}
|
|
37161
|
+
|
|
37162
|
+
export interface MeshyV6PreviewTextTo3dOutput extends SharedType_ae3 {}
|
|
37163
|
+
|
|
37164
|
+
export interface MeshyV6PreviewImageTo3dInput extends SharedType_9af {}
|
|
37165
|
+
|
|
37166
|
+
export interface MeshyV6PreviewImageTo3dOutput extends SharedType_748 {}
|
|
37196
37167
|
|
|
37197
37168
|
export interface MeshyV5RetextureInput {
|
|
37198
37169
|
/**
|
|
@@ -37279,7 +37250,7 @@ export interface MeshyV5RetextureOutput {
|
|
|
37279
37250
|
* }
|
|
37280
37251
|
* }
|
|
37281
37252
|
*/
|
|
37282
|
-
model_urls: Components.
|
|
37253
|
+
model_urls: Components.ModelUrls;
|
|
37283
37254
|
/**
|
|
37284
37255
|
* Text Style Prompt
|
|
37285
37256
|
* @description The text prompt used for texturing (if provided)
|
|
@@ -37392,7 +37363,7 @@ export interface MeshyV5RemeshOutput {
|
|
|
37392
37363
|
* }
|
|
37393
37364
|
* }
|
|
37394
37365
|
*/
|
|
37395
|
-
model_urls: Components.
|
|
37366
|
+
model_urls: Components.ModelUrls;
|
|
37396
37367
|
}
|
|
37397
37368
|
|
|
37398
37369
|
export interface MeshyV5MultiImageTo3dInput {
|
|
@@ -37510,7 +37481,7 @@ export interface MeshyV5MultiImageTo3dOutput {
|
|
|
37510
37481
|
* }
|
|
37511
37482
|
* }
|
|
37512
37483
|
*/
|
|
37513
|
-
model_urls: Components.
|
|
37484
|
+
model_urls: Components.ModelUrls;
|
|
37514
37485
|
/**
|
|
37515
37486
|
* Seed
|
|
37516
37487
|
* @description The seed used for generation (if available)
|
|
@@ -41089,7 +41060,7 @@ export interface Ltx2TextToVideoFastInput {
|
|
|
41089
41060
|
resolution?: '1080p' | '1440p' | '2160p';
|
|
41090
41061
|
}
|
|
41091
41062
|
|
|
41092
|
-
export interface Ltx2TextToVideoFastOutput extends
|
|
41063
|
+
export interface Ltx2TextToVideoFastOutput extends SharedType_899 {}
|
|
41093
41064
|
|
|
41094
41065
|
export interface Ltx2TextToVideoInput {
|
|
41095
41066
|
/**
|
|
@@ -41134,7 +41105,7 @@ export interface Ltx2TextToVideoInput {
|
|
|
41134
41105
|
resolution?: '1080p' | '1440p' | '2160p';
|
|
41135
41106
|
}
|
|
41136
41107
|
|
|
41137
|
-
export interface Ltx2TextToVideoOutput extends
|
|
41108
|
+
export interface Ltx2TextToVideoOutput extends SharedType_899 {}
|
|
41138
41109
|
|
|
41139
41110
|
export interface Ltx2RetakeVideoInput {
|
|
41140
41111
|
/**
|
|
@@ -41180,7 +41151,7 @@ export interface Ltx2RetakeVideoOutput {
|
|
|
41180
41151
|
* "url": "https://v3b.fal.media/files/b/zebra/qM8Ve4OM8BcYnX23hoxd8_zvgLuC4m.mp4"
|
|
41181
41152
|
* }
|
|
41182
41153
|
*/
|
|
41183
|
-
video: Components.
|
|
41154
|
+
video: Components.VideoFile;
|
|
41184
41155
|
}
|
|
41185
41156
|
|
|
41186
41157
|
export interface Ltx2ImageToVideoFastInput {
|
|
@@ -41232,7 +41203,7 @@ export interface Ltx2ImageToVideoFastInput {
|
|
|
41232
41203
|
resolution?: '1080p' | '1440p' | '2160p';
|
|
41233
41204
|
}
|
|
41234
41205
|
|
|
41235
|
-
export interface Ltx2ImageToVideoFastOutput extends
|
|
41206
|
+
export interface Ltx2ImageToVideoFastOutput extends SharedType_f671 {}
|
|
41236
41207
|
|
|
41237
41208
|
export interface Ltx2ImageToVideoInput {
|
|
41238
41209
|
/**
|
|
@@ -41283,7 +41254,7 @@ export interface Ltx2ImageToVideoInput {
|
|
|
41283
41254
|
resolution?: '1080p' | '1440p' | '2160p';
|
|
41284
41255
|
}
|
|
41285
41256
|
|
|
41286
|
-
export interface Ltx2ImageToVideoOutput extends
|
|
41257
|
+
export interface Ltx2ImageToVideoOutput extends SharedType_f671 {}
|
|
41287
41258
|
|
|
41288
41259
|
export interface Ltx219bVideoToVideoLoraInput {
|
|
41289
41260
|
/**
|
|
@@ -41510,7 +41481,7 @@ export interface Ltx219bVideoToVideoLoraInput {
|
|
|
41510
41481
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
41511
41482
|
}
|
|
41512
41483
|
|
|
41513
|
-
export interface Ltx219bVideoToVideoLoraOutput extends
|
|
41484
|
+
export interface Ltx219bVideoToVideoLoraOutput extends SharedType_05c {}
|
|
41514
41485
|
|
|
41515
41486
|
export interface Ltx219bVideoToVideoInput {
|
|
41516
41487
|
/**
|
|
@@ -41732,7 +41703,7 @@ export interface Ltx219bVideoToVideoInput {
|
|
|
41732
41703
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
41733
41704
|
}
|
|
41734
41705
|
|
|
41735
|
-
export interface Ltx219bVideoToVideoOutput extends
|
|
41706
|
+
export interface Ltx219bVideoToVideoOutput extends SharedType_05c {}
|
|
41736
41707
|
|
|
41737
41708
|
export interface Ltx219bTextToVideoLoraInput {
|
|
41738
41709
|
/**
|
|
@@ -41879,7 +41850,7 @@ export interface Ltx219bTextToVideoLoraInput {
|
|
|
41879
41850
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
41880
41851
|
}
|
|
41881
41852
|
|
|
41882
|
-
export interface Ltx219bTextToVideoLoraOutput extends
|
|
41853
|
+
export interface Ltx219bTextToVideoLoraOutput extends SharedType_a96 {}
|
|
41883
41854
|
|
|
41884
41855
|
export interface Ltx219bTextToVideoInput {
|
|
41885
41856
|
/**
|
|
@@ -42021,7 +41992,7 @@ export interface Ltx219bTextToVideoInput {
|
|
|
42021
41992
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42022
41993
|
}
|
|
42023
41994
|
|
|
42024
|
-
export interface Ltx219bTextToVideoOutput extends
|
|
41995
|
+
export interface Ltx219bTextToVideoOutput extends SharedType_a96 {}
|
|
42025
41996
|
|
|
42026
41997
|
export interface Ltx219bImageToVideoLoraInput {
|
|
42027
41998
|
/**
|
|
@@ -42199,7 +42170,7 @@ export interface Ltx219bImageToVideoLoraInput {
|
|
|
42199
42170
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42200
42171
|
}
|
|
42201
42172
|
|
|
42202
|
-
export interface Ltx219bImageToVideoLoraOutput extends
|
|
42173
|
+
export interface Ltx219bImageToVideoLoraOutput extends SharedType_da5 {}
|
|
42203
42174
|
|
|
42204
42175
|
export interface Ltx219bImageToVideoInput {
|
|
42205
42176
|
/**
|
|
@@ -42372,7 +42343,7 @@ export interface Ltx219bImageToVideoInput {
|
|
|
42372
42343
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42373
42344
|
}
|
|
42374
42345
|
|
|
42375
|
-
export interface Ltx219bImageToVideoOutput extends
|
|
42346
|
+
export interface Ltx219bImageToVideoOutput extends SharedType_da5 {}
|
|
42376
42347
|
|
|
42377
42348
|
export interface Ltx219bExtendVideoLoraInput {
|
|
42378
42349
|
/**
|
|
@@ -42568,7 +42539,7 @@ export interface Ltx219bExtendVideoLoraInput {
|
|
|
42568
42539
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42569
42540
|
}
|
|
42570
42541
|
|
|
42571
|
-
export interface Ltx219bExtendVideoLoraOutput extends
|
|
42542
|
+
export interface Ltx219bExtendVideoLoraOutput extends SharedType_416 {}
|
|
42572
42543
|
|
|
42573
42544
|
export interface Ltx219bExtendVideoInput {
|
|
42574
42545
|
/**
|
|
@@ -42759,7 +42730,7 @@ export interface Ltx219bExtendVideoInput {
|
|
|
42759
42730
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42760
42731
|
}
|
|
42761
42732
|
|
|
42762
|
-
export interface Ltx219bExtendVideoOutput extends
|
|
42733
|
+
export interface Ltx219bExtendVideoOutput extends SharedType_416 {}
|
|
42763
42734
|
|
|
42764
42735
|
export interface Ltx219bDistilledVideoToVideoLoraInput {
|
|
42765
42736
|
/**
|
|
@@ -42974,7 +42945,7 @@ export interface Ltx219bDistilledVideoToVideoLoraInput {
|
|
|
42974
42945
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
42975
42946
|
}
|
|
42976
42947
|
|
|
42977
|
-
export interface Ltx219bDistilledVideoToVideoLoraOutput extends
|
|
42948
|
+
export interface Ltx219bDistilledVideoToVideoLoraOutput extends SharedType_05c {}
|
|
42978
42949
|
|
|
42979
42950
|
export interface Ltx219bDistilledVideoToVideoInput {
|
|
42980
42951
|
/**
|
|
@@ -43184,7 +43155,7 @@ export interface Ltx219bDistilledVideoToVideoInput {
|
|
|
43184
43155
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43185
43156
|
}
|
|
43186
43157
|
|
|
43187
|
-
export interface Ltx219bDistilledVideoToVideoOutput extends
|
|
43158
|
+
export interface Ltx219bDistilledVideoToVideoOutput extends SharedType_05c {}
|
|
43188
43159
|
|
|
43189
43160
|
export interface Ltx219bDistilledTextToVideoLoraInput {
|
|
43190
43161
|
/**
|
|
@@ -43319,7 +43290,7 @@ export interface Ltx219bDistilledTextToVideoLoraInput {
|
|
|
43319
43290
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43320
43291
|
}
|
|
43321
43292
|
|
|
43322
|
-
export interface Ltx219bDistilledTextToVideoLoraOutput extends
|
|
43293
|
+
export interface Ltx219bDistilledTextToVideoLoraOutput extends SharedType_a96 {}
|
|
43323
43294
|
|
|
43324
43295
|
export interface Ltx219bDistilledTextToVideoInput {
|
|
43325
43296
|
/**
|
|
@@ -43449,7 +43420,7 @@ export interface Ltx219bDistilledTextToVideoInput {
|
|
|
43449
43420
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43450
43421
|
}
|
|
43451
43422
|
|
|
43452
|
-
export interface Ltx219bDistilledTextToVideoOutput extends
|
|
43423
|
+
export interface Ltx219bDistilledTextToVideoOutput extends SharedType_a96 {}
|
|
43453
43424
|
|
|
43454
43425
|
export interface Ltx219bDistilledImageToVideoLoraInput {
|
|
43455
43426
|
/**
|
|
@@ -43615,7 +43586,7 @@ export interface Ltx219bDistilledImageToVideoLoraInput {
|
|
|
43615
43586
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43616
43587
|
}
|
|
43617
43588
|
|
|
43618
|
-
export interface Ltx219bDistilledImageToVideoLoraOutput extends
|
|
43589
|
+
export interface Ltx219bDistilledImageToVideoLoraOutput extends SharedType_da5 {}
|
|
43619
43590
|
|
|
43620
43591
|
export interface Ltx219bDistilledImageToVideoInput {
|
|
43621
43592
|
/**
|
|
@@ -43776,7 +43747,7 @@ export interface Ltx219bDistilledImageToVideoInput {
|
|
|
43776
43747
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43777
43748
|
}
|
|
43778
43749
|
|
|
43779
|
-
export interface Ltx219bDistilledImageToVideoOutput extends
|
|
43750
|
+
export interface Ltx219bDistilledImageToVideoOutput extends SharedType_da5 {}
|
|
43780
43751
|
|
|
43781
43752
|
export interface Ltx219bDistilledExtendVideoLoraInput {
|
|
43782
43753
|
/**
|
|
@@ -43960,7 +43931,7 @@ export interface Ltx219bDistilledExtendVideoLoraInput {
|
|
|
43960
43931
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
43961
43932
|
}
|
|
43962
43933
|
|
|
43963
|
-
export interface Ltx219bDistilledExtendVideoLoraOutput extends
|
|
43934
|
+
export interface Ltx219bDistilledExtendVideoLoraOutput extends SharedType_416 {}
|
|
43964
43935
|
|
|
43965
43936
|
export interface Ltx219bDistilledExtendVideoInput {
|
|
43966
43937
|
/**
|
|
@@ -44139,7 +44110,7 @@ export interface Ltx219bDistilledExtendVideoInput {
|
|
|
44139
44110
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
44140
44111
|
}
|
|
44141
44112
|
|
|
44142
|
-
export interface Ltx219bDistilledExtendVideoOutput extends
|
|
44113
|
+
export interface Ltx219bDistilledExtendVideoOutput extends SharedType_416 {}
|
|
44143
44114
|
|
|
44144
44115
|
export interface Ltx219bDistilledAudioToVideoLoraInput {
|
|
44145
44116
|
/**
|
|
@@ -44316,7 +44287,7 @@ export interface Ltx219bDistilledAudioToVideoLoraInput {
|
|
|
44316
44287
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
44317
44288
|
}
|
|
44318
44289
|
|
|
44319
|
-
export interface Ltx219bDistilledAudioToVideoLoraOutput extends
|
|
44290
|
+
export interface Ltx219bDistilledAudioToVideoLoraOutput extends SharedType_081 {}
|
|
44320
44291
|
|
|
44321
44292
|
export interface Ltx219bDistilledAudioToVideoInput {
|
|
44322
44293
|
/**
|
|
@@ -44488,7 +44459,7 @@ export interface Ltx219bDistilledAudioToVideoInput {
|
|
|
44488
44459
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
44489
44460
|
}
|
|
44490
44461
|
|
|
44491
|
-
export interface Ltx219bDistilledAudioToVideoOutput extends
|
|
44462
|
+
export interface Ltx219bDistilledAudioToVideoOutput extends SharedType_081 {}
|
|
44492
44463
|
|
|
44493
44464
|
export interface Ltx219bAudioToVideoLoraInput {
|
|
44494
44465
|
/**
|
|
@@ -44677,7 +44648,7 @@ export interface Ltx219bAudioToVideoLoraInput {
|
|
|
44677
44648
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
44678
44649
|
}
|
|
44679
44650
|
|
|
44680
|
-
export interface Ltx219bAudioToVideoLoraOutput extends
|
|
44651
|
+
export interface Ltx219bAudioToVideoLoraOutput extends SharedType_081 {}
|
|
44681
44652
|
|
|
44682
44653
|
export interface Ltx219bAudioToVideoInput {
|
|
44683
44654
|
/**
|
|
@@ -44861,7 +44832,7 @@ export interface Ltx219bAudioToVideoInput {
|
|
|
44861
44832
|
video_write_mode?: 'fast' | 'balanced' | 'small';
|
|
44862
44833
|
}
|
|
44863
44834
|
|
|
44864
|
-
export interface Ltx219bAudioToVideoOutput extends
|
|
44835
|
+
export interface Ltx219bAudioToVideoOutput extends SharedType_081 {}
|
|
44865
44836
|
|
|
44866
44837
|
export interface LoraInpaintInput {
|
|
44867
44838
|
/**
|
|
@@ -47353,7 +47324,7 @@ export interface LiveAvatarOutput {
|
|
|
47353
47324
|
* "url": "https://v3b.fal.media/files/b/0a86b1d5/tLG1qOjdIYYhJSqJGEMWs_output.mp4"
|
|
47354
47325
|
* }
|
|
47355
47326
|
*/
|
|
47356
|
-
video: Components.
|
|
47327
|
+
video: Components.VideoFile;
|
|
47357
47328
|
}
|
|
47358
47329
|
|
|
47359
47330
|
export interface LightxRelightInput {
|
|
@@ -58230,7 +58201,7 @@ export interface Hunyuan3dV31SmartTopologyOutput {
|
|
|
58230
58201
|
* }
|
|
58231
58202
|
* }
|
|
58232
58203
|
*/
|
|
58233
|
-
model_urls: Components.
|
|
58204
|
+
model_urls: Components.ModelUrls_1;
|
|
58234
58205
|
}
|
|
58235
58206
|
|
|
58236
58207
|
export interface Hunyuan3dV31RapidTextTo3dInput {
|
|
@@ -58301,7 +58272,7 @@ export interface Hunyuan3dV31RapidTextTo3dOutput {
|
|
|
58301
58272
|
* }
|
|
58302
58273
|
* }
|
|
58303
58274
|
*/
|
|
58304
|
-
model_urls: Components.
|
|
58275
|
+
model_urls: Components.ModelUrls_1;
|
|
58305
58276
|
/**
|
|
58306
58277
|
* Texture
|
|
58307
58278
|
* @description Texture image for the 3D model.
|
|
@@ -58394,7 +58365,7 @@ export interface Hunyuan3dV31RapidImageTo3dOutput {
|
|
|
58394
58365
|
* }
|
|
58395
58366
|
* }
|
|
58396
58367
|
*/
|
|
58397
|
-
model_urls: Components.
|
|
58368
|
+
model_urls: Components.ModelUrls_1;
|
|
58398
58369
|
/**
|
|
58399
58370
|
* Texture
|
|
58400
58371
|
* @description Texture image for the 3D model.
|
|
@@ -58489,7 +58460,7 @@ export interface Hunyuan3dV31ProTextTo3dOutput {
|
|
|
58489
58460
|
* }
|
|
58490
58461
|
* }
|
|
58491
58462
|
*/
|
|
58492
|
-
model_urls: Components.
|
|
58463
|
+
model_urls: Components.ModelUrls_1;
|
|
58493
58464
|
/**
|
|
58494
58465
|
* Seed
|
|
58495
58466
|
* @description The seed used for generation
|
|
@@ -58601,7 +58572,7 @@ export interface Hunyuan3dV31ProImageTo3dOutput {
|
|
|
58601
58572
|
* }
|
|
58602
58573
|
* }
|
|
58603
58574
|
*/
|
|
58604
|
-
model_urls: Components.
|
|
58575
|
+
model_urls: Components.ModelUrls_1;
|
|
58605
58576
|
/**
|
|
58606
58577
|
* Seed
|
|
58607
58578
|
* @description The seed used for generation
|
|
@@ -59960,13 +59931,206 @@ export interface GeminiFlashEditInput {
|
|
|
59960
59931
|
|
|
59961
59932
|
export interface GeminiFlashEditOutput extends SharedType_1b2 {}
|
|
59962
59933
|
|
|
59963
|
-
export interface Gemini3ProImagePreviewEditInput
|
|
59934
|
+
export interface Gemini3ProImagePreviewEditInput {
|
|
59935
|
+
/**
|
|
59936
|
+
* Aspect Ratio
|
|
59937
|
+
* @description The aspect ratio of the generated image.
|
|
59938
|
+
* @default auto
|
|
59939
|
+
*/
|
|
59940
|
+
aspect_ratio?:
|
|
59941
|
+
| 'auto'
|
|
59942
|
+
| '21:9'
|
|
59943
|
+
| '16:9'
|
|
59944
|
+
| '3:2'
|
|
59945
|
+
| '4:3'
|
|
59946
|
+
| '5:4'
|
|
59947
|
+
| '1:1'
|
|
59948
|
+
| '4:5'
|
|
59949
|
+
| '3:4'
|
|
59950
|
+
| '2:3'
|
|
59951
|
+
| '9:16';
|
|
59952
|
+
/**
|
|
59953
|
+
* Enable Web Search
|
|
59954
|
+
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
59955
|
+
* @default false
|
|
59956
|
+
*/
|
|
59957
|
+
enable_web_search?: boolean;
|
|
59958
|
+
/**
|
|
59959
|
+
* Image URLs
|
|
59960
|
+
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
59961
|
+
* @example [
|
|
59962
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
59963
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
59964
|
+
* ]
|
|
59965
|
+
*/
|
|
59966
|
+
image_urls: string[];
|
|
59967
|
+
/**
|
|
59968
|
+
* Limit Generations
|
|
59969
|
+
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
59970
|
+
* @default false
|
|
59971
|
+
*/
|
|
59972
|
+
limit_generations?: boolean;
|
|
59973
|
+
/**
|
|
59974
|
+
* Number of Images
|
|
59975
|
+
* @description The number of images to generate.
|
|
59976
|
+
* @default 1
|
|
59977
|
+
*/
|
|
59978
|
+
num_images?: number;
|
|
59979
|
+
/**
|
|
59980
|
+
* Output Format
|
|
59981
|
+
* @description The format of the generated image.
|
|
59982
|
+
* @default png
|
|
59983
|
+
* @enum {string}
|
|
59984
|
+
*/
|
|
59985
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
59986
|
+
/**
|
|
59987
|
+
* Prompt
|
|
59988
|
+
* @description The prompt for image editing.
|
|
59989
|
+
* @example make a photo of the man driving the car down the california coastline
|
|
59990
|
+
*/
|
|
59991
|
+
prompt: string;
|
|
59992
|
+
/**
|
|
59993
|
+
* Resolution
|
|
59994
|
+
* @description The resolution of the image to generate.
|
|
59995
|
+
* @default 1K
|
|
59996
|
+
* @enum {string}
|
|
59997
|
+
*/
|
|
59998
|
+
resolution?: '1K' | '2K' | '4K';
|
|
59999
|
+
/**
|
|
60000
|
+
* Safety Tolerance
|
|
60001
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
60002
|
+
* @default 4
|
|
60003
|
+
* @enum {string}
|
|
60004
|
+
*/
|
|
60005
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
60006
|
+
/**
|
|
60007
|
+
* Seed
|
|
60008
|
+
* @description The seed for the random number generator.
|
|
60009
|
+
*/
|
|
60010
|
+
seed?: number;
|
|
60011
|
+
/**
|
|
60012
|
+
* Sync Mode
|
|
60013
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
60014
|
+
* @default false
|
|
60015
|
+
*/
|
|
60016
|
+
sync_mode?: boolean;
|
|
60017
|
+
}
|
|
59964
60018
|
|
|
59965
|
-
export interface Gemini3ProImagePreviewEditOutput
|
|
60019
|
+
export interface Gemini3ProImagePreviewEditOutput {
|
|
60020
|
+
/**
|
|
60021
|
+
* Description
|
|
60022
|
+
* @description The description of the generated images.
|
|
60023
|
+
*/
|
|
60024
|
+
description: string;
|
|
60025
|
+
/**
|
|
60026
|
+
* Images
|
|
60027
|
+
* @description The edited images.
|
|
60028
|
+
* @example [
|
|
60029
|
+
* {
|
|
60030
|
+
* "file_name": "nano-banana-multi-edit-output.png",
|
|
60031
|
+
* "content_type": "image/png",
|
|
60032
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-multi-edit-output.png"
|
|
60033
|
+
* }
|
|
60034
|
+
* ]
|
|
60035
|
+
*/
|
|
60036
|
+
images: Components.ImageFile_1[];
|
|
60037
|
+
}
|
|
59966
60038
|
|
|
59967
|
-
export interface Gemini3ProImagePreviewInput
|
|
60039
|
+
export interface Gemini3ProImagePreviewInput {
|
|
60040
|
+
/**
|
|
60041
|
+
* Aspect Ratio
|
|
60042
|
+
* @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
|
|
60043
|
+
* @default 1:1
|
|
60044
|
+
*/
|
|
60045
|
+
aspect_ratio?:
|
|
60046
|
+
| 'auto'
|
|
60047
|
+
| '21:9'
|
|
60048
|
+
| '16:9'
|
|
60049
|
+
| '3:2'
|
|
60050
|
+
| '4:3'
|
|
60051
|
+
| '5:4'
|
|
60052
|
+
| '1:1'
|
|
60053
|
+
| '4:5'
|
|
60054
|
+
| '3:4'
|
|
60055
|
+
| '2:3'
|
|
60056
|
+
| '9:16';
|
|
60057
|
+
/**
|
|
60058
|
+
* Enable Web Search
|
|
60059
|
+
* @description Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
|
|
60060
|
+
* @default false
|
|
60061
|
+
*/
|
|
60062
|
+
enable_web_search?: boolean;
|
|
60063
|
+
/**
|
|
60064
|
+
* Limit Generations
|
|
60065
|
+
* @description Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate.
|
|
60066
|
+
* @default false
|
|
60067
|
+
*/
|
|
60068
|
+
limit_generations?: boolean;
|
|
60069
|
+
/**
|
|
60070
|
+
* Number of Images
|
|
60071
|
+
* @description The number of images to generate.
|
|
60072
|
+
* @default 1
|
|
60073
|
+
*/
|
|
60074
|
+
num_images?: number;
|
|
60075
|
+
/**
|
|
60076
|
+
* Output Format
|
|
60077
|
+
* @description The format of the generated image.
|
|
60078
|
+
* @default png
|
|
60079
|
+
* @enum {string}
|
|
60080
|
+
*/
|
|
60081
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
60082
|
+
/**
|
|
60083
|
+
* Prompt
|
|
60084
|
+
* @description The text prompt to generate an image from.
|
|
60085
|
+
* @example An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.
|
|
60086
|
+
*/
|
|
60087
|
+
prompt: string;
|
|
60088
|
+
/**
|
|
60089
|
+
* Resolution
|
|
60090
|
+
* @description The resolution of the image to generate.
|
|
60091
|
+
* @default 1K
|
|
60092
|
+
* @enum {string}
|
|
60093
|
+
*/
|
|
60094
|
+
resolution?: '1K' | '2K' | '4K';
|
|
60095
|
+
/**
|
|
60096
|
+
* Safety Tolerance
|
|
60097
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
60098
|
+
* @default 4
|
|
60099
|
+
* @enum {string}
|
|
60100
|
+
*/
|
|
60101
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
60102
|
+
/**
|
|
60103
|
+
* Seed
|
|
60104
|
+
* @description The seed for the random number generator.
|
|
60105
|
+
*/
|
|
60106
|
+
seed?: number;
|
|
60107
|
+
/**
|
|
60108
|
+
* Sync Mode
|
|
60109
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
60110
|
+
* @default false
|
|
60111
|
+
*/
|
|
60112
|
+
sync_mode?: boolean;
|
|
60113
|
+
}
|
|
59968
60114
|
|
|
59969
|
-
export interface Gemini3ProImagePreviewOutput
|
|
60115
|
+
export interface Gemini3ProImagePreviewOutput {
|
|
60116
|
+
/**
|
|
60117
|
+
* Description
|
|
60118
|
+
* @description The description of the generated images.
|
|
60119
|
+
*/
|
|
60120
|
+
description: string;
|
|
60121
|
+
/**
|
|
60122
|
+
* Images
|
|
60123
|
+
* @description The generated images.
|
|
60124
|
+
* @example [
|
|
60125
|
+
* {
|
|
60126
|
+
* "file_name": "nano-banana-t2i-output.png",
|
|
60127
|
+
* "content_type": "image/png",
|
|
60128
|
+
* "url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-t2i-output.png"
|
|
60129
|
+
* }
|
|
60130
|
+
* ]
|
|
60131
|
+
*/
|
|
60132
|
+
images: Components.ImageFile_1[];
|
|
60133
|
+
}
|
|
59970
60134
|
|
|
59971
60135
|
export interface Gemini25FlashImageEditInput extends SharedType_813 {}
|
|
59972
60136
|
|
|
@@ -60500,7 +60664,7 @@ export interface FooocusUpscaleOrVaryInput {
|
|
|
60500
60664
|
| 'Upscale (Fast 2x)';
|
|
60501
60665
|
}
|
|
60502
60666
|
|
|
60503
|
-
export interface FooocusUpscaleOrVaryOutput extends
|
|
60667
|
+
export interface FooocusUpscaleOrVaryOutput extends SharedType_7eb {}
|
|
60504
60668
|
|
|
60505
60669
|
export interface FooocusInpaintInput {
|
|
60506
60670
|
/**
|
|
@@ -60992,7 +61156,7 @@ export interface FooocusInpaintInput {
|
|
|
60992
61156
|
sync_mode?: boolean;
|
|
60993
61157
|
}
|
|
60994
61158
|
|
|
60995
|
-
export interface FooocusInpaintOutput extends
|
|
61159
|
+
export interface FooocusInpaintOutput extends SharedType_7eb {}
|
|
60996
61160
|
|
|
60997
61161
|
export interface FooocusImagePromptInput {
|
|
60998
61162
|
/**
|
|
@@ -61464,7 +61628,7 @@ export interface FooocusImagePromptInput {
|
|
|
61464
61628
|
| 'Upscale (Fast 2x)';
|
|
61465
61629
|
}
|
|
61466
61630
|
|
|
61467
|
-
export interface FooocusImagePromptOutput extends
|
|
61631
|
+
export interface FooocusImagePromptOutput extends SharedType_7eb {}
|
|
61468
61632
|
|
|
61469
61633
|
export interface FooocusInput {
|
|
61470
61634
|
/**
|
|
@@ -61906,7 +62070,7 @@ export interface FooocusInput {
|
|
|
61906
62070
|
sync_mode?: boolean;
|
|
61907
62071
|
}
|
|
61908
62072
|
|
|
61909
|
-
export interface FooocusOutput extends
|
|
62073
|
+
export interface FooocusOutput extends SharedType_7eb {}
|
|
61910
62074
|
|
|
61911
62075
|
export interface FluxSrpoImageToImageInput extends SharedType_0cd {}
|
|
61912
62076
|
|
|
@@ -63342,15 +63506,203 @@ export interface FluxProKontextInput extends SharedType_75b {}
|
|
|
63342
63506
|
|
|
63343
63507
|
export interface FluxProKontextOutput extends SharedType_6d6 {}
|
|
63344
63508
|
|
|
63345
|
-
export interface FluxLoraStreamInput extends
|
|
63509
|
+
export interface FluxLoraStreamInput extends SharedType_c5e {}
|
|
63346
63510
|
|
|
63347
63511
|
export interface FluxLoraStreamOutput extends SharedType_a73 {}
|
|
63348
63512
|
|
|
63349
|
-
export interface FluxLoraInpaintingInput
|
|
63513
|
+
export interface FluxLoraInpaintingInput {
|
|
63514
|
+
/**
|
|
63515
|
+
* Acceleration
|
|
63516
|
+
* @description Acceleration level for image generation. 'regular' balances speed and quality.
|
|
63517
|
+
* @default none
|
|
63518
|
+
* @enum {string}
|
|
63519
|
+
*/
|
|
63520
|
+
acceleration?: 'none' | 'regular';
|
|
63521
|
+
/**
|
|
63522
|
+
* Enable Safety Checker
|
|
63523
|
+
* @description If set to true, the safety checker will be enabled.
|
|
63524
|
+
* @default true
|
|
63525
|
+
*/
|
|
63526
|
+
enable_safety_checker?: boolean;
|
|
63527
|
+
/**
|
|
63528
|
+
* Guidance scale (CFG)
|
|
63529
|
+
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
63530
|
+
* the model to stick to your prompt when looking for a related image to show you.
|
|
63531
|
+
* @default 3.5
|
|
63532
|
+
*/
|
|
63533
|
+
guidance_scale?: number;
|
|
63534
|
+
/**
|
|
63535
|
+
* Image Size
|
|
63536
|
+
* @description The size of the generated image.
|
|
63537
|
+
*/
|
|
63538
|
+
image_size?:
|
|
63539
|
+
| Components.ImageSize
|
|
63540
|
+
| (
|
|
63541
|
+
| 'square_hd'
|
|
63542
|
+
| 'square'
|
|
63543
|
+
| 'portrait_4_3'
|
|
63544
|
+
| 'portrait_16_9'
|
|
63545
|
+
| 'landscape_4_3'
|
|
63546
|
+
| 'landscape_16_9'
|
|
63547
|
+
);
|
|
63548
|
+
/**
|
|
63549
|
+
* Image Url
|
|
63550
|
+
* @description URL of image to use for inpainting. or img2img
|
|
63551
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
63552
|
+
*/
|
|
63553
|
+
image_url: string;
|
|
63554
|
+
/**
|
|
63555
|
+
* Loras
|
|
63556
|
+
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
63557
|
+
* and they will be merged together to generate the final image.
|
|
63558
|
+
* @default []
|
|
63559
|
+
*/
|
|
63560
|
+
loras?: Components.LoraWeight[];
|
|
63561
|
+
/**
|
|
63562
|
+
* Mask Url
|
|
63563
|
+
* @description The mask to area to Inpaint in.
|
|
63564
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog_mask.png
|
|
63565
|
+
*/
|
|
63566
|
+
mask_url: string;
|
|
63567
|
+
/**
|
|
63568
|
+
* Num Images
|
|
63569
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
63570
|
+
* @default 1
|
|
63571
|
+
*/
|
|
63572
|
+
num_images?: number;
|
|
63573
|
+
/**
|
|
63574
|
+
* Num Inference Steps
|
|
63575
|
+
* @description The number of inference steps to perform.
|
|
63576
|
+
* @default 28
|
|
63577
|
+
*/
|
|
63578
|
+
num_inference_steps?: number;
|
|
63579
|
+
/**
|
|
63580
|
+
* Output Format
|
|
63581
|
+
* @description The format of the generated image.
|
|
63582
|
+
* @default jpeg
|
|
63583
|
+
* @enum {string}
|
|
63584
|
+
*/
|
|
63585
|
+
output_format?: 'jpeg' | 'png';
|
|
63586
|
+
/**
|
|
63587
|
+
* Prompt
|
|
63588
|
+
* @description The prompt to generate an image from.
|
|
63589
|
+
* @example A photo of a lion sitting on a stone bench
|
|
63590
|
+
*/
|
|
63591
|
+
prompt: string;
|
|
63592
|
+
/**
|
|
63593
|
+
* Seed
|
|
63594
|
+
* @description The same seed and the same prompt given to the same version of the model
|
|
63595
|
+
* will output the same image every time.
|
|
63596
|
+
*/
|
|
63597
|
+
seed?: number;
|
|
63598
|
+
/**
|
|
63599
|
+
* Strength
|
|
63600
|
+
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
63601
|
+
* @default 0.85
|
|
63602
|
+
*/
|
|
63603
|
+
strength?: number;
|
|
63604
|
+
/**
|
|
63605
|
+
* Sync Mode
|
|
63606
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
63607
|
+
* @default false
|
|
63608
|
+
*/
|
|
63609
|
+
sync_mode?: boolean;
|
|
63610
|
+
}
|
|
63350
63611
|
|
|
63351
63612
|
export interface FluxLoraInpaintingOutput extends SharedType_a73 {}
|
|
63352
63613
|
|
|
63353
|
-
export interface FluxLoraImageToImageInput
|
|
63614
|
+
export interface FluxLoraImageToImageInput {
|
|
63615
|
+
/**
|
|
63616
|
+
* Acceleration
|
|
63617
|
+
* @description Acceleration level for image generation. 'regular' balances speed and quality.
|
|
63618
|
+
* @default none
|
|
63619
|
+
* @enum {string}
|
|
63620
|
+
*/
|
|
63621
|
+
acceleration?: 'none' | 'regular';
|
|
63622
|
+
/**
|
|
63623
|
+
* Enable Safety Checker
|
|
63624
|
+
* @description If set to true, the safety checker will be enabled.
|
|
63625
|
+
* @default true
|
|
63626
|
+
*/
|
|
63627
|
+
enable_safety_checker?: boolean;
|
|
63628
|
+
/**
|
|
63629
|
+
* Guidance scale (CFG)
|
|
63630
|
+
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
63631
|
+
* the model to stick to your prompt when looking for a related image to show you.
|
|
63632
|
+
* @default 3.5
|
|
63633
|
+
*/
|
|
63634
|
+
guidance_scale?: number;
|
|
63635
|
+
/**
|
|
63636
|
+
* Image Size
|
|
63637
|
+
* @description The size of the generated image.
|
|
63638
|
+
*/
|
|
63639
|
+
image_size?:
|
|
63640
|
+
| Components.ImageSize
|
|
63641
|
+
| (
|
|
63642
|
+
| 'square_hd'
|
|
63643
|
+
| 'square'
|
|
63644
|
+
| 'portrait_4_3'
|
|
63645
|
+
| 'portrait_16_9'
|
|
63646
|
+
| 'landscape_4_3'
|
|
63647
|
+
| 'landscape_16_9'
|
|
63648
|
+
);
|
|
63649
|
+
/**
|
|
63650
|
+
* Image Url
|
|
63651
|
+
* @description URL of image to use for inpainting. or img2img
|
|
63652
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
63653
|
+
*/
|
|
63654
|
+
image_url: string;
|
|
63655
|
+
/**
|
|
63656
|
+
* Loras
|
|
63657
|
+
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
63658
|
+
* and they will be merged together to generate the final image.
|
|
63659
|
+
* @default []
|
|
63660
|
+
*/
|
|
63661
|
+
loras?: Components.LoraWeight[];
|
|
63662
|
+
/**
|
|
63663
|
+
* Num Images
|
|
63664
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
63665
|
+
* @default 1
|
|
63666
|
+
*/
|
|
63667
|
+
num_images?: number;
|
|
63668
|
+
/**
|
|
63669
|
+
* Num Inference Steps
|
|
63670
|
+
* @description The number of inference steps to perform.
|
|
63671
|
+
* @default 28
|
|
63672
|
+
*/
|
|
63673
|
+
num_inference_steps?: number;
|
|
63674
|
+
/**
|
|
63675
|
+
* Output Format
|
|
63676
|
+
* @description The format of the generated image.
|
|
63677
|
+
* @default jpeg
|
|
63678
|
+
* @enum {string}
|
|
63679
|
+
*/
|
|
63680
|
+
output_format?: 'jpeg' | 'png';
|
|
63681
|
+
/**
|
|
63682
|
+
* Prompt
|
|
63683
|
+
* @description The prompt to generate an image from.
|
|
63684
|
+
* @example A photo of a lion sitting on a stone bench
|
|
63685
|
+
*/
|
|
63686
|
+
prompt: string;
|
|
63687
|
+
/**
|
|
63688
|
+
* Seed
|
|
63689
|
+
* @description The same seed and the same prompt given to the same version of the model
|
|
63690
|
+
* will output the same image every time.
|
|
63691
|
+
*/
|
|
63692
|
+
seed?: number;
|
|
63693
|
+
/**
|
|
63694
|
+
* Strength
|
|
63695
|
+
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
63696
|
+
* @default 0.85
|
|
63697
|
+
*/
|
|
63698
|
+
strength?: number;
|
|
63699
|
+
/**
|
|
63700
|
+
* Sync Mode
|
|
63701
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
63702
|
+
* @default false
|
|
63703
|
+
*/
|
|
63704
|
+
sync_mode?: boolean;
|
|
63705
|
+
}
|
|
63354
63706
|
|
|
63355
63707
|
export interface FluxLoraImageToImageOutput extends SharedType_a73 {}
|
|
63356
63708
|
|
|
@@ -63466,8 +63818,195 @@ export interface FluxLoraFillInput {
|
|
|
63466
63818
|
);
|
|
63467
63819
|
/**
|
|
63468
63820
|
* Image Url
|
|
63469
|
-
* @description URL of image to use for fill operation
|
|
63470
|
-
* @example https://storage.googleapis.com/falserverless/flux-lora/example-images/knight.jpeg
|
|
63821
|
+
* @description URL of image to use for fill operation
|
|
63822
|
+
* @example https://storage.googleapis.com/falserverless/flux-lora/example-images/knight.jpeg
|
|
63823
|
+
*/
|
|
63824
|
+
image_url: string;
|
|
63825
|
+
/**
|
|
63826
|
+
* Loras
|
|
63827
|
+
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
63828
|
+
* and they will be merged together to generate the final image.
|
|
63829
|
+
* @default []
|
|
63830
|
+
*/
|
|
63831
|
+
loras?: Components.LoraWeight[];
|
|
63832
|
+
/**
|
|
63833
|
+
* Mask Url
|
|
63834
|
+
* @description The mask to area to Inpaint in.
|
|
63835
|
+
* @example https://storage.googleapis.com/falserverless/flux-lora/example-images/mask_knight.jpeg
|
|
63836
|
+
*/
|
|
63837
|
+
mask_url: string;
|
|
63838
|
+
/**
|
|
63839
|
+
* Num Images
|
|
63840
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
63841
|
+
* @default 1
|
|
63842
|
+
*/
|
|
63843
|
+
num_images?: number;
|
|
63844
|
+
/**
|
|
63845
|
+
* Num Inference Steps
|
|
63846
|
+
* @description The number of inference steps to perform.
|
|
63847
|
+
* @default 28
|
|
63848
|
+
*/
|
|
63849
|
+
num_inference_steps?: number;
|
|
63850
|
+
/**
|
|
63851
|
+
* Output Format
|
|
63852
|
+
* @description The format of the generated image.
|
|
63853
|
+
* @default jpeg
|
|
63854
|
+
* @enum {string}
|
|
63855
|
+
*/
|
|
63856
|
+
output_format?: 'jpeg' | 'png';
|
|
63857
|
+
/**
|
|
63858
|
+
* Paste Back
|
|
63859
|
+
* @description Specifies whether to paste-back the original image onto to the non-inpainted areas of the output
|
|
63860
|
+
* @default true
|
|
63861
|
+
*/
|
|
63862
|
+
paste_back?: boolean;
|
|
63863
|
+
/**
|
|
63864
|
+
* Prompt
|
|
63865
|
+
* @description The prompt to generate an image from.
|
|
63866
|
+
* @default
|
|
63867
|
+
* @example A knight in shining armour holding a greatshield with 'FAL' on it
|
|
63868
|
+
*/
|
|
63869
|
+
prompt?: string;
|
|
63870
|
+
/**
|
|
63871
|
+
* Resize To Original
|
|
63872
|
+
* @description Resizes the image back to the original size. Use when you wish to preserve the exact image size as the originally provided image.
|
|
63873
|
+
* @default false
|
|
63874
|
+
*/
|
|
63875
|
+
resize_to_original?: boolean;
|
|
63876
|
+
/**
|
|
63877
|
+
* Seed
|
|
63878
|
+
* @description The same seed and the same prompt given to the same version of the model
|
|
63879
|
+
* will output the same image every time.
|
|
63880
|
+
*/
|
|
63881
|
+
seed?: number;
|
|
63882
|
+
/**
|
|
63883
|
+
* Sync Mode
|
|
63884
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
63885
|
+
* @default false
|
|
63886
|
+
*/
|
|
63887
|
+
sync_mode?: boolean;
|
|
63888
|
+
}
|
|
63889
|
+
|
|
63890
|
+
export interface FluxLoraFillOutput extends SharedType_a73 {}
|
|
63891
|
+
|
|
63892
|
+
export interface FluxLoraFastTrainingInput extends SharedType_f11 {}
|
|
63893
|
+
|
|
63894
|
+
export interface FluxLoraFastTrainingOutput extends SharedType_a54 {}
|
|
63895
|
+
|
|
63896
|
+
export interface FluxLoraDepthInput {
|
|
63897
|
+
/**
|
|
63898
|
+
* Enable Safety Checker
|
|
63899
|
+
* @description If set to true, the safety checker will be enabled.
|
|
63900
|
+
* @default true
|
|
63901
|
+
*/
|
|
63902
|
+
enable_safety_checker?: boolean;
|
|
63903
|
+
/**
|
|
63904
|
+
* Guidance scale (CFG)
|
|
63905
|
+
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
63906
|
+
* the model to stick to your prompt when looking for a related image to show you.
|
|
63907
|
+
* @default 3.5
|
|
63908
|
+
*/
|
|
63909
|
+
guidance_scale?: number;
|
|
63910
|
+
/**
|
|
63911
|
+
* Image Size
|
|
63912
|
+
* @description The size of the generated image.
|
|
63913
|
+
*/
|
|
63914
|
+
image_size?:
|
|
63915
|
+
| Components.ImageSize
|
|
63916
|
+
| (
|
|
63917
|
+
| 'square_hd'
|
|
63918
|
+
| 'square'
|
|
63919
|
+
| 'portrait_4_3'
|
|
63920
|
+
| 'portrait_16_9'
|
|
63921
|
+
| 'landscape_4_3'
|
|
63922
|
+
| 'landscape_16_9'
|
|
63923
|
+
);
|
|
63924
|
+
/**
|
|
63925
|
+
* Image Url
|
|
63926
|
+
* @description URL of image to use for depth input
|
|
63927
|
+
* @example https://fal.media/files/penguin/vt-SeIOweN7_oYBsvGO6t.png
|
|
63928
|
+
*/
|
|
63929
|
+
image_url: string;
|
|
63930
|
+
/**
|
|
63931
|
+
* Loras
|
|
63932
|
+
* @description The LoRAs to use for the image generation. You can use any number of LoRAs
|
|
63933
|
+
* and they will be merged together to generate the final image.
|
|
63934
|
+
* @default []
|
|
63935
|
+
*/
|
|
63936
|
+
loras?: Components.LoraWeight[];
|
|
63937
|
+
/**
|
|
63938
|
+
* Num Images
|
|
63939
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
63940
|
+
* @default 1
|
|
63941
|
+
*/
|
|
63942
|
+
num_images?: number;
|
|
63943
|
+
/**
|
|
63944
|
+
* Num Inference Steps
|
|
63945
|
+
* @description The number of inference steps to perform.
|
|
63946
|
+
* @default 28
|
|
63947
|
+
*/
|
|
63948
|
+
num_inference_steps?: number;
|
|
63949
|
+
/**
|
|
63950
|
+
* Output Format
|
|
63951
|
+
* @description The format of the generated image.
|
|
63952
|
+
* @default jpeg
|
|
63953
|
+
* @enum {string}
|
|
63954
|
+
*/
|
|
63955
|
+
output_format?: 'jpeg' | 'png';
|
|
63956
|
+
/**
|
|
63957
|
+
* Prompt
|
|
63958
|
+
* @description The prompt to generate an image from.
|
|
63959
|
+
* @example Black hole in space, orange accretion disc
|
|
63960
|
+
*/
|
|
63961
|
+
prompt: string;
|
|
63962
|
+
/**
|
|
63963
|
+
* Seed
|
|
63964
|
+
* @description The same seed and the same prompt given to the same version of the model
|
|
63965
|
+
* will output the same image every time.
|
|
63966
|
+
*/
|
|
63967
|
+
seed?: number;
|
|
63968
|
+
/**
|
|
63969
|
+
* Sync Mode
|
|
63970
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
63971
|
+
* @default false
|
|
63972
|
+
*/
|
|
63973
|
+
sync_mode?: boolean;
|
|
63974
|
+
}
|
|
63975
|
+
|
|
63976
|
+
export interface FluxLoraDepthOutput extends SharedType_a73 {}
|
|
63977
|
+
|
|
63978
|
+
export interface FluxLoraCannyInput {
|
|
63979
|
+
/**
|
|
63980
|
+
* Enable Safety Checker
|
|
63981
|
+
* @description If set to true, the safety checker will be enabled.
|
|
63982
|
+
* @default true
|
|
63983
|
+
*/
|
|
63984
|
+
enable_safety_checker?: boolean;
|
|
63985
|
+
/**
|
|
63986
|
+
* Guidance scale (CFG)
|
|
63987
|
+
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
63988
|
+
* the model to stick to your prompt when looking for a related image to show you.
|
|
63989
|
+
* @default 30
|
|
63990
|
+
*/
|
|
63991
|
+
guidance_scale?: number;
|
|
63992
|
+
/**
|
|
63993
|
+
* Image Size
|
|
63994
|
+
* @description The size of the generated image.
|
|
63995
|
+
*/
|
|
63996
|
+
image_size?:
|
|
63997
|
+
| Components.ImageSize
|
|
63998
|
+
| (
|
|
63999
|
+
| 'square_hd'
|
|
64000
|
+
| 'square'
|
|
64001
|
+
| 'portrait_4_3'
|
|
64002
|
+
| 'portrait_16_9'
|
|
64003
|
+
| 'landscape_4_3'
|
|
64004
|
+
| 'landscape_16_9'
|
|
64005
|
+
);
|
|
64006
|
+
/**
|
|
64007
|
+
* Image Url
|
|
64008
|
+
* @description URL of image to use for canny input
|
|
64009
|
+
* @example https://fal.media/files/kangaroo/eNSkRdVFzNvDkrrMjxFA3.png
|
|
63471
64010
|
*/
|
|
63472
64011
|
image_url: string;
|
|
63473
64012
|
/**
|
|
@@ -63477,15 +64016,9 @@ export interface FluxLoraFillInput {
|
|
|
63477
64016
|
* @default []
|
|
63478
64017
|
*/
|
|
63479
64018
|
loras?: Components.LoraWeight[];
|
|
63480
|
-
/**
|
|
63481
|
-
* Mask Url
|
|
63482
|
-
* @description The mask to area to Inpaint in.
|
|
63483
|
-
* @example https://storage.googleapis.com/falserverless/flux-lora/example-images/mask_knight.jpeg
|
|
63484
|
-
*/
|
|
63485
|
-
mask_url: string;
|
|
63486
64019
|
/**
|
|
63487
64020
|
* Num Images
|
|
63488
|
-
* @description The number of images to generate.
|
|
64021
|
+
* @description The number of images to generate.
|
|
63489
64022
|
* @default 1
|
|
63490
64023
|
*/
|
|
63491
64024
|
num_images?: number;
|
|
@@ -63502,25 +64035,12 @@ export interface FluxLoraFillInput {
|
|
|
63502
64035
|
* @enum {string}
|
|
63503
64036
|
*/
|
|
63504
64037
|
output_format?: 'jpeg' | 'png';
|
|
63505
|
-
/**
|
|
63506
|
-
* Paste Back
|
|
63507
|
-
* @description Specifies whether to paste-back the original image onto to the non-inpainted areas of the output
|
|
63508
|
-
* @default true
|
|
63509
|
-
*/
|
|
63510
|
-
paste_back?: boolean;
|
|
63511
64038
|
/**
|
|
63512
64039
|
* Prompt
|
|
63513
64040
|
* @description The prompt to generate an image from.
|
|
63514
|
-
* @
|
|
63515
|
-
* @example A knight in shining armour holding a greatshield with 'FAL' on it
|
|
63516
|
-
*/
|
|
63517
|
-
prompt?: string;
|
|
63518
|
-
/**
|
|
63519
|
-
* Resize To Original
|
|
63520
|
-
* @description Resizes the image back to the original size. Use when you wish to preserve the exact image size as the originally provided image.
|
|
63521
|
-
* @default false
|
|
64041
|
+
* @example A blue owl.
|
|
63522
64042
|
*/
|
|
63523
|
-
|
|
64043
|
+
prompt: string;
|
|
63524
64044
|
/**
|
|
63525
64045
|
* Seed
|
|
63526
64046
|
* @description The same seed and the same prompt given to the same version of the model
|
|
@@ -63529,19 +64049,29 @@ export interface FluxLoraFillInput {
|
|
|
63529
64049
|
seed?: number;
|
|
63530
64050
|
/**
|
|
63531
64051
|
* Sync Mode
|
|
63532
|
-
* @description If
|
|
64052
|
+
* @description If set to true, the function will wait for the image to be generated and uploaded
|
|
64053
|
+
* before returning the response. This will increase the latency of the function but
|
|
64054
|
+
* it allows you to get the image directly in the response without going through the CDN.
|
|
63533
64055
|
* @default false
|
|
63534
64056
|
*/
|
|
63535
64057
|
sync_mode?: boolean;
|
|
63536
64058
|
}
|
|
63537
64059
|
|
|
63538
|
-
export interface
|
|
64060
|
+
export interface FluxLoraCannyOutput extends SharedType_a73 {}
|
|
63539
64061
|
|
|
63540
|
-
export interface
|
|
64062
|
+
export interface FluxLoraInput extends SharedType_c5e {}
|
|
63541
64063
|
|
|
63542
|
-
export interface
|
|
64064
|
+
export interface FluxLoraOutput extends SharedType_a73 {}
|
|
63543
64065
|
|
|
63544
|
-
export interface
|
|
64066
|
+
export interface FluxKreaTrainerInput extends SharedType_f11 {}
|
|
64067
|
+
|
|
64068
|
+
export interface FluxKreaTrainerOutput extends SharedType_a54 {}
|
|
64069
|
+
|
|
64070
|
+
export interface FluxKreaLoraStreamInput extends SharedType_207 {}
|
|
64071
|
+
|
|
64072
|
+
export interface FluxKreaLoraStreamOutput extends SharedType_a73 {}
|
|
64073
|
+
|
|
64074
|
+
export interface FluxKreaLoraInpaintingInput {
|
|
63545
64075
|
/**
|
|
63546
64076
|
* Enable Safety Checker
|
|
63547
64077
|
* @description If set to true, the safety checker will be enabled.
|
|
@@ -63571,8 +64101,8 @@ export interface FluxLoraDepthInput {
|
|
|
63571
64101
|
);
|
|
63572
64102
|
/**
|
|
63573
64103
|
* Image Url
|
|
63574
|
-
* @description URL of image to use for
|
|
63575
|
-
* @example https://
|
|
64104
|
+
* @description URL of image to use for inpainting. or img2img
|
|
64105
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
63576
64106
|
*/
|
|
63577
64107
|
image_url: string;
|
|
63578
64108
|
/**
|
|
@@ -63582,6 +64112,12 @@ export interface FluxLoraDepthInput {
|
|
|
63582
64112
|
* @default []
|
|
63583
64113
|
*/
|
|
63584
64114
|
loras?: Components.LoraWeight[];
|
|
64115
|
+
/**
|
|
64116
|
+
* Mask Url
|
|
64117
|
+
* @description The mask to area to Inpaint in.
|
|
64118
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog_mask.png
|
|
64119
|
+
*/
|
|
64120
|
+
mask_url: string;
|
|
63585
64121
|
/**
|
|
63586
64122
|
* Num Images
|
|
63587
64123
|
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
@@ -63604,7 +64140,7 @@ export interface FluxLoraDepthInput {
|
|
|
63604
64140
|
/**
|
|
63605
64141
|
* Prompt
|
|
63606
64142
|
* @description The prompt to generate an image from.
|
|
63607
|
-
* @example
|
|
64143
|
+
* @example A photo of a lion sitting on a stone bench
|
|
63608
64144
|
*/
|
|
63609
64145
|
prompt: string;
|
|
63610
64146
|
/**
|
|
@@ -63613,6 +64149,12 @@ export interface FluxLoraDepthInput {
|
|
|
63613
64149
|
* will output the same image every time.
|
|
63614
64150
|
*/
|
|
63615
64151
|
seed?: number;
|
|
64152
|
+
/**
|
|
64153
|
+
* Strength
|
|
64154
|
+
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
64155
|
+
* @default 0.85
|
|
64156
|
+
*/
|
|
64157
|
+
strength?: number;
|
|
63616
64158
|
/**
|
|
63617
64159
|
* Sync Mode
|
|
63618
64160
|
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
@@ -63621,9 +64163,9 @@ export interface FluxLoraDepthInput {
|
|
|
63621
64163
|
sync_mode?: boolean;
|
|
63622
64164
|
}
|
|
63623
64165
|
|
|
63624
|
-
export interface
|
|
64166
|
+
export interface FluxKreaLoraInpaintingOutput extends SharedType_a73 {}
|
|
63625
64167
|
|
|
63626
|
-
export interface
|
|
64168
|
+
export interface FluxKreaLoraImageToImageInput {
|
|
63627
64169
|
/**
|
|
63628
64170
|
* Enable Safety Checker
|
|
63629
64171
|
* @description If set to true, the safety checker will be enabled.
|
|
@@ -63634,7 +64176,7 @@ export interface FluxLoraCannyInput {
|
|
|
63634
64176
|
* Guidance scale (CFG)
|
|
63635
64177
|
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want
|
|
63636
64178
|
* the model to stick to your prompt when looking for a related image to show you.
|
|
63637
|
-
* @default
|
|
64179
|
+
* @default 3.5
|
|
63638
64180
|
*/
|
|
63639
64181
|
guidance_scale?: number;
|
|
63640
64182
|
/**
|
|
@@ -63653,8 +64195,8 @@ export interface FluxLoraCannyInput {
|
|
|
63653
64195
|
);
|
|
63654
64196
|
/**
|
|
63655
64197
|
* Image Url
|
|
63656
|
-
* @description URL of image to use for
|
|
63657
|
-
* @example https://
|
|
64198
|
+
* @description URL of image to use for inpainting. or img2img
|
|
64199
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/dog.png
|
|
63658
64200
|
*/
|
|
63659
64201
|
image_url: string;
|
|
63660
64202
|
/**
|
|
@@ -63666,7 +64208,7 @@ export interface FluxLoraCannyInput {
|
|
|
63666
64208
|
loras?: Components.LoraWeight[];
|
|
63667
64209
|
/**
|
|
63668
64210
|
* Num Images
|
|
63669
|
-
* @description The number of images to generate.
|
|
64211
|
+
* @description The number of images to generate. This is always set to 1 for streaming output.
|
|
63670
64212
|
* @default 1
|
|
63671
64213
|
*/
|
|
63672
64214
|
num_images?: number;
|
|
@@ -63686,7 +64228,7 @@ export interface FluxLoraCannyInput {
|
|
|
63686
64228
|
/**
|
|
63687
64229
|
* Prompt
|
|
63688
64230
|
* @description The prompt to generate an image from.
|
|
63689
|
-
* @example A
|
|
64231
|
+
* @example A photo of a lion sitting on a stone bench
|
|
63690
64232
|
*/
|
|
63691
64233
|
prompt: string;
|
|
63692
64234
|
/**
|
|
@@ -63695,36 +64237,20 @@ export interface FluxLoraCannyInput {
|
|
|
63695
64237
|
* will output the same image every time.
|
|
63696
64238
|
*/
|
|
63697
64239
|
seed?: number;
|
|
64240
|
+
/**
|
|
64241
|
+
* Strength
|
|
64242
|
+
* @description The strength to use for inpainting/image-to-image. Only used if the image_url is provided. 1.0 is completely remakes the image while 0.0 preserves the original.
|
|
64243
|
+
* @default 0.85
|
|
64244
|
+
*/
|
|
64245
|
+
strength?: number;
|
|
63698
64246
|
/**
|
|
63699
64247
|
* Sync Mode
|
|
63700
|
-
* @description If
|
|
63701
|
-
* before returning the response. This will increase the latency of the function but
|
|
63702
|
-
* it allows you to get the image directly in the response without going through the CDN.
|
|
64248
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
63703
64249
|
* @default false
|
|
63704
64250
|
*/
|
|
63705
64251
|
sync_mode?: boolean;
|
|
63706
64252
|
}
|
|
63707
64253
|
|
|
63708
|
-
export interface FluxLoraCannyOutput extends SharedType_a73 {}
|
|
63709
|
-
|
|
63710
|
-
export interface FluxLoraInput extends SharedType_207 {}
|
|
63711
|
-
|
|
63712
|
-
export interface FluxLoraOutput extends SharedType_a73 {}
|
|
63713
|
-
|
|
63714
|
-
export interface FluxKreaTrainerInput extends SharedType_f11 {}
|
|
63715
|
-
|
|
63716
|
-
export interface FluxKreaTrainerOutput extends SharedType_a54 {}
|
|
63717
|
-
|
|
63718
|
-
export interface FluxKreaLoraStreamInput extends SharedType_207 {}
|
|
63719
|
-
|
|
63720
|
-
export interface FluxKreaLoraStreamOutput extends SharedType_a73 {}
|
|
63721
|
-
|
|
63722
|
-
export interface FluxKreaLoraInpaintingInput extends SharedType_88d {}
|
|
63723
|
-
|
|
63724
|
-
export interface FluxKreaLoraInpaintingOutput extends SharedType_a73 {}
|
|
63725
|
-
|
|
63726
|
-
export interface FluxKreaLoraImageToImageInput extends SharedType_4ae {}
|
|
63727
|
-
|
|
63728
64254
|
export interface FluxKreaLoraImageToImageOutput extends SharedType_a73 {}
|
|
63729
64255
|
|
|
63730
64256
|
export interface FluxKreaLoraInput extends SharedType_207 {}
|
|
@@ -63872,18 +64398,7 @@ export interface FluxKontextTrainerInput {
|
|
|
63872
64398
|
steps?: number;
|
|
63873
64399
|
}
|
|
63874
64400
|
|
|
63875
|
-
export interface FluxKontextTrainerOutput {
|
|
63876
|
-
/**
|
|
63877
|
-
* Config File
|
|
63878
|
-
* @description URL to the configuration file for the trained model.
|
|
63879
|
-
*/
|
|
63880
|
-
config_file: Components.File;
|
|
63881
|
-
/**
|
|
63882
|
-
* Diffusers Lora File
|
|
63883
|
-
* @description URL to the trained diffusers lora weights.
|
|
63884
|
-
*/
|
|
63885
|
-
diffusers_lora_file: Components.File;
|
|
63886
|
-
}
|
|
64401
|
+
export interface FluxKontextTrainerOutput extends SharedType_429 {}
|
|
63887
64402
|
|
|
63888
64403
|
export interface FluxKontextLoraTextToImageInput {
|
|
63889
64404
|
/**
|
|
@@ -66338,6 +66853,69 @@ export interface Flux2LoraOutput {
|
|
|
66338
66853
|
};
|
|
66339
66854
|
}
|
|
66340
66855
|
|
|
66856
|
+
export interface Flux2KleinRealtimeInput {
|
|
66857
|
+
/**
|
|
66858
|
+
* Enable Interpolation
|
|
66859
|
+
* @description Enable RIFE frame interpolation between consecutive frames (doubles output frames).
|
|
66860
|
+
* @default false
|
|
66861
|
+
*/
|
|
66862
|
+
enable_interpolation?: boolean;
|
|
66863
|
+
/**
|
|
66864
|
+
* Image Size
|
|
66865
|
+
* @description The size of the generated image. square=768x768, square_hd=1024x1024.
|
|
66866
|
+
* @default square
|
|
66867
|
+
* @enum {string}
|
|
66868
|
+
*/
|
|
66869
|
+
image_size?: 'square' | 'square_hd';
|
|
66870
|
+
/**
|
|
66871
|
+
* Image URL
|
|
66872
|
+
* @description Base64-encoded image data URI for editing. CDN URLs are not supported for realtime. For optimal performance, use 704x704 JPEG images with 50% quality. Other sizes will be resized automatically.
|
|
66873
|
+
*/
|
|
66874
|
+
image_url: string;
|
|
66875
|
+
/**
|
|
66876
|
+
* Num Inference Steps
|
|
66877
|
+
* @default 3
|
|
66878
|
+
*/
|
|
66879
|
+
num_inference_steps?: number;
|
|
66880
|
+
/**
|
|
66881
|
+
* Output Feedback Strength
|
|
66882
|
+
* @description Output feedback loop. 1.0 = pure noise (no feedback), 0.9 = 90% noise + 10% previous output latent.
|
|
66883
|
+
* @default 1
|
|
66884
|
+
*/
|
|
66885
|
+
output_feedback_strength?: number;
|
|
66886
|
+
/**
|
|
66887
|
+
* Prompt
|
|
66888
|
+
* @description The prompt to guide image editing.
|
|
66889
|
+
* @default Turn this into "Living oil painting, melting gold and sapphire"
|
|
66890
|
+
*/
|
|
66891
|
+
prompt?: string;
|
|
66892
|
+
/**
|
|
66893
|
+
* Schedule Mu
|
|
66894
|
+
* @description Schedule mu for time shift. 2.3=default, lower=more even denoising, 0.3=nearly linear.
|
|
66895
|
+
* @default 2.3
|
|
66896
|
+
*/
|
|
66897
|
+
schedule_mu?: number;
|
|
66898
|
+
/**
|
|
66899
|
+
* Seed
|
|
66900
|
+
* @description Random seed for reproducibility.
|
|
66901
|
+
* @default 35
|
|
66902
|
+
*/
|
|
66903
|
+
seed?: number;
|
|
66904
|
+
}
|
|
66905
|
+
|
|
66906
|
+
export interface Flux2KleinRealtimeOutput {
|
|
66907
|
+
/**
|
|
66908
|
+
* Images
|
|
66909
|
+
* @description Generated images as raw bytes. When interpolation is enabled, returns [interpolated_frame, current_frame] in chronological order. Otherwise returns [current_frame].
|
|
66910
|
+
*/
|
|
66911
|
+
images: Components.RawImage[];
|
|
66912
|
+
/**
|
|
66913
|
+
* Seed
|
|
66914
|
+
* @description Seed used for generation.
|
|
66915
|
+
*/
|
|
66916
|
+
seed: number;
|
|
66917
|
+
}
|
|
66918
|
+
|
|
66341
66919
|
export interface Flux2Klein9bEditInput extends SharedType_2db {}
|
|
66342
66920
|
|
|
66343
66921
|
export interface Flux2Klein9bEditOutput extends SharedType_3e8 {}
|
|
@@ -67379,11 +67957,11 @@ export interface Flux2EditOutput {
|
|
|
67379
67957
|
};
|
|
67380
67958
|
}
|
|
67381
67959
|
|
|
67382
|
-
export interface Flux2TrainerEditInput extends
|
|
67960
|
+
export interface Flux2TrainerEditInput extends SharedType_a3d1 {}
|
|
67383
67961
|
|
|
67384
67962
|
export interface Flux2TrainerEditOutput extends SharedType_b8b {}
|
|
67385
67963
|
|
|
67386
|
-
export interface Flux2TrainerV2EditInput extends
|
|
67964
|
+
export interface Flux2TrainerV2EditInput extends SharedType_a3d1 {}
|
|
67387
67965
|
|
|
67388
67966
|
export interface Flux2TrainerV2EditOutput extends SharedType_b8b {}
|
|
67389
67967
|
|
|
@@ -68900,7 +69478,7 @@ export interface Flux2LoraGalleryAddBackgroundOutput {
|
|
|
68900
69478
|
seed: number;
|
|
68901
69479
|
}
|
|
68902
69480
|
|
|
68903
|
-
export interface Flux2Klein9bBaseTrainerEditInput extends
|
|
69481
|
+
export interface Flux2Klein9bBaseTrainerEditInput extends SharedType_a3d1 {}
|
|
68904
69482
|
|
|
68905
69483
|
export interface Flux2Klein9bBaseTrainerEditOutput extends SharedType_b8b {}
|
|
68906
69484
|
|
|
@@ -68908,7 +69486,7 @@ export interface Flux2Klein9bBaseTrainerInput extends SharedType_e18 {}
|
|
|
68908
69486
|
|
|
68909
69487
|
export interface Flux2Klein9bBaseTrainerOutput extends SharedType_b8b {}
|
|
68910
69488
|
|
|
68911
|
-
export interface Flux2Klein4bBaseTrainerEditInput extends
|
|
69489
|
+
export interface Flux2Klein4bBaseTrainerEditInput extends SharedType_a3d1 {}
|
|
68912
69490
|
|
|
68913
69491
|
export interface Flux2Klein4bBaseTrainerEditOutput extends SharedType_b8b {}
|
|
68914
69492
|
|
|
@@ -69922,15 +70500,15 @@ export interface FloweditOutput {
|
|
|
69922
70500
|
seed: number;
|
|
69923
70501
|
}
|
|
69924
70502
|
|
|
69925
|
-
export interface Florence2LargeRegionToSegmentationInput extends
|
|
70503
|
+
export interface Florence2LargeRegionToSegmentationInput extends SharedType_b8a {}
|
|
69926
70504
|
|
|
69927
70505
|
export interface Florence2LargeRegionToSegmentationOutput extends SharedType_bf2 {}
|
|
69928
70506
|
|
|
69929
|
-
export interface Florence2LargeRegionToDescriptionInput extends
|
|
70507
|
+
export interface Florence2LargeRegionToDescriptionInput extends SharedType_b8a {}
|
|
69930
70508
|
|
|
69931
70509
|
export interface Florence2LargeRegionToDescriptionOutput extends SharedType_129 {}
|
|
69932
70510
|
|
|
69933
|
-
export interface Florence2LargeRegionToCategoryInput extends
|
|
70511
|
+
export interface Florence2LargeRegionToCategoryInput extends SharedType_b8a {}
|
|
69934
70512
|
|
|
69935
70513
|
export interface Florence2LargeRegionToCategoryOutput extends SharedType_129 {}
|
|
69936
70514
|
|
|
@@ -70229,7 +70807,7 @@ export interface FilmVideoOutput {
|
|
|
70229
70807
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/film-video-output.mp4"
|
|
70230
70808
|
* }
|
|
70231
70809
|
*/
|
|
70232
|
-
video: Components.
|
|
70810
|
+
video: Components.VideoFile;
|
|
70233
70811
|
}
|
|
70234
70812
|
|
|
70235
70813
|
export interface FilmInput {
|
|
@@ -70323,7 +70901,7 @@ export interface FilmOutput {
|
|
|
70323
70901
|
* Video
|
|
70324
70902
|
* @description The generated video file, if output_type is 'video'.
|
|
70325
70903
|
*/
|
|
70326
|
-
video?: Components.
|
|
70904
|
+
video?: Components.VideoFile;
|
|
70327
70905
|
}
|
|
70328
70906
|
|
|
70329
70907
|
export interface FfmpegApiWaveformInput {
|
|
@@ -72548,7 +73126,7 @@ export interface FastAnimatediffVideoToVideoInput {
|
|
|
72548
73126
|
video_url: string;
|
|
72549
73127
|
}
|
|
72550
73128
|
|
|
72551
|
-
export interface FastAnimatediffVideoToVideoOutput extends
|
|
73129
|
+
export interface FastAnimatediffVideoToVideoOutput extends SharedType_10f {}
|
|
72552
73130
|
|
|
72553
73131
|
export interface FastAnimatediffTurboVideoToVideoInput {
|
|
72554
73132
|
/**
|
|
@@ -72566,14 +73144,9 @@ export interface FastAnimatediffTurboVideoToVideoInput {
|
|
|
72566
73144
|
/**
|
|
72567
73145
|
* Guidance Scale
|
|
72568
73146
|
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
|
|
72569
|
-
* @default
|
|
73147
|
+
* @default 2
|
|
72570
73148
|
*/
|
|
72571
73149
|
guidance_scale?: number;
|
|
72572
|
-
/**
|
|
72573
|
-
* Motions
|
|
72574
|
-
* @description The motions to apply to the video.
|
|
72575
|
-
*/
|
|
72576
|
-
motions?: ('zoom-out' | 'zoom-in' | 'pan-left' | 'pan-right' | 'tilt-up' | 'tilt-down')[];
|
|
72577
73150
|
/**
|
|
72578
73151
|
* Negative Prompt
|
|
72579
73152
|
* @description The negative prompt to use. Use it to address details that you don't want
|
|
@@ -72585,7 +73158,7 @@ export interface FastAnimatediffTurboVideoToVideoInput {
|
|
|
72585
73158
|
/**
|
|
72586
73159
|
* Num Inference Steps
|
|
72587
73160
|
* @description The number of inference steps to perform. 4-12 is recommended for turbo mode.
|
|
72588
|
-
* @default
|
|
73161
|
+
* @default 12
|
|
72589
73162
|
*/
|
|
72590
73163
|
num_inference_steps?: number;
|
|
72591
73164
|
/**
|
|
@@ -72616,7 +73189,7 @@ export interface FastAnimatediffTurboVideoToVideoInput {
|
|
|
72616
73189
|
video_url: string;
|
|
72617
73190
|
}
|
|
72618
73191
|
|
|
72619
|
-
export interface FastAnimatediffTurboVideoToVideoOutput extends
|
|
73192
|
+
export interface FastAnimatediffTurboVideoToVideoOutput extends SharedType_10f {}
|
|
72620
73193
|
|
|
72621
73194
|
export interface FastAnimatediffTurboTextToVideoInput {
|
|
72622
73195
|
/**
|
|
@@ -72628,14 +73201,9 @@ export interface FastAnimatediffTurboTextToVideoInput {
|
|
|
72628
73201
|
/**
|
|
72629
73202
|
* Guidance Scale
|
|
72630
73203
|
* @description The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
|
|
72631
|
-
* @default
|
|
73204
|
+
* @default 2
|
|
72632
73205
|
*/
|
|
72633
73206
|
guidance_scale?: number;
|
|
72634
|
-
/**
|
|
72635
|
-
* Motions
|
|
72636
|
-
* @description The motions to apply to the video.
|
|
72637
|
-
*/
|
|
72638
|
-
motions?: ('zoom-out' | 'zoom-in' | 'pan-left' | 'pan-right' | 'tilt-up' | 'tilt-down')[];
|
|
72639
73207
|
/**
|
|
72640
73208
|
* Negative Prompt
|
|
72641
73209
|
* @description The negative prompt to use. Use it to address details that you don't want
|
|
@@ -72653,7 +73221,7 @@ export interface FastAnimatediffTurboTextToVideoInput {
|
|
|
72653
73221
|
/**
|
|
72654
73222
|
* Num Inference Steps
|
|
72655
73223
|
* @description The number of inference steps to perform. 4-12 is recommended for turbo mode.
|
|
72656
|
-
* @default
|
|
73224
|
+
* @default 8
|
|
72657
73225
|
*/
|
|
72658
73226
|
num_inference_steps?: number;
|
|
72659
73227
|
/**
|
|
@@ -72686,7 +73254,7 @@ export interface FastAnimatediffTurboTextToVideoInput {
|
|
|
72686
73254
|
);
|
|
72687
73255
|
}
|
|
72688
73256
|
|
|
72689
|
-
export interface FastAnimatediffTurboTextToVideoOutput extends
|
|
73257
|
+
export interface FastAnimatediffTurboTextToVideoOutput extends SharedType_8aa {}
|
|
72690
73258
|
|
|
72691
73259
|
export interface FastAnimatediffTextToVideoInput {
|
|
72692
73260
|
/**
|
|
@@ -72757,7 +73325,7 @@ export interface FastAnimatediffTextToVideoInput {
|
|
|
72757
73325
|
);
|
|
72758
73326
|
}
|
|
72759
73327
|
|
|
72760
|
-
export interface FastAnimatediffTextToVideoOutput extends
|
|
73328
|
+
export interface FastAnimatediffTextToVideoOutput extends SharedType_8aa {}
|
|
72761
73329
|
|
|
72762
73330
|
export interface FashnTryonV16Input {
|
|
72763
73331
|
/**
|
|
@@ -74441,7 +75009,7 @@ export interface EdittoOutput {
|
|
|
74441
75009
|
* "num_frames": 73
|
|
74442
75010
|
* }
|
|
74443
75011
|
*/
|
|
74444
|
-
video: Components.
|
|
75012
|
+
video: Components.VideoFile_1;
|
|
74445
75013
|
}
|
|
74446
75014
|
|
|
74447
75015
|
export interface EchomimicV3Input {
|
|
@@ -75545,7 +76113,7 @@ export interface CreatifyAuroraOutput {
|
|
|
75545
76113
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/creatify/aurora/output.mp4"
|
|
75546
76114
|
* }
|
|
75547
76115
|
*/
|
|
75548
|
-
video: Components.
|
|
76116
|
+
video: Components.VideoFile;
|
|
75549
76117
|
}
|
|
75550
76118
|
|
|
75551
76119
|
export interface ControlnextInput {
|
|
@@ -78950,7 +79518,7 @@ export interface BirefnetV2VideoOutput {
|
|
|
78950
79518
|
* Mask Video
|
|
78951
79519
|
* @description Mask used to remove the background
|
|
78952
79520
|
*/
|
|
78953
|
-
mask_video?: Components.
|
|
79521
|
+
mask_video?: Components.VideoFile;
|
|
78954
79522
|
/**
|
|
78955
79523
|
* Video
|
|
78956
79524
|
* @description Video with background removed
|
|
@@ -78965,7 +79533,7 @@ export interface BirefnetV2VideoOutput {
|
|
|
78965
79533
|
* "num_frames": 192
|
|
78966
79534
|
* }
|
|
78967
79535
|
*/
|
|
78968
|
-
video: Components.
|
|
79536
|
+
video: Components.VideoFile;
|
|
78969
79537
|
}
|
|
78970
79538
|
|
|
78971
79539
|
export interface BirefnetV2Input {
|
|
@@ -80948,11 +81516,11 @@ export interface ClarityaiCrystalVideoUpscalerOutput {
|
|
|
80948
81516
|
* "fps": 23.130193905817176,
|
|
80949
81517
|
* "width": 4096,
|
|
80950
81518
|
* "file_name": "w0VQQvPdwvV2GSCtRTMzh_hDH8SPrB.mp4",
|
|
80951
|
-
* "
|
|
80952
|
-
* "
|
|
81519
|
+
* "num_frames": 302,
|
|
81520
|
+
* "content_type": "video/mp4"
|
|
80953
81521
|
* }
|
|
80954
81522
|
*/
|
|
80955
|
-
video: Components.
|
|
81523
|
+
video: Components.VideoFile;
|
|
80956
81524
|
}
|
|
80957
81525
|
|
|
80958
81526
|
export interface ClarityaiCrystalUpscalerInput {
|
|
@@ -81153,7 +81721,7 @@ export interface BytedanceLynxOutput {
|
|
|
81153
81721
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/lynx/example_out.mp4"
|
|
81154
81722
|
* }
|
|
81155
81723
|
*/
|
|
81156
|
-
video: Components.
|
|
81724
|
+
video: Components.VideoFile;
|
|
81157
81725
|
}
|
|
81158
81726
|
|
|
81159
81727
|
export interface BriaVideoIncreaseResolutionInput {
|
|
@@ -81456,7 +82024,27 @@ export interface BriaReimagine32Input {
|
|
|
81456
82024
|
|
|
81457
82025
|
export interface BriaReimagine32Output extends SharedType_dc7 {}
|
|
81458
82026
|
|
|
81459
|
-
export interface BriaFiboGenerateStructured_promptInput
|
|
82027
|
+
export interface BriaFiboGenerateStructured_promptInput {
|
|
82028
|
+
/**
|
|
82029
|
+
* Image Url
|
|
82030
|
+
* @description Reference image (file or URL).
|
|
82031
|
+
*/
|
|
82032
|
+
image_url?: string;
|
|
82033
|
+
/**
|
|
82034
|
+
* Prompt
|
|
82035
|
+
* @description Prompt for image generation.
|
|
82036
|
+
* @example A hyper-detailed, ultra-fluffy owl sitting in the trees at night, looking directly at the camera with wide, adorable, expressive eyes. Its feathers are soft and voluminous, catching the cool moonlight with subtle silver highlights. The owl’s gaze is curious and full of charm, giving it a whimsical, storybook-like personality.
|
|
82037
|
+
*/
|
|
82038
|
+
prompt?: string;
|
|
82039
|
+
/**
|
|
82040
|
+
* Seed
|
|
82041
|
+
* @description Random seed for reproducibility.
|
|
82042
|
+
* @default 5555
|
|
82043
|
+
*/
|
|
82044
|
+
seed?: number;
|
|
82045
|
+
/** @description The structured prompt to generate an image from. */
|
|
82046
|
+
structured_prompt?: Components.StructuredPrompt;
|
|
82047
|
+
}
|
|
81460
82048
|
|
|
81461
82049
|
export interface BriaFiboGenerateStructured_promptOutput extends SharedType_4411 {}
|
|
81462
82050
|
|
|
@@ -81513,7 +82101,25 @@ export interface BriaFiboGenerateInput {
|
|
|
81513
82101
|
sync_mode?: boolean;
|
|
81514
82102
|
}
|
|
81515
82103
|
|
|
81516
|
-
export interface BriaFiboGenerateOutput
|
|
82104
|
+
export interface BriaFiboGenerateOutput {
|
|
82105
|
+
/** @description Generated image. */
|
|
82106
|
+
image: Components.Image_2;
|
|
82107
|
+
/**
|
|
82108
|
+
* Images
|
|
82109
|
+
* @description Generated images.
|
|
82110
|
+
* @default []
|
|
82111
|
+
*/
|
|
82112
|
+
images?: {
|
|
82113
|
+
[key: string]: { [x: string]: any } | null;
|
|
82114
|
+
}[];
|
|
82115
|
+
/**
|
|
82116
|
+
* Structured Prompt
|
|
82117
|
+
* @description Current prompt.
|
|
82118
|
+
*/
|
|
82119
|
+
structured_prompt: {
|
|
82120
|
+
[key: string]: { [x: string]: any } | null;
|
|
82121
|
+
};
|
|
82122
|
+
}
|
|
81517
82123
|
|
|
81518
82124
|
export interface BriaFiboLiteGenerateStructured_promptLiteInput {
|
|
81519
82125
|
/**
|
|
@@ -81534,12 +82140,32 @@ export interface BriaFiboLiteGenerateStructured_promptLiteInput {
|
|
|
81534
82140
|
*/
|
|
81535
82141
|
seed?: number;
|
|
81536
82142
|
/** @description The structured prompt to generate an image from. */
|
|
81537
|
-
structured_prompt?: Components.
|
|
82143
|
+
structured_prompt?: Components.StructuredPrompt;
|
|
81538
82144
|
}
|
|
81539
82145
|
|
|
81540
82146
|
export interface BriaFiboLiteGenerateStructured_promptLiteOutput extends SharedType_4411 {}
|
|
81541
82147
|
|
|
81542
|
-
export interface BriaFiboLiteGenerateStructured_promptInput
|
|
82148
|
+
export interface BriaFiboLiteGenerateStructured_promptInput {
|
|
82149
|
+
/**
|
|
82150
|
+
* Image Url
|
|
82151
|
+
* @description Input image URL
|
|
82152
|
+
*/
|
|
82153
|
+
image_url?: string;
|
|
82154
|
+
/**
|
|
82155
|
+
* Prompt
|
|
82156
|
+
* @description The prompt to generate.
|
|
82157
|
+
* @example Oil painting of a fluffy, wide-eyed cat sitting upright, holding a small wooden sign reading "Feed Me." Rich textures, dramatic brushstrokes, warm tones, and vintage charm.
|
|
82158
|
+
*/
|
|
82159
|
+
prompt?: string;
|
|
82160
|
+
/**
|
|
82161
|
+
* Seed
|
|
82162
|
+
* @description Seed for the random number generator.
|
|
82163
|
+
* @default 7
|
|
82164
|
+
*/
|
|
82165
|
+
seed?: number;
|
|
82166
|
+
/** @description The structured prompt to generate. */
|
|
82167
|
+
structured_prompt?: Components.StructuredPrompt_1;
|
|
82168
|
+
}
|
|
81543
82169
|
|
|
81544
82170
|
export interface BriaFiboLiteGenerateStructured_promptOutput extends SharedType_4411 {}
|
|
81545
82171
|
|
|
@@ -81553,29 +82179,35 @@ export interface BriaFiboLiteGenerateInput {
|
|
|
81553
82179
|
aspect_ratio?: '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '4:5' | '5:4' | '9:16' | '16:9';
|
|
81554
82180
|
/**
|
|
81555
82181
|
* Image Url
|
|
81556
|
-
* @description
|
|
82182
|
+
* @description Input image URL
|
|
81557
82183
|
*/
|
|
81558
82184
|
image_url?: string;
|
|
82185
|
+
/**
|
|
82186
|
+
* Negative Prompt
|
|
82187
|
+
* @description Negative prompt for image generation.
|
|
82188
|
+
* @default
|
|
82189
|
+
*/
|
|
82190
|
+
negative_prompt?: string;
|
|
81559
82191
|
/**
|
|
81560
82192
|
* Prompt
|
|
81561
|
-
* @description
|
|
81562
|
-
* @example
|
|
82193
|
+
* @description The prompt to generate.
|
|
82194
|
+
* @example Oil painting of a fluffy, wide-eyed cat sitting upright, holding a small wooden sign reading "Feed Me." Rich textures, dramatic brushstrokes, warm tones, and vintage charm.
|
|
81563
82195
|
*/
|
|
81564
82196
|
prompt?: string;
|
|
81565
82197
|
/**
|
|
81566
82198
|
* Seed
|
|
81567
|
-
* @description
|
|
81568
|
-
* @default
|
|
82199
|
+
* @description Seed for the random number generator.
|
|
82200
|
+
* @default 7
|
|
81569
82201
|
*/
|
|
81570
82202
|
seed?: number;
|
|
81571
82203
|
/**
|
|
81572
82204
|
* Steps Num
|
|
81573
|
-
* @description Number of inference steps
|
|
82205
|
+
* @description Number of inference steps.
|
|
81574
82206
|
* @default 8
|
|
81575
82207
|
*/
|
|
81576
82208
|
steps_num?: number;
|
|
81577
|
-
/** @description The structured prompt to generate
|
|
81578
|
-
structured_prompt?: Components.
|
|
82209
|
+
/** @description The structured prompt to generate. */
|
|
82210
|
+
structured_prompt?: Components.StructuredPrompt_1;
|
|
81579
82211
|
/**
|
|
81580
82212
|
* Sync Mode
|
|
81581
82213
|
* @description If true, returns the image directly in the response (increases latency).
|
|
@@ -81584,7 +82216,19 @@ export interface BriaFiboLiteGenerateInput {
|
|
|
81584
82216
|
sync_mode?: boolean;
|
|
81585
82217
|
}
|
|
81586
82218
|
|
|
81587
|
-
export interface BriaFiboLiteGenerateOutput
|
|
82219
|
+
export interface BriaFiboLiteGenerateOutput {
|
|
82220
|
+
/** @description Generated image. */
|
|
82221
|
+
image: Components.Image_2;
|
|
82222
|
+
/**
|
|
82223
|
+
* Images
|
|
82224
|
+
* @description Generated images.
|
|
82225
|
+
*/
|
|
82226
|
+
images?: {
|
|
82227
|
+
[key: string]: { [x: string]: any } | null;
|
|
82228
|
+
}[];
|
|
82229
|
+
/** @description Current prompt. */
|
|
82230
|
+
structured_prompt: Components.StructuredPrompt_1;
|
|
82231
|
+
}
|
|
81588
82232
|
|
|
81589
82233
|
export interface BriaFiboEditSketch_to_colored_imageInput {
|
|
81590
82234
|
/**
|