syncsdk 0.1.2__tar.gz → 0.1.5__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.1.2 → syncsdk-0.1.5}/PKG-INFO +1 -1
- {syncsdk-0.1.2 → syncsdk-0.1.5}/pyproject.toml +1 -1
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation_options.py +30 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/client_wrapper.py +2 -2
- {syncsdk-0.1.2 → syncsdk-0.1.5}/README.md +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/client.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/errors/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/errors/bad_request_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/errors/internal_server_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/errors/not_found_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/errors/unauthorized_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/audio.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/create_generation_dto.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/eleven_labs.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/estimated_generation_cost.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation_error_message.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation_id.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/generation_status.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/input.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/model.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/segment_frames.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/segment_secs.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/sync_mode.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/tts.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/tts_provider_config.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/common/types/video.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/api_error.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/datetime_utils.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/file.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/http_client.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/http_response.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/jsonable_encoder.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/pydantic_utilities.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/query_encoder.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/remove_none_from_dict.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/request_options.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/core/serialization.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/environment.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/generate/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/generate/client.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/generate/raw_client.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/py.typed +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/version.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/webhooks/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/webhooks/types/__init__.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/webhooks/types/generation_notification.py +0 -0
- {syncsdk-0.1.2 → syncsdk-0.1.5}/src/sync/webhooks/types/webhook_status.py +0 -0
|
@@ -13,11 +13,41 @@ class GenerationOptions(UniversalBaseModel):
|
|
|
13
13
|
lipsync mode when audio and video durations are out of sync. By default if the audio and video durations are out of sync and audio is longer than video, the video will loop. Otherwise, the video will be cut off at the end of the audio.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
+
temperature: typing.Optional[float] = pydantic.Field(default=None)
|
|
17
|
+
"""
|
|
18
|
+
generation temperature randomness between 0 and 1. only works for lipsync-2 based models.
|
|
19
|
+
"""
|
|
20
|
+
|
|
16
21
|
active_speaker: typing.Optional[bool] = pydantic.Field(default=None)
|
|
17
22
|
"""
|
|
18
23
|
Whether to detect active speaker and apply generation to them
|
|
19
24
|
"""
|
|
20
25
|
|
|
26
|
+
pads: typing.Optional[typing.List[int]] = pydantic.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
number of frames to pad the video on each side
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
speedup: typing.Optional[int] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
speed up the video by this factor.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
output_format: typing.Optional[str] = pydantic.Field(default=None)
|
|
37
|
+
"""
|
|
38
|
+
output format of the generated video.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
fps: typing.Optional[int] = pydantic.Field(default=None)
|
|
42
|
+
"""
|
|
43
|
+
frames per second of the generated video.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
output_resolution: typing.Optional[typing.List[int]] = pydantic.Field(default=None)
|
|
47
|
+
"""
|
|
48
|
+
resolution of the generated video.
|
|
49
|
+
"""
|
|
50
|
+
|
|
21
51
|
if IS_PYDANTIC_V2:
|
|
22
52
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
23
53
|
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.1.
|
|
17
|
+
"User-Agent": "syncsdk/0.1.5",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "syncsdk",
|
|
20
|
-
"X-Fern-SDK-Version": "0.1.
|
|
20
|
+
"X-Fern-SDK-Version": "0.1.5",
|
|
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
|