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
Loading available models...
Request Parameters
All models share the same request structure:
| Field Name | Type | Supported Value | Description | Required |
|---|---|---|---|---|
| type | text | YOUTUBE_TRANSLATOR | Feature name | ✔️ |
| model | text | See available models | Model identifier | ✔️ |
| conversationId | text | YOUTUBE_TRANSLATOR | Conversation ID | ✔️ |
| videoUrl | string | https://www.youtube.com/watch?v=dQw4w9WgXcQ | YouTube video URL | ✔️ |
| promptObject.videoUrl | string | https://www.youtube.com/watch?v=dQw4w9WgXcQ | YouTube video URL | ✔️ |
| promptObject.targetLanguage | string | Spanish | Target language for translation | ✔️ |
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Code Example
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "YOUTUBE_TRANSLATOR",
"model": "gpt-4o",
"conversationId": "YOUTUBE_TRANSLATOR",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"promptObject": {
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"targetLanguage": "Spanish"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'YOUTUBE_TRANSLATOR',
model: 'gpt-4o',
conversationId: 'YOUTUBE_TRANSLATOR',
videoUrl: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
promptObject: {
videoUrl: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
targetLanguage: 'Spanish'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "YOUTUBE_TRANSLATOR",
"model": "gpt-4o",
"conversationId": "YOUTUBE_TRANSLATOR",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"promptObject": {
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"targetLanguage": "Spanish"
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
Try the API directly in your browser:
Loading interactive playground...
Response Format
{
"aiRecord": {
"uuid": "d1fe8475-d6d9-4c23-8186-65ac40244c3e",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"teamUser": {
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"userName": "John Doe",
"userAvatar": "https://lh3.googleusercontent.com/a/ACg8ocLqgsNsHRfmWF9d-E1RvJetVsEzxNOsOg-NXWNTpMxLDPJbwELI=s96-c",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 15304029,
"createdAt": "2025-10-20T04:13:40.847Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-10-22T04:24:35.462Z",
"updatedBy": "SYSTEM"
},
"model": "gpt-4o",
"type": "YOUTUBE_TRANSLATOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-10-22T04:29:42.680Z",
"aiRecordDetail": {
"promptObject": {
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"targetLanguage": "Spanish"
},
"resultObject": [
"Claro, aquí tienes la transcripción de la canción en formato legible y traducida al español:
---
[♪♪♪]
♪ No somos desconocidos al amor ♪
♪ Conoces las reglas y yo también ♪
♪ Un compromiso total es lo que tengo en mente ♪
♪ Esto no lo conseguirías de ningún otro chico ♪
♪ Solo quiero decirte cómo me siento ♪
♪ Debo hacerte entender ♪
♪ Nunca te voy a abandonar ♪
♪ Nunca te voy a decepcionar ♪
♪ Nunca voy a correr y dejarte ♪
♪ Nunca te haré llorar ♪
♪ Nunca te diré adiós ♪
♪ Nunca te mentiré y te haré daño ♪
♪ Nos conocemos desde hace mucho tiempo ♪
♪ Tu corazón ha estado sufriendo
pero eres demasiado tímido para decirlo ♪
♪ Dentro, ambos sabemos lo que ha estado pasando ♪
♪ Conocemos el juego y vamos a jugarlo ♪
♪ Y si me preguntas cómo me siento ♪
♪ No me digas que eres demasiado ciego para verlo ♪
♪ Nunca te voy a abandonar ♪
♪ Nunca te voy a decepcionar ♪
♪ Nunca voy a correr y dejarte ♪
♪ Nunca te haré llorar ♪
♪ Nunca te diré adiós ♪
♪ Nunca te mentiré y te haré daño ♪
♪ (Ooh, dejarte ir) ♪
♪ (Ooh, dejarte ir) ♪
♪ Nunca vamos a dar, nunca vamos a dar ♪
♪ (Dejarte ir) ♪
♪ Nunca vamos a dar, nunca vamos a dar ♪
♪ (Dejarte ir) ♪
♪ Nos conocemos desde hace mucho tiempo ♪
♪ Tu corazón ha estado sufriendo
pero eres demasiado tímido para decirlo ♪
♪ Dentro, ambos sabemos lo que ha estado pasando ♪
♪ Conocemos el juego y vamos a jugarlo ♪
♪ Solo quiero decirte cómo me siento ♪
♪ Debo hacerte entender ♪
♪ Nunca te voy a abandonar ♪
♪ Nunca te voy a decepcionar ♪
♪ Nunca voy a correr y dejarte ♪
♪ Nunca te haré llorar ♪
♪ Nunca te diré adiós ♪
♪ Nunca te mentiré y te haré daño ♪
♪ Nunca te voy a abandonar ♪
♪ Nunca te voy a decepcionar ♪
♪ Nunca voy a correr y dejarte ♪
♪ Nunca te haré llorar ♪
♪ Nunca te diré adiós ♪
♪ Nunca te mentiré y te haré daño ♪
♪ Nunca te voy a abandonar ♪
♪ Nunca te voy a decepcionar ♪
♪ Nunca voy a correr y dejarte ♪
♪ Nunca te haré llorar ♪
♪ Nunca te diré adiós ♪
♪ Nunca te mentiré y te haré daño ♪
---
Espero que encuentres útil esta traducción."
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": ""
}
}