fal-endpoint-types 1.3.49 → 1.3.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/fal/endpoints/components.d.ts +57 -2
- package/types/fal/endpoints/index.d.ts +45 -0
- package/types/fal/endpoints/schema.d.ts +3106 -2815
package/package.json
CHANGED
|
@@ -2453,21 +2453,46 @@ export interface SAM3DBodyPersonMetadata {
|
|
|
2453
2453
|
* @description Bounding box [x_min, y_min, x_max, y_max]
|
|
2454
2454
|
*/
|
|
2455
2455
|
bbox: number[];
|
|
2456
|
+
/**
|
|
2457
|
+
* Body Pose Params
|
|
2458
|
+
* @description Per-joint body pose parameters (axis-angle form) from the MHR model.
|
|
2459
|
+
*/
|
|
2460
|
+
body_pose_params?: number[][];
|
|
2461
|
+
/**
|
|
2462
|
+
* Expr Params
|
|
2463
|
+
* @description MHR facial-expression parameters.
|
|
2464
|
+
*/
|
|
2465
|
+
expr_params?: number[];
|
|
2456
2466
|
/**
|
|
2457
2467
|
* Focal Length
|
|
2458
2468
|
* @description Estimated focal length
|
|
2459
2469
|
*/
|
|
2460
2470
|
focal_length: number;
|
|
2471
|
+
/**
|
|
2472
|
+
* Global Rot
|
|
2473
|
+
* @description Global root rotation produced by MHR. Shape matches the upstream tensor (axis-angle [3] or rotation matrix [3, 3]).
|
|
2474
|
+
*/
|
|
2475
|
+
global_rot?: { [x: string]: any }[];
|
|
2476
|
+
/**
|
|
2477
|
+
* Hand Pose Params
|
|
2478
|
+
* @description Per-joint hand pose parameters (axis-angle form) from the MHR model.
|
|
2479
|
+
*/
|
|
2480
|
+
hand_pose_params?: number[][];
|
|
2461
2481
|
/**
|
|
2462
2482
|
* Keypoints 2D
|
|
2463
|
-
* @description 2D keypoints [[x, y], ...] - 70 body keypoints
|
|
2483
|
+
* @description 2D keypoints [[x, y], ...] - 70 MHR body keypoints in image coordinates. See `SAM3DBodyMetadata.keypoint_names` for the ordered name of each index.
|
|
2464
2484
|
*/
|
|
2465
2485
|
keypoints_2d: number[][];
|
|
2466
2486
|
/**
|
|
2467
2487
|
* Keypoints 3D
|
|
2468
|
-
* @description 3D keypoints [[x, y, z], ...] - 70 body keypoints in camera space
|
|
2488
|
+
* @description 3D keypoints [[x, y, z], ...] - 70 MHR body keypoints in camera space. Ordering matches `keypoints_2d` / `SAM3DBodyMetadata.keypoint_names`.
|
|
2469
2489
|
*/
|
|
2470
2490
|
keypoints_3d?: number[][];
|
|
2491
|
+
/**
|
|
2492
|
+
* Mhr Model Params
|
|
2493
|
+
* @description Packed MHR parameter vector (concatenated shape/pose/expression/scale). Shape is forwarded as-is from the upstream model.
|
|
2494
|
+
*/
|
|
2495
|
+
mhr_model_params?: { [x: string]: any }[];
|
|
2471
2496
|
/**
|
|
2472
2497
|
* Person Id
|
|
2473
2498
|
* @description Index of the person in the scene
|
|
@@ -2478,9 +2503,39 @@ export interface SAM3DBodyPersonMetadata {
|
|
|
2478
2503
|
* @description Predicted camera translation [tx, ty, tz]
|
|
2479
2504
|
*/
|
|
2480
2505
|
pred_cam_t: number[];
|
|
2506
|
+
/**
|
|
2507
|
+
* Pred Global Rots
|
|
2508
|
+
* @description Per-joint global rotations (world-space), typically [N_joints, 3, 3] rotation matrices. Needed for inverse linear-blend skinning / un-posing clients.
|
|
2509
|
+
*/
|
|
2510
|
+
pred_global_rots?: { [x: string]: any }[];
|
|
2511
|
+
/**
|
|
2512
|
+
* Pred Joint Coords
|
|
2513
|
+
* @description Skeleton joint positions in world space [[x, y, z], ...]. One row per MHR joint.
|
|
2514
|
+
*/
|
|
2515
|
+
pred_joint_coords?: number[][];
|
|
2516
|
+
/**
|
|
2517
|
+
* Pred Pose Raw
|
|
2518
|
+
* @description Raw pose transforms produced by the MHR decoder (pre-FK), forwarded as-is from the upstream model.
|
|
2519
|
+
*/
|
|
2520
|
+
pred_pose_raw?: { [x: string]: any }[];
|
|
2521
|
+
/**
|
|
2522
|
+
* Scale Params
|
|
2523
|
+
* @description MHR scale parameters (isotropic or per-axis).
|
|
2524
|
+
*/
|
|
2525
|
+
scale_params?: number[];
|
|
2526
|
+
/**
|
|
2527
|
+
* Shape Params
|
|
2528
|
+
* @description MHR identity (β) shape parameters. Enables local canonical-pose mesh reconstruction when combined with the MHR model.
|
|
2529
|
+
*/
|
|
2530
|
+
shape_params?: number[];
|
|
2481
2531
|
}
|
|
2482
2532
|
|
|
2483
2533
|
export interface SAM3DBodyMetadata {
|
|
2534
|
+
/**
|
|
2535
|
+
* Keypoint Names
|
|
2536
|
+
* @description Ordered names of the 70 MHR keypoints returned by this endpoint. Index `i` in this list corresponds to index `i` in every person's `keypoints_2d` and `keypoints_3d` arrays. Sourced from facebookresearch/sam-3d-body `mhr70.py`.
|
|
2537
|
+
*/
|
|
2538
|
+
keypoint_names?: string[];
|
|
2484
2539
|
/**
|
|
2485
2540
|
* Num People
|
|
2486
2541
|
* @description Number of people detected
|
|
@@ -2759,6 +2759,11 @@ declare global {
|
|
|
2759
2759
|
output: falEndpoints.MeshyV6TextTo3dOutput;
|
|
2760
2760
|
};
|
|
2761
2761
|
|
|
2762
|
+
'fal-ai/meshy/v6/multi-image-to-3d': {
|
|
2763
|
+
input: falEndpoints.MeshyV6MultiImageTo3dInput;
|
|
2764
|
+
output: falEndpoints.MeshyV6MultiImageTo3dOutput;
|
|
2765
|
+
};
|
|
2766
|
+
|
|
2762
2767
|
'fal-ai/meshy/v6/image-to-3d': {
|
|
2763
2768
|
input: falEndpoints.MeshyV6ImageTo3dInput;
|
|
2764
2769
|
output: falEndpoints.MeshyV6ImageTo3dOutput;
|
|
@@ -3589,6 +3594,16 @@ declare global {
|
|
|
3589
3594
|
output: falEndpoints.KlingVideoV3ProImageToVideoOutput;
|
|
3590
3595
|
};
|
|
3591
3596
|
|
|
3597
|
+
'fal-ai/kling-video/v3/4k/text-to-video': {
|
|
3598
|
+
input: falEndpoints.KlingVideoV34kTextToVideoInput;
|
|
3599
|
+
output: falEndpoints.KlingVideoV34kTextToVideoOutput;
|
|
3600
|
+
};
|
|
3601
|
+
|
|
3602
|
+
'fal-ai/kling-video/v3/4k/image-to-video': {
|
|
3603
|
+
input: falEndpoints.KlingVideoV34kImageToVideoInput;
|
|
3604
|
+
output: falEndpoints.KlingVideoV34kImageToVideoOutput;
|
|
3605
|
+
};
|
|
3606
|
+
|
|
3592
3607
|
'fal-ai/kling-video/v2/master/text-to-video': {
|
|
3593
3608
|
input: falEndpoints.KlingVideoV2MasterTextToVideoInput;
|
|
3594
3609
|
output: falEndpoints.KlingVideoV2MasterTextToVideoOutput;
|
|
@@ -3789,6 +3804,21 @@ declare global {
|
|
|
3789
3804
|
output: falEndpoints.KlingVideoO3ProImageToVideoOutput;
|
|
3790
3805
|
};
|
|
3791
3806
|
|
|
3807
|
+
'fal-ai/kling-video/o3/4k/text-to-video': {
|
|
3808
|
+
input: falEndpoints.KlingVideoO34kTextToVideoInput;
|
|
3809
|
+
output: falEndpoints.KlingVideoO34kTextToVideoOutput;
|
|
3810
|
+
};
|
|
3811
|
+
|
|
3812
|
+
'fal-ai/kling-video/o3/4k/reference-to-video': {
|
|
3813
|
+
input: falEndpoints.KlingVideoO34kReferenceToVideoInput;
|
|
3814
|
+
output: falEndpoints.KlingVideoO34kReferenceToVideoOutput;
|
|
3815
|
+
};
|
|
3816
|
+
|
|
3817
|
+
'fal-ai/kling-video/o3/4k/image-to-video': {
|
|
3818
|
+
input: falEndpoints.KlingVideoO34kImageToVideoInput;
|
|
3819
|
+
output: falEndpoints.KlingVideoO34kImageToVideoOutput;
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3792
3822
|
'fal-ai/kling-video/o1/video-to-video/reference': {
|
|
3793
3823
|
input: falEndpoints.KlingVideoO1VideoToVideoReferenceInput;
|
|
3794
3824
|
output: falEndpoints.KlingVideoO1VideoToVideoReferenceOutput;
|
|
@@ -4364,6 +4394,16 @@ declare global {
|
|
|
4364
4394
|
output: falEndpoints.IdeogramUpscaleOutput;
|
|
4365
4395
|
};
|
|
4366
4396
|
|
|
4397
|
+
'fal-ai/ideogram/custom-models/generate': {
|
|
4398
|
+
input: falEndpoints.IdeogramCustomModelsGenerateInput;
|
|
4399
|
+
output: falEndpoints.IdeogramCustomModelsGenerateOutput;
|
|
4400
|
+
};
|
|
4401
|
+
|
|
4402
|
+
'fal-ai/ideogram/custom-models': {
|
|
4403
|
+
input: falEndpoints.IdeogramCustomModelsInput;
|
|
4404
|
+
output: falEndpoints.IdeogramCustomModelsOutput;
|
|
4405
|
+
};
|
|
4406
|
+
|
|
4367
4407
|
'fal-ai/ideogram/character/remix': {
|
|
4368
4408
|
input: falEndpoints.IdeogramCharacterRemixInput;
|
|
4369
4409
|
output: falEndpoints.IdeogramCharacterRemixOutput;
|
|
@@ -5934,6 +5974,11 @@ declare global {
|
|
|
5934
5974
|
output: falEndpoints.ControlnextOutput;
|
|
5935
5975
|
};
|
|
5936
5976
|
|
|
5977
|
+
'fal-ai/cohere-transcribe': {
|
|
5978
|
+
input: falEndpoints.CohereTranscribeInput;
|
|
5979
|
+
output: falEndpoints.CohereTranscribeOutput;
|
|
5980
|
+
};
|
|
5981
|
+
|
|
5937
5982
|
'fal-ai/cogview4': {
|
|
5938
5983
|
input: falEndpoints.Cogview4Input;
|
|
5939
5984
|
output: falEndpoints.Cogview4Output;
|