@layer_ai/sdk 1.0.13 → 1.0.15
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/dist/generated/types.d.ts +15 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -74,6 +74,8 @@ export interface BaseModelCapabilitiesREST {
|
|
|
74
74
|
output_formats?: Array<string>;
|
|
75
75
|
/** Speaks only in a trained voice, so a generation needs a reference set holding one. Without it the provider falls back to its own default voice. */
|
|
76
76
|
voice_reference_set_required?: boolean;
|
|
77
|
+
rigging?: boolean;
|
|
78
|
+
animation?: boolean;
|
|
77
79
|
camera_transform?: boolean;
|
|
78
80
|
camera_trajectory?: boolean;
|
|
79
81
|
voice_changer?: boolean;
|
|
@@ -451,6 +453,10 @@ export interface EstimateInferencePriceV2Request {
|
|
|
451
453
|
generate_parts?: boolean | null;
|
|
452
454
|
/** Face/polygon limit for 3D mesh. */
|
|
453
455
|
face_limit?: number | null;
|
|
456
|
+
/** Rig the generated 3D mesh with a skeleton. Honored by the models whose capabilities report `rigging`. */
|
|
457
|
+
enable_rigging?: boolean | null;
|
|
458
|
+
/** Animate the generated 3D mesh with the motion of the animation reference set passed in `reference_sets` (category `animation`), or the provider's default motion without one; implies rigging. Honored by the models whose capabilities report `animation`. */
|
|
459
|
+
enable_animation?: boolean | null;
|
|
454
460
|
/** Audio stability (0-1). */
|
|
455
461
|
stability?: number | null;
|
|
456
462
|
/** Boost speaker clarity. */
|
|
@@ -733,6 +739,10 @@ export interface ExecuteInferenceV2Request {
|
|
|
733
739
|
generate_parts?: boolean | null;
|
|
734
740
|
/** Face/polygon limit for 3D mesh. */
|
|
735
741
|
face_limit?: number | null;
|
|
742
|
+
/** Rig the generated 3D mesh with a skeleton. Honored by the models whose capabilities report `rigging`. */
|
|
743
|
+
enable_rigging?: boolean | null;
|
|
744
|
+
/** Animate the generated 3D mesh with the motion of the animation reference set passed in `reference_sets` (category `animation`), or the provider's default motion without one; implies rigging. Honored by the models whose capabilities report `animation`. */
|
|
745
|
+
enable_animation?: boolean | null;
|
|
736
746
|
/** Audio stability (0-1). */
|
|
737
747
|
stability?: number | null;
|
|
738
748
|
/** Boost speaker clarity. */
|
|
@@ -1580,12 +1590,16 @@ export interface StartTrainingResponse {
|
|
|
1580
1590
|
* are seeded only by the fixtures in ``core/workflows/fixtures/data/reference_sets`` and
|
|
1581
1591
|
* a user-facing write path must reject them (see ``USER_SETTABLE_CATEGORIES``).
|
|
1582
1592
|
*/
|
|
1583
|
-
export type StyleCategory = "general" | "character" | "object" | "scene" | "
|
|
1593
|
+
export type StyleCategory = "general" | "character" | "object" | "scene" | "animation" | "camera_movement" | "camera_angle" | "camera_framing" | "camera_lens" | "scene_lighting" | "scene_composition" | "scene_atmosphere" | "time_and_motion" | "genre_look" | "optical_effect" | "visual_effect" | "character_performance";
|
|
1584
1594
|
export interface ToolGuidanceFileTypeSupport {
|
|
1585
1595
|
/** Guidance file type, such as init_image, reference_image, first_frame, pose, or depth. */
|
|
1586
1596
|
type: string;
|
|
1587
1597
|
/** Maximum number of files of this type accepted by the model. */
|
|
1588
1598
|
max_count: number;
|
|
1599
|
+
/** Longest video or audio this slot accepts, in seconds. When the slot takes several files, this caps their combined length. Null when the model states no cap. */
|
|
1600
|
+
max_duration_seconds?: number | null;
|
|
1601
|
+
/** Shortest video or audio this slot accepts, in seconds; a shorter one is rejected. Null when the model states no floor. */
|
|
1602
|
+
min_duration_seconds?: number | null;
|
|
1589
1603
|
/** Minimum number of files of this type a run must supply. 0 means the input is optional. */
|
|
1590
1604
|
min_count?: number;
|
|
1591
1605
|
}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.15";
|