Enable AI-Generated Translations and Subtitles Using the Zype Import API Enable AI-Generated Translations and Subtitles Using the Zype Import API

Enable AI-Generated Translations and Subtitles Using the Zype Import API

Zype’s Import API now supports automatic generation of AI-powered translations and multilingual subtitles when importing video content. By setting the auto_translate flag to true, Zype will automatically translate the video’s transcription into your pre-configured default languages and generate subtitle files in both SRT and WebVTT formats.

This feature is ideal for scaling localization workflows, enhancing accessibility, and reaching global audiences—no manual subtitle setup required.


What It Does

When auto_translate is set to true, Zype will:

  • Automatically transcribe the video using AI

  • Translate the transcription into your configured default languages (defined under AI Enablement Settings)

  • Generate subtitle files in SRT and WebVTT formats for each language

  • Store the subtitles in the Zype CMS under the video’s Subtitles tab

Note: If auto_translate is not included in the request, Zype will default to the settings defined in your site’s AI Enablement Settings.


How to Use the Import API

To trigger translation during video import, pass the auto_translate parameter with a value of true in your API request payload.

Example Request

curl --request POST \
  --url https://api.zype.com/video_imports \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '
{
  "video_import": {
    "auto_translate": true,
    "title": "My Global Video",
    "video_source_url": "https://example.com/myvideo.mp4"
  }
}
'

You may also include other metadata such as title, category_ids, description, and more, alongside the auto_translate flag.


API Reference

For a full list of supported parameters, visit the official Zype Video Import API documentation.