layer 1.0.45__tar.gz → 1.0.47__tar.gz
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.
- {layer-1.0.45 → layer-1.0.47}/PKG-INFO +1 -1
- {layer-1.0.45 → layer-1.0.47}/pyproject.toml +1 -1
- {layer-1.0.45 → layer-1.0.47}/pyproject.toml.orig +1 -1
- {layer-1.0.45 → layer-1.0.47}/src/layer/_api/models.py +19 -0
- {layer-1.0.45 → layer-1.0.47}/README.md +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/__init__.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/__main__.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_api/__init__.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_api/client.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/__init__.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/auth_commands.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/base_model_commands.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/context.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/context_commands.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/generate_commands.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/main.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/_cli/output.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/auth.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/catalog.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/config.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/credentials.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/download.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/exit_codes.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/generate.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/oauth.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/params.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/sessions.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/sse.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/uploads.py +0 -0
- {layer-1.0.45 → layer-1.0.47}/src/layer/workspaces.py +0 -0
|
@@ -52,6 +52,15 @@ class AudioEditSection(BaseModel):
|
|
|
52
52
|
anchor: AudioAnchor | None = "START"
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
class AudioExtension(BaseModel):
|
|
56
|
+
"""
|
|
57
|
+
Outpaint: how much audio to add before/after the source clip.
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
before_seconds: float | None = Field(0.0, ge=0.0, title="Before Seconds")
|
|
61
|
+
after_seconds: float | None = Field(0.0, ge=0.0, title="After Seconds")
|
|
62
|
+
|
|
63
|
+
|
|
55
64
|
class AudioOutputFormat(Enum):
|
|
56
65
|
"""
|
|
57
66
|
Container for a delivered audio file.
|
|
@@ -852,6 +861,7 @@ class InferenceUseCase(Enum):
|
|
|
852
861
|
denoise_video = "denoise_video"
|
|
853
862
|
denoise_audio = "denoise_audio"
|
|
854
863
|
audio_separation = "audio_separation"
|
|
864
|
+
audio_isolation = "audio_isolation"
|
|
855
865
|
deblur_video = "deblur_video"
|
|
856
866
|
restore_image = "restore_image"
|
|
857
867
|
sdr_to_hdr_video = "sdr_to_hdr_video"
|
|
@@ -865,6 +875,7 @@ class InferenceUseCase(Enum):
|
|
|
865
875
|
erase_object = "erase_object"
|
|
866
876
|
edit_text = "edit_text"
|
|
867
877
|
dub_video = "dub_video"
|
|
878
|
+
extend_audio = "extend_audio"
|
|
868
879
|
generate_pbr_materials = "generate_pbr_materials"
|
|
869
880
|
complete_draft = "complete_draft"
|
|
870
881
|
|
|
@@ -3536,6 +3547,10 @@ class EstimateInferencePriceV2Request(BaseModel):
|
|
|
3536
3547
|
title="Audio Sections",
|
|
3537
3548
|
validate_default=True,
|
|
3538
3549
|
)
|
|
3550
|
+
audio_extension: AudioExtension | None = Field(
|
|
3551
|
+
None,
|
|
3552
|
+
description="Extend the init audio: `after_seconds` of new audio past its end (and, where the model allows it, `before_seconds` ahead of its start). Honored by the audio models listed for the `extend_audio` use case.",
|
|
3553
|
+
)
|
|
3539
3554
|
video_section: VideoSection | None = Field(
|
|
3540
3555
|
None,
|
|
3541
3556
|
description="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.",
|
|
@@ -3995,6 +4010,10 @@ class ExecuteInferenceV2Request(BaseModel):
|
|
|
3995
4010
|
title="Audio Sections",
|
|
3996
4011
|
validate_default=True,
|
|
3997
4012
|
)
|
|
4013
|
+
audio_extension: AudioExtension | None = Field(
|
|
4014
|
+
None,
|
|
4015
|
+
description="Extend the init audio: `after_seconds` of new audio past its end (and, where the model allows it, `before_seconds` ahead of its start). Honored by the audio models listed for the `extend_audio` use case.",
|
|
4016
|
+
)
|
|
3998
4017
|
video_section: VideoSection | None = Field(
|
|
3999
4018
|
None,
|
|
4000
4019
|
description="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.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|