# 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": "en-us"}'
# 3. create the 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": "en-us",
"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동영상 파일을 멀티파트 폼 데이터로 업로드하거나 YouTube, Google Drive, Vimeo, S3 링크 또는 동영상 직접 링크를 보내세요. 비용이 발생하기 전에 미디어 ID와 동영상 메타데이터를 받을 수 있습니다.
미디어 ID를 media_id에 넣고 대상 언어와 함께 전달하세요. 원본 언어를 비워 두면 언어를 자동으로 감지합니다. 음성 텍스트 변환은 즉시 시작됩니다.media_id
스크립트 구간이 준비되는 대로 조회하세요. 번역된 미디어를 처리하는 동안에도 녹화 영상의 색인 작성을 시작할 수 있습니다. 프로젝트가 완료되면 자막과 미디어 파일을 다운로드하세요.
# pip install rask-sdk
from rask_sdk import Rask
rask = Rask() # reads RASK_API_KEY
uploaded = rask.jobs.wait(rask.uploads.upload_file("interview.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="en-us"
)
# the price you accepted is the ceiling
created = rask.projects.create_project(
media_id=media_id,
target_language="en-us",
expected_cost_minutes=estimate.total_minutes,
)
processed = rask.jobs.wait(created.id)
for o in rask.exports.list_project_outputs(processed.result.project_id).data:
print(o.kind, o.url)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": "en-us"}
# 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()
for o in outputs["data"]:
print(o["kind"], o["url"])// 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: 'en-us' };
// 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());
outputs.data.forEach(o => console.log(o.kind, o.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\":\"en-us\"}"
# 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 transcript and every other output
curl -s $API/projects/$ID/outputs -H "$AUTH" \
| jq -r '.data[] | "\(.kind)\t\(.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' => 'en-us'];
// 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);no_audio_track, no_speech_detected and source_unavailable are specific enough to show directly to your own user, for example a video without speech. 0s queued
3s running transcribing
48s running translating
72s running voicing
128s running merging
150s succeeded/transcriptiontarget_subtitlestarget_subtitles_speakersdubbed_videodubbed_audiosource

es-mx 및 es-es 에 똑같이 적용할 수 있습니다. 프로젝트에 glossary.version항목이 기록되므로 나중에 편집해도 완료된 작업이 모르는 사이에 바뀌지 않습니다.네. 동영상 파일이나 링크를 보내 프로젝트를 만든 뒤, GET /v3/projects/{project_id}/transcript 요청으로 화자 라벨과 타임스탬프가 포함된 스크립트를 조회하세요. 모든 Rask 프로젝트는 음성 텍스트 변환으로 시작해 번역, 자막 생성, 더빙 버전 제작으로 이어집니다.
네. YouTube, Google Drive, Vimeo, S3 링크 또는 직접 다운로드 링크를 미디어 엔드포인트로 보내면 API가 동영상을 가져옵니다. 동영상 파일을 직접 업로드할 수도 있습니다.
네. 동영상마다 프로젝트를 하나씩 만들어 병렬로 실행하세요. 각 프로젝트의 견적을 먼저 확인하면 첫 프로젝트를 시작하기 전에 라이브러리 전체의 비용을 알 수 있습니다.
서로 다른 화자를 자동으로 감지하고, 각 구간에 SPEAKER_00과 같은 화자 라벨을 표시합니다. 화자 수를 알고 있다면 프로젝트를 만들 때 num_speakers로 전달하세요.
API는 영어를 포함한 75개 원본 언어의 음성을 텍스트로 변환합니다. source_language를 비워 두면 언어가 자동으로 감지되며, en과 같은 코드를 직접 전달할 수도 있습니다. 스크립트 번역 시 en-us, es-mx 등 135개가 넘는 언어 및 지역별 옵션 중에서 선택할 수 있습니다.
정확도는 동영상에 따라 달라집니다. 배경 소음, 시끄러운 녹화 환경, 겹치는 말소리, 억양, 전문 용어가 모두 영향을 줍니다. 실제 사용할 동영상으로 API를 테스트하고, 게시 전에 필요한 구간을 API로 수정하세요.
스크립트는 화자 정보와 타임스탬프가 포함된 JSON 세그먼트로 제공됩니다. 각 세그먼트의 텍스트를 합치면 일반 텍스트를 얻을 수 있고, 타임스탬프를 유지하면 검색 가능한 스크립트를 만들 수 있습니다. 번역 대상 언어의 자막도 SRT와 VTT 형식으로 제공됩니다.
아니요. API는 스크립트와 번역문, 자막, 더빙 버전을 제공합니다. AI로 요약문이나 회의록을 만들려면 원하는 요약 도구에 스크립트를 입력하세요.
네. 회의 녹화본이나 녹음본을 동영상 또는 오디오 파일로 업로드하세요. API는 회의 플랫폼에 직접 연결되지 않으며, 진행 중인 통화의 실시간 자막이나 저지연 음성 텍스트 변환은 지원하지 않습니다.
API 문서에는 고정된 파일 크기 제한이 명시되어 있지 않습니다. 각 프로젝트는 요금제 한도를 적용한 후 source_duration_seconds와 duration_seconds 값을 반환합니다. 동영상이 매우 길거나 처리량이 많다면 저희 팀에 문의하세요.
프로젝트 요금은 동영상 길이를 분 단위로 올림해 계산하며, Rask 앱과 동일한 분 이용 한도에서 차감됩니다. 요금에는 음성 텍스트 변환, 번역, 자막, 더빙 버전이 포함됩니다. 추가 사용이 가능한 일반 요금제에서는 분당 $3가 부과됩니다. Enterprise 요금은 계약 조건에 따라 결정됩니다.
Rask 앱에서 신용카드 없이 무료 체험을 시작하고, 보유한 동영상으로 음성 텍스트 변환을 테스트하세요. API는 Creator Pro, Business, Enterprise 요금제에서 이용할 수 있으며, 지원 기능은 요금제에 따라 다릅니다.
API는 Creator Pro, Business, Enterprise 요금제에서 이용할 수 있으며, 지원 기능은 요금제에 따라 다릅니다. 앱에서 API 키를 생성하면 바로 API를 호출할 수 있습니다. Enterprise 요금제, 대량 사용 요금, 맞춤형 언어 지원은 저희 팀에 문의하세요.