OpenAPI::Client::OpenAI::Path::audio-translations(3)

NAME
OpenAPI::Client::OpenAI::Path::audio-translations - Documentation for the /audio/translations path.

DESCRIPTION
This document describes the API endpoint at "/audio/translations".

PATHS

  "POST /audio/translations"
Translates audio into English.

Operation ID

"createTranslation"

    $client->createTranslation( ... );

Parameters

Request Body

Content Type: "multipart/form-data"

Models

ID of the model to use. Only "whisper-1" (which is powered by our open source Whisper V2 model) is currently available.

•   "whisper-1"

Example:

    {
       "model" : "whisper-1"
    }

Responses

Status Code: 200

OK

Content Types:

•   "application/json"

    Example (See the OpenAI spec for more detail <https://github.com/openai/openai-openapi/blob/master/openapi.yaml>):

SEE ALSO
OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE
Copyright (C) 2023-2025 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.