# 1. import the video - YouTube, Drive, Vimeo or a direct URL
curl -X POST https://api.rask.ai/v3/media/import \
-H "Authorization: Bearer $RASK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtu.be/..."}'
# 2. the price first - free, and it changes nothing
curl -X POST https://api.rask.ai/v3/projects/estimate \
-H "Authorization: Bearer $RASK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"media_id": "...", "target_language": "es-mx"}'
# 3. create the translation project - the price you accepted is the ceiling
curl -X POST https://api.rask.ai/v3/projects \
-H "Authorization: Bearer $RASK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media_id": "...",
"target_language": "es-mx",
"expected_cost_minutes": 12
}'# Wait on the job instead of polling: one request, up to 20 seconds.
curl -s "https://api.rask.ai/v3/jobs/$JOB_ID?wait_seconds=20" \
-H "Authorization: Bearer $RASK_API_KEY" | jq .status멀티파트 폼 데이터로 파일을 전송하거나 유튜브, 구글 드라이브, S3, 비메오 또는 직접 다운로드 URL의 링크를 게시하세요. 비용을 지불하기 전에 미디어 ID와 기술 메타데이터를 얻을 수 있습니다.
미디어 ID를 media_id로 전달하고 목표 언어를 설정하세요. 동일한 업로드 파일로 필요한 각 언어별 프로젝트를 생성할 수 있으며, 자체 대본이나 용어집을 사용할 수도 있습니다.
status가 succeeded에 도달할 때까지 확인한 후, 해당 언어의 번역된 동영상과 자막 파일을 다운로드하세요.
# pip install rask-sdk
from rask_sdk import Rask
rask = Rask() # reads RASK_API_KEY
uploaded = rask.jobs.wait(rask.uploads.upload_file("q3-launch.mp4").id)
media_id = uploaded.result.media_id
# the price first - free, and it changes nothing
estimate = rask.projects.estimate_project(
media_id=media_id, target_language="es-mx"
)
# the price you accepted is the ceiling
created = rask.projects.create_project(
media_id=media_id,
target_language="es-mx",
expected_cost_minutes=estimate.total_minutes,
)
processed = rask.jobs.wait(created.id)
outputs = rask.exports.list_project_outputs(processed.result.project_id).data
print(next(o.url for o in outputs if o.kind == "dubbed_video"))import os, requests
API = "https://api.rask.ai/v3"
h = {"Authorization": f"Bearer {os.environ['RASK_API_KEY']}"}
job = requests.post(f"{API}/media/import", headers=h,
json={"url": "https://youtu.be/..."}).json()
media_id = requests.get(f"{API}/jobs/{job['id']}?wait_seconds=20",
headers=h).json()["result"]["media_id"]
order = {"media_id": media_id, "target_language": "es-mx"}
# the price first - free, and it changes nothing
estimate = requests.post(f"{API}/projects/estimate", headers=h, json=order).json()
# the price you accepted is the ceiling
project = requests.post(f"{API}/projects", headers=h,
json={**order,
"expected_cost_minutes": estimate["total_minutes"]}).json()
outputs = requests.get(f"{API}/projects/{project['project_id']}/outputs",
headers=h).json()
print(next(o["url"] for o in outputs["data"] if o["kind"] == "dubbed_video"))// no dependencies, Node 18+ global fetch
const API = 'https://api.rask.ai/v3';
const h = {
Authorization: `Bearer ${process.env.RASK_API_KEY}`,
'Content-Type': 'application/json',
};
const imported = await fetch(`${API}/media/import`, {
method: 'POST', headers: h,
body: JSON.stringify({ url: 'https://youtu.be/...' }),
}).then(r => r.json());
const job = await fetch(`${API}/jobs/${imported.id}?wait_seconds=20`, { headers: h })
.then(r => r.json());
const order = { media_id: job.result.media_id, target_language: 'es-mx' };
// the price first - free, and it changes nothing
const estimate = await fetch(`${API}/projects/estimate`, {
method: 'POST', headers: h, body: JSON.stringify(order),
}).then(r => r.json());
// the price you accepted is the ceiling
const project = await fetch(`${API}/projects`, {
method: 'POST', headers: h,
body: JSON.stringify({ ...order, expected_cost_minutes: estimate.total_minutes }),
}).then(r => r.json());
const outputs = await fetch(`${API}/projects/${project.project_id}/outputs`, { headers: h })
.then(r => r.json());
console.log(outputs.data.find(o => o.kind === 'dubbed_video')?.url);API=https://api.rask.ai/v3
AUTH="Authorization: Bearer $RASK_API_KEY"
JSON="Content-Type: application/json"
# 1. import the video, then wait for the media id
JOB=$(curl -s -X POST $API/media/import -H "$AUTH" -H "$JSON" \
-d '{"url": "https://youtu.be/..."}' | jq -r .id)
MEDIA=$(curl -s "$API/jobs/$JOB?wait_seconds=20" -H "$AUTH" | jq -r .result.media_id)
ORDER="{\"media_id\":\"$MEDIA\",\"target_language\":\"es-mx\"}"
# 2. the price first - free, and it changes nothing
CAP=$(curl -s -X POST $API/projects/estimate -H "$AUTH" -H "$JSON" \
-d "$ORDER" | jq -r .total_minutes)
# 3. the price you accepted is the ceiling
ID=$(curl -s -X POST $API/projects -H "$AUTH" -H "$JSON" \
-d "$(jq -c --argjson cap "$CAP" '. + {expected_cost_minutes:$cap}' <<<"$ORDER")" \
| jq -r .project_id)
# 4. collect the translated video
curl -s $API/projects/$ID/outputs -H "$AUTH" \
| jq -r '.data[] | select(.kind == "dubbed_video") | .url'<?php
use GuzzleHttp\Client;
$http = new Client([
'base_uri' => 'https://api.rask.ai/v3/',
'headers' => ['Authorization' => 'Bearer ' . getenv('RASK_API_KEY')],
]);
$job = json_decode($http->post('media/import',
['json' => ['url' => 'https://youtu.be/...']])->getBody(), true);
$media = json_decode($http->get("jobs/{$job['id']}?wait_seconds=20")->getBody(), true);
$order = ['media_id' => $media['result']['media_id'], 'target_language' => 'es-mx'];
// the price first - free, and it changes nothing
$estimate = json_decode($http->post('projects/estimate',
['json' => $order])->getBody(), true);
// the price you accepted is the ceiling
$project = json_decode($http->post('projects', ['json' => $order + [
'expected_cost_minutes' => $estimate['total_minutes'],
]])->getBody(), true);
$outputs = json_decode(
$http->get("projects/{$project['project_id']}/outputs")->getBody(), true); 0s queued
3s running transcribing
48s running translating
72s running voicing
128s running merging
150s succeeded

