Skip to main content

YouTube Translator

Translate YouTube video content to different languages using various AI models through the 1min.AI API. This endpoint extracts video content and provides accurate translations to your target language.

Available Models

The YouTube Translator API supports a wide range of AI models including:

Anthropic Models:

  • claude-3-5-haiku-20241022 - Claude 3.5 Haiku
  • claude-3-5-sonnet-20240620 - Claude 3.5 Sonnet
  • claude-3-7-sonnet-20250219 - Claude 3.7 Sonnet
  • claude-3-haiku-20240307 - Claude 3 Haiku
  • claude-3-opus-20240229 - Claude 3 Opus
  • claude-opus-4-20250514 - Claude 4 Opus

OpenAI Models:

  • gpt-3.5-turbo - GPT-3.5 Turbo
  • gpt-4-turbo - GPT-4 Turbo
  • gpt-4o-mini - GPT-4o Mini
  • gpt-4o - GPT-4o
  • gpt-4.1-nano - GPT-4.1 Nano
  • gpt-4.1-mini - GPT-4.1 Mini
  • gpt-4.1 - GPT-4.1
  • gpt-5-nano - GPT-5 Nano
  • gpt-5-mini - GPT-5 Mini
  • gpt-5 - GPT-5
  • gpt-5-chat-latest - GPT-5 Chat Latest
  • o1-mini - GPT-o1 Mini
  • o1-preview - GPT-o1 Preview
  • o1 - GPT-o1
  • o3-mini - GPT-o3 Mini
  • o4-mini - GPT-o4 Mini

Google Models:

  • gemini-1.0-pro - Gemini 1.0 Pro
  • gemini-1.5-flash - Gemini 1.5 Flash
  • gemini-1.5-pro - Gemini 1.5 Pro
  • gemini-2.0-flash-lite - Gemini 2.0 Flash Lite
  • gemini-2.0-flash - Gemini 2.0 Flash
  • gemini-2.5-flash - Gemini 2.5 Flash
  • gemini-2.5-pro - Gemini 2.5 Pro

Mistral Models:

  • mistral-large-latest - Mistral Large 2
  • mistral-small-latest - Mistral Small
  • open-mistral-nemo - Mistral Open Nemo
  • pixtral-12b - Mistral Pixtral 12B

Meta Models:

  • meta/llama-2-70b-chat - LLaMA 2 70B
  • meta/meta-llama-3-70b-instruct - LLaMA 3 70B
  • meta/meta-llama-3.1-405b-instruct - LLaMA 3.1 405B
  • meta/llama-4-maverick-instruct - LLaMA 4 Maverick Instruct
  • meta/llama-4-scout-instruct - LLaMA 4 Scout Instruct

DeepSeek Models:

  • deepseek-chat - Deepseek Chat
  • deepseek-reasoner - Deepseek R1

xAI Models:

  • grok-2 - Grok 2

Cohere Models:

  • command - Command R

Request Parameters

All models share the same request structure:

Field NameTypeSupported ValueDescriptionRequired
typetextYOUTUBE_TRANSLATORFeature name✔️
modeltextSee available modelsModel identifier✔️
conversationIdtextYOUTUBE_TRANSLATORConversation ID✔️
videoUrlstringhttps://www.youtube.com/watch?v=dQw4w9WgXcQYouTube video URL✔️
promptObject.videoUrlstringhttps://www.youtube.com/watch?v=dQw4w9WgXcQYouTube video URL✔️
promptObject.targetLanguagestringSpanishTarget language for translation✔️

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Code Example

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "YOUTUBE_TRANSLATOR",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "YOUTUBE_TRANSLATOR",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"promptObject": {
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"targetLanguage": "Spanish"
}
}'

Interactive Playground

Try the API directly in your browser:

API Playground

https://api.1min.ai/api/features
Choose the AI model for YouTube video translation
Identifier for the conversation context
Full YouTube video URL to translate
YouTube video URL for the AI model
Target language for video translation

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "YOUTUBE_TRANSLATOR",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "YOUTUBE_TRANSLATOR",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"promptObject": {
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"targetLanguage": "Spanish"
}
}'

Response Format

{}