fal-endpoint-types 1.3.37 → 1.3.38
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
CHANGED
|
@@ -2114,6 +2114,26 @@ declare global {
|
|
|
2114
2114
|
output: falEndpoints.PhotomakerOutput;
|
|
2115
2115
|
};
|
|
2116
2116
|
|
|
2117
|
+
'fal-ai/phota/enhance': {
|
|
2118
|
+
input: falEndpoints.PhotaEnhanceInput;
|
|
2119
|
+
output: falEndpoints.PhotaEnhanceOutput;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
'fal-ai/phota/edit': {
|
|
2123
|
+
input: falEndpoints.PhotaEditInput;
|
|
2124
|
+
output: falEndpoints.PhotaEditOutput;
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
'fal-ai/phota/create-profile': {
|
|
2128
|
+
input: falEndpoints.PhotaCreateProfileInput;
|
|
2129
|
+
output: falEndpoints.PhotaCreateProfileOutput;
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
'fal-ai/phota': {
|
|
2133
|
+
input: falEndpoints.PhotaInput;
|
|
2134
|
+
output: falEndpoints.PhotaOutput;
|
|
2135
|
+
};
|
|
2136
|
+
|
|
2117
2137
|
'fal-ai/personaplex/realtime': {
|
|
2118
2138
|
input: falEndpoints.PersonaplexRealtimeInput;
|
|
2119
2139
|
output: falEndpoints.PersonaplexRealtimeOutput;
|
|
@@ -4059,6 +4079,11 @@ declare global {
|
|
|
4059
4079
|
output: { [x in string]: any };
|
|
4060
4080
|
};
|
|
4061
4081
|
|
|
4082
|
+
'fal-ai/hy-wu-edit': {
|
|
4083
|
+
input: falEndpoints.HyWuEditInput;
|
|
4084
|
+
output: falEndpoints.HyWuEditOutput;
|
|
4085
|
+
};
|
|
4086
|
+
|
|
4062
4087
|
'fal-ai/hunyuan3d/v2/turbo': {
|
|
4063
4088
|
input: falEndpoints.Hunyuan3dV2TurboInput;
|
|
4064
4089
|
output: falEndpoints.Hunyuan3dV2TurboOutput;
|
|
@@ -2768,29 +2768,6 @@ export interface SharedType_e33 {
|
|
|
2768
2768
|
};
|
|
2769
2769
|
}
|
|
2770
2770
|
|
|
2771
|
-
export interface SharedType_e19 {
|
|
2772
|
-
/**
|
|
2773
|
-
* Images
|
|
2774
|
-
* @description The generated images
|
|
2775
|
-
* @example [
|
|
2776
|
-
* {
|
|
2777
|
-
* "height": 1536,
|
|
2778
|
-
* "file_size": 3731290,
|
|
2779
|
-
* "file_name": "257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
2780
|
-
* "content_type": "image/png",
|
|
2781
|
-
* "url": "https://v3.fal.media/files/tiger/48e63e0K6C9XQYBuomoU-_257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
2782
|
-
* "width": 1536
|
|
2783
|
-
* }
|
|
2784
|
-
* ]
|
|
2785
|
-
*/
|
|
2786
|
-
images: Components.Image[];
|
|
2787
|
-
/**
|
|
2788
|
-
* Seed
|
|
2789
|
-
* @description Seed value used for generation.
|
|
2790
|
-
*/
|
|
2791
|
-
seed: number;
|
|
2792
|
-
}
|
|
2793
|
-
|
|
2794
2771
|
export interface SharedType_e18 {
|
|
2795
2772
|
/**
|
|
2796
2773
|
* Default Caption
|
|
@@ -3726,24 +3703,6 @@ export interface SharedType_cfd {
|
|
|
3726
3703
|
sync_mode?: boolean;
|
|
3727
3704
|
}
|
|
3728
3705
|
|
|
3729
|
-
export interface SharedType_cf1 {
|
|
3730
|
-
/**
|
|
3731
|
-
* Images
|
|
3732
|
-
* @description The generated images with objects removed.
|
|
3733
|
-
* @example [
|
|
3734
|
-
* {
|
|
3735
|
-
* "file_size": 730703,
|
|
3736
|
-
* "height": 768,
|
|
3737
|
-
* "file_name": "85a2309b2c954c85a75120e664adbe17.png",
|
|
3738
|
-
* "content_type": "image/png",
|
|
3739
|
-
* "url": "https://v3.fal.media/files/lion/arYSoJeqWjhbcA8o4budv_85a2309b2c954c85a75120e664adbe17.png",
|
|
3740
|
-
* "width": 1024
|
|
3741
|
-
* }
|
|
3742
|
-
* ]
|
|
3743
|
-
*/
|
|
3744
|
-
images: Components.Image_2[];
|
|
3745
|
-
}
|
|
3746
|
-
|
|
3747
3706
|
export interface SharedType_cde {
|
|
3748
3707
|
/**
|
|
3749
3708
|
* Actual Prompt
|
|
@@ -5353,6 +5312,29 @@ export interface SharedType_a9b {
|
|
|
5353
5312
|
seed?: number;
|
|
5354
5313
|
}
|
|
5355
5314
|
|
|
5315
|
+
export interface SharedType_a97 {
|
|
5316
|
+
/**
|
|
5317
|
+
* Images
|
|
5318
|
+
* @description The generated images
|
|
5319
|
+
* @example [
|
|
5320
|
+
* {
|
|
5321
|
+
* "file_size": 3731290,
|
|
5322
|
+
* "height": 1536,
|
|
5323
|
+
* "file_name": "257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
5324
|
+
* "content_type": "image/png",
|
|
5325
|
+
* "url": "https://v3.fal.media/files/tiger/48e63e0K6C9XQYBuomoU-_257cf8e7bd3a47c2959396343d5b38cf.png",
|
|
5326
|
+
* "width": 1536
|
|
5327
|
+
* }
|
|
5328
|
+
* ]
|
|
5329
|
+
*/
|
|
5330
|
+
images: Components.Image[];
|
|
5331
|
+
/**
|
|
5332
|
+
* Seed
|
|
5333
|
+
* @description Seed value used for generation.
|
|
5334
|
+
*/
|
|
5335
|
+
seed: number;
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5356
5338
|
export interface SharedType_a8f {
|
|
5357
5339
|
/**
|
|
5358
5340
|
* Image Url
|
|
@@ -11536,6 +11518,24 @@ export interface SharedType_38d {
|
|
|
11536
11518
|
image_url: string;
|
|
11537
11519
|
}
|
|
11538
11520
|
|
|
11521
|
+
export interface SharedType_386 {
|
|
11522
|
+
/**
|
|
11523
|
+
* Images
|
|
11524
|
+
* @description The generated images with objects removed.
|
|
11525
|
+
* @example [
|
|
11526
|
+
* {
|
|
11527
|
+
* "file_size": 730703,
|
|
11528
|
+
* "height": 768,
|
|
11529
|
+
* "file_name": "85a2309b2c954c85a75120e664adbe17.png",
|
|
11530
|
+
* "content_type": "image/png",
|
|
11531
|
+
* "url": "https://v3.fal.media/files/lion/arYSoJeqWjhbcA8o4budv_85a2309b2c954c85a75120e664adbe17.png",
|
|
11532
|
+
* "width": 1024
|
|
11533
|
+
* }
|
|
11534
|
+
* ]
|
|
11535
|
+
*/
|
|
11536
|
+
images: Components.Image[];
|
|
11537
|
+
}
|
|
11538
|
+
|
|
11539
11539
|
export interface SharedType_384 {
|
|
11540
11540
|
/**
|
|
11541
11541
|
* Images
|
|
@@ -14796,6 +14796,7 @@ export interface OpenrouterRouterVideoEnterpriseInput {
|
|
|
14796
14796
|
* @example google/gemini-2.0-flash-lite-001
|
|
14797
14797
|
* @example google/gemini-3-flash-preview
|
|
14798
14798
|
* @example google/gemini-3-pro-preview
|
|
14799
|
+
* @example google/gemini-3.1-pro-preview
|
|
14799
14800
|
*/
|
|
14800
14801
|
model: string;
|
|
14801
14802
|
/**
|
|
@@ -14848,6 +14849,7 @@ export interface OpenrouterRouterVideoInput {
|
|
|
14848
14849
|
* @example google/gemini-2.5-pro
|
|
14849
14850
|
* @example google/gemini-3-flash-preview
|
|
14850
14851
|
* @example google/gemini-3-pro-preview
|
|
14852
|
+
* @example google/gemini-3.1-pro-preview
|
|
14851
14853
|
*/
|
|
14852
14854
|
model: string;
|
|
14853
14855
|
/**
|
|
@@ -14905,6 +14907,7 @@ export interface OpenrouterRouterAudioInput {
|
|
|
14905
14907
|
* @example google/gemini-3-flash-preview
|
|
14906
14908
|
* @example google/gemini-2.5-flash
|
|
14907
14909
|
* @example google/gemini-3-pro-preview
|
|
14910
|
+
* @example google/gemini-3.1-pro-preview
|
|
14908
14911
|
*/
|
|
14909
14912
|
model: string;
|
|
14910
14913
|
/**
|
|
@@ -24323,16 +24326,8 @@ export interface TriposrInput {
|
|
|
24323
24326
|
}
|
|
24324
24327
|
|
|
24325
24328
|
export interface TriposrOutput {
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
* @description Generated 3D object file.
|
|
24329
|
-
*/
|
|
24330
|
-
model_mesh: Components.File_1;
|
|
24331
|
-
/**
|
|
24332
|
-
* Remeshing Dir
|
|
24333
|
-
* @description Directory containing textures for the remeshed model.
|
|
24334
|
-
*/
|
|
24335
|
-
remeshing_dir?: Components.File_1;
|
|
24329
|
+
model_mesh: Components.File;
|
|
24330
|
+
remeshing_dir?: Components.File;
|
|
24336
24331
|
/**
|
|
24337
24332
|
* Timings
|
|
24338
24333
|
* @description Inference timings.
|
|
@@ -28288,15 +28283,15 @@ export interface Sam2VideoInput {
|
|
|
28288
28283
|
* @example [
|
|
28289
28284
|
* {
|
|
28290
28285
|
* "y": 350,
|
|
28291
|
-
* "
|
|
28286
|
+
* "x": 210,
|
|
28292
28287
|
* "frame_index": 0,
|
|
28293
|
-
* "
|
|
28288
|
+
* "label": 1
|
|
28294
28289
|
* },
|
|
28295
28290
|
* {
|
|
28296
28291
|
* "y": 220,
|
|
28297
|
-
* "
|
|
28292
|
+
* "x": 250,
|
|
28298
28293
|
* "frame_index": 0,
|
|
28299
|
-
* "
|
|
28294
|
+
* "label": 1
|
|
28300
28295
|
* }
|
|
28301
28296
|
* ]
|
|
28302
28297
|
*/
|
|
@@ -28355,8 +28350,8 @@ export interface Sam2ImageInput {
|
|
|
28355
28350
|
* @example [
|
|
28356
28351
|
* {
|
|
28357
28352
|
* "y": 375,
|
|
28358
|
-
* "
|
|
28359
|
-
* "
|
|
28353
|
+
* "x": 500,
|
|
28354
|
+
* "label": 1
|
|
28360
28355
|
* }
|
|
28361
28356
|
* ]
|
|
28362
28357
|
*/
|
|
@@ -35251,7 +35246,7 @@ export interface PixverseExtendFastInput {
|
|
|
35251
35246
|
* @default v4.5
|
|
35252
35247
|
* @enum {string}
|
|
35253
35248
|
*/
|
|
35254
|
-
model?: 'v3.5' | 'v4' | 'v4.5' | 'v5' | 'v5.5' | 'v5.6';
|
|
35249
|
+
model?: 'v3.5' | 'v4' | 'v4.5' | 'v5' | 'v5.5' | 'v5.6' | 'v6';
|
|
35255
35250
|
/**
|
|
35256
35251
|
* Negative Prompt
|
|
35257
35252
|
* @description Negative prompt to be used for the generation
|
|
@@ -35305,7 +35300,7 @@ export interface PixverseExtendInput {
|
|
|
35305
35300
|
* @default v4.5
|
|
35306
35301
|
* @enum {string}
|
|
35307
35302
|
*/
|
|
35308
|
-
model?: 'v3.5' | 'v4' | 'v4.5' | 'v5' | 'v5.5' | 'v5.6';
|
|
35303
|
+
model?: 'v3.5' | 'v4' | 'v4.5' | 'v5' | 'v5.5' | 'v5.6' | 'v6';
|
|
35309
35304
|
/**
|
|
35310
35305
|
* Negative Prompt
|
|
35311
35306
|
* @description Negative prompt to be used for the generation
|
|
@@ -36288,6 +36283,196 @@ export interface PhotomakerOutput {
|
|
|
36288
36283
|
seed: number;
|
|
36289
36284
|
}
|
|
36290
36285
|
|
|
36286
|
+
export interface PhotaEnhanceInput {
|
|
36287
|
+
/**
|
|
36288
|
+
* Image URL
|
|
36289
|
+
* @description URL/Base64 data URI of the image to enhance.
|
|
36290
|
+
* @example https://v3b.fal.media/files/b/0a8b911d/Abk8vStrvmSPlzUqI_NN3_image_043.png
|
|
36291
|
+
*/
|
|
36292
|
+
image_url: string;
|
|
36293
|
+
/**
|
|
36294
|
+
* Number of Images
|
|
36295
|
+
* @description Number of images to generate.
|
|
36296
|
+
* @default 1
|
|
36297
|
+
*/
|
|
36298
|
+
num_images?: number;
|
|
36299
|
+
/**
|
|
36300
|
+
* Output Format
|
|
36301
|
+
* @description The format of the generated image.
|
|
36302
|
+
* @default jpeg
|
|
36303
|
+
* @enum {string}
|
|
36304
|
+
*/
|
|
36305
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
36306
|
+
/**
|
|
36307
|
+
* Profile Ids
|
|
36308
|
+
* @description List of profile IDs to use for the image enhancement. The profiles sent over will be used as candidates for identity preservation.
|
|
36309
|
+
*/
|
|
36310
|
+
profile_ids?: string[];
|
|
36311
|
+
/**
|
|
36312
|
+
* Sync Mode
|
|
36313
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
36314
|
+
* @default false
|
|
36315
|
+
*/
|
|
36316
|
+
sync_mode?: boolean;
|
|
36317
|
+
}
|
|
36318
|
+
|
|
36319
|
+
export interface PhotaEnhanceOutput {
|
|
36320
|
+
/**
|
|
36321
|
+
* Images
|
|
36322
|
+
* @description The URL of the enhanced image.
|
|
36323
|
+
* @example [
|
|
36324
|
+
* {
|
|
36325
|
+
* "url": "https://v3b.fal.media/files/b/0a8b911d/XMqiVoO2ECXUZEUYmPl2l.jpg"
|
|
36326
|
+
* }
|
|
36327
|
+
* ]
|
|
36328
|
+
*/
|
|
36329
|
+
images: Components.ImageFile[];
|
|
36330
|
+
}
|
|
36331
|
+
|
|
36332
|
+
export interface PhotaEditInput {
|
|
36333
|
+
/**
|
|
36334
|
+
* Aspect Ratio
|
|
36335
|
+
* @description Aspect ratio of the generated image.
|
|
36336
|
+
* @default auto
|
|
36337
|
+
* @enum {string}
|
|
36338
|
+
*/
|
|
36339
|
+
aspect_ratio?: 'auto' | '1:1' | '16:9' | '4:3' | '3:4' | '9:16';
|
|
36340
|
+
/**
|
|
36341
|
+
* Image URLs
|
|
36342
|
+
* @description List of URLs/ Base64 data URIs of the images to edit. A maximum of 10 images are supported, additional images will be ignored.
|
|
36343
|
+
* @example [
|
|
36344
|
+
* "https://v3b.fal.media/files/b/0a8b911d/Abk8vStrvmSPlzUqI_NN3_image_043.png"
|
|
36345
|
+
* ]
|
|
36346
|
+
*/
|
|
36347
|
+
image_urls?: string[];
|
|
36348
|
+
/**
|
|
36349
|
+
* Number of Images
|
|
36350
|
+
* @description Number of images to generate.
|
|
36351
|
+
* @default 1
|
|
36352
|
+
*/
|
|
36353
|
+
num_images?: number;
|
|
36354
|
+
/**
|
|
36355
|
+
* Output Format
|
|
36356
|
+
* @description The format of the generated image.
|
|
36357
|
+
* @default jpeg
|
|
36358
|
+
* @enum {string}
|
|
36359
|
+
*/
|
|
36360
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
36361
|
+
/**
|
|
36362
|
+
* Profile Ids
|
|
36363
|
+
* @description List of profile IDs to use for the image generation. Profiles may be tagged in the prompt as @Profile1, @Profile2, etc.
|
|
36364
|
+
*/
|
|
36365
|
+
profile_ids?: string[];
|
|
36366
|
+
/**
|
|
36367
|
+
* Prompt
|
|
36368
|
+
* @description Text description of the desired image. To refer to specific profiles, use @Profile1, @Profile2, etc. Profiles will not be applied if not referenced in the prompt.
|
|
36369
|
+
* @example Make this scene more realistic but still keep the game vibes
|
|
36370
|
+
*/
|
|
36371
|
+
prompt: string;
|
|
36372
|
+
/**
|
|
36373
|
+
* Resolution
|
|
36374
|
+
* @description Resolution of the generated image.
|
|
36375
|
+
* @default 1K
|
|
36376
|
+
* @enum {string}
|
|
36377
|
+
*/
|
|
36378
|
+
resolution?: '1K' | '4K';
|
|
36379
|
+
/**
|
|
36380
|
+
* Sync Mode
|
|
36381
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
36382
|
+
* @default false
|
|
36383
|
+
*/
|
|
36384
|
+
sync_mode?: boolean;
|
|
36385
|
+
}
|
|
36386
|
+
|
|
36387
|
+
export interface PhotaEditOutput {
|
|
36388
|
+
/**
|
|
36389
|
+
* Images
|
|
36390
|
+
* @description The URL of the edited image.
|
|
36391
|
+
* @example [
|
|
36392
|
+
* {
|
|
36393
|
+
* "url": "https://v3b.fal.media/files/b/0a8b911d/XMqiVoO2ECXUZEUYmPl2l.jpg"
|
|
36394
|
+
* }
|
|
36395
|
+
* ]
|
|
36396
|
+
*/
|
|
36397
|
+
images: Components.ImageFile[];
|
|
36398
|
+
}
|
|
36399
|
+
|
|
36400
|
+
export interface PhotaCreateProfileInput {
|
|
36401
|
+
/**
|
|
36402
|
+
* Image ZIP URL
|
|
36403
|
+
* @description URL to a ZIP archive containing the profile images.
|
|
36404
|
+
*/
|
|
36405
|
+
image_data_url: string;
|
|
36406
|
+
}
|
|
36407
|
+
|
|
36408
|
+
export interface PhotaCreateProfileOutput {
|
|
36409
|
+
/**
|
|
36410
|
+
* Profile Id
|
|
36411
|
+
* @description The Photalabs profile ID.
|
|
36412
|
+
*/
|
|
36413
|
+
profile_id: string;
|
|
36414
|
+
}
|
|
36415
|
+
|
|
36416
|
+
export interface PhotaInput {
|
|
36417
|
+
/**
|
|
36418
|
+
* Aspect Ratio
|
|
36419
|
+
* @description Aspect ratio of the generated image.
|
|
36420
|
+
* @default auto
|
|
36421
|
+
* @enum {string}
|
|
36422
|
+
*/
|
|
36423
|
+
aspect_ratio?: 'auto' | '1:1' | '16:9' | '4:3' | '3:4' | '9:16';
|
|
36424
|
+
/**
|
|
36425
|
+
* Number of Images
|
|
36426
|
+
* @description Number of images to generate.
|
|
36427
|
+
* @default 1
|
|
36428
|
+
*/
|
|
36429
|
+
num_images?: number;
|
|
36430
|
+
/**
|
|
36431
|
+
* Output Format
|
|
36432
|
+
* @description The format of the generated image.
|
|
36433
|
+
* @default jpeg
|
|
36434
|
+
* @enum {string}
|
|
36435
|
+
*/
|
|
36436
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
36437
|
+
/**
|
|
36438
|
+
* Profile Ids
|
|
36439
|
+
* @description List of profile IDs to use for the image generation. Profiles may be tagged in the prompt as @Profile1, @Profile2, etc.
|
|
36440
|
+
*/
|
|
36441
|
+
profile_ids?: string[];
|
|
36442
|
+
/**
|
|
36443
|
+
* Prompt
|
|
36444
|
+
* @description Text description of the desired image. In case you wish to use specific profiles, refer to them as @Profile1, @Profile2, etc. Profiles will not be applied if not referenced in the prompt.
|
|
36445
|
+
* @example Middle Eastern man in traditional clothing sitting in a cool tent in the desert with a laptop
|
|
36446
|
+
*/
|
|
36447
|
+
prompt: string;
|
|
36448
|
+
/**
|
|
36449
|
+
* Resolution
|
|
36450
|
+
* @description Resolution of the generated image.
|
|
36451
|
+
* @default 1K
|
|
36452
|
+
* @enum {string}
|
|
36453
|
+
*/
|
|
36454
|
+
resolution?: '1K' | '4K';
|
|
36455
|
+
/**
|
|
36456
|
+
* Sync Mode
|
|
36457
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
36458
|
+
* @default false
|
|
36459
|
+
*/
|
|
36460
|
+
sync_mode?: boolean;
|
|
36461
|
+
}
|
|
36462
|
+
|
|
36463
|
+
export interface PhotaOutput {
|
|
36464
|
+
/**
|
|
36465
|
+
* Images
|
|
36466
|
+
* @description The URL of the generated image.
|
|
36467
|
+
* @example [
|
|
36468
|
+
* {
|
|
36469
|
+
* "url": "https://v3b.fal.media/files/b/0a8b90b7/9avg_nKJmcVinjQHJR_Ja.jpg"
|
|
36470
|
+
* }
|
|
36471
|
+
* ]
|
|
36472
|
+
*/
|
|
36473
|
+
images: Components.ImageFile[];
|
|
36474
|
+
}
|
|
36475
|
+
|
|
36291
36476
|
export interface PersonaplexRealtimeInput {
|
|
36292
36477
|
/**
|
|
36293
36478
|
* Audio
|
|
@@ -37465,7 +37650,7 @@ export interface ObjectRemovalMaskInput {
|
|
|
37465
37650
|
model?: 'low_quality' | 'medium_quality' | 'high_quality' | 'best_quality';
|
|
37466
37651
|
}
|
|
37467
37652
|
|
|
37468
|
-
export interface ObjectRemovalMaskOutput extends
|
|
37653
|
+
export interface ObjectRemovalMaskOutput extends SharedType_386 {}
|
|
37469
37654
|
|
|
37470
37655
|
export interface ObjectRemovalBboxInput {
|
|
37471
37656
|
/**
|
|
@@ -37502,7 +37687,7 @@ export interface ObjectRemovalBboxInput {
|
|
|
37502
37687
|
model?: 'low_quality' | 'medium_quality' | 'high_quality' | 'best_quality';
|
|
37503
37688
|
}
|
|
37504
37689
|
|
|
37505
|
-
export interface ObjectRemovalBboxOutput extends
|
|
37690
|
+
export interface ObjectRemovalBboxOutput extends SharedType_386 {}
|
|
37506
37691
|
|
|
37507
37692
|
export interface ObjectRemovalInput {
|
|
37508
37693
|
/**
|
|
@@ -37531,7 +37716,7 @@ export interface ObjectRemovalInput {
|
|
|
37531
37716
|
prompt: string;
|
|
37532
37717
|
}
|
|
37533
37718
|
|
|
37534
|
-
export interface ObjectRemovalOutput extends
|
|
37719
|
+
export interface ObjectRemovalOutput extends SharedType_386 {}
|
|
37535
37720
|
|
|
37536
37721
|
export interface NovaSrInput {
|
|
37537
37722
|
/**
|
|
@@ -49186,9 +49371,9 @@ export interface LightxRelightInput {
|
|
|
49186
49371
|
/**
|
|
49187
49372
|
* @description Relighting parameters (required for relight_condition_type='ic'). Not used for 'bg' (which expects a background image URL instead).
|
|
49188
49373
|
* @example {
|
|
49189
|
-
* "relight_prompt": "Sunlight",
|
|
49190
|
-
* "bg_source": "Right",
|
|
49191
49374
|
* "use_sky_mask": false,
|
|
49375
|
+
* "bg_source": "Right",
|
|
49376
|
+
* "relight_prompt": "Sunlight",
|
|
49192
49377
|
* "cfg": 2
|
|
49193
49378
|
* }
|
|
49194
49379
|
*/
|
|
@@ -58463,6 +58648,103 @@ export interface Hyper3dRodinOutput {
|
|
|
58463
58648
|
textures: Components.Image[];
|
|
58464
58649
|
}
|
|
58465
58650
|
|
|
58651
|
+
export interface HyWuEditInput {
|
|
58652
|
+
/**
|
|
58653
|
+
* Enable Safety Checker
|
|
58654
|
+
* @description If set to true, the safety checker will be enabled.
|
|
58655
|
+
* @default true
|
|
58656
|
+
*/
|
|
58657
|
+
enable_safety_checker?: boolean;
|
|
58658
|
+
/**
|
|
58659
|
+
* Enable Thinking
|
|
58660
|
+
* @description Enable thinking mode. The model reasons about the edit before generating, producing higher quality results at the cost of longer inference time. Disable for faster results on straightforward edits.
|
|
58661
|
+
* @default true
|
|
58662
|
+
*/
|
|
58663
|
+
enable_thinking?: boolean;
|
|
58664
|
+
/**
|
|
58665
|
+
* Image Size
|
|
58666
|
+
* @description The desired size of the generated image. If auto, image size will be determined by the model.
|
|
58667
|
+
* @default auto
|
|
58668
|
+
*/
|
|
58669
|
+
image_size?:
|
|
58670
|
+
| Components.ImageSize
|
|
58671
|
+
| (
|
|
58672
|
+
| 'auto'
|
|
58673
|
+
| 'square_hd'
|
|
58674
|
+
| 'square'
|
|
58675
|
+
| 'portrait_4_3'
|
|
58676
|
+
| 'portrait_16_9'
|
|
58677
|
+
| 'landscape_4_3'
|
|
58678
|
+
| 'landscape_16_9'
|
|
58679
|
+
);
|
|
58680
|
+
/**
|
|
58681
|
+
* Image Urls
|
|
58682
|
+
* @description URLs of input images for editing. Typically 2 images: the base image and the reference image. Supports up to 3 images.
|
|
58683
|
+
* @example [
|
|
58684
|
+
* "https://v3b.fal.media/files/b/0a933dff/BE-FgBximAbCJzZSgDNNw_input_1_1.png",
|
|
58685
|
+
* "https://v3b.fal.media/files/b/0a933dff/fNUqzO_Lxwvr-_-4BLeCV_input_1_2.png"
|
|
58686
|
+
* ]
|
|
58687
|
+
*/
|
|
58688
|
+
image_urls: string[];
|
|
58689
|
+
/**
|
|
58690
|
+
* Num Images
|
|
58691
|
+
* @description The number of images to generate.
|
|
58692
|
+
* @default 1
|
|
58693
|
+
*/
|
|
58694
|
+
num_images?: number;
|
|
58695
|
+
/**
|
|
58696
|
+
* Num Inference Steps
|
|
58697
|
+
* @description Number of diffusion denoising steps.
|
|
58698
|
+
* @default 30
|
|
58699
|
+
*/
|
|
58700
|
+
num_inference_steps?: number;
|
|
58701
|
+
/**
|
|
58702
|
+
* Output Format
|
|
58703
|
+
* @description The format of the generated image.
|
|
58704
|
+
* @default png
|
|
58705
|
+
* @enum {string}
|
|
58706
|
+
*/
|
|
58707
|
+
output_format?: 'jpeg' | 'png';
|
|
58708
|
+
/**
|
|
58709
|
+
* Prompt
|
|
58710
|
+
* @description The text prompt describing the desired edit. Supports both English and Chinese. Use specific instructions like 'Replace the clothing on figure 1 with the outfit from figure 2'.
|
|
58711
|
+
* @example Using image 1 as the base image, replace the outfit with the clothing from image 2 while keeping the subject, pose, and background unchanged.
|
|
58712
|
+
*/
|
|
58713
|
+
prompt: string;
|
|
58714
|
+
/**
|
|
58715
|
+
* Seed
|
|
58716
|
+
* @description Random seed for reproducible results. If None, a random seed is used.
|
|
58717
|
+
*/
|
|
58718
|
+
seed?: number;
|
|
58719
|
+
/**
|
|
58720
|
+
* Sync Mode
|
|
58721
|
+
* @description If True, the media will be returned as a data URI.
|
|
58722
|
+
* @default false
|
|
58723
|
+
*/
|
|
58724
|
+
sync_mode?: boolean;
|
|
58725
|
+
}
|
|
58726
|
+
|
|
58727
|
+
export interface HyWuEditOutput {
|
|
58728
|
+
/**
|
|
58729
|
+
* Images
|
|
58730
|
+
* @description A list of the generated/edited images.
|
|
58731
|
+
*/
|
|
58732
|
+
images: Components.Image[];
|
|
58733
|
+
/**
|
|
58734
|
+
* Seed
|
|
58735
|
+
* @description The seed used for generation.
|
|
58736
|
+
*/
|
|
58737
|
+
seed: number;
|
|
58738
|
+
/**
|
|
58739
|
+
* Timings
|
|
58740
|
+
* @description Performance timing breakdown.
|
|
58741
|
+
* @default {}
|
|
58742
|
+
*/
|
|
58743
|
+
timings?: {
|
|
58744
|
+
[key: string]: number;
|
|
58745
|
+
};
|
|
58746
|
+
}
|
|
58747
|
+
|
|
58466
58748
|
export interface Hunyuan3dV2TurboInput extends SharedType_df1 {}
|
|
58467
58749
|
|
|
58468
58750
|
export interface Hunyuan3dV2TurboOutput extends SharedType_7c0 {}
|
|
@@ -80948,7 +81230,7 @@ export interface BytedanceUpscalerUpscaleVideoOutput {
|
|
|
80948
81230
|
|
|
80949
81231
|
export interface BriaTextToImageHdInput extends SharedType_411 {}
|
|
80950
81232
|
|
|
80951
|
-
export interface BriaTextToImageHdOutput extends
|
|
81233
|
+
export interface BriaTextToImageHdOutput extends SharedType_a97 {}
|
|
80952
81234
|
|
|
80953
81235
|
export interface BriaTextToImageFastInput {
|
|
80954
81236
|
/**
|
|
@@ -81021,11 +81303,11 @@ export interface BriaTextToImageFastInput {
|
|
|
81021
81303
|
sync_mode?: boolean;
|
|
81022
81304
|
}
|
|
81023
81305
|
|
|
81024
|
-
export interface BriaTextToImageFastOutput extends
|
|
81306
|
+
export interface BriaTextToImageFastOutput extends SharedType_a97 {}
|
|
81025
81307
|
|
|
81026
81308
|
export interface BriaTextToImageBaseInput extends SharedType_411 {}
|
|
81027
81309
|
|
|
81028
|
-
export interface BriaTextToImageBaseOutput extends
|
|
81310
|
+
export interface BriaTextToImageBaseOutput extends SharedType_a97 {}
|
|
81029
81311
|
|
|
81030
81312
|
export interface BriaReimagineInput {
|
|
81031
81313
|
/**
|
|
@@ -81254,8 +81536,8 @@ export interface BriaGenfillOutput {
|
|
|
81254
81536
|
* @description Generated Images
|
|
81255
81537
|
* @example [
|
|
81256
81538
|
* {
|
|
81257
|
-
* "height": 768,
|
|
81258
81539
|
* "file_size": 1064550,
|
|
81540
|
+
* "height": 768,
|
|
81259
81541
|
* "file_name": "a0d138e6820c4ad58f1fd3c758f16047.png",
|
|
81260
81542
|
* "content_type": "image/png",
|
|
81261
81543
|
* "url": "https://storage.googleapis.com/falserverless/bria/bria_genfill_res.png",
|
|
@@ -81339,8 +81621,8 @@ export interface BriaExpandOutput {
|
|
|
81339
81621
|
/**
|
|
81340
81622
|
* @description The generated image
|
|
81341
81623
|
* @example {
|
|
81342
|
-
* "height": 674,
|
|
81343
81624
|
* "file_size": 1471342,
|
|
81625
|
+
* "height": 674,
|
|
81344
81626
|
* "file_name": "afa402a35ea742cdb5c3e219b2b19bfb.png",
|
|
81345
81627
|
* "content_type": "image/png",
|
|
81346
81628
|
* "url": "https://v3.fal.media/files/koala/8np-spgxxG-I1r3cjthRV_afa402a35ea742cdb5c3e219b2b19bfb.png",
|
|
@@ -81496,8 +81778,8 @@ export interface BriaBackgroundRemoveOutput {
|
|
|
81496
81778
|
/**
|
|
81497
81779
|
* @description The generated image
|
|
81498
81780
|
* @example {
|
|
81499
|
-
* "height": 1024,
|
|
81500
81781
|
* "file_size": 1076276,
|
|
81782
|
+
* "height": 1024,
|
|
81501
81783
|
* "file_name": "070c731993e949d993c10ef6283d335d.png",
|
|
81502
81784
|
* "content_type": "image/png",
|
|
81503
81785
|
* "url": "https://v3.fal.media/files/tiger/GQEMNjRyxSoza7N8LPPqb_070c731993e949d993c10ef6283d335d.png",
|