first commit

This commit is contained in:
2026-07-19 03:44:35 +09:00
commit 7f950339ae
23281 changed files with 3217138 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../core/resource.mjs";
import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
/**
* Turn audio into text or text into audio.
*/
export class Transcriptions extends APIResource {
create(body, options) {
return this._client.post('/audio/transcriptions', multipartFormRequestOptions({
body,
...options,
stream: body.stream ?? false,
__metadata: { model: body.model },
}, this._client));
}
}
//# sourceMappingURL=transcriptions.mjs.map