syncsdk 0.2.6__tar.gz → 0.2.7__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.
- {syncsdk-0.2.6 → syncsdk-0.2.7}/PKG-INFO +1 -1
- {syncsdk-0.2.6 → syncsdk-0.2.7}/pyproject.toml +1 -1
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/active_speaker.py +15 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/eleven_labs.py +13 -1
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/client_wrapper.py +2 -2
- {syncsdk-0.2.6 → syncsdk-0.2.7}/README.md +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/batch/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/batch/client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/batch/raw_client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/bad_request_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/internal_server_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/not_found_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/payment_required_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/too_many_requests_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/errors/unauthorized_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/audio.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/batch_id.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/batch_metrics.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/batch_response.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/batch_status.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/create_batch_response.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/create_generation_dto.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/emotion.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/estimated_generation_cost.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_error_message.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_id.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_options.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_segment.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/generation_status.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/input.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/model.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/model_mode.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/segment_audio_input.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/segment_frames.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/segment_secs.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/sync_mode.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/tts.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/tts_provider_config.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/validation_response.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/common/types/video.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/api_error.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/datetime_utils.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/file.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/http_client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/http_response.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/jsonable_encoder.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/pydantic_utilities.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/query_encoder.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/remove_none_from_dict.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/request_options.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/serialization.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/core/unchecked_base_model.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/environment.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/generations/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/generations/client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/generations/raw_client.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/py.typed +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/version.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/webhooks/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/webhooks/types/__init__.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/webhooks/types/generation_notification.py +0 -0
- {syncsdk-0.2.6 → syncsdk-0.2.7}/src/sync/webhooks/types/webhook_status.py +0 -0
|
@@ -16,6 +16,21 @@ class ActiveSpeaker(UncheckedBaseModel):
|
|
|
16
16
|
Whether to automatically detect and apply generation to the active speaker
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
frame_number: typing.Optional[int] = pydantic.Field(default=None)
|
|
20
|
+
"""
|
|
21
|
+
Frame index that corresponds to the provided coordinates for manual speaker selection
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
coordinates: typing.Optional[typing.List[int]] = pydantic.Field(default=None)
|
|
25
|
+
"""
|
|
26
|
+
Reference point [x, y] on the speaker's face in the specified frame_number
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
bounding_boxes: typing.Optional[typing.List[typing.Optional[typing.List[int]]]] = pydantic.Field(default=None)
|
|
30
|
+
"""
|
|
31
|
+
Per-frame array of bounding boxes [x1, y1, x2, y2] for the detected face, or null if no box for that frame. Use instead of frame_number + coordinates when you already have detection data.
|
|
32
|
+
"""
|
|
33
|
+
|
|
19
34
|
if IS_PYDANTIC_V2:
|
|
20
35
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
36
|
else:
|
|
@@ -12,7 +12,7 @@ class ElevenLabs(UncheckedBaseModel):
|
|
|
12
12
|
name: typing.Literal["elevenlabs"] = "elevenlabs"
|
|
13
13
|
voice_id: typing_extensions.Annotated[str, FieldMetadata(alias="voiceId")] = pydantic.Field()
|
|
14
14
|
"""
|
|
15
|
-
id
|
|
15
|
+
sync voice id (copied from cloned voices in the Studio) or ElevenLabs voice ID. Required.
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
script: str = pydantic.Field()
|
|
@@ -20,6 +20,18 @@ class ElevenLabs(UncheckedBaseModel):
|
|
|
20
20
|
script to be used for generation
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
+
stability: typing.Optional[float] = pydantic.Field(default=None)
|
|
24
|
+
"""
|
|
25
|
+
determines how stable the voice is and the randomness between each generation. lower values introduce broader emotional range for the voice. higher values can result in a monotonous voice with limited emotion.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
similarity_boost: typing_extensions.Annotated[typing.Optional[float], FieldMetadata(alias="similarityBoost")] = (
|
|
29
|
+
pydantic.Field(default=None)
|
|
30
|
+
)
|
|
31
|
+
"""
|
|
32
|
+
determines how closely the ai should adhere to the original voice when attempting to replicate it.
|
|
33
|
+
"""
|
|
34
|
+
|
|
23
35
|
if IS_PYDANTIC_V2:
|
|
24
36
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
25
37
|
else:
|
|
@@ -14,10 +14,10 @@ class BaseClientWrapper:
|
|
|
14
14
|
|
|
15
15
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
|
-
"User-Agent": "syncsdk/0.2.
|
|
17
|
+
"User-Agent": "syncsdk/0.2.7",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "syncsdk",
|
|
20
|
-
"X-Fern-SDK-Version": "0.2.
|
|
20
|
+
"X-Fern-SDK-Version": "0.2.7",
|
|
21
21
|
}
|
|
22
22
|
headers["x-api-key"] = self.api_key
|
|
23
23
|
return headers
|
|
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
|
|
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
|
|
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
|