generated from ShadowVR/AI_botter
14 lines
No EOL
515 B
JavaScript
14 lines
No EOL
515 B
JavaScript
// File generated from our OpenAPI spec by Stainless.
|
|
import { APIResource } from 'openai/resource';
|
|
import { multipartFormRequestOptions } from 'openai/core';
|
|
export class Translations extends APIResource {
|
|
/**
|
|
* Translates audio into English.
|
|
*/
|
|
create(body, options) {
|
|
return this._client.post('/audio/translations', multipartFormRequestOptions({ body, ...options }));
|
|
}
|
|
}
|
|
(function (Translations) {
|
|
})(Translations || (Translations = {}));
|
|
//# sourceMappingURL=translations.mjs.map
|