립싱크
OmniHuman 2.0
MegaBrain API로 쓰는 OmniHuman 2.0(립싱크): 동영상 1초당 $0.084. 모든 모델에 키 하나, 달러 선불 잔액에서 결제, 구독 없음.
bytedance/omnihuman-2.0가격
$0.084
동영상 1초당
길이 4–300초, 5초 동영상은 $0.42입니다.
작업이 대기열에 들어갈 때 차감되고, 생성에 실패하면 환불됩니다.
출력 예시
video
브라우저에서 사용해 보기
로그인하면 영어 페이지의 플레이그라운드에서 OmniHuman 2.0을(를) 브라우저로 실행할 수 있으며, API와 같은 잔액에서 결제됩니다.
플레이그라운드 열기요청 파라미터
요청 JSON 본문의 필드입니다. 모델은 다른 필드를 받지 않으며, 포함하면 400 오류가 반환됩니다.
- prompt문자열선택
- image_urlsURL 목록필수최대 1 개
- audio_urlURL필수
- enable_watermarktrue / false선택
- 기본값:
false
API로 사용하기
작업을 보내고 status_url이 COMPLETED가 될 때까지 확인한 뒤 response_url에서 결과를 받으세요. 같은 키와 잔액으로 텍스트 모델도 쓸 수 있습니다. API 문서(영어)
curl
curl -X POST https://getmegabrain.com/api/gateway/v1/queue/bytedance/omnihuman-2.0 \
-H "Authorization: Bearer $MEGABRAIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"a slow dolly shot of a lighthouse at dawn, waves below","image_urls":["https://example.com/photo.jpg"],"audio_url":"https://example.com/voice.mp3"}'
# Then poll status_url and fetch the result from response_url:
curl https://getmegabrain.com/api/gateway/v1/queue/requests/$REQUEST_ID -H "Authorization: Bearer $MEGABRAIN_API_KEY"Python
import os, time, requests
BASE = "https://getmegabrain.com/api/gateway/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MEGABRAIN_API_KEY']}"}
job = requests.post(f"{BASE}/queue/bytedance/omnihuman-2.0", headers=HEADERS, json={
"prompt": "a slow dolly shot of a lighthouse at dawn, waves below",
"image_urls": [
"https://example.com/photo.jpg"
],
"audio_url": "https://example.com/voice.mp3"
}).json()
while requests.get(job["status_url"], headers=HEADERS).json()["status"] not in ("COMPLETED", "FAILED"):
time.sleep(2)
print(requests.get(job["response_url"], headers=HEADERS).json())JavaScript
const BASE = 'https://getmegabrain.com/api/gateway/v1';
const headers = {
Authorization: `Bearer ${process.env.MEGABRAIN_API_KEY}`,
'Content-Type': 'application/json',
};
const job = await fetch(`${BASE}/queue/bytedance/omnihuman-2.0`, {
method: 'POST',
headers,
body: JSON.stringify({
"prompt": "a slow dolly shot of a lighthouse at dawn, waves below",
"image_urls": [
"https://example.com/photo.jpg"
],
"audio_url": "https://example.com/voice.mp3"
}),
}).then(r => r.json());
let status = job.status;
while (status !== 'COMPLETED' && status !== 'FAILED') {
await new Promise(r => setTimeout(r, 2000));
({ status } = await fetch(job.status_url, { headers }).then(r => r.json()));
}
console.log(await fetch(job.response_url, { headers }).then(r => r.json()));자주 묻는 질문
OmniHuman 2.0 API 가격은 얼마인가요?
동영상 1초당 $0.084. 달러 선불 잔액에서 차감되며, 실패한 생성은 전액 환불됩니다. 구독은 없습니다.
OmniHuman 2.0을(를) API로 어떻게 사용하나요?
MegaBrain API 키로 POST https://getmegabrain.com/api/gateway/v1/queue/bytedance/omnihuman-2.0에 작업을 보내고, status_url이 COMPLETED가 될 때까지 확인한 뒤 response_url에서 결과를 받으세요. 같은 키와 잔액으로 텍스트 모델도 쓸 수 있습니다.
코드 없이 OmniHuman 2.0을(를) 써 볼 수 있나요?
네. 로그인하면 모델의 영어 페이지에 있는 플레이그라운드에서 OmniHuman 2.0을(를) 브라우저로 실행할 수 있으며, API와 같은 잔액에서 결제됩니다.