We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8017c commit 5380c81Copy full SHA for 5380c81
src/resources/speech.ts
@@ -60,8 +60,6 @@ export class Speech extends APIResource {
60
});
61
}
62
63
- sessions: Sessions = new Sessions(this._client)
64
-;
65
/**
66
* Generates speech from text and returns a JSON object that contains a
67
* **base64-encoded audio string** and optionally word-level durations
@@ -82,6 +80,8 @@ export class Speech extends APIResource {
82
80
): Core.APIPromise<SpeechGenerateDetailedResponse> {
83
81
return this._client.post('/v1/ai/speech', { body, ...options });
84
+
+ sessions: Sessions = new Sessions(this._client);
85
86
87
export interface SpeechGenerateDetailedResponse {
0 commit comments