curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "translate-audio",
"input": {
"model": "elevenlabs-dubbing",
"audio_url": "https://example.com/my-audio.mp3",
"target_lang": "es"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "translate-audio",
"createdAt": "2024-01-15T10:30:00.000Z"
}
Translate audio to another language while preserving the original voice.
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "translate-audio",
"input": {
"model": "elevenlabs-dubbing",
"audio_url": "https://example.com/my-audio.mp3",
"target_lang": "es"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "translate-audio",
"createdAt": "2024-01-15T10:30:00.000Z"
}
| Credits | 1 credit per second |
| Tool | translate-audio |
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Your API key |
Content-Type | string | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
tool | string | Yes | translate-audio |
input.model | string | Yes | elevenlabs-dubbing |
input.audio_url | string | Yes | URL of the audio file to translate |
input.target_lang | string | No | Target language code (default: es). Options: en, es, fr, de, it, pt, zh, ja, ko, ru, ar, hi, nl, pl, tr, sv, da, fi, el, cs, ro, id, fil, uk, bg, ms, sk, hr, ta, vi, th |
curl -X POST https://api.artificialstudio.ai/api/run \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY" \
-d '{
"tool": "translate-audio",
"input": {
"model": "elevenlabs-dubbing",
"audio_url": "https://example.com/my-audio.mp3",
"target_lang": "es"
}
}'
{
"id": "507f1f77bcf86cd799439011",
"status": "processing",
"tool": "translate-audio",
"createdAt": "2024-01-15T10:30:00.000Z"
}