es-mx 및 es-es 지원합니다. 프로젝트는 용어집 버전을 기록하므로, 나중에 수정해도 완료된 작업이 예기치 않게 변경되지 않습니다.네. Rask 동영상 번역 API에 동영상 파일이나 링크, 그리고 목표 언어를 입력하면 음성 인식, 번역, 더빙 음성 생성 및 기존 배경음악 믹싱까지 자동으로 진행됩니다. 중간에 사람이 직접 개입할 필요 없이 번역된 동영상, 자막 파일, 번역된 텍스트를 바로 받아볼 수 있습니다. 정확도가 중요한 경우에는 게시하기 전에 사람이 직접 검토하는 단계를 추가할 수도 있습니다.
API 접근 권한은 Creator Pro, Business, Enterprise 요금제에서 이용할 수 있으며, 기능은 요금제에 따라 다릅니다. 앱에서 API 키를 생성하고 즉시 사용을 시작할 수 있습니다. Enterprise 계약 조건, 대량 할인 및 맞춤형 언어 지원은 저희 팀으로 문의해 주세요.
모든 요청에 베어러 토큰(bearer token)으로 전송되는 단 하나의 API 키입니다. 토큰 교환이나 갱신 절차가 없습니다. 각 연동에 필요한 권한을 가진 개별 키를 부여하고 월별 지출 한도를 설정하세요.
대기 시간이 내장된 비동기 방식입니다. 프로젝트를 생성하면 작업이 즉시 반환됩니다. GET /v3/jobs/{job_id}?wait_seconds=20을 호출하면 번역이 완료되는 순간 요청 결과가 반환됩니다.
네. 각 프로젝트는 하나의 목표 언어로 설정되므로, 동일한 파일을 업로드한 후 언어별로 프로젝트를 각각 생성하여 병렬로 실행하면 됩니다. 요청 횟수 제한이 없으므로, 다양한 언어로의 일괄 번역은 시스템에서 생성하는 프로젝트 수에 의해서만 결정됩니다.
135개 이상의 목표 언어를 지원하며 es-mx나 pt-br 같은 지역별 변형도 지원합니다. 원본 언어는 자동으로 감지되거나 직접 설정할 수 있습니다. 지원되는 전체 언어 목록은 API 문서에서 확인할 수 있습니다. 지원 목록에 없는 언어의 경우, 당사 팀에 문의하여 가능 여부와 옵션을 논의해 주세요.
네, 가능합니다. 각 프로젝트는 하나의 목표 언어를 가지므로, 동일한 업로드 파일로 언어별 프로젝트를 각각 생성하여 병렬로 실행할 수 있습니다. 먼저 각각의 예상 비용을 확인하면 작업 시작 전에 총비용을 정확히 알 수 있습니다.
처리 시간은 프로젝트에 따라 다릅니다. 음성 인식, 번역, 음성 생성, 오디오 믹싱 등 진행 단계에 따라 프로젝트 상태가 업데이트되므로 사용자에게 진행 상황을 보여주고 번역이 완료되면 파일을 다운로드할 수 있습니다.
7가지 동영상 형식(MP4, MOV, MKV, AVI, WebM, M4V, 3GP)과 4가지 오디오 형식(MP3, WAV, FLAC, M4A)을 지원합니다. 또한 YouTube, Google Drive, S3, Vimeo 링크나 직접 URL을 통해 동영상을 업로드할 수도 있습니다.
네. 번역된 음성과 타이밍이 일치하는 .srt 및 .vtt 형식의 번역 자막을 동영상과 함께 다운로드할 수 있습니다. 동영상에 자막을 직접 삽입(번인)하는 작업은 Rask 앱에서 진행할 수 있습니다.
네. 스크립트를 가져와서 원본 텍스트를 수정한 뒤 Rask에 다시 번역을 요청하거나, 번역된 텍스트를 직접 수정하여 원하는 표현과 어조를 유지할 수 있습니다. 그 후 프로젝트를 다시 더빙하세요. 용어집(Glossary) 기능을 사용하면 모든 언어 버전에서 브랜드 이름을 일관되게 유지할 수 있습니다.
일반 대화형 모델은 입력된 스크립트를 번역할 수 있습니다. 하지만 번역된 동영상을 게시하려면 음성 인식, 타이밍, 목소리, 오디오 믹싱, 자막 파일도 필요합니다. Rask 동영상 번역 API는 동영상 파일 하나만으로 이 모든 결과물을 생성해 줍니다.
API 이용료는 동영상 1분 단위로 청구되며(다음 1분으로 올림 처리), Rask 앱과 동일한 분 단위 크레딧에서 차감됩니다. 요금제의 기본 제공 시간을 초과하면 1분당 3달러가 부과되며, 대량 이용 시에는 당사 팀과 협의할 수 있습니다. 립싱크 기능은 별도로 과금되지만, 모든 계정에 1분의 무료 미리보기 시간이 제공됩니다. 또한 편집 후 다시 더빙하는 경우 변경된 구간에 대해서만 요금이 부과됩니다. 신용카드 등록 없이 무료 체험으로 시작해 보세요.