Microsoft Azure · Schema

createTranslationRequest

Translation request.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
file string The audio file to translate.
prompt string An optional text to guide the model's style or continue a previous audio segment. The prompt should be in English.
response_format object
temperature number The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will
View JSON Schema on GitHub

JSON Schema

microsoft-azure-createtranslationrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/createTranslationRequest",
  "title": "createTranslationRequest",
  "type": "object",
  "description": "Translation request.",
  "properties": {
    "file": {
      "type": "string",
      "description": "The audio file to translate.",
      "format": "binary"
    },
    "prompt": {
      "type": "string",
      "description": "An optional text to guide the model's style or continue a previous audio segment. The prompt should be in English."
    },
    "response_format": {
      "$ref": "#/components/schemas/audioResponseFormat"
    },
    "temperature": {
      "type": "number",
      "default": 0,
      "description": "The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit."
    }
  },
  "required": [
    "file"
  ]
}