@layer_ai/sdk 1.0.16 → 1.0.25
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 +147 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,20 @@ export interface AddProjectMembersBody {
|
|
|
12
12
|
/** Ids of workspace members to add. All must already be active workspace members. */
|
|
13
13
|
user_ids: Array<string>;
|
|
14
14
|
}
|
|
15
|
+
/** Which boundary of the source clip a section's times are measured from. */
|
|
16
|
+
export type AudioAnchor = "START" | "END";
|
|
17
|
+
/**
|
|
18
|
+
* An interior time window of the source clip to regenerate (inpaint).
|
|
19
|
+
*
|
|
20
|
+
* Times are non-negative magnitudes measured from ``anchor``. The window is
|
|
21
|
+
* always inside the clip; extending past the clip is outpainting (see
|
|
22
|
+
* [[AudioExtension]]), a separate operation.
|
|
23
|
+
*/
|
|
24
|
+
export interface AudioEditSection {
|
|
25
|
+
start_seconds: number;
|
|
26
|
+
end_seconds: number;
|
|
27
|
+
anchor?: AudioAnchor;
|
|
28
|
+
}
|
|
15
29
|
/**
|
|
16
30
|
* Container for a delivered audio file.
|
|
17
31
|
*
|
|
@@ -32,8 +46,12 @@ export interface BaseModelCapabilitiesREST {
|
|
|
32
46
|
inpainting?: boolean;
|
|
33
47
|
outpainting?: boolean;
|
|
34
48
|
tileability?: boolean;
|
|
49
|
+
/** Generates a tileable image by construction when `tileability` is set, rather than through Layer's seam-repair pass. Cannot be combined with a LoRA style. */
|
|
50
|
+
native_tileability?: boolean;
|
|
35
51
|
/** Supported guidance inputs and their per-type file limits. `init_image` is the source image an edit model modifies; `reference_image` supplies subjects to reproduce; `ip_adapter` is legacy IP-Adapter style-only transfer. */
|
|
36
52
|
guidance_file_types?: Array<ToolGuidanceFileTypeSupport>;
|
|
53
|
+
/** Caps on the combined count of several guidance types, on top of each type's own max_count. A run must fit both: 9 images, 3 videos and 3 audio files can each be within their own limits and still exceed a 12-file total. */
|
|
54
|
+
shared_guidance_limits?: Array<ToolSharedGuidanceLimit>;
|
|
37
55
|
/** 3D models that read their init_image files by view: the views a source can fill. Tag each init_image with the view it shows (`view` on the guidance file); the model reads each file as the view it is tagged with, so a wrong tag warps the mesh. Empty when the model takes its views unordered. */
|
|
38
56
|
init_image_views?: Array<string>;
|
|
39
57
|
/** Supported video durations in seconds */
|
|
@@ -200,7 +218,7 @@ export interface CliAuthConfiguration {
|
|
|
200
218
|
* Each is its own Auth0 application, so Auth0 can tell them apart in its logs, metrics and
|
|
201
219
|
* grants, and a client-level change to one never reaches the other.
|
|
202
220
|
*/
|
|
203
|
-
export type CliClient = "cli" | "blender";
|
|
221
|
+
export type CliClient = "cli" | "blender" | "unity";
|
|
204
222
|
/**
|
|
205
223
|
* A track authored as an ordered list of sections rather than as one description.
|
|
206
224
|
*
|
|
@@ -413,6 +431,8 @@ export interface EstimateInferencePriceV2Request {
|
|
|
413
431
|
quality?: "low" | "medium" | "high" | null;
|
|
414
432
|
/** Output sharpness. */
|
|
415
433
|
sharpness?: number | null;
|
|
434
|
+
/** How much the provider rewrites the prompt before generating: off, fast, standard or quality, on models whose capabilities list prompt_enhancement_levels. A level the model does not offer settles on the nearest one it does; unset leaves the provider's own default. */
|
|
435
|
+
prompt_enhancement?: PromptEnhancement | null;
|
|
416
436
|
/** Output length in seconds — a video clip's duration, or the clip length for audio models whose capabilities report duration_seconds_min and duration_seconds_max. A value outside a model's supported range is refused. */
|
|
417
437
|
duration_seconds?: number | null;
|
|
418
438
|
/** Generate audio with video. */
|
|
@@ -473,6 +493,32 @@ export interface EstimateInferencePriceV2Request {
|
|
|
473
493
|
creativity?: number | null;
|
|
474
494
|
/** Resemblance to original for upscaling. */
|
|
475
495
|
resemblance?: number | null;
|
|
496
|
+
/** Noise removal. On the models whose capabilities report `denoise_range`, in that range; a value outside it is refused. */
|
|
497
|
+
denoise?: number | null;
|
|
498
|
+
/** Compression-artifact removal. On the models whose capabilities report `compression_repair_range`, in that range; a value outside it is refused. */
|
|
499
|
+
compression_repair?: number | null;
|
|
500
|
+
/** Removal of bright edge outlines. On the models whose capabilities report `halo_reduction_range`, in that range; a value outside it is refused. */
|
|
501
|
+
halo_reduction?: number | null;
|
|
502
|
+
/** How much of the source's own detail is kept. On the models whose capabilities report `recover_detail_range`, in that range; a value outside it is refused. */
|
|
503
|
+
recover_detail?: number | null;
|
|
504
|
+
/** How much fine detail the model adds. On the models whose capabilities report `detail_range`, in that range; a value outside it is refused. */
|
|
505
|
+
detail?: number | null;
|
|
506
|
+
/** Film grain laid over the result. On the models whose capabilities report `grain_range`, in that range; a value outside it is refused. */
|
|
507
|
+
grain?: number | null;
|
|
508
|
+
/** How strongly lettering and shapes are rebuilt. On the models whose capabilities report `refine_strength_range`, in that range; a value outside it is refused. */
|
|
509
|
+
refine_strength?: number | null;
|
|
510
|
+
/** Bias of added detail toward photorealism. On the models whose capabilities report `realism_range`, in that range; a value outside it is refused. */
|
|
511
|
+
realism?: number | null;
|
|
512
|
+
/** Set false to skip the face-restoration pass, on models whose capabilities report face_enhancement. */
|
|
513
|
+
face_enhancement?: boolean | null;
|
|
514
|
+
/** Strength of the face pass. On the models whose capabilities report `face_enhancement_strength_range`, in that range; a value outside it is refused. */
|
|
515
|
+
face_enhancement_strength?: number | null;
|
|
516
|
+
/** Facial detail the face pass invents. On the models whose capabilities report `face_enhancement_creativity_range`, in that range; a value outside it is refused. */
|
|
517
|
+
face_enhancement_creativity?: number | null;
|
|
518
|
+
/** all, subject or background: the part of the image enhanced, on models whose capabilities report target_region. */
|
|
519
|
+
target_region?: TargetRegion | null;
|
|
520
|
+
/** Keep the source's palette, on models whose capabilities report color_preservation. */
|
|
521
|
+
color_preservation?: boolean | null;
|
|
476
522
|
/** Vectorize the output image. */
|
|
477
523
|
vectorize?: boolean | null;
|
|
478
524
|
/** Put the output on a transparent background. Also accepted as `remove_background`. */
|
|
@@ -487,6 +533,12 @@ export interface EstimateInferencePriceV2Request {
|
|
|
487
533
|
camera_transform?: CameraTransformDelta | null;
|
|
488
534
|
/** A camera path for an image-to-video run: 2 to 12 keyframes, each an orbit pose (`azimuth` and `elevation` in degrees, `distance` where 1 is the source image's framing) at a `time` from 0 (first frame) to 1 (last). Honored by the models whose capabilities report `camera_trajectory`. */
|
|
489
535
|
camera_trajectory?: Array<CameraTrajectoryKeyframe> | null;
|
|
536
|
+
/** Relight the init image: one or more orbit lights, each placed by `rotation` (`yaw` around the subject and `pitch` above or below it, in degrees) with an `intensity` and a `color_hex`. Honored by the models whose capabilities report `scene_lighting`. */
|
|
537
|
+
scene_lighting?: SceneLightingConfig | null;
|
|
538
|
+
/** Regenerate stretches of the init audio: each section is a window from `start_seconds` to `end_seconds`, measured from the clip's `anchor` (its start by default), that the prompt rewrites while the rest is kept. Honored by the audio models listed for the `inpainting` use case. */
|
|
539
|
+
audio_sections?: Array<AudioEditSection>;
|
|
540
|
+
/** Replace a span of the init video with a generated scene: the source cuts at `start_seconds` and picks up again at `end_seconds`, both from the clip's start, while `duration_seconds` sets the new scene's length. Required by the video models listed for the `insert_video` use case. */
|
|
541
|
+
video_section?: VideoSection | null;
|
|
490
542
|
/** Reference images/files to guide generation. */
|
|
491
543
|
guidance_files?: Array<ForgeGuidanceFileInput>;
|
|
492
544
|
}
|
|
@@ -699,6 +751,8 @@ export interface ExecuteInferenceV2Request {
|
|
|
699
751
|
quality?: "low" | "medium" | "high" | null;
|
|
700
752
|
/** Output sharpness. */
|
|
701
753
|
sharpness?: number | null;
|
|
754
|
+
/** How much the provider rewrites the prompt before generating: off, fast, standard or quality, on models whose capabilities list prompt_enhancement_levels. A level the model does not offer settles on the nearest one it does; unset leaves the provider's own default. */
|
|
755
|
+
prompt_enhancement?: PromptEnhancement | null;
|
|
702
756
|
/** Output length in seconds — a video clip's duration, or the clip length for audio models whose capabilities report duration_seconds_min and duration_seconds_max. A value outside a model's supported range is refused. */
|
|
703
757
|
duration_seconds?: number | null;
|
|
704
758
|
/** Generate audio with video. */
|
|
@@ -759,6 +813,32 @@ export interface ExecuteInferenceV2Request {
|
|
|
759
813
|
creativity?: number | null;
|
|
760
814
|
/** Resemblance to original for upscaling. */
|
|
761
815
|
resemblance?: number | null;
|
|
816
|
+
/** Noise removal. On the models whose capabilities report `denoise_range`, in that range; a value outside it is refused. */
|
|
817
|
+
denoise?: number | null;
|
|
818
|
+
/** Compression-artifact removal. On the models whose capabilities report `compression_repair_range`, in that range; a value outside it is refused. */
|
|
819
|
+
compression_repair?: number | null;
|
|
820
|
+
/** Removal of bright edge outlines. On the models whose capabilities report `halo_reduction_range`, in that range; a value outside it is refused. */
|
|
821
|
+
halo_reduction?: number | null;
|
|
822
|
+
/** How much of the source's own detail is kept. On the models whose capabilities report `recover_detail_range`, in that range; a value outside it is refused. */
|
|
823
|
+
recover_detail?: number | null;
|
|
824
|
+
/** How much fine detail the model adds. On the models whose capabilities report `detail_range`, in that range; a value outside it is refused. */
|
|
825
|
+
detail?: number | null;
|
|
826
|
+
/** Film grain laid over the result. On the models whose capabilities report `grain_range`, in that range; a value outside it is refused. */
|
|
827
|
+
grain?: number | null;
|
|
828
|
+
/** How strongly lettering and shapes are rebuilt. On the models whose capabilities report `refine_strength_range`, in that range; a value outside it is refused. */
|
|
829
|
+
refine_strength?: number | null;
|
|
830
|
+
/** Bias of added detail toward photorealism. On the models whose capabilities report `realism_range`, in that range; a value outside it is refused. */
|
|
831
|
+
realism?: number | null;
|
|
832
|
+
/** Set false to skip the face-restoration pass, on models whose capabilities report face_enhancement. */
|
|
833
|
+
face_enhancement?: boolean | null;
|
|
834
|
+
/** Strength of the face pass. On the models whose capabilities report `face_enhancement_strength_range`, in that range; a value outside it is refused. */
|
|
835
|
+
face_enhancement_strength?: number | null;
|
|
836
|
+
/** Facial detail the face pass invents. On the models whose capabilities report `face_enhancement_creativity_range`, in that range; a value outside it is refused. */
|
|
837
|
+
face_enhancement_creativity?: number | null;
|
|
838
|
+
/** all, subject or background: the part of the image enhanced, on models whose capabilities report target_region. */
|
|
839
|
+
target_region?: TargetRegion | null;
|
|
840
|
+
/** Keep the source's palette, on models whose capabilities report color_preservation. */
|
|
841
|
+
color_preservation?: boolean | null;
|
|
762
842
|
/** Vectorize the output image. */
|
|
763
843
|
vectorize?: boolean | null;
|
|
764
844
|
/** Put the output on a transparent background. Also accepted as `remove_background`. */
|
|
@@ -773,6 +853,12 @@ export interface ExecuteInferenceV2Request {
|
|
|
773
853
|
camera_transform?: CameraTransformDelta | null;
|
|
774
854
|
/** A camera path for an image-to-video run: 2 to 12 keyframes, each an orbit pose (`azimuth` and `elevation` in degrees, `distance` where 1 is the source image's framing) at a `time` from 0 (first frame) to 1 (last). Honored by the models whose capabilities report `camera_trajectory`. */
|
|
775
855
|
camera_trajectory?: Array<CameraTrajectoryKeyframe> | null;
|
|
856
|
+
/** Relight the init image: one or more orbit lights, each placed by `rotation` (`yaw` around the subject and `pitch` above or below it, in degrees) with an `intensity` and a `color_hex`. Honored by the models whose capabilities report `scene_lighting`. */
|
|
857
|
+
scene_lighting?: SceneLightingConfig | null;
|
|
858
|
+
/** Regenerate stretches of the init audio: each section is a window from `start_seconds` to `end_seconds`, measured from the clip's `anchor` (its start by default), that the prompt rewrites while the rest is kept. Honored by the audio models listed for the `inpainting` use case. */
|
|
859
|
+
audio_sections?: Array<AudioEditSection>;
|
|
860
|
+
/** Replace a span of the init video with a generated scene: the source cuts at `start_seconds` and picks up again at `end_seconds`, both from the clip's start, while `duration_seconds` sets the new scene's length. Required by the video models listed for the `insert_video` use case. */
|
|
861
|
+
video_section?: VideoSection | null;
|
|
776
862
|
/** Reference images/files to guide generation. */
|
|
777
863
|
guidance_files?: Array<ForgeGuidanceFileInput>;
|
|
778
864
|
/** Random seed. -1 for random. */
|
|
@@ -870,6 +956,8 @@ export interface ForgeReferenceSetContribution {
|
|
|
870
956
|
voice_applied?: boolean;
|
|
871
957
|
/** Number of assets successfully mapped to guidance inputs. */
|
|
872
958
|
mapped_asset_count?: number;
|
|
959
|
+
/** True when the set's color palette was appended to the prompt. */
|
|
960
|
+
palette_applied?: boolean;
|
|
873
961
|
/** True when the set fell back to prompt-only representation. */
|
|
874
962
|
prompt_fallback_applied?: boolean;
|
|
875
963
|
/** True when the set's auto prompt addition was appended to the prompt. Informational: the text rides on top of whatever else the set contributed and is not a degradation. */
|
|
@@ -878,6 +966,8 @@ export interface ForgeReferenceSetContribution {
|
|
|
878
966
|
lora_available_but_incompatible?: boolean;
|
|
879
967
|
/** True when the set isn't applicable to the chosen model (its modality / applicable base models exclude it) so no LoRA or assets were applied. */
|
|
880
968
|
skipped_not_applicable?: boolean;
|
|
969
|
+
/** True when the set's category means nothing for the chosen model's modality (a camera move on an image model), so it was dropped entirely, prompt text included. Implies skipped_not_applicable. */
|
|
970
|
+
skipped_irrelevant_category?: boolean;
|
|
881
971
|
}
|
|
882
972
|
export interface ForgeRunAsset {
|
|
883
973
|
/** File ID for the generated asset. */
|
|
@@ -1091,7 +1181,7 @@ export interface InferenceReferenceSetInput {
|
|
|
1091
1181
|
weight?: number;
|
|
1092
1182
|
}
|
|
1093
1183
|
export type InferenceStatus = "in_progress" | "complete" | "failed" | "cancelled" | "deleted";
|
|
1094
|
-
export type InferenceUseCase = "text_to_image" | "image_editing" | "multi_angle" | "inpainting" | "reframing" | "split_into_layers" | "text_to_video" | "image_to_video" | "video_editing" | "video_extend" | "video_subtitle" | "video_lipsync" | "motion_transfer" | "video_object_swap" | "image_to_video_lipsync" | "text_to_3d" | "image_to_3d" | "remesh" | "retexture" | "uv_unwrap" | "animate" | "rig" | "segment" | "image_segment" | "text_to_speech" | "sound_effects" | "music" | "upscaling" | "video_interpolation" | "denoise_image" | "denoise_video" | "deblur_video" | "restore_image" | "sdr_to_hdr_video" | "background_removal" | "vectorization" | "virtual_try_on";
|
|
1184
|
+
export type InferenceUseCase = "text_to_image" | "image_editing" | "multi_angle" | "inpainting" | "reframing" | "split_into_layers" | "text_to_video" | "image_to_video" | "video_editing" | "video_extend" | "insert_video" | "video_subtitle" | "video_lipsync" | "motion_transfer" | "video_object_swap" | "image_to_video_lipsync" | "text_to_3d" | "image_to_3d" | "remesh" | "retexture" | "uv_unwrap" | "animate" | "rig" | "segment" | "image_segment" | "text_to_speech" | "sound_effects" | "music" | "upscaling" | "video_interpolation" | "denoise_image" | "denoise_video" | "denoise_audio" | "deblur_video" | "restore_image" | "sdr_to_hdr_video" | "background_removal" | "vectorization" | "virtual_try_on" | "generate_pbr_materials";
|
|
1095
1185
|
/** Delivered when an inference run reaches a terminal state. */
|
|
1096
1186
|
export interface InferenceWebhookEvent {
|
|
1097
1187
|
/** Unique event id, repeated in the webhook-id header. */
|
|
@@ -1304,6 +1394,21 @@ export interface NormalizedInferenceParametersV2 {
|
|
|
1304
1394
|
fps?: number | null;
|
|
1305
1395
|
}
|
|
1306
1396
|
export type ObjectEventType = "created" | "updated" | "deleted";
|
|
1397
|
+
export interface OrbitLight {
|
|
1398
|
+
id: string;
|
|
1399
|
+
distance: number;
|
|
1400
|
+
rotation: OrbitLightRotation;
|
|
1401
|
+
properties: OrbitLightProperties;
|
|
1402
|
+
}
|
|
1403
|
+
export interface OrbitLightProperties {
|
|
1404
|
+
intensity: number;
|
|
1405
|
+
color_hex: string;
|
|
1406
|
+
cast_shadows?: boolean | null;
|
|
1407
|
+
}
|
|
1408
|
+
export interface OrbitLightRotation {
|
|
1409
|
+
pitch: number;
|
|
1410
|
+
yaw: number;
|
|
1411
|
+
}
|
|
1307
1412
|
export interface PaginationOutput {
|
|
1308
1413
|
/** Cursor to use to get the next page */
|
|
1309
1414
|
next_cursor?: string | null;
|
|
@@ -1358,6 +1463,19 @@ export interface ProjectSummary {
|
|
|
1358
1463
|
/** Number of library objects currently linked to this project. */
|
|
1359
1464
|
object_count: number;
|
|
1360
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
* How much effort the provider spends rewriting the prompt before it generates.
|
|
1468
|
+
*
|
|
1469
|
+
* One ladder for a dial providers spell a dozen ways: an on/off flag (`enable_prompt_expansion`,
|
|
1470
|
+
* `prompt_optimizer`, `enhance_prompt`, `expand_prompt`, `autoprompt`, ...) or a mode (MiniMax's
|
|
1471
|
+
* disabled/fast/balanced/quality, Seedream's fast/standard, Qwen's none/quality). Member order is
|
|
1472
|
+
* the ladder. Each model declares the levels it offers as ``prompt_enhancement_levels``, and the
|
|
1473
|
+
* provider mapping spells a level its own way; an on/off provider offers OFF and STANDARD.
|
|
1474
|
+
*
|
|
1475
|
+
* This is the provider's own rewriting, distinct from Layer's prompt-enhance action, which
|
|
1476
|
+
* rewrites the prompt visibly before the request is made.
|
|
1477
|
+
*/
|
|
1478
|
+
export type PromptEnhancement = "off" | "fast" | "standard" | "quality";
|
|
1361
1479
|
export interface ReferenceSetFile {
|
|
1362
1480
|
/** ID of a file attached to the reference set. */
|
|
1363
1481
|
file_id: string;
|
|
@@ -1409,6 +1527,10 @@ export interface RotateWebhookSecretResponse {
|
|
|
1409
1527
|
/** When the previous secret stops signing. Until then both secrets sign every delivery, so a receiver can be updated without dropping anything. */
|
|
1410
1528
|
previous_secret_expires_at: string;
|
|
1411
1529
|
}
|
|
1530
|
+
/** An array of orbiting light sources to populate the graphics engine environment. */
|
|
1531
|
+
export interface SceneLightingConfig {
|
|
1532
|
+
lights?: Array<OrbitLight>;
|
|
1533
|
+
}
|
|
1412
1534
|
export interface ScoreFilesBody {
|
|
1413
1535
|
/** The files to score. Images, video and 3D can be judged; audio and text cannot. */
|
|
1414
1536
|
file_ids: Array<string>;
|
|
@@ -1590,19 +1712,30 @@ export interface StartTrainingResponse {
|
|
|
1590
1712
|
* are seeded only by the fixtures in ``core/workflows/fixtures/data/reference_sets`` and
|
|
1591
1713
|
* a user-facing write path must reject them (see ``USER_SETTABLE_CATEGORIES``).
|
|
1592
1714
|
*/
|
|
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";
|
|
1715
|
+
export type StyleCategory = "general" | "character" | "object" | "scene" | "animation" | "brand" | "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";
|
|
1716
|
+
export type TargetRegion = "all" | "subject" | "background";
|
|
1594
1717
|
export interface ToolGuidanceFileTypeSupport {
|
|
1595
1718
|
/** Guidance file type, such as init_image, reference_image, first_frame, pose, or depth. */
|
|
1596
1719
|
type: string;
|
|
1597
1720
|
/** Maximum number of files of this type accepted by the model. */
|
|
1598
1721
|
max_count: number;
|
|
1599
|
-
/** Longest video or audio this slot accepts, in seconds.
|
|
1722
|
+
/** Longest single video or audio this slot accepts, in seconds. A cap on the combined length of several files is listed under shared_guidance_limits. Null when the model states no cap. */
|
|
1600
1723
|
max_duration_seconds?: number | null;
|
|
1601
1724
|
/** Shortest video or audio this slot accepts, in seconds; a shorter one is rejected. Null when the model states no floor. */
|
|
1602
1725
|
min_duration_seconds?: number | null;
|
|
1603
1726
|
/** Minimum number of files of this type a run must supply. 0 means the input is optional. */
|
|
1604
1727
|
min_count?: number;
|
|
1605
1728
|
}
|
|
1729
|
+
export interface ToolSharedGuidanceLimit {
|
|
1730
|
+
/** Guidance file types that count toward this limit. */
|
|
1731
|
+
types: Array<string>;
|
|
1732
|
+
/** Most files of these types one run may attach combined. Only one first_frame counts. */
|
|
1733
|
+
max_count: number;
|
|
1734
|
+
/** Shortest summed length, in seconds, of the videos or audio of these types. Null when unbounded. */
|
|
1735
|
+
min_combined_duration_seconds?: number | null;
|
|
1736
|
+
/** Longest summed length, in seconds, of the videos or audio of these types. Null when unbounded. */
|
|
1737
|
+
max_combined_duration_seconds?: number | null;
|
|
1738
|
+
}
|
|
1606
1739
|
export interface TrainedModelResponse {
|
|
1607
1740
|
/** ID of the trained finetune (LoRA) for the run. */
|
|
1608
1741
|
finetune_id: string;
|
|
@@ -1666,6 +1799,16 @@ export interface ValidationError {
|
|
|
1666
1799
|
ctx?: Record<string, unknown>;
|
|
1667
1800
|
}
|
|
1668
1801
|
export type VideoEffectType = "general" | "orbit_360" | "action_run" | "agent_reveal" | "arc" | "arc_left" | "baseball_kick" | "basketball_dunks" | "boxing" | "buckle_up" | "building_explosion" | "bullet_time" | "car_chasing" | "car_explosion" | "car_grip" | "catch" | "catwalk" | "crane_down" | "crane_over_the_head" | "crane_up" | "crash_zoom_in" | "crash_zoom_out" | "dirty_lens" | "disintegration" | "dolly_in" | "dolly_left" | "dolly_out" | "dolly_right" | "dolly_zoom_in" | "dolly_zoom_out" | "double_dolly" | "downhill_pov" | "dutch_angle" | "eyes_in" | "face_punch" | "fisheye" | "flying" | "focus_change" | "fpv_drone" | "glam" | "handheld" | "head_tracking" | "hyperlapse" | "invisible" | "jib_down" | "jib_up" | "kiss" | "lazy_susan" | "lens_crack" | "lens_flare" | "levitation" | "low_shutter" | "melting" | "moonwalk_left" | "moonwalk_right" | "mouth_in" | "object_pov" | "overhead" | "push_to_glass" | "rap_flex" | "robo_arm" | "set_on_fire" | "skateboard_glide" | "skateboarding" | "skateboard_kickflip" | "skateboard_ollie" | "skate_cruise" | "ski_carving" | "ski_powder" | "snorricam" | "snowboard_carving" | "snowboard_powder" | "soul_jump" | "static" | "super_dolly_in" | "super_dolly_out" | "tentacles" | "through_object_in" | "through_object_out" | "thunder_god" | "tilt_down" | "tilt_up" | "timelapse_human" | "timelapse_landscape" | "turning_metal" | "whip_pan" | "wiggle" | "wind_to_face" | "yoyo_zoom" | "zoom_in" | "zoom_out";
|
|
1802
|
+
/**
|
|
1803
|
+
* A time window of the source clip, in seconds from its start, that an edit replaces.
|
|
1804
|
+
*
|
|
1805
|
+
* A video insert cuts the source at ``start_seconds``, plays a generated scene, then picks the
|
|
1806
|
+
* source back up at ``end_seconds``.
|
|
1807
|
+
*/
|
|
1808
|
+
export interface VideoSection {
|
|
1809
|
+
start_seconds: number;
|
|
1810
|
+
end_seconds: number;
|
|
1811
|
+
}
|
|
1669
1812
|
export type WebhookDeliveryStatus = "pending" | "delivered" | "failed";
|
|
1670
1813
|
/**
|
|
1671
1814
|
* Every event the public API can deliver.
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.25";
|