# 1. import the audio or video
curl -X POST https://api.rask.ai/v3/media/import \
-H "Authorization: Bearer $RASK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/interview.mp3"}'
# 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멀티파트 폼 데이터 형식으로 오디오 또는 동영상 파일을 전송하거나, 유튜브, 구글 드라이브, S3, 비메오 또는 기타 직접 링크 주소를 입력하세요. 비용이 청구되기 전에 미디어 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.mp3").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://example.com/interview.mp3"}).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://example.com/interview.mp3' }),
}).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 file, then wait for the media id
JOB=$(curl -s -X POST $API/media/import -H "$AUTH" -H "$JSON" \
-d '{"url": "https://example.com/interview.mp3"}' | 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://example.com/interview.mp3']])->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); 0s queued
3s running transcribing
48s running speaker labels
72s succeeded the transcript is in the project outputs

es-mx 및 es-es 지원합니다. 프로젝트는 용어집 버전을 기록하므로, 나중에 수정해도 완료된 작업이 예기치 않게 변경되지 않습니다.네, 음성 인식은 모든 Rask 프로젝트의 첫 번째 단계입니다. 오디오나 비디오를 가져와 프로젝트를 생성한 다음, GET \/v3\/projects\/{project_id}\/transcript에서 화자 표시와 타임스탬프가 포함된 세그먼트 형태의 텍스트를 확인할 수 있습니다. 동일한 프로젝트에서 텍스트를 번역하고 자막과 더빙 오디오를 제공합니다.
API는 75개의 원본 언어를 지원합니다. 원본 언어를 비워두면 자동으로 감지되며, en 또는 de 같은 코드를 직접 입력할 수도 있습니다. 텍스트는 135개 이상의 언어 및 지역별 옵션으로 번역할 수 있습니다.
네. 팟캐스트, 인터뷰, 통화 녹음 등 MP3, WAV, FLAC, M4A 형식의 오디오 파일을 업로드하면 동영상과 같은 방식으로 텍스트가 변환됩니다.
네. 서로 다른 화자가 자동으로 감지되며, 각 구간에는 SPEAKER_XX 형식의 화자 레이블이 지정됩니다. 화자 수를 알고 있다면 num_speakers 값을 입력하고, API를 통해 각 구간의 화자를 수정할 수 있습니다.
아니요. 타임스탬프는 구간 단위로 제공되며, 각 구간은 HH:MM:SS,mmm 형식의 시작 시간과 종료 시간을 가집니다. 이는 캡션과 자막에 사용되는 타이밍입니다. 모든 단어의 타임스탬프가 필요하다면 전용 STT API를 이용하시는 것이 좋습니다.
아니요. Rask는 이미 녹음된 완성된 오디오와 동영상을 텍스트로 변환합니다. 사람이 말하는 동안 텍스트가 바로 나타나야 하는 실시간 자막, 음성 에이전트, 대화형 AI, 콜센터 등의 경우에는 스트리밍 STT API가 더 적합합니다.
정확도는 오디오 상태에 따라 다릅니다. 마이크 품질, 억양, 겹치는 목소리, 배경 소음 등이 모두 영향을 미칩니다. 직접 녹음한 샘플로 API를 테스트해 보시고, 게시하거나 번역하기 전에 API를 통해 구간을 수정해 보세요.
인식 과정에 별도의 사용자 정의 단어장 목록은 사용되지 않습니다. 구간 엔드포인트를 통해 텍스트 내 특정 단어를 직접 수정할 수 있습니다. 텍스트가 번역될 때 용어집 기능을 통해 제품 이름, 고유명사, 전문 용어가 일관되게 유지됩니다.
완료된 프로젝트에는 대상 언어로 된 SRT 및 VTT 자막 파일이 포함됩니다. 원본 언어 텍스트는 시작 및 종료 시간이 포함된 JSON 구간으로 제공되며, 몇 줄의 코드로 SRT로 변환할 수 있습니다.
네. 텍스트 가져오기 기능이 포함된 요금제를 이용하시면, 프로젝트 생성 시 기존 원본 텍스트, 검토된 대상 언어 번역본, 또는 이 둘을 SRT 파일이나 타임스탬프가 포함된 텍스트 구간 형태로 제공할 수 있습니다. Rask를 통해 원본 스크립트를 번역하거나 검토된 번역본을 더빙에 활용할 수 있습니다.
프로젝트 비용은 오디오나 동영상 분단위로 청구되며, Rask 앱과 동일한 분 단위 공용 풀에서 남은 시간에서 올림하여 계산됩니다. 요금에는 자막 생성, 번역, 성우 녹음, 자막이 포함됩니다. 이용 가능한 일반 요금제에서는 추가 1분당 3달러가 부과됩니다. 기업용 요금은 계약 내용에 따라 맞춤으로 제공됩니다. 텍스트 변환만 필요하신 경우, 전용 음성 텍스트 변환 API를 더 저렴하게 이용하실 수 있습니다.
Rask 앱에서 신용카드 등록 없이 무료 체험을 시작하고 내 파일로 텍스트 변환과 번역을 테스트해 보세요. API는 Creator Pro, Business, Enterprise 요금제에서 이용하실 수 있으며, 이용 가능한 기능은 요금제에 따라 다릅니다.
API 접근 권한은 Creator Pro, Business, Enterprise 요금제에서 이용할 수 있으며, 기능은 요금제에 따라 다릅니다. 앱에서 API 키를 생성하고 즉시 사용을 시작할 수 있습니다. Enterprise 계약 조건, 대량 할인 및 맞춤형 언어 지원은 저희 팀으로 문의해 주세요.