fal-endpoint-types 1.3.30 → 1.3.31
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
|
/**
|
|
@@ -4107,23 +3954,6 @@ export interface SharedType_cb4 {
|
|
|
4107
3954
|
sync_mode?: boolean;
|
|
4108
3955
|
}
|
|
4109
3956
|
|
|
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
3957
|
export interface SharedType_ca4 {
|
|
4128
3958
|
/**
|
|
4129
3959
|
* Aspect Ratio
|
|
@@ -4577,6 +4407,40 @@ export interface SharedType_bda {
|
|
|
4577
4407
|
video_url: string;
|
|
4578
4408
|
}
|
|
4579
4409
|
|
|
4410
|
+
export interface SharedType_bbf {
|
|
4411
|
+
/**
|
|
4412
|
+
* @description The generated SVG file containing vector glyphs.
|
|
4413
|
+
* @example {
|
|
4414
|
+
* "file_size": 959,
|
|
4415
|
+
* "file_name": "180c718ac5d8407092d0688ea2605f0c.svg",
|
|
4416
|
+
* "content_type": "image/svg+xml",
|
|
4417
|
+
* "url": "https://v3b.fal.media/files/b/0a90bfc3/0f8Su2aQUzPQy4NZMDQpp_180c718ac5d8407092d0688ea2605f0c.svg"
|
|
4418
|
+
* }
|
|
4419
|
+
*/
|
|
4420
|
+
image: Components.File;
|
|
4421
|
+
/**
|
|
4422
|
+
* Seed
|
|
4423
|
+
* @description The seed used for generation.
|
|
4424
|
+
* @example 1835785439
|
|
4425
|
+
*/
|
|
4426
|
+
seed: number;
|
|
4427
|
+
/**
|
|
4428
|
+
* Svg Content
|
|
4429
|
+
* @description Raw SVG content as a string.
|
|
4430
|
+
*/
|
|
4431
|
+
svg_content: string;
|
|
4432
|
+
/**
|
|
4433
|
+
* Timings
|
|
4434
|
+
* @description Timing breakdown of the generation process.
|
|
4435
|
+
* @example {
|
|
4436
|
+
* "inference": 10.83
|
|
4437
|
+
* }
|
|
4438
|
+
*/
|
|
4439
|
+
timings: {
|
|
4440
|
+
[key: string]: number;
|
|
4441
|
+
};
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4580
4444
|
export interface SharedType_bb3 {
|
|
4581
4445
|
/**
|
|
4582
4446
|
* Aspect Ratio
|
|
@@ -4749,6 +4613,101 @@ export interface SharedType_ba2 {
|
|
|
4749
4613
|
sync_mode?: boolean;
|
|
4750
4614
|
}
|
|
4751
4615
|
|
|
4616
|
+
export interface SharedType_ba1 {
|
|
4617
|
+
/**
|
|
4618
|
+
* Actual Prompt
|
|
4619
|
+
* @description The actual prompt used if prompt expansion was enabled
|
|
4620
|
+
*/
|
|
4621
|
+
actual_prompt?: string;
|
|
4622
|
+
animation_fbx?: Components.File;
|
|
4623
|
+
animation_glb?: Components.File;
|
|
4624
|
+
basic_animations?: Components.BasicAnimations;
|
|
4625
|
+
/**
|
|
4626
|
+
* @description Generated 3D object in GLB format.
|
|
4627
|
+
* @example {
|
|
4628
|
+
* "file_size": 9314028,
|
|
4629
|
+
* "file_name": "model.glb",
|
|
4630
|
+
* "content_type": "model/gltf-binary",
|
|
4631
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
4632
|
+
* }
|
|
4633
|
+
*/
|
|
4634
|
+
model_glb: Components.File;
|
|
4635
|
+
/**
|
|
4636
|
+
* @description URLs for different 3D model formats
|
|
4637
|
+
* @example {
|
|
4638
|
+
* "fbx": {
|
|
4639
|
+
* "file_size": 5444380,
|
|
4640
|
+
* "file_name": "model.fbx",
|
|
4641
|
+
* "content_type": "application/octet-stream",
|
|
4642
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/7nUUw5dHN9a0DKlOpAKbP_model.fbx"
|
|
4643
|
+
* },
|
|
4644
|
+
* "usdz": {
|
|
4645
|
+
* "file_size": 9834246,
|
|
4646
|
+
* "file_name": "model.usdz",
|
|
4647
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
4648
|
+
* "url": "https://v3b.fal.media/files/b/panda/XcC-mIJywUvH7coyrzENU_model.usdz"
|
|
4649
|
+
* },
|
|
4650
|
+
* "glb": {
|
|
4651
|
+
* "file_size": 9314028,
|
|
4652
|
+
* "file_name": "model.glb",
|
|
4653
|
+
* "content_type": "model/gltf-binary",
|
|
4654
|
+
* "url": "https://v3b.fal.media/files/b/penguin/DId89qXLu6BXu09RFAwAV_model.glb"
|
|
4655
|
+
* },
|
|
4656
|
+
* "obj": {
|
|
4657
|
+
* "file_size": 2755145,
|
|
4658
|
+
* "file_name": "model.obj",
|
|
4659
|
+
* "content_type": "text/plain",
|
|
4660
|
+
* "url": "https://v3b.fal.media/files/b/monkey/cCNMHqUbKSNtDN1iGmiYm_model.obj"
|
|
4661
|
+
* }
|
|
4662
|
+
* }
|
|
4663
|
+
*/
|
|
4664
|
+
model_urls: Components.ModelUrls;
|
|
4665
|
+
/**
|
|
4666
|
+
* Prompt
|
|
4667
|
+
* @description The text prompt used for generation
|
|
4668
|
+
* @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.
|
|
4669
|
+
*/
|
|
4670
|
+
prompt: string;
|
|
4671
|
+
/**
|
|
4672
|
+
* Rig Task Id
|
|
4673
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
4674
|
+
*/
|
|
4675
|
+
rig_task_id?: string;
|
|
4676
|
+
rigged_character_fbx?: Components.File;
|
|
4677
|
+
rigged_character_glb?: Components.File;
|
|
4678
|
+
/**
|
|
4679
|
+
* Seed
|
|
4680
|
+
* @description The seed used for generation
|
|
4681
|
+
* @example 4002110719
|
|
4682
|
+
*/
|
|
4683
|
+
seed?: number;
|
|
4684
|
+
/**
|
|
4685
|
+
* Texture Urls
|
|
4686
|
+
* @description Array of texture file objects
|
|
4687
|
+
* @example [
|
|
4688
|
+
* {
|
|
4689
|
+
* "base_color": {
|
|
4690
|
+
* "file_size": 4254502,
|
|
4691
|
+
* "file_name": "texture_0.png",
|
|
4692
|
+
* "content_type": "image/png",
|
|
4693
|
+
* "url": "https://v3b.fal.media/files/b/panda/DoPKAuZY0tTjnr6C9ee-Q_texture_0.png"
|
|
4694
|
+
* }
|
|
4695
|
+
* }
|
|
4696
|
+
* ]
|
|
4697
|
+
*/
|
|
4698
|
+
texture_urls?: Components.TextureFiles[];
|
|
4699
|
+
/**
|
|
4700
|
+
* @description Preview thumbnail of the generated model
|
|
4701
|
+
* @example {
|
|
4702
|
+
* "file_size": 173792,
|
|
4703
|
+
* "file_name": "preview.png",
|
|
4704
|
+
* "content_type": "image/png",
|
|
4705
|
+
* "url": "https://v3b.fal.media/files/b/koala/6LJISu4ilkZXcdOETwl_d_preview.png"
|
|
4706
|
+
* }
|
|
4707
|
+
*/
|
|
4708
|
+
thumbnail?: Components.File;
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4752
4711
|
export interface SharedType_b89 {
|
|
4753
4712
|
/**
|
|
4754
4713
|
* Description
|
|
@@ -5094,91 +5053,6 @@ export interface SharedType_b03 {
|
|
|
5094
5053
|
video_url: string;
|
|
5095
5054
|
}
|
|
5096
5055
|
|
|
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
5056
|
export interface SharedType_af2 {
|
|
5183
5057
|
debug_latents: Components.File;
|
|
5184
5058
|
debug_per_pass_latents: Components.File;
|
|
@@ -5702,82 +5576,6 @@ export interface SharedType_9f4 {
|
|
|
5702
5576
|
reference_text?: string;
|
|
5703
5577
|
}
|
|
5704
5578
|
|
|
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
5579
|
export interface SharedType_9e4 {
|
|
5782
5580
|
/**
|
|
5783
5581
|
* @description The edited image with content erased
|
|
@@ -6026,75 +5824,6 @@ export interface SharedType_9cd {
|
|
|
6026
5824
|
video: Components.File;
|
|
6027
5825
|
}
|
|
6028
5826
|
|
|
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
5827
|
export interface SharedType_9a7 {
|
|
6099
5828
|
/**
|
|
6100
5829
|
* @description The generated video.
|
|
@@ -7383,6 +7112,90 @@ export interface SharedType_82f {
|
|
|
7383
7112
|
video_url: string;
|
|
7384
7113
|
}
|
|
7385
7114
|
|
|
7115
|
+
export interface SharedType_82d {
|
|
7116
|
+
animation_fbx?: Components.File;
|
|
7117
|
+
animation_glb?: Components.File;
|
|
7118
|
+
basic_animations?: Components.BasicAnimations;
|
|
7119
|
+
/**
|
|
7120
|
+
* @description Generated 3D object in GLB format.
|
|
7121
|
+
* @example {
|
|
7122
|
+
* "file_size": 9242744,
|
|
7123
|
+
* "file_name": "model.glb",
|
|
7124
|
+
* "content_type": "model/gltf-binary",
|
|
7125
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7126
|
+
* }
|
|
7127
|
+
*/
|
|
7128
|
+
model_glb: Components.File;
|
|
7129
|
+
/**
|
|
7130
|
+
* @description URLs for different 3D model formats
|
|
7131
|
+
* @example {
|
|
7132
|
+
* "fbx": {
|
|
7133
|
+
* "file_size": 5427052,
|
|
7134
|
+
* "file_name": "model.fbx",
|
|
7135
|
+
* "content_type": "application/octet-stream",
|
|
7136
|
+
* "url": "https://v3b.fal.media/files/b/kangaroo/4Q2qdpTvfLVdzAKH1-72v_model.fbx"
|
|
7137
|
+
* },
|
|
7138
|
+
* "usdz": {
|
|
7139
|
+
* "file_size": 9991969,
|
|
7140
|
+
* "file_name": "model.usdz",
|
|
7141
|
+
* "content_type": "model/vnd.usdz+zip",
|
|
7142
|
+
* "url": "https://v3b.fal.media/files/b/lion/RgJG9EBQ_GAHMVWV3wCis_model.usdz"
|
|
7143
|
+
* },
|
|
7144
|
+
* "glb": {
|
|
7145
|
+
* "file_size": 9242744,
|
|
7146
|
+
* "file_name": "model.glb",
|
|
7147
|
+
* "content_type": "model/gltf-binary",
|
|
7148
|
+
* "url": "https://v3b.fal.media/files/b/zebra/OXF1e1bO3JddPTaugv0eL_model.glb"
|
|
7149
|
+
* },
|
|
7150
|
+
* "obj": {
|
|
7151
|
+
* "file_size": 2744413,
|
|
7152
|
+
* "file_name": "model.obj",
|
|
7153
|
+
* "content_type": "text/plain",
|
|
7154
|
+
* "url": "https://v3b.fal.media/files/b/koala/_Vg0d084-hd3EdpIJDf7U_model.obj"
|
|
7155
|
+
* }
|
|
7156
|
+
* }
|
|
7157
|
+
*/
|
|
7158
|
+
model_urls: Components.ModelUrls;
|
|
7159
|
+
/**
|
|
7160
|
+
* Rig Task Id
|
|
7161
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
7162
|
+
*/
|
|
7163
|
+
rig_task_id?: string;
|
|
7164
|
+
rigged_character_fbx?: Components.File;
|
|
7165
|
+
rigged_character_glb?: Components.File;
|
|
7166
|
+
/**
|
|
7167
|
+
* Seed
|
|
7168
|
+
* @description The seed used for generation (if available)
|
|
7169
|
+
* @example 2009275957
|
|
7170
|
+
*/
|
|
7171
|
+
seed?: number;
|
|
7172
|
+
/**
|
|
7173
|
+
* Texture Urls
|
|
7174
|
+
* @description Array of texture file objects, matching Meshy API structure
|
|
7175
|
+
* @example [
|
|
7176
|
+
* {
|
|
7177
|
+
* "base_color": {
|
|
7178
|
+
* "file_size": 4328755,
|
|
7179
|
+
* "file_name": "texture_0.png",
|
|
7180
|
+
* "content_type": "image/png",
|
|
7181
|
+
* "url": "https://v3b.fal.media/files/b/tiger/NkgxcEom_42V4_8UUXiRR_texture_0.png"
|
|
7182
|
+
* }
|
|
7183
|
+
* }
|
|
7184
|
+
* ]
|
|
7185
|
+
*/
|
|
7186
|
+
texture_urls?: Components.TextureFiles[];
|
|
7187
|
+
/**
|
|
7188
|
+
* @description Preview thumbnail of the generated model
|
|
7189
|
+
* @example {
|
|
7190
|
+
* "file_size": 54279,
|
|
7191
|
+
* "file_name": "preview.png",
|
|
7192
|
+
* "content_type": "image/png",
|
|
7193
|
+
* "url": "https://v3b.fal.media/files/b/penguin/rfnS6ClmeEWgDXp_oD5tN_preview.png"
|
|
7194
|
+
* }
|
|
7195
|
+
*/
|
|
7196
|
+
thumbnail?: Components.File;
|
|
7197
|
+
}
|
|
7198
|
+
|
|
7386
7199
|
export interface SharedType_82b {
|
|
7387
7200
|
/**
|
|
7388
7201
|
* @description The generated video
|
|
@@ -7570,6 +7383,91 @@ export interface SharedType_804 {
|
|
|
7570
7383
|
video: Components.File;
|
|
7571
7384
|
}
|
|
7572
7385
|
|
|
7386
|
+
export interface SharedType_802 {
|
|
7387
|
+
/**
|
|
7388
|
+
* Aspect Ratio
|
|
7389
|
+
* @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.
|
|
7390
|
+
* @default auto
|
|
7391
|
+
*/
|
|
7392
|
+
aspect_ratio?:
|
|
7393
|
+
| 'auto'
|
|
7394
|
+
| '21:9'
|
|
7395
|
+
| '16:9'
|
|
7396
|
+
| '3:2'
|
|
7397
|
+
| '4:3'
|
|
7398
|
+
| '5:4'
|
|
7399
|
+
| '1:1'
|
|
7400
|
+
| '4:5'
|
|
7401
|
+
| '3:4'
|
|
7402
|
+
| '2:3'
|
|
7403
|
+
| '9:16'
|
|
7404
|
+
| '4:1'
|
|
7405
|
+
| '1:4'
|
|
7406
|
+
| '8:1'
|
|
7407
|
+
| '1:8';
|
|
7408
|
+
/**
|
|
7409
|
+
* Enable Web Search
|
|
7410
|
+
* @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.
|
|
7411
|
+
* @default false
|
|
7412
|
+
*/
|
|
7413
|
+
enable_web_search?: boolean;
|
|
7414
|
+
/**
|
|
7415
|
+
* Limit Generations
|
|
7416
|
+
* @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.
|
|
7417
|
+
* @default true
|
|
7418
|
+
*/
|
|
7419
|
+
limit_generations?: boolean;
|
|
7420
|
+
/**
|
|
7421
|
+
* Number of Images
|
|
7422
|
+
* @description The number of images to generate.
|
|
7423
|
+
* @default 1
|
|
7424
|
+
*/
|
|
7425
|
+
num_images?: number;
|
|
7426
|
+
/**
|
|
7427
|
+
* Output Format
|
|
7428
|
+
* @description The format of the generated image.
|
|
7429
|
+
* @default png
|
|
7430
|
+
* @enum {string}
|
|
7431
|
+
*/
|
|
7432
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
7433
|
+
/**
|
|
7434
|
+
* Prompt
|
|
7435
|
+
* @description The text prompt to generate an image from.
|
|
7436
|
+
* @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.
|
|
7437
|
+
*/
|
|
7438
|
+
prompt: string;
|
|
7439
|
+
/**
|
|
7440
|
+
* Resolution
|
|
7441
|
+
* @description The resolution of the image to generate.
|
|
7442
|
+
* @default 1K
|
|
7443
|
+
* @enum {string}
|
|
7444
|
+
*/
|
|
7445
|
+
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
7446
|
+
/**
|
|
7447
|
+
* Safety Tolerance
|
|
7448
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
7449
|
+
* @default 4
|
|
7450
|
+
* @enum {string}
|
|
7451
|
+
*/
|
|
7452
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
7453
|
+
/**
|
|
7454
|
+
* Seed
|
|
7455
|
+
* @description The seed for the random number generator.
|
|
7456
|
+
*/
|
|
7457
|
+
seed?: number;
|
|
7458
|
+
/**
|
|
7459
|
+
* Sync Mode
|
|
7460
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
7461
|
+
* @default false
|
|
7462
|
+
*/
|
|
7463
|
+
sync_mode?: boolean;
|
|
7464
|
+
/**
|
|
7465
|
+
* Thinking Level
|
|
7466
|
+
* @description When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.
|
|
7467
|
+
*/
|
|
7468
|
+
thinking_level?: 'minimal' | 'high';
|
|
7469
|
+
}
|
|
7470
|
+
|
|
7573
7471
|
export interface SharedType_800 {
|
|
7574
7472
|
/**
|
|
7575
7473
|
* Masks
|
|
@@ -7843,6 +7741,108 @@ export interface SharedType_7dd {
|
|
|
7843
7741
|
seed: number;
|
|
7844
7742
|
}
|
|
7845
7743
|
|
|
7744
|
+
export interface SharedType_7ca {
|
|
7745
|
+
/**
|
|
7746
|
+
* Animation Action Id
|
|
7747
|
+
* @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.
|
|
7748
|
+
* @default 1001
|
|
7749
|
+
* @example 1001
|
|
7750
|
+
*/
|
|
7751
|
+
animation_action_id?: number;
|
|
7752
|
+
/**
|
|
7753
|
+
* Enable Animation
|
|
7754
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
7755
|
+
* @default false
|
|
7756
|
+
*/
|
|
7757
|
+
enable_animation?: boolean;
|
|
7758
|
+
/**
|
|
7759
|
+
* Enable Pbr
|
|
7760
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color
|
|
7761
|
+
* @default false
|
|
7762
|
+
*/
|
|
7763
|
+
enable_pbr?: boolean;
|
|
7764
|
+
/**
|
|
7765
|
+
* Enable Rigging
|
|
7766
|
+
* @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.
|
|
7767
|
+
* @default false
|
|
7768
|
+
*/
|
|
7769
|
+
enable_rigging?: boolean;
|
|
7770
|
+
/**
|
|
7771
|
+
* Enable Safety Checker
|
|
7772
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
7773
|
+
* @default true
|
|
7774
|
+
*/
|
|
7775
|
+
enable_safety_checker?: boolean;
|
|
7776
|
+
/**
|
|
7777
|
+
* Image Url
|
|
7778
|
+
* @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.
|
|
7779
|
+
* @example https://v3b.fal.media/files/b/zebra/3osHJDI8IZ2wl6sGtEUeB_image.png
|
|
7780
|
+
*/
|
|
7781
|
+
image_url: string;
|
|
7782
|
+
/**
|
|
7783
|
+
* Is A T Pose
|
|
7784
|
+
* @deprecated
|
|
7785
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
7786
|
+
* @default false
|
|
7787
|
+
*/
|
|
7788
|
+
is_a_t_pose?: boolean;
|
|
7789
|
+
/**
|
|
7790
|
+
* Pose Mode
|
|
7791
|
+
* @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.
|
|
7792
|
+
* @default
|
|
7793
|
+
* @enum {string}
|
|
7794
|
+
*/
|
|
7795
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
7796
|
+
/**
|
|
7797
|
+
* Rigging Height Meters
|
|
7798
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
7799
|
+
* @default 1.7
|
|
7800
|
+
*/
|
|
7801
|
+
rigging_height_meters?: number;
|
|
7802
|
+
/**
|
|
7803
|
+
* Should Remesh
|
|
7804
|
+
* @description Whether to enable the remesh phase
|
|
7805
|
+
* @default true
|
|
7806
|
+
*/
|
|
7807
|
+
should_remesh?: boolean;
|
|
7808
|
+
/**
|
|
7809
|
+
* Should Texture
|
|
7810
|
+
* @description Whether to generate textures
|
|
7811
|
+
* @default true
|
|
7812
|
+
*/
|
|
7813
|
+
should_texture?: boolean;
|
|
7814
|
+
/**
|
|
7815
|
+
* Symmetry Mode
|
|
7816
|
+
* @description Controls symmetry behavior during model generation. Off disables symmetry, Auto determines it automatically, On enforces symmetry.
|
|
7817
|
+
* @default auto
|
|
7818
|
+
* @enum {string}
|
|
7819
|
+
*/
|
|
7820
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
7821
|
+
/**
|
|
7822
|
+
* Target Polycount
|
|
7823
|
+
* @description Target number of polygons in the generated model
|
|
7824
|
+
* @default 30000
|
|
7825
|
+
*/
|
|
7826
|
+
target_polycount?: number;
|
|
7827
|
+
/**
|
|
7828
|
+
* Texture Image Url
|
|
7829
|
+
* @description 2D image to guide the texturing process
|
|
7830
|
+
*/
|
|
7831
|
+
texture_image_url?: string;
|
|
7832
|
+
/**
|
|
7833
|
+
* Texture Prompt
|
|
7834
|
+
* @description Text prompt to guide the texturing process
|
|
7835
|
+
*/
|
|
7836
|
+
texture_prompt?: string;
|
|
7837
|
+
/**
|
|
7838
|
+
* Topology
|
|
7839
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
7840
|
+
* @default triangle
|
|
7841
|
+
* @enum {string}
|
|
7842
|
+
*/
|
|
7843
|
+
topology?: 'quad' | 'triangle';
|
|
7844
|
+
}
|
|
7845
|
+
|
|
7846
7846
|
export interface SharedType_7c6 {
|
|
7847
7847
|
/**
|
|
7848
7848
|
* Has Nsfw Concepts
|
|
@@ -7919,80 +7919,6 @@ export interface SharedType_79c {
|
|
|
7919
7919
|
seed?: number;
|
|
7920
7920
|
}
|
|
7921
7921
|
|
|
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
7922
|
export interface SharedType_778 {
|
|
7997
7923
|
/**
|
|
7998
7924
|
* Character Orientation
|
|
@@ -10439,6 +10365,127 @@ export interface SharedType_479 {
|
|
|
10439
10365
|
sync_mode?: boolean;
|
|
10440
10366
|
}
|
|
10441
10367
|
|
|
10368
|
+
export interface SharedType_477 {
|
|
10369
|
+
/**
|
|
10370
|
+
* Animation Action Id
|
|
10371
|
+
* @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.
|
|
10372
|
+
* @default 1001
|
|
10373
|
+
* @example 1001
|
|
10374
|
+
*/
|
|
10375
|
+
animation_action_id?: number;
|
|
10376
|
+
/**
|
|
10377
|
+
* Art Style
|
|
10378
|
+
* @description Desired art style of the object. Note: enable_pbr should be false for sculpture style.
|
|
10379
|
+
* @default realistic
|
|
10380
|
+
* @enum {string}
|
|
10381
|
+
*/
|
|
10382
|
+
art_style?: 'realistic' | 'sculpture';
|
|
10383
|
+
/**
|
|
10384
|
+
* Enable Animation
|
|
10385
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
10386
|
+
* @default false
|
|
10387
|
+
*/
|
|
10388
|
+
enable_animation?: boolean;
|
|
10389
|
+
/**
|
|
10390
|
+
* Enable Pbr
|
|
10391
|
+
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Should be false for sculpture style.
|
|
10392
|
+
* @default false
|
|
10393
|
+
*/
|
|
10394
|
+
enable_pbr?: boolean;
|
|
10395
|
+
/**
|
|
10396
|
+
* Enable Prompt Expansion
|
|
10397
|
+
* @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.
|
|
10398
|
+
* @default false
|
|
10399
|
+
*/
|
|
10400
|
+
enable_prompt_expansion?: boolean;
|
|
10401
|
+
/**
|
|
10402
|
+
* Enable Rigging
|
|
10403
|
+
* @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.
|
|
10404
|
+
* @default false
|
|
10405
|
+
*/
|
|
10406
|
+
enable_rigging?: boolean;
|
|
10407
|
+
/**
|
|
10408
|
+
* Enable Safety Checker
|
|
10409
|
+
* @description If set to true, input data will be checked for safety before processing.
|
|
10410
|
+
* @default true
|
|
10411
|
+
*/
|
|
10412
|
+
enable_safety_checker?: boolean;
|
|
10413
|
+
/**
|
|
10414
|
+
* Is A T Pose
|
|
10415
|
+
* @deprecated
|
|
10416
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
10417
|
+
* @default false
|
|
10418
|
+
*/
|
|
10419
|
+
is_a_t_pose?: boolean;
|
|
10420
|
+
/**
|
|
10421
|
+
* Mode
|
|
10422
|
+
* @description Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine).
|
|
10423
|
+
* @default full
|
|
10424
|
+
* @enum {string}
|
|
10425
|
+
*/
|
|
10426
|
+
mode?: 'preview' | 'full';
|
|
10427
|
+
/**
|
|
10428
|
+
* Pose Mode
|
|
10429
|
+
* @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.
|
|
10430
|
+
* @default
|
|
10431
|
+
* @enum {string}
|
|
10432
|
+
*/
|
|
10433
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
10434
|
+
/**
|
|
10435
|
+
* Prompt
|
|
10436
|
+
* @description Describe what kind of object the 3D model is. Maximum 600 characters.
|
|
10437
|
+
* @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.
|
|
10438
|
+
*/
|
|
10439
|
+
prompt: string;
|
|
10440
|
+
/**
|
|
10441
|
+
* Rigging Height Meters
|
|
10442
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
10443
|
+
* @default 1.7
|
|
10444
|
+
*/
|
|
10445
|
+
rigging_height_meters?: number;
|
|
10446
|
+
/**
|
|
10447
|
+
* Seed
|
|
10448
|
+
* @description Seed for reproducible results. Same prompt and seed usually generate the same result.
|
|
10449
|
+
*/
|
|
10450
|
+
seed?: number;
|
|
10451
|
+
/**
|
|
10452
|
+
* Should Remesh
|
|
10453
|
+
* @description Whether to enable the remesh phase. When false, returns unprocessed triangular mesh.
|
|
10454
|
+
* @default true
|
|
10455
|
+
*/
|
|
10456
|
+
should_remesh?: boolean;
|
|
10457
|
+
/**
|
|
10458
|
+
* Symmetry Mode
|
|
10459
|
+
* @description Controls symmetry behavior during model generation.
|
|
10460
|
+
* @default auto
|
|
10461
|
+
* @enum {string}
|
|
10462
|
+
*/
|
|
10463
|
+
symmetry_mode?: 'off' | 'auto' | 'on';
|
|
10464
|
+
/**
|
|
10465
|
+
* Target Polycount
|
|
10466
|
+
* @description Target number of polygons in the generated model
|
|
10467
|
+
* @default 30000
|
|
10468
|
+
*/
|
|
10469
|
+
target_polycount?: number;
|
|
10470
|
+
/**
|
|
10471
|
+
* Texture Image Url
|
|
10472
|
+
* @description 2D image to guide the texturing process (only used in 'full' mode)
|
|
10473
|
+
*/
|
|
10474
|
+
texture_image_url?: string;
|
|
10475
|
+
/**
|
|
10476
|
+
* Texture Prompt
|
|
10477
|
+
* @description Additional text prompt to guide the texturing process (only used in 'full' mode)
|
|
10478
|
+
*/
|
|
10479
|
+
texture_prompt?: string;
|
|
10480
|
+
/**
|
|
10481
|
+
* Topology
|
|
10482
|
+
* @description Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry.
|
|
10483
|
+
* @default triangle
|
|
10484
|
+
* @enum {string}
|
|
10485
|
+
*/
|
|
10486
|
+
topology?: 'quad' | 'triangle';
|
|
10487
|
+
}
|
|
10488
|
+
|
|
10442
10489
|
export interface SharedType_46f {
|
|
10443
10490
|
/**
|
|
10444
10491
|
* @description The translated video file
|
|
@@ -11237,6 +11284,30 @@ export interface SharedType_352 {
|
|
|
11237
11284
|
};
|
|
11238
11285
|
}
|
|
11239
11286
|
|
|
11287
|
+
export interface SharedType_304 {
|
|
11288
|
+
/**
|
|
11289
|
+
* Aspect Ratio
|
|
11290
|
+
* @description Aspect ratio of the output video. Use '9:16' for portrait (vertical) videos, '16:9' for landscape, or '1:1' for square.
|
|
11291
|
+
* @default 16:9
|
|
11292
|
+
* @enum {string}
|
|
11293
|
+
*/
|
|
11294
|
+
aspect_ratio?: '16:9' | '9:16' | '1:1';
|
|
11295
|
+
/**
|
|
11296
|
+
* Audio Url
|
|
11297
|
+
* @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.
|
|
11298
|
+
*/
|
|
11299
|
+
audio_url?: string;
|
|
11300
|
+
character: Components.Character;
|
|
11301
|
+
/**
|
|
11302
|
+
* Resolution
|
|
11303
|
+
* @description Video resolution preset. Options: 360p, 480p, 540p, 720p, 1080p
|
|
11304
|
+
* @default 720p
|
|
11305
|
+
* @enum {string}
|
|
11306
|
+
*/
|
|
11307
|
+
resolution?: '360p' | '480p' | '540p' | '720p' | '1080p';
|
|
11308
|
+
voice: Components.TextVoice;
|
|
11309
|
+
}
|
|
11310
|
+
|
|
11240
11311
|
export interface SharedType_2e6 {
|
|
11241
11312
|
/**
|
|
11242
11313
|
* Aspect Ratio
|
|
@@ -12036,26 +12107,6 @@ export interface SharedType_1eb {
|
|
|
12036
12107
|
video: Components.File;
|
|
12037
12108
|
}
|
|
12038
12109
|
|
|
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
12110
|
export interface SharedType_1b3 {
|
|
12060
12111
|
/**
|
|
12061
12112
|
* Seed
|
|
@@ -12093,6 +12144,100 @@ export interface SharedType_1af {
|
|
|
12093
12144
|
video: Components.VideoFile;
|
|
12094
12145
|
}
|
|
12095
12146
|
|
|
12147
|
+
export interface SharedType_19f {
|
|
12148
|
+
/**
|
|
12149
|
+
* Aspect Ratio
|
|
12150
|
+
* @description The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8.
|
|
12151
|
+
* @default auto
|
|
12152
|
+
*/
|
|
12153
|
+
aspect_ratio?:
|
|
12154
|
+
| 'auto'
|
|
12155
|
+
| '21:9'
|
|
12156
|
+
| '16:9'
|
|
12157
|
+
| '3:2'
|
|
12158
|
+
| '4:3'
|
|
12159
|
+
| '5:4'
|
|
12160
|
+
| '1:1'
|
|
12161
|
+
| '4:5'
|
|
12162
|
+
| '3:4'
|
|
12163
|
+
| '2:3'
|
|
12164
|
+
| '9:16'
|
|
12165
|
+
| '4:1'
|
|
12166
|
+
| '1:4'
|
|
12167
|
+
| '8:1'
|
|
12168
|
+
| '1:8';
|
|
12169
|
+
/**
|
|
12170
|
+
* Enable Web Search
|
|
12171
|
+
* @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.
|
|
12172
|
+
* @default false
|
|
12173
|
+
*/
|
|
12174
|
+
enable_web_search?: boolean;
|
|
12175
|
+
/**
|
|
12176
|
+
* Image URLs
|
|
12177
|
+
* @description The URLs of the images to use for image-to-image generation or image editing.
|
|
12178
|
+
* @example [
|
|
12179
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png",
|
|
12180
|
+
* "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input-2.png"
|
|
12181
|
+
* ]
|
|
12182
|
+
*/
|
|
12183
|
+
image_urls: string[];
|
|
12184
|
+
/**
|
|
12185
|
+
* Limit Generations
|
|
12186
|
+
* @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.
|
|
12187
|
+
* @default true
|
|
12188
|
+
*/
|
|
12189
|
+
limit_generations?: boolean;
|
|
12190
|
+
/**
|
|
12191
|
+
* Number of Images
|
|
12192
|
+
* @description The number of images to generate.
|
|
12193
|
+
* @default 1
|
|
12194
|
+
*/
|
|
12195
|
+
num_images?: number;
|
|
12196
|
+
/**
|
|
12197
|
+
* Output Format
|
|
12198
|
+
* @description The format of the generated image.
|
|
12199
|
+
* @default png
|
|
12200
|
+
* @enum {string}
|
|
12201
|
+
*/
|
|
12202
|
+
output_format?: 'jpeg' | 'png' | 'webp';
|
|
12203
|
+
/**
|
|
12204
|
+
* Prompt
|
|
12205
|
+
* @description The prompt for image editing.
|
|
12206
|
+
* @example make a photo of the man driving the car down the california coastline
|
|
12207
|
+
*/
|
|
12208
|
+
prompt: string;
|
|
12209
|
+
/**
|
|
12210
|
+
* Resolution
|
|
12211
|
+
* @description The resolution of the image to generate.
|
|
12212
|
+
* @default 1K
|
|
12213
|
+
* @enum {string}
|
|
12214
|
+
*/
|
|
12215
|
+
resolution?: '0.5K' | '1K' | '2K' | '4K';
|
|
12216
|
+
/**
|
|
12217
|
+
* Safety Tolerance
|
|
12218
|
+
* @description The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.
|
|
12219
|
+
* @default 4
|
|
12220
|
+
* @enum {string}
|
|
12221
|
+
*/
|
|
12222
|
+
safety_tolerance?: '1' | '2' | '3' | '4' | '5' | '6';
|
|
12223
|
+
/**
|
|
12224
|
+
* Seed
|
|
12225
|
+
* @description The seed for the random number generator.
|
|
12226
|
+
*/
|
|
12227
|
+
seed?: number;
|
|
12228
|
+
/**
|
|
12229
|
+
* Sync Mode
|
|
12230
|
+
* @description If `True`, the media will be returned as a data URI and the output data won't be available in the request history.
|
|
12231
|
+
* @default false
|
|
12232
|
+
*/
|
|
12233
|
+
sync_mode?: boolean;
|
|
12234
|
+
/**
|
|
12235
|
+
* Thinking Level
|
|
12236
|
+
* @description When set, enables model thinking with the given level ('minimal' or 'high') and includes thoughts in the generation. Omit to disable.
|
|
12237
|
+
*/
|
|
12238
|
+
thinking_level?: 'minimal' | 'high';
|
|
12239
|
+
}
|
|
12240
|
+
|
|
12096
12241
|
export interface SharedType_197 {
|
|
12097
12242
|
image: Components.Image;
|
|
12098
12243
|
/**
|
|
@@ -13734,6 +13879,43 @@ export interface ResembleaiChatterboxhdSpeechToSpeechOutput {
|
|
|
13734
13879
|
audio: Components.File_1;
|
|
13735
13880
|
}
|
|
13736
13881
|
|
|
13882
|
+
export interface PixelcutBackgroundRemovalInput {
|
|
13883
|
+
/**
|
|
13884
|
+
* Image Url
|
|
13885
|
+
* @description Input image (JPEG or PNG)
|
|
13886
|
+
* @example https://cdn3.pixelcut.app/fal/background-remover/jewelry.jpg
|
|
13887
|
+
* @example https://cdn3.pixelcut.app/fal/background-remover/portrait.jpg
|
|
13888
|
+
*/
|
|
13889
|
+
image_url: string;
|
|
13890
|
+
/**
|
|
13891
|
+
* Output Format
|
|
13892
|
+
* @description Output format
|
|
13893
|
+
* @default rgba
|
|
13894
|
+
* @enum {string}
|
|
13895
|
+
*/
|
|
13896
|
+
output_format?: 'rgba' | 'alpha' | 'zip';
|
|
13897
|
+
/**
|
|
13898
|
+
* Sync Mode
|
|
13899
|
+
* @description When true, return result as a data URL instead of uploading to storage
|
|
13900
|
+
* @default true
|
|
13901
|
+
*/
|
|
13902
|
+
sync_mode?: boolean;
|
|
13903
|
+
}
|
|
13904
|
+
|
|
13905
|
+
export interface PixelcutBackgroundRemovalOutput {
|
|
13906
|
+
file?: Components.File;
|
|
13907
|
+
/**
|
|
13908
|
+
* @description Result image (for rgba/alpha output formats)
|
|
13909
|
+
* @example {
|
|
13910
|
+
* "url": "https://cdn3.pixelcut.app/fal/background-remover/jewelry_result.png"
|
|
13911
|
+
* }
|
|
13912
|
+
* @example {
|
|
13913
|
+
* "url": "https://cdn3.pixelcut.app/fal/background-remover/portrait_result.png"
|
|
13914
|
+
* }
|
|
13915
|
+
*/
|
|
13916
|
+
image?: Components.Image;
|
|
13917
|
+
}
|
|
13918
|
+
|
|
13737
13919
|
export interface PerceptronIsaac01Input {
|
|
13738
13920
|
/**
|
|
13739
13921
|
* Image Url
|
|
@@ -22615,6 +22797,185 @@ export interface Veo2Output {
|
|
|
22615
22797
|
video: Components.File;
|
|
22616
22798
|
}
|
|
22617
22799
|
|
|
22800
|
+
export interface VecglypherImageToSvgInput {
|
|
22801
|
+
/**
|
|
22802
|
+
* Enable Safety Checker
|
|
22803
|
+
* @description Enable input safety checking.
|
|
22804
|
+
* @default true
|
|
22805
|
+
*/
|
|
22806
|
+
enable_safety_checker?: boolean;
|
|
22807
|
+
/**
|
|
22808
|
+
* Fill Color
|
|
22809
|
+
* @description Fill color for the generated glyphs. Accepts any valid SVG/CSS color value.
|
|
22810
|
+
* @default black
|
|
22811
|
+
* @example black
|
|
22812
|
+
* @example #FF5733
|
|
22813
|
+
* @example rgb(255,87,51)
|
|
22814
|
+
* @example none
|
|
22815
|
+
*/
|
|
22816
|
+
fill_color?: string;
|
|
22817
|
+
/**
|
|
22818
|
+
* Max Tokens
|
|
22819
|
+
* @description Maximum tokens to generate.
|
|
22820
|
+
* @default 8192
|
|
22821
|
+
*/
|
|
22822
|
+
max_tokens?: number;
|
|
22823
|
+
/**
|
|
22824
|
+
* Output Size
|
|
22825
|
+
* @description Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved.
|
|
22826
|
+
* @default 512
|
|
22827
|
+
*/
|
|
22828
|
+
output_size?: number;
|
|
22829
|
+
/**
|
|
22830
|
+
* Prompt
|
|
22831
|
+
* @description The target text to generate as vector glyphs, styled to match the reference images.
|
|
22832
|
+
* @example g
|
|
22833
|
+
*/
|
|
22834
|
+
prompt: string;
|
|
22835
|
+
/**
|
|
22836
|
+
* Reference Image Urls
|
|
22837
|
+
* @description URLs of reference glyph images whose style should be matched. Provide 1 to 8 images of individual glyph characters.
|
|
22838
|
+
* @example [
|
|
22839
|
+
* "https://v3b.fal.media/files/b/0a90bfc2/IUtUCjqyIosJpS9_tcOIP_Screenshot%202026-03-03%20at%207.26.15%3FPM.png"
|
|
22840
|
+
* ]
|
|
22841
|
+
*/
|
|
22842
|
+
reference_image_urls: string[];
|
|
22843
|
+
/**
|
|
22844
|
+
* Repetition Penalty
|
|
22845
|
+
* @description Repetition penalty.
|
|
22846
|
+
* @default 1
|
|
22847
|
+
*/
|
|
22848
|
+
repetition_penalty?: number;
|
|
22849
|
+
/**
|
|
22850
|
+
* Seed
|
|
22851
|
+
* @description Random seed for reproducibility.
|
|
22852
|
+
*/
|
|
22853
|
+
seed?: number;
|
|
22854
|
+
/**
|
|
22855
|
+
* Stroke Color
|
|
22856
|
+
* @description Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path.
|
|
22857
|
+
* @example black
|
|
22858
|
+
* @example #333333
|
|
22859
|
+
* @example none
|
|
22860
|
+
*/
|
|
22861
|
+
stroke_color?: string;
|
|
22862
|
+
/**
|
|
22863
|
+
* Stroke Width
|
|
22864
|
+
* @description Stroke width in SVG units. Only applies when stroke_color is set.
|
|
22865
|
+
* @default 1
|
|
22866
|
+
*/
|
|
22867
|
+
stroke_width?: number;
|
|
22868
|
+
/**
|
|
22869
|
+
* Temperature
|
|
22870
|
+
* @description Sampling temperature.
|
|
22871
|
+
* @default 0.1
|
|
22872
|
+
*/
|
|
22873
|
+
temperature?: number;
|
|
22874
|
+
/**
|
|
22875
|
+
* Top K
|
|
22876
|
+
* @description Top-k sampling parameter.
|
|
22877
|
+
* @default 5
|
|
22878
|
+
*/
|
|
22879
|
+
top_k?: number;
|
|
22880
|
+
/**
|
|
22881
|
+
* Top P
|
|
22882
|
+
* @description Top-p (nucleus) sampling parameter.
|
|
22883
|
+
* @default 0.95
|
|
22884
|
+
*/
|
|
22885
|
+
top_p?: number;
|
|
22886
|
+
}
|
|
22887
|
+
|
|
22888
|
+
export interface VecglypherImageToSvgOutput extends SharedType_bbf {}
|
|
22889
|
+
|
|
22890
|
+
export interface VecglypherInput {
|
|
22891
|
+
/**
|
|
22892
|
+
* Enable Safety Checker
|
|
22893
|
+
* @description Enable input safety checking.
|
|
22894
|
+
* @default true
|
|
22895
|
+
*/
|
|
22896
|
+
enable_safety_checker?: boolean;
|
|
22897
|
+
/**
|
|
22898
|
+
* Fill Color
|
|
22899
|
+
* @description Fill color for the generated glyphs. Accepts any valid SVG/CSS color value.
|
|
22900
|
+
* @default black
|
|
22901
|
+
* @example black
|
|
22902
|
+
* @example #FF5733
|
|
22903
|
+
* @example rgb(255,87,51)
|
|
22904
|
+
* @example none
|
|
22905
|
+
*/
|
|
22906
|
+
fill_color?: string;
|
|
22907
|
+
/**
|
|
22908
|
+
* Max Tokens
|
|
22909
|
+
* @description Maximum tokens to generate. Increase for longer text.
|
|
22910
|
+
* @default 8192
|
|
22911
|
+
*/
|
|
22912
|
+
max_tokens?: number;
|
|
22913
|
+
/**
|
|
22914
|
+
* Output Size
|
|
22915
|
+
* @description Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved.
|
|
22916
|
+
* @default 512
|
|
22917
|
+
*/
|
|
22918
|
+
output_size?: number;
|
|
22919
|
+
/**
|
|
22920
|
+
* Prompt
|
|
22921
|
+
* @description The target text to generate as vector glyphs. Each character is rendered as a separate SVG path element.
|
|
22922
|
+
* @example g
|
|
22923
|
+
*/
|
|
22924
|
+
prompt: string;
|
|
22925
|
+
/**
|
|
22926
|
+
* Repetition Penalty
|
|
22927
|
+
* @description Repetition penalty to reduce repeated SVG path segments.
|
|
22928
|
+
* @default 1
|
|
22929
|
+
*/
|
|
22930
|
+
repetition_penalty?: number;
|
|
22931
|
+
/**
|
|
22932
|
+
* Seed
|
|
22933
|
+
* @description Random seed for reproducibility.
|
|
22934
|
+
*/
|
|
22935
|
+
seed?: number;
|
|
22936
|
+
/**
|
|
22937
|
+
* Stroke Color
|
|
22938
|
+
* @description Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path.
|
|
22939
|
+
* @example black
|
|
22940
|
+
* @example #333333
|
|
22941
|
+
* @example none
|
|
22942
|
+
*/
|
|
22943
|
+
stroke_color?: string;
|
|
22944
|
+
/**
|
|
22945
|
+
* Stroke Width
|
|
22946
|
+
* @description Stroke width in SVG units. Only applies when stroke_color is set.
|
|
22947
|
+
* @default 1
|
|
22948
|
+
*/
|
|
22949
|
+
stroke_width?: number;
|
|
22950
|
+
/**
|
|
22951
|
+
* Style Description
|
|
22952
|
+
* @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).
|
|
22953
|
+
* @default italic style, 400 weight, serif, text, elegant
|
|
22954
|
+
* @example italic style, 400 weight, serif, text, elegant
|
|
22955
|
+
*/
|
|
22956
|
+
style_description?: string;
|
|
22957
|
+
/**
|
|
22958
|
+
* Temperature
|
|
22959
|
+
* @description Sampling temperature. Lower values produce more deterministic output.
|
|
22960
|
+
* @default 0.1
|
|
22961
|
+
*/
|
|
22962
|
+
temperature?: number;
|
|
22963
|
+
/**
|
|
22964
|
+
* Top K
|
|
22965
|
+
* @description Top-k sampling parameter.
|
|
22966
|
+
* @default 5
|
|
22967
|
+
*/
|
|
22968
|
+
top_k?: number;
|
|
22969
|
+
/**
|
|
22970
|
+
* Top P
|
|
22971
|
+
* @description Top-p (nucleus) sampling parameter.
|
|
22972
|
+
* @default 0.95
|
|
22973
|
+
*/
|
|
22974
|
+
top_p?: number;
|
|
22975
|
+
}
|
|
22976
|
+
|
|
22977
|
+
export interface VecglypherOutput extends SharedType_bbf {}
|
|
22978
|
+
|
|
22618
22979
|
export interface UsoInput {
|
|
22619
22980
|
/**
|
|
22620
22981
|
* Safety Checker
|
|
@@ -23393,12 +23754,54 @@ export interface TranspixarOutput {
|
|
|
23393
23754
|
}
|
|
23394
23755
|
|
|
23395
23756
|
export interface TopazUpscaleVideoInput {
|
|
23757
|
+
/**
|
|
23758
|
+
* Compression
|
|
23759
|
+
* @description Compression artifact removal level (0.0-1.0). Default varies by model.
|
|
23760
|
+
*/
|
|
23761
|
+
compression?: number;
|
|
23762
|
+
/**
|
|
23763
|
+
* Grain
|
|
23764
|
+
* @description Film grain amount (0.0-1.0). Default varies by model.
|
|
23765
|
+
*/
|
|
23766
|
+
grain?: number;
|
|
23396
23767
|
/**
|
|
23397
23768
|
* H264 Output
|
|
23398
23769
|
* @description Whether to use H264 codec for output video. Default is H265.
|
|
23399
23770
|
* @default false
|
|
23400
23771
|
*/
|
|
23401
23772
|
H264_output?: boolean;
|
|
23773
|
+
/**
|
|
23774
|
+
* Halo
|
|
23775
|
+
* @description Halo reduction level (0.0-1.0). Default varies by model.
|
|
23776
|
+
*/
|
|
23777
|
+
halo?: number;
|
|
23778
|
+
/**
|
|
23779
|
+
* Model
|
|
23780
|
+
* @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.
|
|
23781
|
+
* @default Proteus
|
|
23782
|
+
* @enum {string}
|
|
23783
|
+
*/
|
|
23784
|
+
model?:
|
|
23785
|
+
| 'Proteus'
|
|
23786
|
+
| 'Artemis HQ'
|
|
23787
|
+
| 'Artemis MQ'
|
|
23788
|
+
| 'Artemis LQ'
|
|
23789
|
+
| 'Nyx'
|
|
23790
|
+
| 'Nyx Fast'
|
|
23791
|
+
| 'Nyx XL'
|
|
23792
|
+
| 'Nyx HF'
|
|
23793
|
+
| 'Gaia HQ'
|
|
23794
|
+
| 'Gaia CG';
|
|
23795
|
+
/**
|
|
23796
|
+
* Noise
|
|
23797
|
+
* @description Noise reduction level (0.0-1.0). Default varies by model.
|
|
23798
|
+
*/
|
|
23799
|
+
noise?: number;
|
|
23800
|
+
/**
|
|
23801
|
+
* Recover Detail
|
|
23802
|
+
* @description Recover original detail level (0.0-1.0). Higher values preserve more original detail.
|
|
23803
|
+
*/
|
|
23804
|
+
recover_detail?: number;
|
|
23402
23805
|
/**
|
|
23403
23806
|
* Target Fps
|
|
23404
23807
|
* @description Target FPS for frame interpolation. If set, frame interpolation will be enabled.
|
|
@@ -23429,29 +23832,54 @@ export interface TopazUpscaleVideoOutput {
|
|
|
23429
23832
|
}
|
|
23430
23833
|
|
|
23431
23834
|
export interface TopazUpscaleImageInput {
|
|
23835
|
+
/**
|
|
23836
|
+
* Autoprompt
|
|
23837
|
+
* @description Enable automatic prompt generation for generative upscaling. Applies to Redefine model only.
|
|
23838
|
+
*/
|
|
23839
|
+
autoprompt?: boolean;
|
|
23840
|
+
/**
|
|
23841
|
+
* Creativity
|
|
23842
|
+
* @description Creativity level for generative upscaling (1-6). Higher values produce more creative/hallucinated details. Applies to Redefine model only.
|
|
23843
|
+
*/
|
|
23844
|
+
creativity?: number;
|
|
23432
23845
|
/**
|
|
23433
23846
|
* Crop To Fill
|
|
23434
23847
|
* @default false
|
|
23435
23848
|
*/
|
|
23436
23849
|
crop_to_fill?: boolean;
|
|
23850
|
+
/**
|
|
23851
|
+
* Denoise
|
|
23852
|
+
* @description Denoising level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
|
|
23853
|
+
*/
|
|
23854
|
+
denoise?: number;
|
|
23855
|
+
/**
|
|
23856
|
+
* Detail
|
|
23857
|
+
* @description Detail recovery level (0.0-1.0). Applies to Recovery V2 model only.
|
|
23858
|
+
*/
|
|
23859
|
+
detail?: number;
|
|
23437
23860
|
/**
|
|
23438
23861
|
* Face Enhancement
|
|
23439
|
-
* @description Whether to apply face enhancement to the image.
|
|
23862
|
+
* @description Whether to apply face enhancement to the image. Applies to standard enhance and Recovery V2 models.
|
|
23440
23863
|
* @default true
|
|
23441
23864
|
*/
|
|
23442
23865
|
face_enhancement?: boolean;
|
|
23443
23866
|
/**
|
|
23444
23867
|
* Face Enhancement Creativity
|
|
23445
|
-
* @description Creativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face
|
|
23868
|
+
* @description Creativity level for face enhancement. 0.0 means no creativity, 1.0 means maximum creativity. Ignored if face enhancement is disabled.
|
|
23446
23869
|
* @default 0
|
|
23447
23870
|
*/
|
|
23448
23871
|
face_enhancement_creativity?: number;
|
|
23449
23872
|
/**
|
|
23450
23873
|
* Face Enhancement Strength
|
|
23451
|
-
* @description Strength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face
|
|
23874
|
+
* @description Strength of the face enhancement. 0.0 means no enhancement, 1.0 means maximum enhancement. Ignored if face enhancement is disabled.
|
|
23452
23875
|
* @default 0.8
|
|
23453
23876
|
*/
|
|
23454
23877
|
face_enhancement_strength?: number;
|
|
23878
|
+
/**
|
|
23879
|
+
* Fix Compression
|
|
23880
|
+
* @description Compression artifact removal level (0.0-1.0). Applies to Standard V2, Low Resolution V2, High Fidelity V2, and Text Refine models.
|
|
23881
|
+
*/
|
|
23882
|
+
fix_compression?: number;
|
|
23455
23883
|
/**
|
|
23456
23884
|
* Image Url
|
|
23457
23885
|
* @description Url of the image to be upscaled
|
|
@@ -23472,7 +23900,9 @@ export interface TopazUpscaleImageInput {
|
|
|
23472
23900
|
| 'Text Refine'
|
|
23473
23901
|
| 'Recovery'
|
|
23474
23902
|
| 'Redefine'
|
|
23475
|
-
| 'Recovery V2'
|
|
23903
|
+
| 'Recovery V2'
|
|
23904
|
+
| 'Standard MAX'
|
|
23905
|
+
| 'Wonder';
|
|
23476
23906
|
/**
|
|
23477
23907
|
* Output Format
|
|
23478
23908
|
* @description Output format of the upscaled image.
|
|
@@ -23480,16 +23910,36 @@ export interface TopazUpscaleImageInput {
|
|
|
23480
23910
|
* @enum {string}
|
|
23481
23911
|
*/
|
|
23482
23912
|
output_format?: 'jpeg' | 'png';
|
|
23913
|
+
/**
|
|
23914
|
+
* Prompt
|
|
23915
|
+
* @description Text prompt to guide generative upscaling (max 1024 chars). Applies to Redefine model only.
|
|
23916
|
+
*/
|
|
23917
|
+
prompt?: string;
|
|
23918
|
+
/**
|
|
23919
|
+
* Sharpen
|
|
23920
|
+
* @description Sharpening level (0.0-1.0). Applies to Standard V2, Low Resolution V2, CGI, High Fidelity V2, Text Refine, and Redefine models.
|
|
23921
|
+
*/
|
|
23922
|
+
sharpen?: number;
|
|
23923
|
+
/**
|
|
23924
|
+
* Strength
|
|
23925
|
+
* @description Enhancement strength (0.01-1.0). Applies to Text Refine model only.
|
|
23926
|
+
*/
|
|
23927
|
+
strength?: number;
|
|
23483
23928
|
/**
|
|
23484
23929
|
* Subject Detection
|
|
23485
|
-
* @description Subject detection mode for the image enhancement.
|
|
23930
|
+
* @description Subject detection mode for the image enhancement. Applies to standard enhance and Recovery V2 models.
|
|
23486
23931
|
* @default All
|
|
23487
23932
|
* @enum {string}
|
|
23488
23933
|
*/
|
|
23489
23934
|
subject_detection?: 'All' | 'Foreground' | 'Background';
|
|
23935
|
+
/**
|
|
23936
|
+
* Texture
|
|
23937
|
+
* @description Texture detail level for generative upscaling (1-5). Applies to Redefine model only.
|
|
23938
|
+
*/
|
|
23939
|
+
texture?: number;
|
|
23490
23940
|
/**
|
|
23491
23941
|
* Upscale Factor
|
|
23492
|
-
* @description Factor to upscale the
|
|
23942
|
+
* @description Factor to upscale the image by (e.g. 2.0 doubles width and height)
|
|
23493
23943
|
* @default 2
|
|
23494
23944
|
*/
|
|
23495
23945
|
upscale_factor?: number;
|
|
@@ -25545,12 +25995,11 @@ export interface SkyreelsI2vOutput {
|
|
|
25545
25995
|
*/
|
|
25546
25996
|
seed: number;
|
|
25547
25997
|
/**
|
|
25548
|
-
* Video
|
|
25549
25998
|
* @example {
|
|
25550
25999
|
* "url": "https://fal.media/files/elephant/yOOdaiC5clkH9K_5TTD32_video.mp4"
|
|
25551
26000
|
* }
|
|
25552
26001
|
*/
|
|
25553
|
-
video: Components.
|
|
26002
|
+
video: Components.File;
|
|
25554
26003
|
}
|
|
25555
26004
|
|
|
25556
26005
|
export interface SkyRaccoonInput {
|
|
@@ -35980,11 +36429,11 @@ export interface NanoBananaProInput extends SharedType_065 {}
|
|
|
35980
36429
|
|
|
35981
36430
|
export interface NanoBananaProOutput extends SharedType_ee9 {}
|
|
35982
36431
|
|
|
35983
|
-
export interface NanoBanana2EditInput extends
|
|
36432
|
+
export interface NanoBanana2EditInput extends SharedType_19f {}
|
|
35984
36433
|
|
|
35985
36434
|
export interface NanoBanana2EditOutput extends SharedType_4c2 {}
|
|
35986
36435
|
|
|
35987
|
-
export interface NanoBanana2Input extends
|
|
36436
|
+
export interface NanoBanana2Input extends SharedType_802 {}
|
|
35988
36437
|
|
|
35989
36438
|
export interface NanoBanana2Output extends SharedType_c92 {}
|
|
35990
36439
|
|
|
@@ -37981,21 +38430,21 @@ export interface MinimaxMusicOutput {
|
|
|
37981
38430
|
audio: Components.File;
|
|
37982
38431
|
}
|
|
37983
38432
|
|
|
37984
|
-
export interface MeshyV6TextTo3dInput extends
|
|
38433
|
+
export interface MeshyV6TextTo3dInput extends SharedType_477 {}
|
|
37985
38434
|
|
|
37986
|
-
export interface MeshyV6TextTo3dOutput extends
|
|
38435
|
+
export interface MeshyV6TextTo3dOutput extends SharedType_ba1 {}
|
|
37987
38436
|
|
|
37988
|
-
export interface MeshyV6ImageTo3dInput extends
|
|
38437
|
+
export interface MeshyV6ImageTo3dInput extends SharedType_7ca {}
|
|
37989
38438
|
|
|
37990
|
-
export interface MeshyV6ImageTo3dOutput extends
|
|
38439
|
+
export interface MeshyV6ImageTo3dOutput extends SharedType_82d {}
|
|
37991
38440
|
|
|
37992
|
-
export interface MeshyV6PreviewTextTo3dInput extends
|
|
38441
|
+
export interface MeshyV6PreviewTextTo3dInput extends SharedType_477 {}
|
|
37993
38442
|
|
|
37994
|
-
export interface MeshyV6PreviewTextTo3dOutput extends
|
|
38443
|
+
export interface MeshyV6PreviewTextTo3dOutput extends SharedType_ba1 {}
|
|
37995
38444
|
|
|
37996
|
-
export interface MeshyV6PreviewImageTo3dInput extends
|
|
38445
|
+
export interface MeshyV6PreviewImageTo3dInput extends SharedType_7ca {}
|
|
37997
38446
|
|
|
37998
|
-
export interface MeshyV6PreviewImageTo3dOutput extends
|
|
38447
|
+
export interface MeshyV6PreviewImageTo3dOutput extends SharedType_82d {}
|
|
37999
38448
|
|
|
38000
38449
|
export interface MeshyV5RetextureInput {
|
|
38001
38450
|
/**
|
|
@@ -38066,17 +38515,17 @@ export interface MeshyV5RetextureOutput {
|
|
|
38066
38515
|
* "content_type": "model/vnd.usdz+zip",
|
|
38067
38516
|
* "url": "https://v3b.fal.media/files/b/panda/4ItUhLHiH4foEw30qcWZv_model.usdz"
|
|
38068
38517
|
* },
|
|
38069
|
-
* "obj": {
|
|
38070
|
-
* "file_size": 2964508,
|
|
38071
|
-
* "file_name": "model.obj",
|
|
38072
|
-
* "content_type": "text/plain",
|
|
38073
|
-
* "url": "https://v3b.fal.media/files/b/zebra/M5aK_b6vKH7KeGCZoSLq7_model.obj"
|
|
38074
|
-
* },
|
|
38075
38518
|
* "glb": {
|
|
38076
38519
|
* "file_size": 4097640,
|
|
38077
38520
|
* "file_name": "model.glb",
|
|
38078
38521
|
* "content_type": "model/gltf-binary",
|
|
38079
38522
|
* "url": "https://v3b.fal.media/files/b/tiger/pU0TtsRTxXM6VnKEYTHSV_model.glb"
|
|
38523
|
+
* },
|
|
38524
|
+
* "obj": {
|
|
38525
|
+
* "file_size": 2964508,
|
|
38526
|
+
* "file_name": "model.obj",
|
|
38527
|
+
* "content_type": "text/plain",
|
|
38528
|
+
* "url": "https://v3b.fal.media/files/b/zebra/M5aK_b6vKH7KeGCZoSLq7_model.obj"
|
|
38080
38529
|
* }
|
|
38081
38530
|
* }
|
|
38082
38531
|
*/
|
|
@@ -38193,12 +38642,31 @@ export interface MeshyV5RemeshOutput {
|
|
|
38193
38642
|
}
|
|
38194
38643
|
|
|
38195
38644
|
export interface MeshyV5MultiImageTo3dInput {
|
|
38645
|
+
/**
|
|
38646
|
+
* Animation Action Id
|
|
38647
|
+
* @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.
|
|
38648
|
+
* @default 1001
|
|
38649
|
+
* @example 1001
|
|
38650
|
+
*/
|
|
38651
|
+
animation_action_id?: number;
|
|
38652
|
+
/**
|
|
38653
|
+
* Enable Animation
|
|
38654
|
+
* @description Apply an animation preset to the rigged model. Requires enable_rigging to be true.
|
|
38655
|
+
* @default false
|
|
38656
|
+
*/
|
|
38657
|
+
enable_animation?: boolean;
|
|
38196
38658
|
/**
|
|
38197
38659
|
* Enable Pbr
|
|
38198
38660
|
* @description Generate PBR Maps (metallic, roughness, normal) in addition to base color. Requires should_texture to be true.
|
|
38199
38661
|
* @default false
|
|
38200
38662
|
*/
|
|
38201
38663
|
enable_pbr?: boolean;
|
|
38664
|
+
/**
|
|
38665
|
+
* Enable Rigging
|
|
38666
|
+
* @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.
|
|
38667
|
+
* @default false
|
|
38668
|
+
*/
|
|
38669
|
+
enable_rigging?: boolean;
|
|
38202
38670
|
/**
|
|
38203
38671
|
* Enable Safety Checker
|
|
38204
38672
|
* @description If set to true, input data will be checked for safety before processing.
|
|
@@ -38217,10 +38685,24 @@ export interface MeshyV5MultiImageTo3dInput {
|
|
|
38217
38685
|
image_urls: string[];
|
|
38218
38686
|
/**
|
|
38219
38687
|
* Is A T Pose
|
|
38220
|
-
* @
|
|
38688
|
+
* @deprecated
|
|
38689
|
+
* @description Deprecated: use pose_mode instead. When true, generates a T-pose model.
|
|
38221
38690
|
* @default false
|
|
38222
38691
|
*/
|
|
38223
38692
|
is_a_t_pose?: boolean;
|
|
38693
|
+
/**
|
|
38694
|
+
* Pose Mode
|
|
38695
|
+
* @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.
|
|
38696
|
+
* @default
|
|
38697
|
+
* @enum {string}
|
|
38698
|
+
*/
|
|
38699
|
+
pose_mode?: 'a-pose' | 't-pose' | '';
|
|
38700
|
+
/**
|
|
38701
|
+
* Rigging Height Meters
|
|
38702
|
+
* @description Approximate height of the character in meters. Only used when enable_rigging is true.
|
|
38703
|
+
* @default 1.7
|
|
38704
|
+
*/
|
|
38705
|
+
rigging_height_meters?: number;
|
|
38224
38706
|
/**
|
|
38225
38707
|
* Should Remesh
|
|
38226
38708
|
* @description Whether to enable the remesh phase. When false, returns triangular mesh ignoring topology and target_polycount.
|
|
@@ -38266,6 +38748,9 @@ export interface MeshyV5MultiImageTo3dInput {
|
|
|
38266
38748
|
}
|
|
38267
38749
|
|
|
38268
38750
|
export interface MeshyV5MultiImageTo3dOutput {
|
|
38751
|
+
animation_fbx?: Components.File;
|
|
38752
|
+
animation_glb?: Components.File;
|
|
38753
|
+
basic_animations?: Components.BasicAnimations;
|
|
38269
38754
|
/**
|
|
38270
38755
|
* @description Generated 3D object in GLB format.
|
|
38271
38756
|
* @example {
|
|
@@ -38291,21 +38776,28 @@ export interface MeshyV5MultiImageTo3dOutput {
|
|
|
38291
38776
|
* "content_type": "model/vnd.usdz+zip",
|
|
38292
38777
|
* "url": "https://v3b.fal.media/files/b/panda/fSGLGmtgzUjhepklN06Zw_model.usdz"
|
|
38293
38778
|
* },
|
|
38294
|
-
* "obj": {
|
|
38295
|
-
* "file_size": 2761323,
|
|
38296
|
-
* "file_name": "model.obj",
|
|
38297
|
-
* "content_type": "text/plain",
|
|
38298
|
-
* "url": "https://v3b.fal.media/files/b/koala/xmOnmSeePfuROe3pqHpf0_model.obj"
|
|
38299
|
-
* },
|
|
38300
38779
|
* "glb": {
|
|
38301
38780
|
* "file_size": 7875308,
|
|
38302
38781
|
* "file_name": "model.glb",
|
|
38303
38782
|
* "content_type": "model/gltf-binary",
|
|
38304
38783
|
* "url": "https://v3b.fal.media/files/b/tiger/62QMEQqZ3pjUds4DfuVtX_model.glb"
|
|
38784
|
+
* },
|
|
38785
|
+
* "obj": {
|
|
38786
|
+
* "file_size": 2761323,
|
|
38787
|
+
* "file_name": "model.obj",
|
|
38788
|
+
* "content_type": "text/plain",
|
|
38789
|
+
* "url": "https://v3b.fal.media/files/b/koala/xmOnmSeePfuROe3pqHpf0_model.obj"
|
|
38305
38790
|
* }
|
|
38306
38791
|
* }
|
|
38307
38792
|
*/
|
|
38308
38793
|
model_urls: Components.ModelUrls;
|
|
38794
|
+
/**
|
|
38795
|
+
* Rig Task Id
|
|
38796
|
+
* @description Rigging task ID. Only present when enable_rigging is true.
|
|
38797
|
+
*/
|
|
38798
|
+
rig_task_id?: string;
|
|
38799
|
+
rigged_character_fbx?: Components.File;
|
|
38800
|
+
rigged_character_glb?: Components.File;
|
|
38309
38801
|
/**
|
|
38310
38802
|
* Seed
|
|
38311
38803
|
* @description The seed used for generation (if available)
|
|
@@ -59566,6 +60058,13 @@ export interface HeygenV2TranslatePrecisionInput extends SharedType_82f {}
|
|
|
59566
60058
|
export interface HeygenV2TranslatePrecisionOutput extends SharedType_46f {}
|
|
59567
60059
|
|
|
59568
60060
|
export interface HeygenAvatar4ImageToVideoInput {
|
|
60061
|
+
/**
|
|
60062
|
+
* Aspect Ratio
|
|
60063
|
+
* @description Aspect ratio of the output video. Use '9:16' for portrait (vertical) videos, '16:9' for landscape, or '1:1' for square.
|
|
60064
|
+
* @default 16:9
|
|
60065
|
+
* @enum {string}
|
|
60066
|
+
*/
|
|
60067
|
+
aspect_ratio?: '16:9' | '9:16' | '1:1';
|
|
59569
60068
|
/**
|
|
59570
60069
|
* Audio Url
|
|
59571
60070
|
* @description URL of an audio file for the avatar to lip-sync to. When provided, overrides prompt and voice.
|
|
@@ -59733,11 +60232,11 @@ export interface HeygenAvatar4ImageToVideoOutput {
|
|
|
59733
60232
|
video: Components.File;
|
|
59734
60233
|
}
|
|
59735
60234
|
|
|
59736
|
-
export interface HeygenAvatar4DigitalTwinInput extends
|
|
60235
|
+
export interface HeygenAvatar4DigitalTwinInput extends SharedType_304 {}
|
|
59737
60236
|
|
|
59738
60237
|
export interface HeygenAvatar4DigitalTwinOutput extends SharedType_ec9 {}
|
|
59739
60238
|
|
|
59740
|
-
export interface HeygenAvatar3DigitalTwinInput extends
|
|
60239
|
+
export interface HeygenAvatar3DigitalTwinInput extends SharedType_304 {}
|
|
59741
60240
|
|
|
59742
60241
|
export interface HeygenAvatar3DigitalTwinOutput extends SharedType_ec9 {}
|
|
59743
60242
|
|
|
@@ -60636,11 +61135,11 @@ export interface GeminiFlashEditInput {
|
|
|
60636
61135
|
|
|
60637
61136
|
export interface GeminiFlashEditOutput extends SharedType_b89 {}
|
|
60638
61137
|
|
|
60639
|
-
export interface Gemini31FlashImagePreviewEditInput extends
|
|
61138
|
+
export interface Gemini31FlashImagePreviewEditInput extends SharedType_19f {}
|
|
60640
61139
|
|
|
60641
61140
|
export interface Gemini31FlashImagePreviewEditOutput extends SharedType_4c2 {}
|
|
60642
61141
|
|
|
60643
|
-
export interface Gemini31FlashImagePreviewInput extends
|
|
61142
|
+
export interface Gemini31FlashImagePreviewInput extends SharedType_802 {}
|
|
60644
61143
|
|
|
60645
61144
|
export interface Gemini31FlashImagePreviewOutput extends SharedType_c92 {}
|
|
60646
61145
|
|
|
@@ -63251,8 +63750,8 @@ export interface FluxVisionUpscalerOutput {
|
|
|
63251
63750
|
/**
|
|
63252
63751
|
* @description The URL of the generated image.
|
|
63253
63752
|
* @example {
|
|
63254
|
-
* "file_size": 8842156,
|
|
63255
63753
|
* "height": 2048,
|
|
63754
|
+
* "file_size": 8842156,
|
|
63256
63755
|
* "file_name": "20TZeUQtQ8oKgsCKXSL81_StableSR_00002_.png",
|
|
63257
63756
|
* "content_type": "image/png",
|
|
63258
63757
|
* "url": "https://v3b.fal.media/files/b/panda/20TZeUQtQ8oKgsCKXSL81_StableSR_00002_.png",
|
|
@@ -70566,15 +71065,15 @@ export interface FloweditOutput {
|
|
|
70566
71065
|
seed: number;
|
|
70567
71066
|
}
|
|
70568
71067
|
|
|
70569
|
-
export interface Florence2LargeRegionToSegmentationInput extends
|
|
71068
|
+
export interface Florence2LargeRegionToSegmentationInput extends SharedType_d661 {}
|
|
70570
71069
|
|
|
70571
71070
|
export interface Florence2LargeRegionToSegmentationOutput extends SharedType_4aa {}
|
|
70572
71071
|
|
|
70573
|
-
export interface Florence2LargeRegionToDescriptionInput extends
|
|
71072
|
+
export interface Florence2LargeRegionToDescriptionInput extends SharedType_d661 {}
|
|
70574
71073
|
|
|
70575
71074
|
export interface Florence2LargeRegionToDescriptionOutput extends SharedType_129 {}
|
|
70576
71075
|
|
|
70577
|
-
export interface Florence2LargeRegionToCategoryInput extends
|
|
71076
|
+
export interface Florence2LargeRegionToCategoryInput extends SharedType_d661 {}
|
|
70578
71077
|
|
|
70579
71078
|
export interface Florence2LargeRegionToCategoryOutput extends SharedType_129 {}
|
|
70580
71079
|
|
|
@@ -80275,11 +80774,11 @@ export interface BirefnetV2VideoOutput {
|
|
|
80275
80774
|
* "height": 1080,
|
|
80276
80775
|
* "duration": 8,
|
|
80277
80776
|
* "url": "https://storage.googleapis.com/falserverless/example_outputs/birefnet-video-output.webm",
|
|
80278
|
-
* "fps": 24,
|
|
80279
80777
|
* "width": 1920,
|
|
80778
|
+
* "fps": 24,
|
|
80280
80779
|
* "file_name": "birefnet-video-output.webm",
|
|
80281
|
-
* "
|
|
80282
|
-
* "
|
|
80780
|
+
* "content_type": "video/webm",
|
|
80781
|
+
* "num_frames": 192
|
|
80283
80782
|
* }
|
|
80284
80783
|
*/
|
|
80285
80784
|
video: Components.VideoFile;
|