elevenlabs · Schema

TranslateSegmentRequest

Properties

Name Type Description
segment_id string The identifier of the segment to translate.
target_lang string The target language code for the translation.
View JSON Schema on GitHub

JSON Schema

elevenlabs-translatesegmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranslateSegmentRequest",
  "title": "TranslateSegmentRequest",
  "type": "object",
  "required": [
    "segment_id",
    "target_lang"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The identifier of the segment to translate."
    },
    "target_lang": {
      "type": "string",
      "description": "The target language code for the translation."
    }
  }
}