Content Translator
Translate content between languages using various AI models through the 1min.AI API. This endpoint supports multiple language models for translating content with specified tone, domain, and writing style parameters.
Available Models
The Content Translator API supports a wide range of AI models including:
Anthropic Models:
claude-3-5-haiku-20241022
- Claude 3.5 Haikuclaude-3-5-sonnet-20240620
- Claude 3.5 Sonnetclaude-3-7-sonnet-20250219
- Claude 3.7 Sonnetclaude-3-haiku-20240307
- Claude 3 Haikuclaude-3-opus-20240229
- Claude 3 Opusclaude-opus-4-20250514
- Claude 4 Opusclaude-sonnet-4-20250514
- Claude 4 Sonnet
OpenAI Models:
gpt-3.5-turbo
- GPT-3.5gpt-4-turbo
- GPT-4 Turbogpt-4o-mini
- GPT-4o Minigpt-4o
- GPT-4ogpt-4.1-nano
- GPT-4.1 Nanogpt-4.1-mini
- GPT-4.1 Minigpt-4.1
- GPT-4.1gpt-5-nano
- GPT-5 Nanogpt-5-mini
- GPT-5 Minigpt-5
- GPT-5gpt-5-chat-latest
- GPT-5 Chat Latesto1-mini
- GPT-o1 Minio1-preview
- GPT-o1 Previewo1
- GPT-o1o3-mini
- GPT-o3 Minio4-mini
- GPT-o4 Mini
Google Models:
gemini-1.0-pro
- Gemini 1.0 Progemini-1.5-flash
- Gemini 1.5 Flashgemini-1.5-pro
- Gemini 1.5 Progemini-2.0-flash-lite
- Gemini 2.0 Flash Litegemini-2.0-flash
- Gemini 2.0 Flashgemini-2.5-flash
- Gemini 2.5 Flashgemini-2.5-pro
- Gemini 2.5 Pro
Mistral Models:
mistral-large-latest
- Mistral Large 2mistral-small-latest
- Mistral Smallopen-mistral-nemo
- Mistral Open Nemopixtral-12b
- Mistral Pixtral 12B
Meta Models:
meta/llama-2-70b-chat
- LLaMA 2 70Bmeta/meta-llama-3-70b-instruct
- LLaMA 3 70Bmeta/meta-llama-3.1-405b-instruct
- LLaMA 3.1 405Bmeta/llama-4-maverick-instruct
- LLaMA 4 Maverick Instructmeta/llama-4-scout-instruct
- LLaMA 4 Scout Instruct
DeepSeek Models:
deepseek-chat
- Deepseek Chatdeepseek-reasoner
- Deepseek R1
xAI Models:
grok-2
- Grok 2
Cohere Models:
command
- Command R
Request Parameters
All models share the same request structure:
Field Name | Type | Supported Value | Description | Required |
---|---|---|---|---|
type | text | CONTENT_TRANSLATOR | Feature name | ✔️ |
model | text | See available models | Model identifier | ✔️ |
conversationId | text | CONTENT_TRANSLATOR | Conversation ID | ✔️ |
promptObject.originalLanguage | string | en | Source language ISO code | ✔️ |
promptObject.targetLanguage | string | es | Target language ISO code | ✔️ |
promptObject.tone | string | friendly | Translation tone | ✔️ |
promptObject.domain | string | Technology & Computing | Content domain | ✔️ |
promptObject.writingStyle | string | Conversational | Writing style | ✔️ |
promptObject.prompt | string | Hello, how are you today? I hope you're having a wonderful day! | Content to translate | ✔️ |
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": "CONTENT_TRANSLATOR",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_TRANSLATOR",
"promptObject": {
"originalLanguage": "en",
"targetLanguage": "es",
"tone": "friendly",
"domain": "Technology & Computing",
"writingStyle": "Conversational",
"prompt": "Hello, how are you today? I hope you'''re having a wonderful day!"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'CONTENT_TRANSLATOR',
model: 'claude-3-5-sonnet-20240620',
conversationId: 'CONTENT_TRANSLATOR',
promptObject: {
originalLanguage: 'en',
targetLanguage: 'es',
tone: 'friendly',
domain: 'Technology & Computing',
writingStyle: 'Conversational',
prompt: 'Hello, how are you today? I hope you\'re having a wonderful day!'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "CONTENT_TRANSLATOR",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_TRANSLATOR",
"promptObject": {
"originalLanguage": "en",
"targetLanguage": "es",
"tone": "friendly",
"domain": "Technology & Computing",
"writingStyle": "Conversational",
"prompt": "Hello, how are you today? I hope you're having a wonderful day!"
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
Try the API directly in your browser:
API Playground
https://api.1min.ai/api/features
Choose the AI model for content translation
Identifier for the conversation context
Source language ISO code (e.g., en, es, fr, de)
Target language ISO code (e.g., en, es, fr, de)
The tone style for the translated content
The subject domain for specialized translation
The writing style for the translated content
The original content that you want to translate
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": "CONTENT_TRANSLATOR",
"model": "claude-3-5-sonnet-20240620",
"conversationId": "CONTENT_TRANSLATOR",
"promptObject": {
"originalLanguage": "en",
"targetLanguage": "es",
"tone": "friendly",
"domain": "Technology & Computing",
"writingStyle": "Conversational",
"prompt": "Hello, how are you today? I hope you're having a wonderful day!"
}
}'
Response Format
{}