fal-endpoint-types 1.3.30 → 1.3.32
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.
|
@@ -2217,91 +2217,6 @@ export interface SharedType_f11 {
|
|
|
2217
2217
|
trigger_word?: string;
|
|
2218
2218
|
}
|
|
2219
2219
|
|
|
2220
|
-
export interface SharedType_efe {
|
|
2221
|
-
/**
|
|
2222
|
-
* Actual Prompt
|
|
2223
|
-
* @description The actual prompt used if prompt expansion was enabled
|
|
2224
|
-
*/
|
|
2225
|
-
actual_prompt?: string;
|
|
2226
|
-
/**
|
|
2227
|
-
* @description Generated 3D object in GLB format.
|
|
2228
|
-
* @example {
|
|
2229
|
-
* "file_size": 9314028,
|
|
2230
|
-
* "file_name": "model.glb",
|
|
2231
|
-
* "content_type": "model/gltf-binary",
|
|
2232
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
2233
|
-
* }
|
|
2234
|
-
*/
|
|
2235
|
-
model_glb: Components.File;
|
|
2236
|
-
/**
|
|
2237
|
-
* @description URLs for different 3D model formats
|
|
2238
|
-
* @example {
|
|
2239
|
-
* "fbx": {
|
|
2240
|
-
* "file_size": 5444380,
|
|
2241
|
-
* "file_name": "model.fbx",
|
|
2242
|
-
* "content_type": "application/octet-stream",
|
|
2243
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
2244
|
-
* },
|
|
2245
|
-
* "usdz": {
|
|
2246
|
-
* "file_size": 9834246,
|
|
2247
|
-
* "file_name": "model.usdz",
|
|
2248
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
2249
|
-
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
2250
|
-
* },
|
|
2251
|
-
* "obj": {
|
|
2252
|
-
* "file_size": 2755145,
|
|
2253
|
-
* "file_name": "model.obj",
|
|
2254
|
-
* "content_type": "text/plain",
|
|
2255
|
-
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
2256
|
-
* },
|
|
2257
|
-
* "glb": {
|
|
2258
|
-
* "file_size": 9314028,
|
|
2259
|
-
* "file_name": "model.glb",
|
|
2260
|
-
* "content_type": "model/gltf-binary",
|
|
2261
|
-
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
2262
|
-
* }
|
|
2263
|
-
* }
|
|
2264
|
-
*/
|
|
2265
|
-
model_urls: Components.ModelUrls;
|
|
2266
|
-
/**
|
|
2267
|
-
* Prompt
|
|
2268
|
-
* @description The text prompt used for generation
|
|
2269
|
-
* @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.
|
|
2270
|
-
*/
|
|
2271
|
-
prompt: string;
|
|
2272
|
-
/**
|
|
2273
|
-
* Seed
|
|
2274
|
-
* @description The seed used for generation
|
|
2275
|
-
* @example 4002110719
|
|
2276
|
-
*/
|
|
2277
|
-
seed?: number;
|
|
2278
|
-
/**
|
|
2279
|
-
* Texture Urls
|
|
2280
|
-
* @description Array of texture file objects
|
|
2281
|
-
* @example [
|
|
2282
|
-
* {
|
|
2283
|
-
* "base_color": {
|
|
2284
|
-
* "file_size": 4254502,
|
|
2285
|
-
* "file_name": "texture_0.png",
|
|
2286
|
-
* "content_type": "image/png",
|
|
2287
|
-
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
2288
|
-
* }
|
|
2289
|
-
* }
|
|
2290
|
-
* ]
|
|
2291
|
-
*/
|
|
2292
|
-
texture_urls?: Components.TextureFiles[];
|
|
2293
|
-
/**
|
|
2294
|
-
* @description Preview thumbnail of the generated model
|
|
2295
|
-
* @example {
|
|
2296
|
-
* "file_size": 173792,
|
|
2297
|
-
* "file_name": "preview.png",
|
|
2298
|
-
* "content_type": "image/png",
|
|
2299
|
-
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
2300
|
-
* }
|
|
2301
|
-
*/
|
|
2302
|
-
thumbnail?: Components.File;
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
2220
|
export interface SharedType_ef5 {
|
|
2306
2221
|
/**
|
|
2307
2222
|
* Apply Mask
|
|
@@ -2428,94 +2343,6 @@ export interface SharedType_ec2 {
|
|
|
2428
2343
|
video: Components.File;
|
|
2429
2344
|
}
|
|
2430
2345
|
|
|
2431
|
-
export interface SharedType_ec0 {
|
|
2432
|
-
/**
|
|
2433
|
-
* Art Style
|
|
2434
|
-
* @description Desired art style of the object. Note: enable_pbr should be false for sculpture style.
|
|
2435
|
-
* @default realistic
|
|
2436
|
-
* @enum {string}
|
|
2437
|
-
*/
|
|
2438
|
-
art_style?: 'realistic' | 'sculpture';
|
|
2439
|
-
/**
|
|
2440
|
-
* Enable Pbr
|
|
2441
|
-
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Should be false for sculpture style.
|
|
2442
|
-
* @default false
|
|
2443
|
-
*/
|
|
2444
|
-
enable_pbr?: boolean;
|
|
2445
|
-
/**
|
|
2446
|
-
* Enable Prompt Expansion
|
|
2447
|
-
* @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.
|
|
2448
|
-
* @default false
|
|
2449
|
-
*/
|
|
2450
|
-
enable_prompt_expansion?: boolean;
|
|
2451
|
-
/**
|
|
2452
|
-
* Enable Safety Checker
|
|
2453
|
-
* @description If set to true, input data will be checked for safety before processing.
|
|
2454
|
-
* @default true
|
|
2455
|
-
*/
|
|
2456
|
-
enable_safety_checker?: boolean;
|
|
2457
|
-
/**
|
|
2458
|
-
* Is A T Pose
|
|
2459
|
-
* @description Whether to generate the model in an A/T pose
|
|
2460
|
-
* @default false
|
|
2461
|
-
*/
|
|
2462
|
-
is_a_t_pose?: boolean;
|
|
2463
|
-
/**
|
|
2464
|
-
* Mode
|
|
2465
|
-
* @description Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
|
|
2466
|
-
* @default full
|
|
2467
|
-
* @enum {string}
|
|
2468
|
-
*/
|
|
2469
|
-
mode?: 'preview' | 'full';
|
|
2470
|
-
/**
|
|
2471
|
-
* Prompt
|
|
2472
|
-
* @description Describe what kind of object the 3D model is. Maximum 600 characters.
|
|
2473
|
-
* @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.
|
|
2474
|
-
*/
|
|
2475
|
-
prompt: string;
|
|
2476
|
-
/**
|
|
2477
|
-
* Seed
|
|
2478
|
-
* @description Seed for reproducible results. Same prompt and seed usually generate the same result.
|
|
2479
|
-
*/
|
|
2480
|
-
seed?: number;
|
|
2481
|
-
/**
|
|
2482
|
-
* Should Remesh
|
|
2483
|
-
* @description Whether to enable the remesh phase. When false, returns unprocessed triangular mesh.
|
|
2484
|
-
* @default true
|
|
2485
|
-
*/
|
|
2486
|
-
should_remesh?: boolean;
|
|
2487
|
-
/**
|
|
2488
|
-
* Symmetry Mode
|
|
2489
|
-
* @description Controls symmetry behavior during model generation.
|
|
2490
|
-
* @default auto
|
|
2491
|
-
* @enum {string}
|
|
2492
|
-
*/
|
|
2493
|
-
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
2494
|
-
/**
|
|
2495
|
-
* Target Polycount
|
|
2496
|
-
* @description Target number of polygons in the generated model
|
|
2497
|
-
* @default 30000
|
|
2498
|
-
*/
|
|
2499
|
-
target_polycount?: number;
|
|
2500
|
-
/**
|
|
2501
|
-
* Texture Image Url
|
|
2502
|
-
* @description 2D image to guide the texturing process (only used in 'full' mode)
|
|
2503
|
-
*/
|
|
2504
|
-
texture_image_url?: string;
|
|
2505
|
-
/**
|
|
2506
|
-
* Texture Prompt
|
|
2507
|
-
* @description Additional text prompt to guide the texturing process (only used in 'full' mode)
|
|
2508
|
-
*/
|
|
2509
|
-
texture_prompt?: string;
|
|
2510
|
-
/**
|
|
2511
|
-
* Topology
|
|
2512
|
-
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
2513
|
-
* @default triangle
|
|
2514
|
-
* @enum {string}
|
|
2515
|
-
*/
|
|
2516
|
-
topology?: 'quad' | 'triangle';
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
2346
|
export interface SharedType_eba {
|
|
2520
2347
|
/**
|
|
2521
2348
|
* @description The generated video.
|
|
@@ -3501,6 +3328,26 @@ export interface SharedType_d94 {
|
|
|
3501
3328
|
video: Components.File;
|
|
3502
3329
|
}
|
|
3503
3330
|
|
|
3331
|
+
export interface SharedType_d661 {
|
|
3332
|
+
/**
|
|
3333
|
+
* Image Url
|
|
3334
|
+
* @description The URL of the image to be processed.
|
|
3335
|
+
* @example https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg
|
|
3336
|
+
* @example http://ecx.images-amazon.com/images/I/51UUzBDAMsL.jpg
|
|
3337
|
+
*/
|
|
3338
|
+
image_url: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* @description The user input coordinates
|
|
3341
|
+
* @example {
|
|
3342
|
+
* "x1": 100,
|
|
3343
|
+
* "x2": 200,
|
|
3344
|
+
* "y1": 100,
|
|
3345
|
+
* "y2": 200
|
|
3346
|
+
* }
|
|
3347
|
+
*/
|
|
3348
|
+
region: Components.Region;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3504
3351
|
export interface SharedType_d66 {
|
|
3505
3352
|
audio_setting?: Components.AudioSetting;
|
|
3506
3353
|
/**
|
|
@@ -3576,6 +3423,90 @@ export interface SharedType_d66 {
|
|
|
3576
3423
|
voice_setting?: Components.VoiceSetting;
|
|
3577
3424
|
}
|
|
3578
3425
|
|
|
3426
|
+
export interface SharedType_d53 {
|
|
3427
|
+
animation_fbx?: Components.File;
|
|
3428
|
+
animation_glb?: Components.File;
|
|
3429
|
+
basic_animations?: Components.BasicAnimations;
|
|
3430
|
+
/**
|
|
3431
|
+
* @description Generated 3D object in GLB format.
|
|
3432
|
+
* @example {
|
|
3433
|
+
* "file_size": 9242744,
|
|
3434
|
+
* "file_name": "model.glb",
|
|
3435
|
+
* "content_type": "model/gltf-binary",
|
|
3436
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
3437
|
+
* }
|
|
3438
|
+
*/
|
|
3439
|
+
model_glb: Components.File;
|
|
3440
|
+
/**
|
|
3441
|
+
* @description URLs for different 3D model formats
|
|
3442
|
+
* @example {
|
|
3443
|
+
* "fbx": {
|
|
3444
|
+
* "file_size": 5427052,
|
|
3445
|
+
* "file_name": "model.fbx",
|
|
3446
|
+
* "content_type": "application/octet-stream",
|
|
3447
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
3448
|
+
* },
|
|
3449
|
+
* "usdz": {
|
|
3450
|
+
* "file_size": 9991969,
|
|
3451
|
+
* "file_name": "model.usdz",
|
|
3452
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
3453
|
+
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
3454
|
+
* },
|
|
3455
|
+
* "obj": {
|
|
3456
|
+
* "file_size": 2744413,
|
|
3457
|
+
* "file_name": "model.obj",
|
|
3458
|
+
* "content_type": "text/plain",
|
|
3459
|
+
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
3460
|
+
* },
|
|
3461
|
+
* "glb": {
|
|
3462
|
+
* "file_size": 9242744,
|
|
3463
|
+
* "file_name": "model.glb",
|
|
3464
|
+
* "content_type": "model/gltf-binary",
|
|
3465
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
3466
|
+
* }
|
|
3467
|
+
* }
|
|
3468
|
+
*/
|
|
3469
|
+
model_urls: Components.ModelUrls;
|
|
3470
|
+
/**
|
|
3471
|
+
* Rig Task Id
|
|
3472
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
3473
|
+
*/
|
|
3474
|
+
rig_task_id?: string;
|
|
3475
|
+
rigged_character_fbx?: Components.File;
|
|
3476
|
+
rigged_character_glb?: Components.File;
|
|
3477
|
+
/**
|
|
3478
|
+
* Seed
|
|
3479
|
+
* @description The seed used for generation (if available)
|
|
3480
|
+
* @example 2009275957
|
|
3481
|
+
*/
|
|
3482
|
+
seed?: number;
|
|
3483
|
+
/**
|
|
3484
|
+
* Texture Urls
|
|
3485
|
+
* @description Array of texture file objects, matching Meshy API structure
|
|
3486
|
+
* @example [
|
|
3487
|
+
* {
|
|
3488
|
+
* "base_color": {
|
|
3489
|
+
* "file_size": 4328755,
|
|
3490
|
+
* "file_name": "texture_0.png",
|
|
3491
|
+
* "content_type": "image/png",
|
|
3492
|
+
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
3493
|
+
* }
|
|
3494
|
+
* }
|
|
3495
|
+
* ]
|
|
3496
|
+
*/
|
|
3497
|
+
texture_urls?: Components.TextureFiles[];
|
|
3498
|
+
/**
|
|
3499
|
+
* @description Preview thumbnail of the generated model
|
|
3500
|
+
* @example {
|
|
3501
|
+
* "file_size": 54279,
|
|
3502
|
+
* "file_name": "preview.png",
|
|
3503
|
+
* "content_type": "image/png",
|
|
3504
|
+
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
3505
|
+
* }
|
|
3506
|
+
*/
|
|
3507
|
+
thumbnail?: Components.File;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3579
3510
|
export interface SharedType_d35 {
|
|
3580
3511
|
/**
|
|
3581
3512
|
* Audio Url
|
|
@@ -4107,23 +4038,6 @@ export interface SharedType_cb4 {
|
|
|
4107
4038
|
sync_mode?: boolean;
|
|
4108
4039
|
}
|
|
4109
4040
|
|
|
4110
|
-
export interface SharedType_caf {
|
|
4111
|
-
/**
|
|
4112
|
-
* Audio Url
|
|
4113
|
-
* @description URL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech.
|
|
4114
|
-
*/
|
|
4115
|
-
audio_url?: string;
|
|
4116
|
-
character: Components.Character;
|
|
4117
|
-
/**
|
|
4118
|
-
* Resolution
|
|
4119
|
-
* @description Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p
|
|
4120
|
-
* @default 720p
|
|
4121
|
-
* @enum {string}
|
|
4122
|
-
*/
|
|
4123
|
-
resolution?: '360p' | '480p' | '540p' | '720p' | '1080p';
|
|
4124
|
-
voice: Components.TextVoice;
|
|
4125
|
-
}
|
|
4126
|
-
|
|
4127
4041
|
export interface SharedType_ca4 {
|
|
4128
4042
|
/**
|
|
4129
4043
|
* Aspect Ratio
|
|
@@ -4577,6 +4491,40 @@ export interface SharedType_bda {
|
|
|
4577
4491
|
video_url: string;
|
|
4578
4492
|
}
|
|
4579
4493
|
|
|
4494
|
+
export interface SharedType_bbf {
|
|
4495
|
+
/**
|
|
4496
|
+
* @description The generated SVG file containing vector glyphs.
|
|
4497
|
+
* @example {
|
|
4498
|
+
* "file_size": 959,
|
|
4499
|
+
* "file_name": "180c718ac5d8407092d0688ea2605f0c.svg",
|
|
4500
|
+
* "content_type": "image/svg+xml",
|
|
4501
|
+
* "url": "https://v3b.fal.media/files/b/0a90bfc3/0f8Su2aQUzPQy4NZMDQpp_180c718ac5d8407092d0688ea2605f0c.svg"
|
|
4502
|
+
* }
|
|
4503
|
+
*/
|
|
4504
|
+
image: Components.File;
|
|
4505
|
+
/**
|
|
4506
|
+
* Seed
|
|
4507
|
+
* @description The seed used for generation.
|
|
4508
|
+
* @example 1835785439
|
|
4509
|
+
*/
|
|
4510
|
+
seed: number;
|
|
4511
|
+
/**
|
|
4512
|
+
* Svg Content
|
|
4513
|
+
* @description Raw SVG content as a string.
|
|
4514
|
+
*/
|
|
4515
|
+
svg_content: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* Timings
|
|
4518
|
+
* @description Timing breakdown of the generation process.
|
|
4519
|
+
* @example {
|
|
4520
|
+
* "inference": 10.83
|
|
4521
|
+
* }
|
|
4522
|
+
*/
|
|
4523
|
+
timings: {
|
|
4524
|
+
[key: string]: number;
|
|
4525
|
+
};
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4580
4528
|
export interface SharedType_bb3 {
|
|
4581
4529
|
/**
|
|
4582
4530
|
* Aspect Ratio
|
|
@@ -5094,91 +5042,6 @@ export interface SharedType_b03 {
|
|
|
5094
5042
|
video_url: string;
|
|
5095
5043
|
}
|
|
5096
5044
|
|
|
5097
|
-
export interface SharedType_b02 {
|
|
5098
|
-
/**
|
|
5099
|
-
* Aspect Ratio
|
|
5100
|
-
* @description The aspect ratio of the generated image.
|
|
5101
|
-
* @default auto
|
|
5102
|
-
*/
|
|
5103
|
-
aspect_ratio?:
|
|
5104
|
-
| 'auto'
|
|
5105
|
-
| '21:9'
|
|
5106
|
-
| '16:9'
|
|
5107
|
-
| '3:2'
|
|
5108
|
-
| '4:3'
|
|
5109
|
-
| '5:4'
|
|
5110
|
-
| '1:1'
|
|
5111
|
-
| '4:5'
|
|
5112
|
-
| '3:4'
|
|
5113
|
-
| '2:3'
|
|
5114
|
-
| '9:16';
|
|
5115
|
-
/**
|
|
5116
|
-
* Enable Web Search
|
|
5117
|
-
* @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.
|
|
5118
|
-
* @default false
|
|
5119
|
-
*/
|
|
5120
|
-
enable_web_search?: boolean;
|
|
5121
|
-
/**
|
|
5122
|
-
* Image URLs
|
|
5123
|
-
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
5124
|
-
* @example [
|
|
5125
|
-
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
5126
|
-
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
5127
|
-
* ]
|
|
5128
|
-
*/
|
|
5129
|
-
image_urls: string[];
|
|
5130
|
-
/**
|
|
5131
|
-
* Limit Generations
|
|
5132
|
-
* @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 and ignore any intermediate images generated by the model. This may affect generation quality.
|
|
5133
|
-
* @default true
|
|
5134
|
-
*/
|
|
5135
|
-
limit_generations?: boolean;
|
|
5136
|
-
/**
|
|
5137
|
-
* Number of Images
|
|
5138
|
-
* @description The number of images to generate.
|
|
5139
|
-
* @default 1
|
|
5140
|
-
*/
|
|
5141
|
-
num_images?: number;
|
|
5142
|
-
/**
|
|
5143
|
-
* Output Format
|
|
5144
|
-
* @description The format of the generated image.
|
|
5145
|
-
* @default png
|
|
5146
|
-
* @enum {string}
|
|
5147
|
-
*/
|
|
5148
|
-
output_format?: 'jpeg' | 'png' | 'webp';
|
|
5149
|
-
/**
|
|
5150
|
-
* Prompt
|
|
5151
|
-
* @description The prompt for image editing.
|
|
5152
|
-
* @example make a photo of the man driving the car down the california coastline
|
|
5153
|
-
*/
|
|
5154
|
-
prompt: string;
|
|
5155
|
-
/**
|
|
5156
|
-
* Resolution
|
|
5157
|
-
* @description The resolution of the image to generate.
|
|
5158
|
-
* @default 1K
|
|
5159
|
-
* @enum {string}
|
|
5160
|
-
*/
|
|
5161
|
-
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
5162
|
-
/**
|
|
5163
|
-
* Safety Tolerance
|
|
5164
|
-
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
5165
|
-
* @default 4
|
|
5166
|
-
* @enum {string}
|
|
5167
|
-
*/
|
|
5168
|
-
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
5169
|
-
/**
|
|
5170
|
-
* Seed
|
|
5171
|
-
* @description The seed for the random number generator.
|
|
5172
|
-
*/
|
|
5173
|
-
seed?: number;
|
|
5174
|
-
/**
|
|
5175
|
-
* Sync Mode
|
|
5176
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
5177
|
-
* @default false
|
|
5178
|
-
*/
|
|
5179
|
-
sync_mode?: boolean;
|
|
5180
|
-
}
|
|
5181
|
-
|
|
5182
5045
|
export interface SharedType_af2 {
|
|
5183
5046
|
debug_latents: Components.File;
|
|
5184
5047
|
debug_per_pass_latents: Components.File;
|
|
@@ -5702,82 +5565,6 @@ export interface SharedType_9f4 {
|
|
|
5702
5565
|
reference_text?: string;
|
|
5703
5566
|
}
|
|
5704
5567
|
|
|
5705
|
-
export interface SharedType_9eb {
|
|
5706
|
-
/**
|
|
5707
|
-
* Aspect Ratio
|
|
5708
|
-
* @description The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.
|
|
5709
|
-
* @default auto
|
|
5710
|
-
*/
|
|
5711
|
-
aspect_ratio?:
|
|
5712
|
-
| 'auto'
|
|
5713
|
-
| '21:9'
|
|
5714
|
-
| '16:9'
|
|
5715
|
-
| '3:2'
|
|
5716
|
-
| '4:3'
|
|
5717
|
-
| '5:4'
|
|
5718
|
-
| '1:1'
|
|
5719
|
-
| '4:5'
|
|
5720
|
-
| '3:4'
|
|
5721
|
-
| '2:3'
|
|
5722
|
-
| '9:16';
|
|
5723
|
-
/**
|
|
5724
|
-
* Enable Web Search
|
|
5725
|
-
* @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.
|
|
5726
|
-
* @default false
|
|
5727
|
-
*/
|
|
5728
|
-
enable_web_search?: boolean;
|
|
5729
|
-
/**
|
|
5730
|
-
* Limit Generations
|
|
5731
|
-
* @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 and ignore any intermediate images generated by the model. This may affect generation quality.
|
|
5732
|
-
* @default true
|
|
5733
|
-
*/
|
|
5734
|
-
limit_generations?: boolean;
|
|
5735
|
-
/**
|
|
5736
|
-
* Number of Images
|
|
5737
|
-
* @description The number of images to generate.
|
|
5738
|
-
* @default 1
|
|
5739
|
-
*/
|
|
5740
|
-
num_images?: number;
|
|
5741
|
-
/**
|
|
5742
|
-
* Output Format
|
|
5743
|
-
* @description The format of the generated image.
|
|
5744
|
-
* @default png
|
|
5745
|
-
* @enum {string}
|
|
5746
|
-
*/
|
|
5747
|
-
output_format?: 'jpeg' | 'png' | 'webp';
|
|
5748
|
-
/**
|
|
5749
|
-
* Prompt
|
|
5750
|
-
* @description The text prompt to generate an image from.
|
|
5751
|
-
* @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.
|
|
5752
|
-
*/
|
|
5753
|
-
prompt: string;
|
|
5754
|
-
/**
|
|
5755
|
-
* Resolution
|
|
5756
|
-
* @description The resolution of the image to generate.
|
|
5757
|
-
* @default 1K
|
|
5758
|
-
* @enum {string}
|
|
5759
|
-
*/
|
|
5760
|
-
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
5761
|
-
/**
|
|
5762
|
-
* Safety Tolerance
|
|
5763
|
-
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
5764
|
-
* @default 4
|
|
5765
|
-
* @enum {string}
|
|
5766
|
-
*/
|
|
5767
|
-
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
5768
|
-
/**
|
|
5769
|
-
* Seed
|
|
5770
|
-
* @description The seed for the random number generator.
|
|
5771
|
-
*/
|
|
5772
|
-
seed?: number;
|
|
5773
|
-
/**
|
|
5774
|
-
* Sync Mode
|
|
5775
|
-
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
5776
|
-
* @default false
|
|
5777
|
-
*/
|
|
5778
|
-
sync_mode?: boolean;
|
|
5779
|
-
}
|
|
5780
|
-
|
|
5781
5568
|
export interface SharedType_9e4 {
|
|
5782
5569
|
/**
|
|
5783
5570
|
* @description The edited image with content erased
|
|
@@ -6026,75 +5813,6 @@ export interface SharedType_9cd {
|
|
|
6026
5813
|
video: Components.File;
|
|
6027
5814
|
}
|
|
6028
5815
|
|
|
6029
|
-
export interface SharedType_9af {
|
|
6030
|
-
/**
|
|
6031
|
-
* Enable Pbr
|
|
6032
|
-
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color
|
|
6033
|
-
* @default false
|
|
6034
|
-
*/
|
|
6035
|
-
enable_pbr?: boolean;
|
|
6036
|
-
/**
|
|
6037
|
-
* Enable Safety Checker
|
|
6038
|
-
* @description If set to true, input data will be checked for safety before processing.
|
|
6039
|
-
* @default true
|
|
6040
|
-
*/
|
|
6041
|
-
enable_safety_checker?: boolean;
|
|
6042
|
-
/**
|
|
6043
|
-
* Image Url
|
|
6044
|
-
* @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.
|
|
6045
|
-
* @example https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png
|
|
6046
|
-
*/
|
|
6047
|
-
image_url: string;
|
|
6048
|
-
/**
|
|
6049
|
-
* Is A T Pose
|
|
6050
|
-
* @description Whether to generate the model in an A/T pose
|
|
6051
|
-
* @default false
|
|
6052
|
-
*/
|
|
6053
|
-
is_a_t_pose?: boolean;
|
|
6054
|
-
/**
|
|
6055
|
-
* Should Remesh
|
|
6056
|
-
* @description Whether to enable the remesh phase
|
|
6057
|
-
* @default true
|
|
6058
|
-
*/
|
|
6059
|
-
should_remesh?: boolean;
|
|
6060
|
-
/**
|
|
6061
|
-
* Should Texture
|
|
6062
|
-
* @description Whether to generate textures
|
|
6063
|
-
* @default true
|
|
6064
|
-
*/
|
|
6065
|
-
should_texture?: boolean;
|
|
6066
|
-
/**
|
|
6067
|
-
* Symmetry Mode
|
|
6068
|
-
* @description Controls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry.
|
|
6069
|
-
* @default auto
|
|
6070
|
-
* @enum {string}
|
|
6071
|
-
*/
|
|
6072
|
-
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
6073
|
-
/**
|
|
6074
|
-
* Target Polycount
|
|
6075
|
-
* @description Target number of polygons in the generated model
|
|
6076
|
-
* @default 30000
|
|
6077
|
-
*/
|
|
6078
|
-
target_polycount?: number;
|
|
6079
|
-
/**
|
|
6080
|
-
* Texture Image Url
|
|
6081
|
-
* @description 2D image to guide the texturing process
|
|
6082
|
-
*/
|
|
6083
|
-
texture_image_url?: string;
|
|
6084
|
-
/**
|
|
6085
|
-
* Texture Prompt
|
|
6086
|
-
* @description Text prompt to guide the texturing process
|
|
6087
|
-
*/
|
|
6088
|
-
texture_prompt?: string;
|
|
6089
|
-
/**
|
|
6090
|
-
* Topology
|
|
6091
|
-
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
6092
|
-
* @default triangle
|
|
6093
|
-
* @enum {string}
|
|
6094
|
-
*/
|
|
6095
|
-
topology?: 'quad' | 'triangle';
|
|
6096
|
-
}
|
|
6097
|
-
|
|
6098
5816
|
export interface SharedType_9a7 {
|
|
6099
5817
|
/**
|
|
6100
5818
|
* @description The generated video.
|
|
@@ -7570,6 +7288,91 @@ export interface SharedType_804 {
|
|
|
7570
7288
|
video: Components.File;
|
|
7571
7289
|
}
|
|
7572
7290
|
|
|
7291
|
+
export interface SharedType_802 {
|
|
7292
|
+
/**
|
|
7293
|
+
* Aspect Ratio
|
|
7294
|
+
* @description The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use "auto" to let the model decide based on the prompt.
|
|
7295
|
+
* @default auto
|
|
7296
|
+
*/
|
|
7297
|
+
aspect_ratio?:
|
|
7298
|
+
| 'auto'
|
|
7299
|
+
| '21:9'
|
|
7300
|
+
| '16:9'
|
|
7301
|
+
| '3:2'
|
|
7302
|
+
| '4:3'
|
|
7303
|
+
| '5:4'
|
|
7304
|
+
| '1:1'
|
|
7305
|
+
| '4:5'
|
|
7306
|
+
| '3:4'
|
|
7307
|
+
| '2:3'
|
|
7308
|
+
| '9:16'
|
|
7309
|
+
| '4:1'
|
|
7310
|
+
| '1:4'
|
|
7311
|
+
| '8:1'
|
|
7312
|
+
| '1:8';
|
|
7313
|
+
/**
|
|
7314
|
+
* Enable Web Search
|
|
7315
|
+
* @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.
|
|
7316
|
+
* @default false
|
|
7317
|
+
*/
|
|
7318
|
+
enable_web_search?: boolean;
|
|
7319
|
+
/**
|
|
7320
|
+
* Limit Generations
|
|
7321
|
+
* @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 and ignore any intermediate images generated by the model. This may affect generation quality.
|
|
7322
|
+
* @default true
|
|
7323
|
+
*/
|
|
7324
|
+
limit_generations?: boolean;
|
|
7325
|
+
/**
|
|
7326
|
+
* Number of Images
|
|
7327
|
+
* @description The number of images to generate.
|
|
7328
|
+
* @default 1
|
|
7329
|
+
*/
|
|
7330
|
+
num_images?: number;
|
|
7331
|
+
/**
|
|
7332
|
+
* Output Format
|
|
7333
|
+
* @description The format of the generated image.
|
|
7334
|
+
* @default png
|
|
7335
|
+
* @enum {string}
|
|
7336
|
+
*/
|
|
7337
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
7338
|
+
/**
|
|
7339
|
+
* Prompt
|
|
7340
|
+
* @description The text prompt to generate an image from.
|
|
7341
|
+
* @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.
|
|
7342
|
+
*/
|
|
7343
|
+
prompt: string;
|
|
7344
|
+
/**
|
|
7345
|
+
* Resolution
|
|
7346
|
+
* @description The resolution of the image to generate.
|
|
7347
|
+
* @default 1K
|
|
7348
|
+
* @enum {string}
|
|
7349
|
+
*/
|
|
7350
|
+
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
7351
|
+
/**
|
|
7352
|
+
* Safety Tolerance
|
|
7353
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
7354
|
+
* @default 4
|
|
7355
|
+
* @enum {string}
|
|
7356
|
+
*/
|
|
7357
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
7358
|
+
/**
|
|
7359
|
+
* Seed
|
|
7360
|
+
* @description The seed for the random number generator.
|
|
7361
|
+
*/
|
|
7362
|
+
seed?: number;
|
|
7363
|
+
/**
|
|
7364
|
+
* Sync Mode
|
|
7365
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
7366
|
+
* @default false
|
|
7367
|
+
*/
|
|
7368
|
+
sync_mode?: boolean;
|
|
7369
|
+
/**
|
|
7370
|
+
* Thinking Level
|
|
7371
|
+
* @description When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.
|
|
7372
|
+
*/
|
|
7373
|
+
thinking_level?: 'minimal' | 'high';
|
|
7374
|
+
}
|
|
7375
|
+
|
|
7573
7376
|
export interface SharedType_800 {
|
|
7574
7377
|
/**
|
|
7575
7378
|
* Masks
|
|
@@ -7843,6 +7646,108 @@ export interface SharedType_7dd {
|
|
|
7843
7646
|
seed: number;
|
|
7844
7647
|
}
|
|
7845
7648
|
|
|
7649
|
+
export interface SharedType_7ca {
|
|
7650
|
+
/**
|
|
7651
|
+
* Animation Action Id
|
|
7652
|
+
* @description Animation preset ID from Meshy's library (500+ presets). Only used when enable_animation is true. See https://docs.meshy.ai/en/api/animation-library for available action IDs.
|
|
7653
|
+
* @default 1001
|
|
7654
|
+
* @example 1001
|
|
7655
|
+
*/
|
|
7656
|
+
animation_action_id?: number;
|
|
7657
|
+
/**
|
|
7658
|
+
* Enable Animation
|
|
7659
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
7660
|
+
* @default false
|
|
7661
|
+
*/
|
|
7662
|
+
enable_animation?: boolean;
|
|
7663
|
+
/**
|
|
7664
|
+
* Enable Pbr
|
|
7665
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color
|
|
7666
|
+
* @default false
|
|
7667
|
+
*/
|
|
7668
|
+
enable_pbr?: boolean;
|
|
7669
|
+
/**
|
|
7670
|
+
* Enable Rigging
|
|
7671
|
+
* @description Automatically rig the generated model as a humanoid character. Includes basic walking and running animations. Best results with humanoid characters that have clearly defined limbs.
|
|
7672
|
+
* @default false
|
|
7673
|
+
*/
|
|
7674
|
+
enable_rigging?: boolean;
|
|
7675
|
+
/**
|
|
7676
|
+
* Enable Safety Checker
|
|
7677
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
7678
|
+
* @default true
|
|
7679
|
+
*/
|
|
7680
|
+
enable_safety_checker?: boolean;
|
|
7681
|
+
/**
|
|
7682
|
+
* Image Url
|
|
7683
|
+
* @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.
|
|
7684
|
+
* @example https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png
|
|
7685
|
+
*/
|
|
7686
|
+
image_url: string;
|
|
7687
|
+
/**
|
|
7688
|
+
* Is A T Pose
|
|
7689
|
+
* @deprecated
|
|
7690
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
7691
|
+
* @default false
|
|
7692
|
+
*/
|
|
7693
|
+
is_a_t_pose?: boolean;
|
|
7694
|
+
/**
|
|
7695
|
+
* Pose Mode
|
|
7696
|
+
* @description Pose mode for the generated model. 'a-pose' generates an A-pose, 't-pose' generates a T-pose, empty string for no specific pose.
|
|
7697
|
+
* @default
|
|
7698
|
+
* @enum {string}
|
|
7699
|
+
*/
|
|
7700
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
7701
|
+
/**
|
|
7702
|
+
* Rigging Height Meters
|
|
7703
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
7704
|
+
* @default 1.7
|
|
7705
|
+
*/
|
|
7706
|
+
rigging_height_meters?: number;
|
|
7707
|
+
/**
|
|
7708
|
+
* Should Remesh
|
|
7709
|
+
* @description Whether to enable the remesh phase
|
|
7710
|
+
* @default true
|
|
7711
|
+
*/
|
|
7712
|
+
should_remesh?: boolean;
|
|
7713
|
+
/**
|
|
7714
|
+
* Should Texture
|
|
7715
|
+
* @description Whether to generate textures
|
|
7716
|
+
* @default true
|
|
7717
|
+
*/
|
|
7718
|
+
should_texture?: boolean;
|
|
7719
|
+
/**
|
|
7720
|
+
* Symmetry Mode
|
|
7721
|
+
* @description Controls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry.
|
|
7722
|
+
* @default auto
|
|
7723
|
+
* @enum {string}
|
|
7724
|
+
*/
|
|
7725
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
7726
|
+
/**
|
|
7727
|
+
* Target Polycount
|
|
7728
|
+
* @description Target number of polygons in the generated model
|
|
7729
|
+
* @default 30000
|
|
7730
|
+
*/
|
|
7731
|
+
target_polycount?: number;
|
|
7732
|
+
/**
|
|
7733
|
+
* Texture Image Url
|
|
7734
|
+
* @description 2D image to guide the texturing process
|
|
7735
|
+
*/
|
|
7736
|
+
texture_image_url?: string;
|
|
7737
|
+
/**
|
|
7738
|
+
* Texture Prompt
|
|
7739
|
+
* @description Text prompt to guide the texturing process
|
|
7740
|
+
*/
|
|
7741
|
+
texture_prompt?: string;
|
|
7742
|
+
/**
|
|
7743
|
+
* Topology
|
|
7744
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
7745
|
+
* @default triangle
|
|
7746
|
+
* @enum {string}
|
|
7747
|
+
*/
|
|
7748
|
+
topology?: 'quad' | 'triangle';
|
|
7749
|
+
}
|
|
7750
|
+
|
|
7846
7751
|
export interface SharedType_7c6 {
|
|
7847
7752
|
/**
|
|
7848
7753
|
* Has Nsfw Concepts
|
|
@@ -7919,80 +7824,6 @@ export interface SharedType_79c {
|
|
|
7919
7824
|
seed?: number;
|
|
7920
7825
|
}
|
|
7921
7826
|
|
|
7922
|
-
export interface SharedType_77c {
|
|
7923
|
-
/**
|
|
7924
|
-
* @description Generated 3D object in GLB format.
|
|
7925
|
-
* @example {
|
|
7926
|
-
* "file_size": 9242744,
|
|
7927
|
-
* "file_name": "model.glb",
|
|
7928
|
-
* "content_type": "model/gltf-binary",
|
|
7929
|
-
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7930
|
-
* }
|
|
7931
|
-
*/
|
|
7932
|
-
model_glb: Components.File;
|
|
7933
|
-
/**
|
|
7934
|
-
* @description URLs for different 3D model formats
|
|
7935
|
-
* @example {
|
|
7936
|
-
* "fbx": {
|
|
7937
|
-
* "file_size": 5427052,
|
|
7938
|
-
* "file_name": "model.fbx",
|
|
7939
|
-
* "content_type": "application/octet-stream",
|
|
7940
|
-
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
7941
|
-
* },
|
|
7942
|
-
* "usdz": {
|
|
7943
|
-
* "file_size": 9991969,
|
|
7944
|
-
* "file_name": "model.usdz",
|
|
7945
|
-
* "content_type": "model/vnd.usdz+zip",
|
|
7946
|
-
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
7947
|
-
* },
|
|
7948
|
-
* "obj": {
|
|
7949
|
-
* "file_size": 2744413,
|
|
7950
|
-
* "file_name": "model.obj",
|
|
7951
|
-
* "content_type": "text/plain",
|
|
7952
|
-
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
7953
|
-
* },
|
|
7954
|
-
* "glb": {
|
|
7955
|
-
* "file_size": 9242744,
|
|
7956
|
-
* "file_name": "model.glb",
|
|
7957
|
-
* "content_type": "model/gltf-binary",
|
|
7958
|
-
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7959
|
-
* }
|
|
7960
|
-
* }
|
|
7961
|
-
*/
|
|
7962
|
-
model_urls: Components.ModelUrls;
|
|
7963
|
-
/**
|
|
7964
|
-
* Seed
|
|
7965
|
-
* @description The seed used for generation (if available)
|
|
7966
|
-
* @example 2009275957
|
|
7967
|
-
*/
|
|
7968
|
-
seed?: number;
|
|
7969
|
-
/**
|
|
7970
|
-
* Texture Urls
|
|
7971
|
-
* @description Array of texture file objects, matching Meshy API structure
|
|
7972
|
-
* @example [
|
|
7973
|
-
* {
|
|
7974
|
-
* "base_color": {
|
|
7975
|
-
* "file_size": 4328755,
|
|
7976
|
-
* "file_name": "texture_0.png",
|
|
7977
|
-
* "content_type": "image/png",
|
|
7978
|
-
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
7979
|
-
* }
|
|
7980
|
-
* }
|
|
7981
|
-
* ]
|
|
7982
|
-
*/
|
|
7983
|
-
texture_urls?: Components.TextureFiles[];
|
|
7984
|
-
/**
|
|
7985
|
-
* @description Preview thumbnail of the generated model
|
|
7986
|
-
* @example {
|
|
7987
|
-
* "file_size": 54279,
|
|
7988
|
-
* "file_name": "preview.png",
|
|
7989
|
-
* "content_type": "image/png",
|
|
7990
|
-
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
7991
|
-
* }
|
|
7992
|
-
*/
|
|
7993
|
-
thumbnail?: Components.File;
|
|
7994
|
-
}
|
|
7995
|
-
|
|
7996
7827
|
export interface SharedType_778 {
|
|
7997
7828
|
/**
|
|
7998
7829
|
* Character Orientation
|
|
@@ -8091,6 +7922,101 @@ export interface SharedType_772 {
|
|
|
8091
7922
|
video_url: string;
|
|
8092
7923
|
}
|
|
8093
7924
|
|
|
7925
|
+
export interface SharedType_752 {
|
|
7926
|
+
/**
|
|
7927
|
+
* Actual Prompt
|
|
7928
|
+
* @description The actual prompt used if prompt expansion was enabled
|
|
7929
|
+
*/
|
|
7930
|
+
actual_prompt?: string;
|
|
7931
|
+
animation_fbx?: Components.File;
|
|
7932
|
+
animation_glb?: Components.File;
|
|
7933
|
+
basic_animations?: Components.BasicAnimations;
|
|
7934
|
+
/**
|
|
7935
|
+
* @description Generated 3D object in GLB format.
|
|
7936
|
+
* @example {
|
|
7937
|
+
* "file_size": 9314028,
|
|
7938
|
+
* "file_name": "model.glb",
|
|
7939
|
+
* "content_type": "model/gltf-binary",
|
|
7940
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
7941
|
+
* }
|
|
7942
|
+
*/
|
|
7943
|
+
model_glb: Components.File;
|
|
7944
|
+
/**
|
|
7945
|
+
* @description URLs for different 3D model formats
|
|
7946
|
+
* @example {
|
|
7947
|
+
* "fbx": {
|
|
7948
|
+
* "file_size": 5444380,
|
|
7949
|
+
* "file_name": "model.fbx",
|
|
7950
|
+
* "content_type": "application/octet-stream",
|
|
7951
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
7952
|
+
* },
|
|
7953
|
+
* "usdz": {
|
|
7954
|
+
* "file_size": 9834246,
|
|
7955
|
+
* "file_name": "model.usdz",
|
|
7956
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
7957
|
+
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
7958
|
+
* },
|
|
7959
|
+
* "obj": {
|
|
7960
|
+
* "file_size": 2755145,
|
|
7961
|
+
* "file_name": "model.obj",
|
|
7962
|
+
* "content_type": "text/plain",
|
|
7963
|
+
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
7964
|
+
* },
|
|
7965
|
+
* "glb": {
|
|
7966
|
+
* "file_size": 9314028,
|
|
7967
|
+
* "file_name": "model.glb",
|
|
7968
|
+
* "content_type": "model/gltf-binary",
|
|
7969
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
7970
|
+
* }
|
|
7971
|
+
* }
|
|
7972
|
+
*/
|
|
7973
|
+
model_urls: Components.ModelUrls;
|
|
7974
|
+
/**
|
|
7975
|
+
* Prompt
|
|
7976
|
+
* @description The text prompt used for generation
|
|
7977
|
+
* @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.
|
|
7978
|
+
*/
|
|
7979
|
+
prompt: string;
|
|
7980
|
+
/**
|
|
7981
|
+
* Rig Task Id
|
|
7982
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
7983
|
+
*/
|
|
7984
|
+
rig_task_id?: string;
|
|
7985
|
+
rigged_character_fbx?: Components.File;
|
|
7986
|
+
rigged_character_glb?: Components.File;
|
|
7987
|
+
/**
|
|
7988
|
+
* Seed
|
|
7989
|
+
* @description The seed used for generation
|
|
7990
|
+
* @example 4002110719
|
|
7991
|
+
*/
|
|
7992
|
+
seed?: number;
|
|
7993
|
+
/**
|
|
7994
|
+
* Texture Urls
|
|
7995
|
+
* @description Array of texture file objects
|
|
7996
|
+
* @example [
|
|
7997
|
+
* {
|
|
7998
|
+
* "base_color": {
|
|
7999
|
+
* "file_size": 4254502,
|
|
8000
|
+
* "file_name": "texture_0.png",
|
|
8001
|
+
* "content_type": "image/png",
|
|
8002
|
+
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
8003
|
+
* }
|
|
8004
|
+
* }
|
|
8005
|
+
* ]
|
|
8006
|
+
*/
|
|
8007
|
+
texture_urls?: Components.TextureFiles[];
|
|
8008
|
+
/**
|
|
8009
|
+
* @description Preview thumbnail of the generated model
|
|
8010
|
+
* @example {
|
|
8011
|
+
* "file_size": 173792,
|
|
8012
|
+
* "file_name": "preview.png",
|
|
8013
|
+
* "content_type": "image/png",
|
|
8014
|
+
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
8015
|
+
* }
|
|
8016
|
+
*/
|
|
8017
|
+
thumbnail?: Components.File;
|
|
8018
|
+
}
|
|
8019
|
+
|
|
8094
8020
|
export interface SharedType_751 {
|
|
8095
8021
|
video: Components.File;
|
|
8096
8022
|
}
|
|
@@ -9079,6 +9005,90 @@ export interface SharedType_5f1 {
|
|
|
9079
9005
|
};
|
|
9080
9006
|
}
|
|
9081
9007
|
|
|
9008
|
+
export interface SharedType_5ac {
|
|
9009
|
+
/**
|
|
9010
|
+
* Acoustic Cfg Scale
|
|
9011
|
+
* @description Classifier-free guidance scale for acoustic feature generation.
|
|
9012
|
+
* @default 1.6
|
|
9013
|
+
*/
|
|
9014
|
+
acoustic_cfg_scale?: number;
|
|
9015
|
+
/**
|
|
9016
|
+
* Audio Url
|
|
9017
|
+
* @description URL of the reference audio file for voice cloning. The model will replicate this speaker's voice characteristics.
|
|
9018
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/reference_audio.wav
|
|
9019
|
+
*/
|
|
9020
|
+
audio_url: string;
|
|
9021
|
+
/**
|
|
9022
|
+
* Language
|
|
9023
|
+
* @description Language for text alignment. Use the appropriate code for non-English synthesis.
|
|
9024
|
+
* @default en
|
|
9025
|
+
* @enum {string}
|
|
9026
|
+
*/
|
|
9027
|
+
language?: 'en' | 'ar' | 'ch' | 'de' | 'es' | 'fr' | 'it' | 'ja' | 'pl' | 'pt';
|
|
9028
|
+
/**
|
|
9029
|
+
* Noise Temperature
|
|
9030
|
+
* @description Temperature for noise in the flow matching diffusion process.
|
|
9031
|
+
* @default 0.9
|
|
9032
|
+
*/
|
|
9033
|
+
noise_temperature?: number;
|
|
9034
|
+
/**
|
|
9035
|
+
* Num Extra Steps
|
|
9036
|
+
* @description Number of extra autoregressive steps for speech continuation beyond the input text. Useful for generating trailing prosody or silence.
|
|
9037
|
+
* @default 0
|
|
9038
|
+
*/
|
|
9039
|
+
num_extra_steps?: number;
|
|
9040
|
+
/**
|
|
9041
|
+
* Num Inference Steps
|
|
9042
|
+
* @description Number of ODE solver steps for flow matching acoustic generation. More steps improve quality at the cost of speed.
|
|
9043
|
+
* @default 20
|
|
9044
|
+
*/
|
|
9045
|
+
num_inference_steps?: number;
|
|
9046
|
+
/**
|
|
9047
|
+
* Output Format
|
|
9048
|
+
* @description The format of the output audio file.
|
|
9049
|
+
* @default wav
|
|
9050
|
+
* @enum {string}
|
|
9051
|
+
*/
|
|
9052
|
+
output_format?: 'wav' | 'mp3';
|
|
9053
|
+
/**
|
|
9054
|
+
* Prompt
|
|
9055
|
+
* @description The text to synthesize into speech using the reference speaker's voice.
|
|
9056
|
+
* @example The autumn leaves danced gracefully through the crisp morning air, painting the cobblestone streets with shades of amber and gold.
|
|
9057
|
+
*/
|
|
9058
|
+
prompt: string;
|
|
9059
|
+
/**
|
|
9060
|
+
* Repetition Penalty
|
|
9061
|
+
* @description Penalty applied to repeated tokens during generation.
|
|
9062
|
+
* @default 1.1
|
|
9063
|
+
*/
|
|
9064
|
+
repetition_penalty?: number;
|
|
9065
|
+
/**
|
|
9066
|
+
* Speed Up Factor
|
|
9067
|
+
* @description Factor to speed up or slow down the generated speech. Values > 1.0 speed up, < 1.0 slow down.
|
|
9068
|
+
* @default 1
|
|
9069
|
+
*/
|
|
9070
|
+
speed_up_factor?: number;
|
|
9071
|
+
/**
|
|
9072
|
+
* Temperature
|
|
9073
|
+
* @description Sampling temperature for text token generation. Higher values produce more varied output.
|
|
9074
|
+
* @default 0.6
|
|
9075
|
+
*/
|
|
9076
|
+
temperature?: number;
|
|
9077
|
+
/**
|
|
9078
|
+
* Top P
|
|
9079
|
+
* @description Top-p (nucleus) sampling parameter for text generation.
|
|
9080
|
+
* @default 0.9
|
|
9081
|
+
*/
|
|
9082
|
+
top_p?: number;
|
|
9083
|
+
/**
|
|
9084
|
+
* Transcript
|
|
9085
|
+
* @description Transcript of the reference audio. For non-English audio, providing a transcript is required since the built-in ASR is English-only.
|
|
9086
|
+
* @default
|
|
9087
|
+
* @example Some call me nature, others call me mother nature.
|
|
9088
|
+
*/
|
|
9089
|
+
transcript?: string;
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9082
9092
|
export interface SharedType_5a8 {
|
|
9083
9093
|
/**
|
|
9084
9094
|
* Acceleration
|
|
@@ -10439,6 +10449,127 @@ export interface SharedType_479 {
|
|
|
10439
10449
|
sync_mode?: boolean;
|
|
10440
10450
|
}
|
|
10441
10451
|
|
|
10452
|
+
export interface SharedType_477 {
|
|
10453
|
+
/**
|
|
10454
|
+
* Animation Action Id
|
|
10455
|
+
* @description Animation preset ID from Meshy's library (500+ presets). Only used when enable_animation is true. See https://docs.meshy.ai/en/api/animation-library for available action IDs.
|
|
10456
|
+
* @default 1001
|
|
10457
|
+
* @example 1001
|
|
10458
|
+
*/
|
|
10459
|
+
animation_action_id?: number;
|
|
10460
|
+
/**
|
|
10461
|
+
* Art Style
|
|
10462
|
+
* @description Desired art style of the object. Note: enable_pbr should be false for sculpture style.
|
|
10463
|
+
* @default realistic
|
|
10464
|
+
* @enum {string}
|
|
10465
|
+
*/
|
|
10466
|
+
art_style?: 'realistic' | 'sculpture';
|
|
10467
|
+
/**
|
|
10468
|
+
* Enable Animation
|
|
10469
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
10470
|
+
* @default false
|
|
10471
|
+
*/
|
|
10472
|
+
enable_animation?: boolean;
|
|
10473
|
+
/**
|
|
10474
|
+
* Enable Pbr
|
|
10475
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Should be false for sculpture style.
|
|
10476
|
+
* @default false
|
|
10477
|
+
*/
|
|
10478
|
+
enable_pbr?: boolean;
|
|
10479
|
+
/**
|
|
10480
|
+
* Enable Prompt Expansion
|
|
10481
|
+
* @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.
|
|
10482
|
+
* @default false
|
|
10483
|
+
*/
|
|
10484
|
+
enable_prompt_expansion?: boolean;
|
|
10485
|
+
/**
|
|
10486
|
+
* Enable Rigging
|
|
10487
|
+
* @description Automatically rig the generated model as a humanoid character. Includes basic walking and running animations. Best results with humanoid characters that have clearly defined limbs.
|
|
10488
|
+
* @default false
|
|
10489
|
+
*/
|
|
10490
|
+
enable_rigging?: boolean;
|
|
10491
|
+
/**
|
|
10492
|
+
* Enable Safety Checker
|
|
10493
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
10494
|
+
* @default true
|
|
10495
|
+
*/
|
|
10496
|
+
enable_safety_checker?: boolean;
|
|
10497
|
+
/**
|
|
10498
|
+
* Is A T Pose
|
|
10499
|
+
* @deprecated
|
|
10500
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
10501
|
+
* @default false
|
|
10502
|
+
*/
|
|
10503
|
+
is_a_t_pose?: boolean;
|
|
10504
|
+
/**
|
|
10505
|
+
* Mode
|
|
10506
|
+
* @description Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
|
|
10507
|
+
* @default full
|
|
10508
|
+
* @enum {string}
|
|
10509
|
+
*/
|
|
10510
|
+
mode?: 'preview' | 'full';
|
|
10511
|
+
/**
|
|
10512
|
+
* Pose Mode
|
|
10513
|
+
* @description Pose mode for the generated model. 'a-pose' generates an A-pose, 't-pose' generates a T-pose, empty string for no specific pose.
|
|
10514
|
+
* @default
|
|
10515
|
+
* @enum {string}
|
|
10516
|
+
*/
|
|
10517
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
10518
|
+
/**
|
|
10519
|
+
* Prompt
|
|
10520
|
+
* @description Describe what kind of object the 3D model is. Maximum 600 characters.
|
|
10521
|
+
* @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.
|
|
10522
|
+
*/
|
|
10523
|
+
prompt: string;
|
|
10524
|
+
/**
|
|
10525
|
+
* Rigging Height Meters
|
|
10526
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
10527
|
+
* @default 1.7
|
|
10528
|
+
*/
|
|
10529
|
+
rigging_height_meters?: number;
|
|
10530
|
+
/**
|
|
10531
|
+
* Seed
|
|
10532
|
+
* @description Seed for reproducible results. Same prompt and seed usually generate the same result.
|
|
10533
|
+
*/
|
|
10534
|
+
seed?: number;
|
|
10535
|
+
/**
|
|
10536
|
+
* Should Remesh
|
|
10537
|
+
* @description Whether to enable the remesh phase. When false, returns unprocessed triangular mesh.
|
|
10538
|
+
* @default true
|
|
10539
|
+
*/
|
|
10540
|
+
should_remesh?: boolean;
|
|
10541
|
+
/**
|
|
10542
|
+
* Symmetry Mode
|
|
10543
|
+
* @description Controls symmetry behavior during model generation.
|
|
10544
|
+
* @default auto
|
|
10545
|
+
* @enum {string}
|
|
10546
|
+
*/
|
|
10547
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
10548
|
+
/**
|
|
10549
|
+
* Target Polycount
|
|
10550
|
+
* @description Target number of polygons in the generated model
|
|
10551
|
+
* @default 30000
|
|
10552
|
+
*/
|
|
10553
|
+
target_polycount?: number;
|
|
10554
|
+
/**
|
|
10555
|
+
* Texture Image Url
|
|
10556
|
+
* @description 2D image to guide the texturing process (only used in 'full' mode)
|
|
10557
|
+
*/
|
|
10558
|
+
texture_image_url?: string;
|
|
10559
|
+
/**
|
|
10560
|
+
* Texture Prompt
|
|
10561
|
+
* @description Additional text prompt to guide the texturing process (only used in 'full' mode)
|
|
10562
|
+
*/
|
|
10563
|
+
texture_prompt?: string;
|
|
10564
|
+
/**
|
|
10565
|
+
* Topology
|
|
10566
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
10567
|
+
* @default triangle
|
|
10568
|
+
* @enum {string}
|
|
10569
|
+
*/
|
|
10570
|
+
topology?: 'quad' | 'triangle';
|
|
10571
|
+
}
|
|
10572
|
+
|
|
10442
10573
|
export interface SharedType_46f {
|
|
10443
10574
|
/**
|
|
10444
10575
|
* @description The translated video file
|
|
@@ -11237,6 +11368,30 @@ export interface SharedType_352 {
|
|
|
11237
11368
|
};
|
|
11238
11369
|
}
|
|
11239
11370
|
|
|
11371
|
+
export interface SharedType_304 {
|
|
11372
|
+
/**
|
|
11373
|
+
* Aspect Ratio
|
|
11374
|
+
* @description Aspect ratio of the output video. Use '9:16' for portrait (vertical) videos, '16:9' for landscape, or '1:1' for square.
|
|
11375
|
+
* @default 16:9
|
|
11376
|
+
* @enum {string}
|
|
11377
|
+
*/
|
|
11378
|
+
aspect_ratio?: '16:9' | '9:16' | '1:1';
|
|
11379
|
+
/**
|
|
11380
|
+
* Audio Url
|
|
11381
|
+
* @description URL of an audio file for the avatar to lip-sync to. When provided, the avatar uses this audio instead of text-to-speech.
|
|
11382
|
+
*/
|
|
11383
|
+
audio_url?: string;
|
|
11384
|
+
character: Components.Character;
|
|
11385
|
+
/**
|
|
11386
|
+
* Resolution
|
|
11387
|
+
* @description Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p
|
|
11388
|
+
* @default 720p
|
|
11389
|
+
* @enum {string}
|
|
11390
|
+
*/
|
|
11391
|
+
resolution?: '360p' | '480p' | '540p' | '720p' | '1080p';
|
|
11392
|
+
voice: Components.TextVoice;
|
|
11393
|
+
}
|
|
11394
|
+
|
|
11240
11395
|
export interface SharedType_2e6 {
|
|
11241
11396
|
/**
|
|
11242
11397
|
* Aspect Ratio
|
|
@@ -12036,26 +12191,6 @@ export interface SharedType_1eb {
|
|
|
12036
12191
|
video: Components.File;
|
|
12037
12192
|
}
|
|
12038
12193
|
|
|
12039
|
-
export interface SharedType_1b5 {
|
|
12040
|
-
/**
|
|
12041
|
-
* Image Url
|
|
12042
|
-
* @description The URL of the image to be processed.
|
|
12043
|
-
* @example https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg
|
|
12044
|
-
* @example http://ecx.images-amazon.com/images/I/51UUzBDAMsL.jpg
|
|
12045
|
-
*/
|
|
12046
|
-
image_url: string;
|
|
12047
|
-
/**
|
|
12048
|
-
* @description The user input coordinates
|
|
12049
|
-
* @example {
|
|
12050
|
-
* "x1": 100,
|
|
12051
|
-
* "x2": 200,
|
|
12052
|
-
* "y2": 200,
|
|
12053
|
-
* "y1": 100
|
|
12054
|
-
* }
|
|
12055
|
-
*/
|
|
12056
|
-
region: Components.Region;
|
|
12057
|
-
}
|
|
12058
|
-
|
|
12059
12194
|
export interface SharedType_1b3 {
|
|
12060
12195
|
/**
|
|
12061
12196
|
* Seed
|
|
@@ -12093,6 +12228,100 @@ export interface SharedType_1af {
|
|
|
12093
12228
|
video: Components.VideoFile;
|
|
12094
12229
|
}
|
|
12095
12230
|
|
|
12231
|
+
export interface SharedType_19f {
|
|
12232
|
+
/**
|
|
12233
|
+
* Aspect Ratio
|
|
12234
|
+
* @description The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8.
|
|
12235
|
+
* @default auto
|
|
12236
|
+
*/
|
|
12237
|
+
aspect_ratio?:
|
|
12238
|
+
| 'auto'
|
|
12239
|
+
| '21:9'
|
|
12240
|
+
| '16:9'
|
|
12241
|
+
| '3:2'
|
|
12242
|
+
| '4:3'
|
|
12243
|
+
| '5:4'
|
|
12244
|
+
| '1:1'
|
|
12245
|
+
| '4:5'
|
|
12246
|
+
| '3:4'
|
|
12247
|
+
| '2:3'
|
|
12248
|
+
| '9:16'
|
|
12249
|
+
| '4:1'
|
|
12250
|
+
| '1:4'
|
|
12251
|
+
| '8:1'
|
|
12252
|
+
| '1:8';
|
|
12253
|
+
/**
|
|
12254
|
+
* Enable Web Search
|
|
12255
|
+
* @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.
|
|
12256
|
+
* @default false
|
|
12257
|
+
*/
|
|
12258
|
+
enable_web_search?: boolean;
|
|
12259
|
+
/**
|
|
12260
|
+
* Image URLs
|
|
12261
|
+
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
12262
|
+
* @example [
|
|
12263
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
12264
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
12265
|
+
* ]
|
|
12266
|
+
*/
|
|
12267
|
+
image_urls: string[];
|
|
12268
|
+
/**
|
|
12269
|
+
* Limit Generations
|
|
12270
|
+
* @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 and ignore any intermediate images generated by the model. This may affect generation quality.
|
|
12271
|
+
* @default true
|
|
12272
|
+
*/
|
|
12273
|
+
limit_generations?: boolean;
|
|
12274
|
+
/**
|
|
12275
|
+
* Number of Images
|
|
12276
|
+
* @description The number of images to generate.
|
|
12277
|
+
* @default 1
|
|
12278
|
+
*/
|
|
12279
|
+
num_images?: number;
|
|
12280
|
+
/**
|
|
12281
|
+
* Output Format
|
|
12282
|
+
* @description The format of the generated image.
|
|
12283
|
+
* @default png
|
|
12284
|
+
* @enum {string}
|
|
12285
|
+
*/
|
|
12286
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
12287
|
+
/**
|
|
12288
|
+
* Prompt
|
|
12289
|
+
* @description The prompt for image editing.
|
|
12290
|
+
* @example make a photo of the man driving the car down the california coastline
|
|
12291
|
+
*/
|
|
12292
|
+
prompt: string;
|
|
12293
|
+
/**
|
|
12294
|
+
* Resolution
|
|
12295
|
+
* @description The resolution of the image to generate.
|
|
12296
|
+
* @default 1K
|
|
12297
|
+
* @enum {string}
|
|
12298
|
+
*/
|
|
12299
|
+
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
12300
|
+
/**
|
|
12301
|
+
* Safety Tolerance
|
|
12302
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
12303
|
+
* @default 4
|
|
12304
|
+
* @enum {string}
|
|
12305
|
+
*/
|
|
12306
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
12307
|
+
/**
|
|
12308
|
+
* Seed
|
|
12309
|
+
* @description The seed for the random number generator.
|
|
12310
|
+
*/
|
|
12311
|
+
seed?: number;
|
|
12312
|
+
/**
|
|
12313
|
+
* Sync Mode
|
|
12314
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
12315
|
+
* @default false
|
|
12316
|
+
*/
|
|
12317
|
+
sync_mode?: boolean;
|
|
12318
|
+
/**
|
|
12319
|
+
* Thinking Level
|
|
12320
|
+
* @description When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.
|
|
12321
|
+
*/
|
|
12322
|
+
thinking_level?: 'minimal' | 'high';
|
|
12323
|
+
}
|
|
12324
|
+
|
|
12096
12325
|
export interface SharedType_197 {
|
|
12097
12326
|
image: Components.Image;
|
|
12098
12327
|
/**
|
|
@@ -13734,6 +13963,43 @@ export interface ResembleaiChatterboxhdSpeechToSpeechOutput {
|
|
|
13734
13963
|
audio: Components.File_1;
|
|
13735
13964
|
}
|
|
13736
13965
|
|
|
13966
|
+
export interface PixelcutBackgroundRemovalInput {
|
|
13967
|
+
/**
|
|
13968
|
+
* Image Url
|
|
13969
|
+
* @description Input image (JPEG or PNG)
|
|
13970
|
+
* @example https://cdn3.pixelcut.app/fal/background-remover/jewelry.jpg
|
|
13971
|
+
* @example https://cdn3.pixelcut.app/fal/background-remover/portrait.jpg
|
|
13972
|
+
*/
|
|
13973
|
+
image_url: string;
|
|
13974
|
+
/**
|
|
13975
|
+
* Output Format
|
|
13976
|
+
* @description Output format
|
|
13977
|
+
* @default rgba
|
|
13978
|
+
* @enum {string}
|
|
13979
|
+
*/
|
|
13980
|
+
output_format?: 'rgba' | 'alpha' | 'zip';
|
|
13981
|
+
/**
|
|
13982
|
+
* Sync Mode
|
|
13983
|
+
* @description When true, return result as a data URL instead of uploading to storage
|
|
13984
|
+
* @default true
|
|
13985
|
+
*/
|
|
13986
|
+
sync_mode?: boolean;
|
|
13987
|
+
}
|
|
13988
|
+
|
|
13989
|
+
export interface PixelcutBackgroundRemovalOutput {
|
|
13990
|
+
file?: Components.File;
|
|
13991
|
+
/**
|
|
13992
|
+
* @description Result image (for rgba/alpha output formats)
|
|
13993
|
+
* @example {
|
|
13994
|
+
* "url": "https://cdn3.pixelcut.app/fal/background-remover/jewelry_result.png"
|
|
13995
|
+
* }
|
|
13996
|
+
* @example {
|
|
13997
|
+
* "url": "https://cdn3.pixelcut.app/fal/background-remover/portrait_result.png"
|
|
13998
|
+
* }
|
|
13999
|
+
*/
|
|
14000
|
+
image?: Components.Image;
|
|
14001
|
+
}
|
|
14002
|
+
|
|
13737
14003
|
export interface PerceptronIsaac01Input {
|
|
13738
14004
|
/**
|
|
13739
14005
|
* Image Url
|
|
@@ -22615,6 +22881,185 @@ export interface Veo2Output {
|
|
|
22615
22881
|
video: Components.File;
|
|
22616
22882
|
}
|
|
22617
22883
|
|
|
22884
|
+
export interface VecglypherImageToSvgInput {
|
|
22885
|
+
/**
|
|
22886
|
+
* Enable Safety Checker
|
|
22887
|
+
* @description Enable input safety checking.
|
|
22888
|
+
* @default true
|
|
22889
|
+
*/
|
|
22890
|
+
enable_safety_checker?: boolean;
|
|
22891
|
+
/**
|
|
22892
|
+
* Fill Color
|
|
22893
|
+
* @description Fill color for the generated glyphs. Accepts any valid SVG/CSS color value.
|
|
22894
|
+
* @default black
|
|
22895
|
+
* @example black
|
|
22896
|
+
* @example #FF5733
|
|
22897
|
+
* @example rgb(255,87,51)
|
|
22898
|
+
* @example none
|
|
22899
|
+
*/
|
|
22900
|
+
fill_color?: string;
|
|
22901
|
+
/**
|
|
22902
|
+
* Max Tokens
|
|
22903
|
+
* @description Maximum tokens to generate.
|
|
22904
|
+
* @default 8192
|
|
22905
|
+
*/
|
|
22906
|
+
max_tokens?: number;
|
|
22907
|
+
/**
|
|
22908
|
+
* Output Size
|
|
22909
|
+
* @description Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved.
|
|
22910
|
+
* @default 512
|
|
22911
|
+
*/
|
|
22912
|
+
output_size?: number;
|
|
22913
|
+
/**
|
|
22914
|
+
* Prompt
|
|
22915
|
+
* @description The target text to generate as vector glyphs, styled to match the reference images.
|
|
22916
|
+
* @example g
|
|
22917
|
+
*/
|
|
22918
|
+
prompt: string;
|
|
22919
|
+
/**
|
|
22920
|
+
* Reference Image Urls
|
|
22921
|
+
* @description URLs of reference glyph images whose style should be matched. Provide 1 to 8 images of individual glyph characters.
|
|
22922
|
+
* @example [
|
|
22923
|
+
* "https://v3b.fal.media/files/b/0a90bfc2/IUtUCjqyIosJpS9_tcOIP_Screenshot%202026-03-03%20at%207.26.15%3FPM.png"
|
|
22924
|
+
* ]
|
|
22925
|
+
*/
|
|
22926
|
+
reference_image_urls: string[];
|
|
22927
|
+
/**
|
|
22928
|
+
* Repetition Penalty
|
|
22929
|
+
* @description Repetition penalty.
|
|
22930
|
+
* @default 1
|
|
22931
|
+
*/
|
|
22932
|
+
repetition_penalty?: number;
|
|
22933
|
+
/**
|
|
22934
|
+
* Seed
|
|
22935
|
+
* @description Random seed for reproducibility.
|
|
22936
|
+
*/
|
|
22937
|
+
seed?: number;
|
|
22938
|
+
/**
|
|
22939
|
+
* Stroke Color
|
|
22940
|
+
* @description Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path.
|
|
22941
|
+
* @example black
|
|
22942
|
+
* @example #333333
|
|
22943
|
+
* @example none
|
|
22944
|
+
*/
|
|
22945
|
+
stroke_color?: string;
|
|
22946
|
+
/**
|
|
22947
|
+
* Stroke Width
|
|
22948
|
+
* @description Stroke width in SVG units. Only applies when stroke_color is set.
|
|
22949
|
+
* @default 1
|
|
22950
|
+
*/
|
|
22951
|
+
stroke_width?: number;
|
|
22952
|
+
/**
|
|
22953
|
+
* Temperature
|
|
22954
|
+
* @description Sampling temperature.
|
|
22955
|
+
* @default 0.1
|
|
22956
|
+
*/
|
|
22957
|
+
temperature?: number;
|
|
22958
|
+
/**
|
|
22959
|
+
* Top K
|
|
22960
|
+
* @description Top-k sampling parameter.
|
|
22961
|
+
* @default 5
|
|
22962
|
+
*/
|
|
22963
|
+
top_k?: number;
|
|
22964
|
+
/**
|
|
22965
|
+
* Top P
|
|
22966
|
+
* @description Top-p (nucleus) sampling parameter.
|
|
22967
|
+
* @default 0.95
|
|
22968
|
+
*/
|
|
22969
|
+
top_p?: number;
|
|
22970
|
+
}
|
|
22971
|
+
|
|
22972
|
+
export interface VecglypherImageToSvgOutput extends SharedType_bbf {}
|
|
22973
|
+
|
|
22974
|
+
export interface VecglypherInput {
|
|
22975
|
+
/**
|
|
22976
|
+
* Enable Safety Checker
|
|
22977
|
+
* @description Enable input safety checking.
|
|
22978
|
+
* @default true
|
|
22979
|
+
*/
|
|
22980
|
+
enable_safety_checker?: boolean;
|
|
22981
|
+
/**
|
|
22982
|
+
* Fill Color
|
|
22983
|
+
* @description Fill color for the generated glyphs. Accepts any valid SVG/CSS color value.
|
|
22984
|
+
* @default black
|
|
22985
|
+
* @example black
|
|
22986
|
+
* @example #FF5733
|
|
22987
|
+
* @example rgb(255,87,51)
|
|
22988
|
+
* @example none
|
|
22989
|
+
*/
|
|
22990
|
+
fill_color?: string;
|
|
22991
|
+
/**
|
|
22992
|
+
* Max Tokens
|
|
22993
|
+
* @description Maximum tokens to generate. Increase for longer text.
|
|
22994
|
+
* @default 8192
|
|
22995
|
+
*/
|
|
22996
|
+
max_tokens?: number;
|
|
22997
|
+
/**
|
|
22998
|
+
* Output Size
|
|
22999
|
+
* @description Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved.
|
|
23000
|
+
* @default 512
|
|
23001
|
+
*/
|
|
23002
|
+
output_size?: number;
|
|
23003
|
+
/**
|
|
23004
|
+
* Prompt
|
|
23005
|
+
* @description The target text to generate as vector glyphs. Each character is rendered as a separate SVG path element.
|
|
23006
|
+
* @example g
|
|
23007
|
+
*/
|
|
23008
|
+
prompt: string;
|
|
23009
|
+
/**
|
|
23010
|
+
* Repetition Penalty
|
|
23011
|
+
* @description Repetition penalty to reduce repeated SVG path segments.
|
|
23012
|
+
* @default 1
|
|
23013
|
+
*/
|
|
23014
|
+
repetition_penalty?: number;
|
|
23015
|
+
/**
|
|
23016
|
+
* Seed
|
|
23017
|
+
* @description Random seed for reproducibility.
|
|
23018
|
+
*/
|
|
23019
|
+
seed?: number;
|
|
23020
|
+
/**
|
|
23021
|
+
* Stroke Color
|
|
23022
|
+
* @description Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path.
|
|
23023
|
+
* @example black
|
|
23024
|
+
* @example #333333
|
|
23025
|
+
* @example none
|
|
23026
|
+
*/
|
|
23027
|
+
stroke_color?: string;
|
|
23028
|
+
/**
|
|
23029
|
+
* Stroke Width
|
|
23030
|
+
* @description Stroke width in SVG units. Only applies when stroke_color is set.
|
|
23031
|
+
* @default 1
|
|
23032
|
+
*/
|
|
23033
|
+
stroke_width?: number;
|
|
23034
|
+
/**
|
|
23035
|
+
* Style Description
|
|
23036
|
+
* @description Font style description using typography terms such as weight (100-900), style (italic, oblique), category (serif, sans-serif, display, handwriting, monospace), and characteristics (geometric, humanist, condensed, rounded).
|
|
23037
|
+
* @default italic style, 400 weight, serif, text, elegant
|
|
23038
|
+
* @example italic style, 400 weight, serif, text, elegant
|
|
23039
|
+
*/
|
|
23040
|
+
style_description?: string;
|
|
23041
|
+
/**
|
|
23042
|
+
* Temperature
|
|
23043
|
+
* @description Sampling temperature. Lower values produce more deterministic output.
|
|
23044
|
+
* @default 0.1
|
|
23045
|
+
*/
|
|
23046
|
+
temperature?: number;
|
|
23047
|
+
/**
|
|
23048
|
+
* Top K
|
|
23049
|
+
* @description Top-k sampling parameter.
|
|
23050
|
+
* @default 5
|
|
23051
|
+
*/
|
|
23052
|
+
top_k?: number;
|
|
23053
|
+
/**
|
|
23054
|
+
* Top P
|
|
23055
|
+
* @description Top-p (nucleus) sampling parameter.
|
|
23056
|
+
* @default 0.95
|
|
23057
|
+
*/
|
|
23058
|
+
top_p?: number;
|
|
23059
|
+
}
|
|
23060
|
+
|
|
23061
|
+
export interface VecglypherOutput extends SharedType_bbf {}
|
|
23062
|
+
|
|
22618
23063
|
export interface UsoInput {
|
|
22619
23064
|
/**
|
|
22620
23065
|
* Safety Checker
|
|
@@ -23393,12 +23838,54 @@ export interface TranspixarOutput {
|
|
|
23393
23838
|
}
|
|
23394
23839
|
|
|
23395
23840
|
export interface TopazUpscaleVideoInput {
|
|
23841
|
+
/**
|
|
23842
|
+
* Compression
|
|
23843
|
+
* @description Compression artifact removal level (0.0-1.0). Default varies by model.
|
|
23844
|
+
*/
|
|
23845
|
+
compression?: number;
|
|
23846
|
+
/**
|
|
23847
|
+
* Grain
|
|
23848
|
+
* @description Film grain amount (0.0-1.0). Default varies by model.
|
|
23849
|
+
*/
|
|
23850
|
+
grain?: number;
|
|
23396
23851
|
/**
|
|
23397
23852
|
* H264 Output
|
|
23398
23853
|
* @description Whether to use H264 codec for output video. Default is H265.
|
|
23399
23854
|
* @default false
|
|
23400
23855
|
*/
|
|
23401
23856
|
H264_output?: boolean;
|
|
23857
|
+
/**
|
|
23858
|
+
* Halo
|
|
23859
|
+
* @description Halo reduction level (0.0-1.0). Default varies by model.
|
|
23860
|
+
*/
|
|
23861
|
+
halo?: number;
|
|
23862
|
+
/**
|
|
23863
|
+
* Model
|
|
23864
|
+
* @description Video enhancement model. Proteus is best for most videos, Artemis for denoise+sharpen, Nyx for dedicated denoising, Gaia for AI-generated/CG/animation content.
|
|
23865
|
+
* @default Proteus
|
|
23866
|
+
* @enum {string}
|
|
23867
|
+
*/
|
|
23868
|
+
model?:
|
|
23869
|
+
| 'Proteus'
|
|
23870
|
+
| 'Artemis HQ'
|
|
23871
|
+
| 'Artemis MQ'
|
|
23872
|
+
| 'Artemis LQ'
|
|
23873
|
+
| 'Nyx'
|
|
23874
|
+
| 'Nyx Fast'
|
|
23875
|
+
| 'Nyx XL'
|
|
23876
|
+
| 'Nyx HF'
|
|
23877
|
+
| 'Gaia HQ'
|
|
23878
|
+
| 'Gaia CG';
|
|
23879
|
+
/**
|
|
23880
|
+
* Noise
|
|
23881
|
+
* @description Noise reduction level (0.0-1.0). Default varies by model.
|
|
23882
|
+
*/
|
|
23883
|
+
noise?: number;
|
|
23884
|
+
/**
|
|
23885
|
+
* Recover Detail
|
|
23886
|
+
* @description Recover original detail level (0.0-1.0). Higher values preserve more original detail.
|
|
23887
|
+
*/
|
|
23888
|
+
recover_detail?: number;
|
|
23402
23889
|
/**
|
|
23403
23890
|
* Target Fps
|
|
23404
23891
|
* @description Target FPS for frame interpolation. If set, frame interpolation will be enabled.
|
|
@@ -23429,29 +23916,54 @@ export interface TopazUpscaleVideoOutput {
|
|
|
23429
23916
|
}
|
|
23430
23917
|
|
|
23431
23918
|
export interface TopazUpscaleImageInput {
|
|
23919
|
+
/**
|
|
23920
|
+
* Autoprompt
|
|
23921
|
+
* @description Enable automatic prompt generation for generative upscaling. Applies to Redefine model only.
|
|
23922
|
+
*/
|
|
23923
|
+
autoprompt?: boolean;
|
|
23924
|
+
/**
|
|
23925
|
+
* Creativity
|
|
23926
|
+
* @description Creativity level for generative upscaling (1-6). Higher values produce more creative/hallucinated details. Applies to Redefine model only.
|
|
23927
|
+
*/
|
|
23928
|
+
creativity?: number;
|
|
23432
23929
|
/**
|
|
23433
23930
|
* Crop To Fill
|
|
23434
23931
|
* @default false
|
|
23435
23932
|
*/
|
|
23436
23933
|
crop_to_fill?: boolean;
|
|
23934
|
+
/**
|
|
23935
|
+
* Denoise
|
|
23936
|
+
* @description Denoising level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
|
|
23937
|
+
*/
|
|
23938
|
+
denoise?: number;
|
|
23939
|
+
/**
|
|
23940
|
+
* Detail
|
|
23941
|
+
* @description Detail recovery level (0.0-1.0). Applies to Recovery V2 model only.
|
|
23942
|
+
*/
|
|
23943
|
+
detail?: number;
|
|
23437
23944
|
/**
|
|
23438
23945
|
* Face Enhancement
|
|
23439
|
-
* @description Whether to apply face enhancement to the image.
|
|
23946
|
+
* @description Whether to apply face enhancement to the image. Applies to standard enhance and Recovery V2 models.
|
|
23440
23947
|
* @default true
|
|
23441
23948
|
*/
|
|
23442
23949
|
face_enhancement?: boolean;
|
|
23443
23950
|
/**
|
|
23444
23951
|
* Face Enhancement Creativity
|
|
23445
|
-
* @description Creativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face
|
|
23952
|
+
* @description Creativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face enhancement is disabled.
|
|
23446
23953
|
* @default 0
|
|
23447
23954
|
*/
|
|
23448
23955
|
face_enhancement_creativity?: number;
|
|
23449
23956
|
/**
|
|
23450
23957
|
* Face Enhancement Strength
|
|
23451
|
-
* @description Strength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face
|
|
23958
|
+
* @description Strength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face enhancement is disabled.
|
|
23452
23959
|
* @default 0.8
|
|
23453
23960
|
*/
|
|
23454
23961
|
face_enhancement_strength?: number;
|
|
23962
|
+
/**
|
|
23963
|
+
* Fix Compression
|
|
23964
|
+
* @description Compression artifact removal level (0.0-1.0). Applies to Standard V2, Low Resolution V2, High Fidelity V2, and Text Refine models.
|
|
23965
|
+
*/
|
|
23966
|
+
fix_compression?: number;
|
|
23455
23967
|
/**
|
|
23456
23968
|
* Image Url
|
|
23457
23969
|
* @description Url of the image to be upscaled
|
|
@@ -23472,7 +23984,9 @@ export interface TopazUpscaleImageInput {
|
|
|
23472
23984
|
| 'Text Refine'
|
|
23473
23985
|
| 'Recovery'
|
|
23474
23986
|
| 'Redefine'
|
|
23475
|
-
| 'Recovery V2'
|
|
23987
|
+
| 'Recovery V2'
|
|
23988
|
+
| 'Standard MAX'
|
|
23989
|
+
| 'Wonder';
|
|
23476
23990
|
/**
|
|
23477
23991
|
* Output Format
|
|
23478
23992
|
* @description Output format of the upscaled image.
|
|
@@ -23480,16 +23994,36 @@ export interface TopazUpscaleImageInput {
|
|
|
23480
23994
|
* @enum {string}
|
|
23481
23995
|
*/
|
|
23482
23996
|
output_format?: 'jpeg' | 'png';
|
|
23997
|
+
/**
|
|
23998
|
+
* Prompt
|
|
23999
|
+
* @description Text prompt to guide generative upscaling (max 1024 chars). Applies to Redefine model only.
|
|
24000
|
+
*/
|
|
24001
|
+
prompt?: string;
|
|
24002
|
+
/**
|
|
24003
|
+
* Sharpen
|
|
24004
|
+
* @description Sharpening level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
|
|
24005
|
+
*/
|
|
24006
|
+
sharpen?: number;
|
|
24007
|
+
/**
|
|
24008
|
+
* Strength
|
|
24009
|
+
* @description Enhancement strength (0.01-1.0). Applies to Text Refine model only.
|
|
24010
|
+
*/
|
|
24011
|
+
strength?: number;
|
|
23483
24012
|
/**
|
|
23484
24013
|
* Subject Detection
|
|
23485
|
-
* @description Subject detection mode for the image enhancement.
|
|
24014
|
+
* @description Subject detection mode for the image enhancement. Applies to standard enhance and Recovery V2 models.
|
|
23486
24015
|
* @default All
|
|
23487
24016
|
* @enum {string}
|
|
23488
24017
|
*/
|
|
23489
24018
|
subject_detection?: 'All' | 'Foreground' | 'Background';
|
|
24019
|
+
/**
|
|
24020
|
+
* Texture
|
|
24021
|
+
* @description Texture detail level for generative upscaling (1-5). Applies to Redefine model only.
|
|
24022
|
+
*/
|
|
24023
|
+
texture?: number;
|
|
23490
24024
|
/**
|
|
23491
24025
|
* Upscale Factor
|
|
23492
|
-
* @description Factor to upscale the
|
|
24026
|
+
* @description Factor to upscale the image by (e.g. 2.0 doubles width and height)
|
|
23493
24027
|
* @default 2
|
|
23494
24028
|
*/
|
|
23495
24029
|
upscale_factor?: number;
|
|
@@ -23564,6 +24098,30 @@ export interface TheraInput {
|
|
|
23564
24098
|
|
|
23565
24099
|
export interface TheraOutput extends SharedType_678 {}
|
|
23566
24100
|
|
|
24101
|
+
export interface Tada3bTextToSpeechInput extends SharedType_5ac {}
|
|
24102
|
+
|
|
24103
|
+
export interface Tada3bTextToSpeechOutput {
|
|
24104
|
+
/**
|
|
24105
|
+
* @description The generated speech audio file.
|
|
24106
|
+
* @example {
|
|
24107
|
+
* "url": "https://v3b.fal.media/files/b/0a91e54b/Ldhq_0EWjUdnUEwn-Tcrk_nfs9DTGI.wav"
|
|
24108
|
+
* }
|
|
24109
|
+
*/
|
|
24110
|
+
audio: Components.AudioFile;
|
|
24111
|
+
}
|
|
24112
|
+
|
|
24113
|
+
export interface Tada1bTextToSpeechInput extends SharedType_5ac {}
|
|
24114
|
+
|
|
24115
|
+
export interface Tada1bTextToSpeechOutput {
|
|
24116
|
+
/**
|
|
24117
|
+
* @description The generated speech audio file.
|
|
24118
|
+
* @example {
|
|
24119
|
+
* "url": "https://v3b.fal.media/files/b/0a91e55e/HUVJsjW6QoDUBfg6HdM5e_B2R8G4X4.wav"
|
|
24120
|
+
* }
|
|
24121
|
+
*/
|
|
24122
|
+
audio: Components.AudioFile;
|
|
24123
|
+
}
|
|
24124
|
+
|
|
23567
24125
|
export interface T2vTurboInput {
|
|
23568
24126
|
/**
|
|
23569
24127
|
* Export Fps
|
|
@@ -23727,11 +24285,11 @@ export interface SyncLipsyncReact1Output {
|
|
|
23727
24285
|
* "height": 1088,
|
|
23728
24286
|
* "duration": 7.041667,
|
|
23729
24287
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/react_1/output.mp4",
|
|
23730
|
-
* "width": 1920,
|
|
23731
24288
|
* "fps": 24,
|
|
24289
|
+
* "width": 1920,
|
|
23732
24290
|
* "file_name": "output.mp4",
|
|
23733
|
-
* "
|
|
23734
|
-
* "
|
|
24291
|
+
* "content_type": "video/mp4",
|
|
24292
|
+
* "num_frames": 169
|
|
23735
24293
|
* }
|
|
23736
24294
|
*/
|
|
23737
24295
|
video: Components.VideoFile;
|
|
@@ -25204,6 +25762,11 @@ export interface Sora2TextToVideoProInput {
|
|
|
25204
25762
|
* @enum {string}
|
|
25205
25763
|
*/
|
|
25206
25764
|
aspect_ratio?: '9:16' | '16:9';
|
|
25765
|
+
/**
|
|
25766
|
+
* Character IDs
|
|
25767
|
+
* @description Up to two character IDs (from create-character) to use in the video. Refer to characters by name in the prompt. When set, only the OpenAI provider is used.
|
|
25768
|
+
*/
|
|
25769
|
+
character_ids?: string[];
|
|
25207
25770
|
/**
|
|
25208
25771
|
* Delete Video
|
|
25209
25772
|
* @description Whether to delete the video after generation for privacy reasons. If True, the video cannot be used for remixing and will be permanently deleted.
|
|
@@ -25222,7 +25785,7 @@ export interface Sora2TextToVideoProInput {
|
|
|
25222
25785
|
* @default 4
|
|
25223
25786
|
* @enum {integer}
|
|
25224
25787
|
*/
|
|
25225
|
-
duration?: 4 | 8 | 12;
|
|
25788
|
+
duration?: 4 | 8 | 12 | 16 | 20;
|
|
25226
25789
|
/**
|
|
25227
25790
|
* Prompt
|
|
25228
25791
|
* @description The text prompt describing the video you want to generate
|
|
@@ -25235,7 +25798,7 @@ export interface Sora2TextToVideoProInput {
|
|
|
25235
25798
|
* @default 1080p
|
|
25236
25799
|
* @enum {string}
|
|
25237
25800
|
*/
|
|
25238
|
-
resolution?: '720p' | '1080p';
|
|
25801
|
+
resolution?: '720p' | '1080p' | 'true_1080p';
|
|
25239
25802
|
}
|
|
25240
25803
|
|
|
25241
25804
|
export interface Sora2TextToVideoProOutput {
|
|
@@ -25265,6 +25828,11 @@ export interface Sora2TextToVideoInput {
|
|
|
25265
25828
|
* @enum {string}
|
|
25266
25829
|
*/
|
|
25267
25830
|
aspect_ratio?: '9:16' | '16:9';
|
|
25831
|
+
/**
|
|
25832
|
+
* Character IDs
|
|
25833
|
+
* @description Up to two character IDs (from create-character) to use in the video. Refer to characters by name in the prompt. When set, only the OpenAI provider is used.
|
|
25834
|
+
*/
|
|
25835
|
+
character_ids?: string[];
|
|
25268
25836
|
/**
|
|
25269
25837
|
* Delete Video
|
|
25270
25838
|
* @description Whether to delete the video after generation for privacy reasons. If True, the video cannot be used for remixing and will be permanently deleted.
|
|
@@ -25283,7 +25851,7 @@ export interface Sora2TextToVideoInput {
|
|
|
25283
25851
|
* @default 4
|
|
25284
25852
|
* @enum {integer}
|
|
25285
25853
|
*/
|
|
25286
|
-
duration?: 4 | 8 | 12;
|
|
25854
|
+
duration?: 4 | 8 | 12 | 16 | 20;
|
|
25287
25855
|
/**
|
|
25288
25856
|
* Model
|
|
25289
25857
|
* @description The model to use for the generation. When the default model is selected, the latest snapshot of the model will be used - otherwise, select a specific snapshot of the model.
|
|
@@ -25333,6 +25901,11 @@ export interface Sora2ImageToVideoProInput {
|
|
|
25333
25901
|
* @enum {string}
|
|
25334
25902
|
*/
|
|
25335
25903
|
aspect_ratio?: 'auto' | '9:16' | '16:9';
|
|
25904
|
+
/**
|
|
25905
|
+
* Character IDs
|
|
25906
|
+
* @description Up to two character IDs (from create-character) to use in the video. Refer to characters by name in the prompt. When set, only the OpenAI provider is used.
|
|
25907
|
+
*/
|
|
25908
|
+
character_ids?: string[];
|
|
25336
25909
|
/**
|
|
25337
25910
|
* Delete Video
|
|
25338
25911
|
* @description Whether to delete the video after generation for privacy reasons. If True, the video cannot be used for remixing and will be permanently deleted.
|
|
@@ -25351,7 +25924,7 @@ export interface Sora2ImageToVideoProInput {
|
|
|
25351
25924
|
* @default 4
|
|
25352
25925
|
* @enum {integer}
|
|
25353
25926
|
*/
|
|
25354
|
-
duration?: 4 | 8 | 12;
|
|
25927
|
+
duration?: 4 | 8 | 12 | 16 | 20;
|
|
25355
25928
|
/**
|
|
25356
25929
|
* Image URL
|
|
25357
25930
|
* @description The URL of the image to use as the first frame
|
|
@@ -25370,7 +25943,7 @@ export interface Sora2ImageToVideoProInput {
|
|
|
25370
25943
|
* @default auto
|
|
25371
25944
|
* @enum {string}
|
|
25372
25945
|
*/
|
|
25373
|
-
resolution?: 'auto' | '720p' | '1080p';
|
|
25946
|
+
resolution?: 'auto' | '720p' | '1080p' | 'true_1080p';
|
|
25374
25947
|
}
|
|
25375
25948
|
|
|
25376
25949
|
export interface Sora2ImageToVideoProOutput {
|
|
@@ -25400,6 +25973,11 @@ export interface Sora2ImageToVideoInput {
|
|
|
25400
25973
|
* @enum {string}
|
|
25401
25974
|
*/
|
|
25402
25975
|
aspect_ratio?: 'auto' | '9:16' | '16:9';
|
|
25976
|
+
/**
|
|
25977
|
+
* Character IDs
|
|
25978
|
+
* @description Up to two character IDs (from create-character) to use in the video. Refer to characters by name in the prompt. When set, only the OpenAI provider is used.
|
|
25979
|
+
*/
|
|
25980
|
+
character_ids?: string[];
|
|
25403
25981
|
/**
|
|
25404
25982
|
* Delete Video
|
|
25405
25983
|
* @description Whether to delete the video after generation for privacy reasons. If True, the video cannot be used for remixing and will be permanently deleted.
|
|
@@ -25418,7 +25996,7 @@ export interface Sora2ImageToVideoInput {
|
|
|
25418
25996
|
* @default 4
|
|
25419
25997
|
* @enum {integer}
|
|
25420
25998
|
*/
|
|
25421
|
-
duration?: 4 | 8 | 12;
|
|
25999
|
+
duration?: 4 | 8 | 12 | 16 | 20;
|
|
25422
26000
|
/**
|
|
25423
26001
|
* Image URL
|
|
25424
26002
|
* @description The URL of the image to use as the first frame
|
|
@@ -25545,12 +26123,11 @@ export interface SkyreelsI2vOutput {
|
|
|
25545
26123
|
*/
|
|
25546
26124
|
seed: number;
|
|
25547
26125
|
/**
|
|
25548
|
-
* Video
|
|
25549
26126
|
* @example {
|
|
25550
26127
|
* "url": "https://fal.media/files/elephant/yOOdaiC5clkH9K_5TTD32_video.mp4"
|
|
25551
26128
|
* }
|
|
25552
26129
|
*/
|
|
25553
|
-
video: Components.
|
|
26130
|
+
video: Components.File;
|
|
25554
26131
|
}
|
|
25555
26132
|
|
|
25556
26133
|
export interface SkyRaccoonInput {
|
|
@@ -34616,6 +35193,98 @@ export interface PiflowOutput {
|
|
|
34616
35193
|
seed: number;
|
|
34617
35194
|
}
|
|
34618
35195
|
|
|
35196
|
+
export interface PhysicEditInput {
|
|
35197
|
+
/**
|
|
35198
|
+
* Enable Safety Checker
|
|
35199
|
+
* @description Enable content safety checking on the output.
|
|
35200
|
+
* @default true
|
|
35201
|
+
*/
|
|
35202
|
+
enable_safety_checker?: boolean;
|
|
35203
|
+
/**
|
|
35204
|
+
* Guidance Scale
|
|
35205
|
+
* @description Classifier-free guidance scale. Higher values follow the prompt more closely.
|
|
35206
|
+
* @default 4
|
|
35207
|
+
*/
|
|
35208
|
+
guidance_scale?: number;
|
|
35209
|
+
/**
|
|
35210
|
+
* Image URL
|
|
35211
|
+
* @description URL of the image to edit with physics-aware transformations.
|
|
35212
|
+
* @example https://v3b.fal.media/files/b/0a91d47e/NG382xuDf06EcPCaS2eW3_Signature_Ice_Sculptures-03.jpg
|
|
35213
|
+
*/
|
|
35214
|
+
image_url: string;
|
|
35215
|
+
/**
|
|
35216
|
+
* Negative Prompt
|
|
35217
|
+
* @description Description of unwanted elements in the output.
|
|
35218
|
+
* @default
|
|
35219
|
+
*/
|
|
35220
|
+
negative_prompt?: string;
|
|
35221
|
+
/**
|
|
35222
|
+
* Num Inference Steps
|
|
35223
|
+
* @description Number of denoising steps. More steps generally produce higher quality but take longer.
|
|
35224
|
+
* @default 40
|
|
35225
|
+
*/
|
|
35226
|
+
num_inference_steps?: number;
|
|
35227
|
+
/**
|
|
35228
|
+
* Output Format
|
|
35229
|
+
* @description The format of the generated image.
|
|
35230
|
+
* @default jpeg
|
|
35231
|
+
* @enum {string}
|
|
35232
|
+
*/
|
|
35233
|
+
output_format?: 'jpeg' | 'png';
|
|
35234
|
+
/**
|
|
35235
|
+
* Prompt
|
|
35236
|
+
* @description The editing instruction describing the physical transformation to apply.
|
|
35237
|
+
* @example Make the ice sculpture melt gradually, with water pooling beneath and light refracting through the translucent surface
|
|
35238
|
+
*/
|
|
35239
|
+
prompt: string;
|
|
35240
|
+
/**
|
|
35241
|
+
* Seed
|
|
35242
|
+
* @description Random seed for reproducibility. Same seed and prompt produce identical output.
|
|
35243
|
+
*/
|
|
35244
|
+
seed?: number;
|
|
35245
|
+
/**
|
|
35246
|
+
* Sync Mode
|
|
35247
|
+
* @description If True, the image will be returned as a data URI.
|
|
35248
|
+
* @default false
|
|
35249
|
+
*/
|
|
35250
|
+
sync_mode?: boolean;
|
|
35251
|
+
}
|
|
35252
|
+
|
|
35253
|
+
export interface PhysicEditOutput {
|
|
35254
|
+
/**
|
|
35255
|
+
* Has Nsfw Concepts
|
|
35256
|
+
* @description Whether the generated images contain NSFW concepts.
|
|
35257
|
+
*/
|
|
35258
|
+
has_nsfw_concepts: boolean[];
|
|
35259
|
+
/**
|
|
35260
|
+
* Images
|
|
35261
|
+
* @description The edited images.
|
|
35262
|
+
* @example [
|
|
35263
|
+
* {
|
|
35264
|
+
* "height": 1152,
|
|
35265
|
+
* "content_type": "image/jpeg",
|
|
35266
|
+
* "url": "https://v3b.fal.media/files/b/0a91cf62/DdpKY15kkD6N6v66uJ0q1.jpg",
|
|
35267
|
+
* "width": 864
|
|
35268
|
+
* }
|
|
35269
|
+
* ]
|
|
35270
|
+
*/
|
|
35271
|
+
images: Components.Image[];
|
|
35272
|
+
/**
|
|
35273
|
+
* Prompt
|
|
35274
|
+
* @description The prompt used for generating the image.
|
|
35275
|
+
*/
|
|
35276
|
+
prompt: string;
|
|
35277
|
+
/**
|
|
35278
|
+
* Seed
|
|
35279
|
+
* @description Seed of the generated Image. It will be the same value of the one passed in the
|
|
35280
|
+
* input or the randomly generated that was used in case none was passed.
|
|
35281
|
+
*/
|
|
35282
|
+
seed: number;
|
|
35283
|
+
timings: {
|
|
35284
|
+
[key: string]: number;
|
|
35285
|
+
};
|
|
35286
|
+
}
|
|
35287
|
+
|
|
34619
35288
|
export interface PhotomakerInput {
|
|
34620
35289
|
/**
|
|
34621
35290
|
* Base Pipeline
|
|
@@ -35980,11 +36649,11 @@ export interface NanoBananaProInput extends SharedType_065 {}
|
|
|
35980
36649
|
|
|
35981
36650
|
export interface NanoBananaProOutput extends SharedType_ee9 {}
|
|
35982
36651
|
|
|
35983
|
-
export interface NanoBanana2EditInput extends
|
|
36652
|
+
export interface NanoBanana2EditInput extends SharedType_19f {}
|
|
35984
36653
|
|
|
35985
36654
|
export interface NanoBanana2EditOutput extends SharedType_4c2 {}
|
|
35986
36655
|
|
|
35987
|
-
export interface NanoBanana2Input extends
|
|
36656
|
+
export interface NanoBanana2Input extends SharedType_802 {}
|
|
35988
36657
|
|
|
35989
36658
|
export interface NanoBanana2Output extends SharedType_c92 {}
|
|
35990
36659
|
|
|
@@ -36067,13 +36736,7 @@ export interface MusetalkInput {
|
|
|
36067
36736
|
source_video_url: string;
|
|
36068
36737
|
}
|
|
36069
36738
|
|
|
36070
|
-
export interface MusetalkOutput {
|
|
36071
|
-
/**
|
|
36072
|
-
* Video
|
|
36073
|
-
* @description The generated video file.
|
|
36074
|
-
*/
|
|
36075
|
-
video: Components.File_1;
|
|
36076
|
-
}
|
|
36739
|
+
export interface MusetalkOutput extends SharedType_751 {}
|
|
36077
36740
|
|
|
36078
36741
|
export interface MultishotMasterInput {
|
|
36079
36742
|
/**
|
|
@@ -37981,21 +38644,21 @@ export interface MinimaxMusicOutput {
|
|
|
37981
38644
|
audio: Components.File;
|
|
37982
38645
|
}
|
|
37983
38646
|
|
|
37984
|
-
export interface MeshyV6TextTo3dInput extends
|
|
38647
|
+
export interface MeshyV6TextTo3dInput extends SharedType_477 {}
|
|
37985
38648
|
|
|
37986
|
-
export interface MeshyV6TextTo3dOutput extends
|
|
38649
|
+
export interface MeshyV6TextTo3dOutput extends SharedType_752 {}
|
|
37987
38650
|
|
|
37988
|
-
export interface MeshyV6ImageTo3dInput extends
|
|
38651
|
+
export interface MeshyV6ImageTo3dInput extends SharedType_7ca {}
|
|
37989
38652
|
|
|
37990
|
-
export interface MeshyV6ImageTo3dOutput extends
|
|
38653
|
+
export interface MeshyV6ImageTo3dOutput extends SharedType_d53 {}
|
|
37991
38654
|
|
|
37992
|
-
export interface MeshyV6PreviewTextTo3dInput extends
|
|
38655
|
+
export interface MeshyV6PreviewTextTo3dInput extends SharedType_477 {}
|
|
37993
38656
|
|
|
37994
|
-
export interface MeshyV6PreviewTextTo3dOutput extends
|
|
38657
|
+
export interface MeshyV6PreviewTextTo3dOutput extends SharedType_752 {}
|
|
37995
38658
|
|
|
37996
|
-
export interface MeshyV6PreviewImageTo3dInput extends
|
|
38659
|
+
export interface MeshyV6PreviewImageTo3dInput extends SharedType_7ca {}
|
|
37997
38660
|
|
|
37998
|
-
export interface MeshyV6PreviewImageTo3dOutput extends
|
|
38661
|
+
export interface MeshyV6PreviewImageTo3dOutput extends SharedType_d53 {}
|
|
37999
38662
|
|
|
38000
38663
|
export interface MeshyV5RetextureInput {
|
|
38001
38664
|
/**
|
|
@@ -38193,12 +38856,31 @@ export interface MeshyV5RemeshOutput {
|
|
|
38193
38856
|
}
|
|
38194
38857
|
|
|
38195
38858
|
export interface MeshyV5MultiImageTo3dInput {
|
|
38859
|
+
/**
|
|
38860
|
+
* Animation Action Id
|
|
38861
|
+
* @description Animation preset ID from Meshy's library (500+ presets). Only used when enable_animation is true. See https://docs.meshy.ai/en/api/animation-library for available action IDs.
|
|
38862
|
+
* @default 1001
|
|
38863
|
+
* @example 1001
|
|
38864
|
+
*/
|
|
38865
|
+
animation_action_id?: number;
|
|
38866
|
+
/**
|
|
38867
|
+
* Enable Animation
|
|
38868
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
38869
|
+
* @default false
|
|
38870
|
+
*/
|
|
38871
|
+
enable_animation?: boolean;
|
|
38196
38872
|
/**
|
|
38197
38873
|
* Enable Pbr
|
|
38198
38874
|
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Requires should_texture to be true.
|
|
38199
38875
|
* @default false
|
|
38200
38876
|
*/
|
|
38201
38877
|
enable_pbr?: boolean;
|
|
38878
|
+
/**
|
|
38879
|
+
* Enable Rigging
|
|
38880
|
+
* @description Automatically rig the generated model as a humanoid character. Includes basic walking and running animations. Best results with humanoid characters that have clearly defined limbs.
|
|
38881
|
+
* @default false
|
|
38882
|
+
*/
|
|
38883
|
+
enable_rigging?: boolean;
|
|
38202
38884
|
/**
|
|
38203
38885
|
* Enable Safety Checker
|
|
38204
38886
|
* @description If set to true, input data will be checked for safety before processing.
|
|
@@ -38217,10 +38899,24 @@ export interface MeshyV5MultiImageTo3dInput {
|
|
|
38217
38899
|
image_urls: string[];
|
|
38218
38900
|
/**
|
|
38219
38901
|
* Is A T Pose
|
|
38220
|
-
* @
|
|
38902
|
+
* @deprecated
|
|
38903
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
38221
38904
|
* @default false
|
|
38222
38905
|
*/
|
|
38223
38906
|
is_a_t_pose?: boolean;
|
|
38907
|
+
/**
|
|
38908
|
+
* Pose Mode
|
|
38909
|
+
* @description Pose mode for the generated model. 'a-pose' generates an A-pose, 't-pose' generates a T-pose, empty string for no specific pose.
|
|
38910
|
+
* @default
|
|
38911
|
+
* @enum {string}
|
|
38912
|
+
*/
|
|
38913
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
38914
|
+
/**
|
|
38915
|
+
* Rigging Height Meters
|
|
38916
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
38917
|
+
* @default 1.7
|
|
38918
|
+
*/
|
|
38919
|
+
rigging_height_meters?: number;
|
|
38224
38920
|
/**
|
|
38225
38921
|
* Should Remesh
|
|
38226
38922
|
* @description Whether to enable the remesh phase. When false, returns triangular mesh ignoring topology and target_polycount.
|
|
@@ -38266,6 +38962,9 @@ export interface MeshyV5MultiImageTo3dInput {
|
|
|
38266
38962
|
}
|
|
38267
38963
|
|
|
38268
38964
|
export interface MeshyV5MultiImageTo3dOutput {
|
|
38965
|
+
animation_fbx?: Components.File;
|
|
38966
|
+
animation_glb?: Components.File;
|
|
38967
|
+
basic_animations?: Components.BasicAnimations;
|
|
38269
38968
|
/**
|
|
38270
38969
|
* @description Generated 3D object in GLB format.
|
|
38271
38970
|
* @example {
|
|
@@ -38306,6 +39005,13 @@ export interface MeshyV5MultiImageTo3dOutput {
|
|
|
38306
39005
|
* }
|
|
38307
39006
|
*/
|
|
38308
39007
|
model_urls: Components.ModelUrls;
|
|
39008
|
+
/**
|
|
39009
|
+
* Rig Task Id
|
|
39010
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
39011
|
+
*/
|
|
39012
|
+
rig_task_id?: string;
|
|
39013
|
+
rigged_character_fbx?: Components.File;
|
|
39014
|
+
rigged_character_glb?: Components.File;
|
|
38309
39015
|
/**
|
|
38310
39016
|
* Seed
|
|
38311
39017
|
* @description The seed used for generation (if available)
|
|
@@ -39022,6 +39728,52 @@ export interface Lyria2Output {
|
|
|
39022
39728
|
audio: Components.File;
|
|
39023
39729
|
}
|
|
39024
39730
|
|
|
39731
|
+
export interface LuxTtsInput {
|
|
39732
|
+
/**
|
|
39733
|
+
* Audio Url
|
|
39734
|
+
* @description URL of the reference audio file for voice cloning. The model will mimic the voice characteristics from this audio.
|
|
39735
|
+
* @example https://storage.googleapis.com/falserverless/example_inputs/reference_audio.wav
|
|
39736
|
+
*/
|
|
39737
|
+
audio_url: string;
|
|
39738
|
+
/**
|
|
39739
|
+
* Guidance Scale
|
|
39740
|
+
* @description Classifier-free guidance scale. Higher values increase adherence to the reference voice at the cost of diversity.
|
|
39741
|
+
* @default 3
|
|
39742
|
+
*/
|
|
39743
|
+
guidance_scale?: number;
|
|
39744
|
+
/**
|
|
39745
|
+
* Max Ref Length
|
|
39746
|
+
* @description Maximum length of the reference audio to use for voice encoding, in seconds. Longer durations capture more voice characteristics but increase processing time.
|
|
39747
|
+
* @default 5
|
|
39748
|
+
*/
|
|
39749
|
+
max_ref_length?: number;
|
|
39750
|
+
/**
|
|
39751
|
+
* Num Inference Steps
|
|
39752
|
+
* @description Number of flow-matching inference steps. 4 is recommended for best efficiency.
|
|
39753
|
+
* @default 4
|
|
39754
|
+
*/
|
|
39755
|
+
num_inference_steps?: number;
|
|
39756
|
+
/**
|
|
39757
|
+
* Prompt
|
|
39758
|
+
* @description The text to be converted to speech.
|
|
39759
|
+
* @example Hey, what's up? I'm feeling really great today! The sun is shining and there's a gentle breeze rustling through the trees.
|
|
39760
|
+
*/
|
|
39761
|
+
prompt: string;
|
|
39762
|
+
/**
|
|
39763
|
+
* Seed
|
|
39764
|
+
* @description Random seed for reproducibility.
|
|
39765
|
+
*/
|
|
39766
|
+
seed?: number;
|
|
39767
|
+
}
|
|
39768
|
+
|
|
39769
|
+
export interface LuxTtsOutput {
|
|
39770
|
+
audio: Components.File;
|
|
39771
|
+
seed: number;
|
|
39772
|
+
timings: {
|
|
39773
|
+
[key: string]: number;
|
|
39774
|
+
};
|
|
39775
|
+
}
|
|
39776
|
+
|
|
39025
39777
|
export interface LuminaImageV2Input {
|
|
39026
39778
|
/**
|
|
39027
39779
|
* Cfg Normalization
|
|
@@ -59566,6 +60318,13 @@ export interface HeygenV2TranslatePrecisionInput extends SharedType_82f {}
|
|
|
59566
60318
|
export interface HeygenV2TranslatePrecisionOutput extends SharedType_46f {}
|
|
59567
60319
|
|
|
59568
60320
|
export interface HeygenAvatar4ImageToVideoInput {
|
|
60321
|
+
/**
|
|
60322
|
+
* Aspect Ratio
|
|
60323
|
+
* @description Aspect ratio of the output video. Use '9:16' for portrait (vertical) videos, '16:9' for landscape, or '1:1' for square.
|
|
60324
|
+
* @default 16:9
|
|
60325
|
+
* @enum {string}
|
|
60326
|
+
*/
|
|
60327
|
+
aspect_ratio?: '16:9' | '9:16' | '1:1';
|
|
59569
60328
|
/**
|
|
59570
60329
|
* Audio Url
|
|
59571
60330
|
* @description URL of an audio file for the avatar to lip-sync to. When provided, overrides prompt and voice.
|
|
@@ -59733,11 +60492,11 @@ export interface HeygenAvatar4ImageToVideoOutput {
|
|
|
59733
60492
|
video: Components.File;
|
|
59734
60493
|
}
|
|
59735
60494
|
|
|
59736
|
-
export interface HeygenAvatar4DigitalTwinInput extends
|
|
60495
|
+
export interface HeygenAvatar4DigitalTwinInput extends SharedType_304 {}
|
|
59737
60496
|
|
|
59738
60497
|
export interface HeygenAvatar4DigitalTwinOutput extends SharedType_ec9 {}
|
|
59739
60498
|
|
|
59740
|
-
export interface HeygenAvatar3DigitalTwinInput extends
|
|
60499
|
+
export interface HeygenAvatar3DigitalTwinInput extends SharedType_304 {}
|
|
59741
60500
|
|
|
59742
60501
|
export interface HeygenAvatar3DigitalTwinOutput extends SharedType_ec9 {}
|
|
59743
60502
|
|
|
@@ -60636,11 +61395,11 @@ export interface GeminiFlashEditInput {
|
|
|
60636
61395
|
|
|
60637
61396
|
export interface GeminiFlashEditOutput extends SharedType_b89 {}
|
|
60638
61397
|
|
|
60639
|
-
export interface Gemini31FlashImagePreviewEditInput extends
|
|
61398
|
+
export interface Gemini31FlashImagePreviewEditInput extends SharedType_19f {}
|
|
60640
61399
|
|
|
60641
61400
|
export interface Gemini31FlashImagePreviewEditOutput extends SharedType_4c2 {}
|
|
60642
61401
|
|
|
60643
|
-
export interface Gemini31FlashImagePreviewInput extends
|
|
61402
|
+
export interface Gemini31FlashImagePreviewInput extends SharedType_802 {}
|
|
60644
61403
|
|
|
60645
61404
|
export interface Gemini31FlashImagePreviewOutput extends SharedType_c92 {}
|
|
60646
61405
|
|
|
@@ -63251,8 +64010,8 @@ export interface FluxVisionUpscalerOutput {
|
|
|
63251
64010
|
/**
|
|
63252
64011
|
* @description The URL of the generated image.
|
|
63253
64012
|
* @example {
|
|
63254
|
-
* "file_size": 8842156,
|
|
63255
64013
|
* "height": 2048,
|
|
64014
|
+
* "file_size": 8842156,
|
|
63256
64015
|
* "file_name": "20TZeUQtQ8oKgsCKXSL81_StableSR_00002_.png",
|
|
63257
64016
|
* "content_type": "image/png",
|
|
63258
64017
|
* "url": "https://v3b.fal.media/files/b/panda/20TZeUQtQ8oKgsCKXSL81_StableSR_00002_.png",
|
|
@@ -70566,15 +71325,15 @@ export interface FloweditOutput {
|
|
|
70566
71325
|
seed: number;
|
|
70567
71326
|
}
|
|
70568
71327
|
|
|
70569
|
-
export interface Florence2LargeRegionToSegmentationInput extends
|
|
71328
|
+
export interface Florence2LargeRegionToSegmentationInput extends SharedType_d661 {}
|
|
70570
71329
|
|
|
70571
71330
|
export interface Florence2LargeRegionToSegmentationOutput extends SharedType_4aa {}
|
|
70572
71331
|
|
|
70573
|
-
export interface Florence2LargeRegionToDescriptionInput extends
|
|
71332
|
+
export interface Florence2LargeRegionToDescriptionInput extends SharedType_d661 {}
|
|
70574
71333
|
|
|
70575
71334
|
export interface Florence2LargeRegionToDescriptionOutput extends SharedType_129 {}
|
|
70576
71335
|
|
|
70577
|
-
export interface Florence2LargeRegionToCategoryInput extends
|
|
71336
|
+
export interface Florence2LargeRegionToCategoryInput extends SharedType_d661 {}
|
|
70578
71337
|
|
|
70579
71338
|
export interface Florence2LargeRegionToCategoryOutput extends SharedType_129 {}
|
|
70580
71339
|
|
|
@@ -78729,6 +79488,11 @@ export interface BytedanceSeedanceV1ProTextToVideoInput {
|
|
|
78729
79488
|
* @example true
|
|
78730
79489
|
*/
|
|
78731
79490
|
enable_safety_checker?: boolean;
|
|
79491
|
+
/**
|
|
79492
|
+
* Num Frames
|
|
79493
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79494
|
+
*/
|
|
79495
|
+
num_frames?: number;
|
|
78732
79496
|
/**
|
|
78733
79497
|
* Prompt
|
|
78734
79498
|
* @description The text prompt used to generate the video
|
|
@@ -78804,6 +79568,11 @@ export interface BytedanceSeedanceV1ProImageToVideoInput {
|
|
|
78804
79568
|
* @example https://storage.googleapis.com/falserverless/example_inputs/seedance_pro_i2v_img.jpg
|
|
78805
79569
|
*/
|
|
78806
79570
|
image_url: string;
|
|
79571
|
+
/**
|
|
79572
|
+
* Num Frames
|
|
79573
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79574
|
+
*/
|
|
79575
|
+
num_frames?: number;
|
|
78807
79576
|
/**
|
|
78808
79577
|
* Prompt
|
|
78809
79578
|
* @description The text prompt used to generate the video
|
|
@@ -78868,6 +79637,11 @@ export interface BytedanceSeedanceV1ProFastTextToVideoInput {
|
|
|
78868
79637
|
* @example true
|
|
78869
79638
|
*/
|
|
78870
79639
|
enable_safety_checker?: boolean;
|
|
79640
|
+
/**
|
|
79641
|
+
* Num Frames
|
|
79642
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79643
|
+
*/
|
|
79644
|
+
num_frames?: number;
|
|
78871
79645
|
/**
|
|
78872
79646
|
* Prompt
|
|
78873
79647
|
* @description The text prompt used to generate the video
|
|
@@ -78938,6 +79712,11 @@ export interface BytedanceSeedanceV1ProFastImageToVideoInput {
|
|
|
78938
79712
|
* @example https://storage.googleapis.com/falserverless/example_inputs/seedance_fast_i2v_input.png
|
|
78939
79713
|
*/
|
|
78940
79714
|
image_url: string;
|
|
79715
|
+
/**
|
|
79716
|
+
* Num Frames
|
|
79717
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79718
|
+
*/
|
|
79719
|
+
num_frames?: number;
|
|
78941
79720
|
/**
|
|
78942
79721
|
* Prompt
|
|
78943
79722
|
* @description The text prompt used to generate the video
|
|
@@ -79002,6 +79781,11 @@ export interface BytedanceSeedanceV1LiteTextToVideoInput {
|
|
|
79002
79781
|
* @example true
|
|
79003
79782
|
*/
|
|
79004
79783
|
enable_safety_checker?: boolean;
|
|
79784
|
+
/**
|
|
79785
|
+
* Num Frames
|
|
79786
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79787
|
+
*/
|
|
79788
|
+
num_frames?: number;
|
|
79005
79789
|
/**
|
|
79006
79790
|
* Prompt
|
|
79007
79791
|
* @description The text prompt used to generate the video
|
|
@@ -79052,6 +79836,11 @@ export interface BytedanceSeedanceV1LiteReferenceToVideoInput {
|
|
|
79052
79836
|
* @example true
|
|
79053
79837
|
*/
|
|
79054
79838
|
enable_safety_checker?: boolean;
|
|
79839
|
+
/**
|
|
79840
|
+
* Num Frames
|
|
79841
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79842
|
+
*/
|
|
79843
|
+
num_frames?: number;
|
|
79055
79844
|
/**
|
|
79056
79845
|
* Prompt
|
|
79057
79846
|
* @description The text prompt used to generate the video
|
|
@@ -79136,6 +79925,11 @@ export interface BytedanceSeedanceV1LiteImageToVideoInput {
|
|
|
79136
79925
|
* @example https://fal.media/files/koala/f_xmiodPjhiKjdBkFmTu1.png
|
|
79137
79926
|
*/
|
|
79138
79927
|
image_url: string;
|
|
79928
|
+
/**
|
|
79929
|
+
* Num Frames
|
|
79930
|
+
* @description The number of frames to generate. If provided, will override duration.
|
|
79931
|
+
*/
|
|
79932
|
+
num_frames?: number;
|
|
79139
79933
|
/**
|
|
79140
79934
|
* Prompt
|
|
79141
79935
|
* @description The text prompt used to generate the video
|
|
@@ -80275,11 +81069,11 @@ export interface BirefnetV2VideoOutput {
|
|
|
80275
81069
|
* "height": 1080,
|
|
80276
81070
|
* "duration": 8,
|
|
80277
81071
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/birefnet-video-output.webm",
|
|
80278
|
-
* "fps": 24,
|
|
80279
81072
|
* "width": 1920,
|
|
81073
|
+
* "fps": 24,
|
|
80280
81074
|
* "file_name": "birefnet-video-output.webm",
|
|
80281
|
-
* "
|
|
80282
|
-
* "
|
|
81075
|
+
* "content_type": "video/webm",
|
|
81076
|
+
* "num_frames": 192
|
|
80283
81077
|
* }
|
|
80284
81078
|
*/
|
|
80285
81079
|
video: Components.VideoFile;
|
|
@@ -83432,19 +84226,19 @@ export interface BriaEmbedProductInput {
|
|
|
83432
84226
|
* @example [
|
|
83433
84227
|
* {
|
|
83434
84228
|
* "coordinates": {
|
|
83435
|
-
* "height": 300,
|
|
83436
84229
|
* "y": 317,
|
|
83437
|
-
* "
|
|
83438
|
-
* "x": 300
|
|
84230
|
+
* "height": 300,
|
|
84231
|
+
* "x": 300,
|
|
84232
|
+
* "width": 100
|
|
83439
84233
|
* },
|
|
83440
84234
|
* "image_source": "https://bria-datasets.s3.us-east-1.amazonaws.com/embed-product/a_standing_lamp_over_white_background_0.png"
|
|
83441
84235
|
* },
|
|
83442
84236
|
* {
|
|
83443
84237
|
* "coordinates": {
|
|
83444
|
-
* "height": 156,
|
|
83445
84238
|
* "y": 287,
|
|
83446
|
-
* "
|
|
83447
|
-
* "x": 646
|
|
84239
|
+
* "height": 156,
|
|
84240
|
+
* "x": 646,
|
|
84241
|
+
* "width": 120
|
|
83448
84242
|
* },
|
|
83449
84243
|
* "image_source": "https://bria-datasets.s3.us-east-1.amazonaws.com/embed-product/a_wall_picture_on_white_background_0.png"
|
|
83450
84244
|
* }
|