Skip to content

Commit cc95fb0

Browse files
committed
response type altered
1 parent 64c3638 commit cc95fb0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/elevenlabs/text_to_speech/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def convert(
6262
BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization
6363
] = OMIT,
6464
request_options: typing.Optional[RequestOptions] = None,
65-
) -> typing.Iterator[bytes]:
65+
) -> typing.Tuple[bytes, typing.Optional[str]]:
6666
"""
6767
Converts text into speech using a voice of your choice and returns audio.
6868

src/elevenlabs/types/audio_with_timestamps_response_model.py

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111

1212
class AudioWithTimestampsResponseModel(UncheckedBaseModel):
13+
request_id: typing.Optional[str] = pydantic.Field(default=None)
14+
"""
15+
The request ID of the API call
16+
"""
1317
audio_base_64: typing_extensions.Annotated[str, FieldMetadata(alias="audio_base64")] = pydantic.Field()
1418
"""
1519
Base64 encoded audio data

0 commit comments

Comments
 (0)