MAGI-2 Reference to Video API
Sand.ai에서 MAGI-2 방식으로 제공하는 Reference to Video API입니다. Generate up to 30 seconds of video with synchronized sound.
MAGI-2 Reference to Video 사용해 보기
Up to 10 images for characters, products, style or scene. Refer to them in the prompt as @Image1, @Image2…
Up to 5 MP4/MOV clips for motion, camera moves or effects (2–30 s each, 30 s in total). Refer to them as @Video1, @Video2… References add no charge.
Up to 5 MP3/WAV clips for voice, music or sound (2–30 s each, 30 s in total). Refer to them as @Audio1, @Audio2…
Output frame shape.
The 1080p tier. Pixel dimensions depend on the output aspect ratio.
Length of the generated clip in seconds (4–30s). You pay per second.
Google 또는 이메일로 무료 계정을 만들고 생성한 만큼만 결제하세요.
여기에 동영상 생성 결과가 표시됩니다.
프롬프트를 작성하고 설정을 선택한 뒤 실행하세요. 성공한 생성에만 결제합니다.
다음도 이용 가능: MAGI-2 Text to Video · MAGI-2 Image to Video
MAGI-2 Reference to Video API
/api/v1/run/sand-ai/magi-2/reference-to-video비동기 작업을 제출하고 생성 ID가 포함된 HTTP 202 응답을 반환합니다. GET /api/v1/generations/{id}의 상태를 조회하거나 webhook_url를 전달하세요. 자세한 내용은 작업 수명 주기 문서를 참조하세요.
입력 매개변수
| 이름 | 유형 | 설명 | 가격에 영향 |
|---|---|---|---|
prompt필수 | string | Describe the shot: subject, action, camera movement, lighting and style. | 없음 |
reference_image_urls | string[] (URLs) | Up to 10 images for characters, products, style or scene. Refer to them in the prompt as @Image1, @Image2… 최대 항목 수: 10 | 없음 |
reference_video_urls | string[] (video URLs) | Up to 5 MP4/MOV clips for motion, camera moves or effects (2–30 s each, 30 s in total). Refer to them as @Video1, @Video2… References add no charge. 최대 항목 수: 5 | 없음 |
reference_audio_urls | string[] (audio URLs) | Up to 5 MP3/WAV clips for voice, music or sound (2–30 s each, 30 s in total). Refer to them as @Audio1, @Audio2… 최대 항목 수: 5 | 없음 |
aspect_ratio | string (enum) | Output frame shape. 허용값: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 기본값: 16:9 | 없음 |
resolution | string (enum) | The 1080p tier. Pixel dimensions depend on the output aspect ratio. 허용값: 1080p 기본값: 1080p | 없음 |
duration | integer | Length of the generated clip in seconds (4–30s). You pay per second. 범위: 4–30s 기본값: 5 | 예 |
generate_audio | boolean | Generate synchronized sound, ambience and dialogue. No extra cost. 기본값: true | 없음 |
webhook_url | 문자열(URL) | 선택 사항. 완료된 생성을 웹훅 비밀키로 서명해 이곳으로 POST합니다. 웹훅 | 없음 |
요청
const API = "https://cheapergen.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
"Content-Type": "application/json",
};
// 1. Submit the job
let job = await fetch(`${API}/run/sand-ai/magi-2/reference-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "Place the paper boat from @Image1 on the pond from @Image2.",
"reference_image_urls": [
"https://cdn.cheapergen.com/samples/reference-1.jpg",
"https://cdn.cheapergen.com/samples/reference-2.jpg"
],
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 5
}),
}).then((r) => r.json());
// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
await new Promise((r) => setTimeout(r, 3000));
job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}
console.log(job.status === "succeeded" ? job.output.video.url : job.error);응답
{
"id": "gen_8c2QmX1nq0k4",
"object": "generation",
"model": "sand-ai/magi-2",
"endpoint": "sand-ai/magi-2/reference-to-video",
"mode": "reference-to-video",
"status": "queued",
"input": {
"prompt": "Place the paper boat from @Image1 on the pond from @Image2.",
"reference_image_urls": [
"https://cdn.cheapergen.com/samples/reference-1.jpg",
"https://cdn.cheapergen.com/samples/reference-2.jpg"
],
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 5
},
"output": null,
"error": null,
"cost": {
"amount_usd": 0.2255,
"currency": "usd",
"estimated": true,
"official_usd": null,
"list_price_source": "official",
"list_price_label": "Official",
"saved_usd": null
},
"source": "api",
"started_at": null,
"completed_at": null,
"urls": {
"get": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4",
"cancel": "https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4/cancel"
},
"created_at": "2026-10-15T09:21:04Z"
}MAGI-2 요금
결제 동영상 초당 사용한 만큼 결제하며 구독은 필요하지 않습니다 (월간 요금제은 선택 사항입니다). 생성 실패 시 자동으로 환불됩니다.
| 등급 | 공식 가격 | CheaperGen | 절감액 |
|---|---|---|---|
1080p | $0.08/s | $0.08/s | — |
- 공식 가격: Sand.ai API list price (platform.sand.ai/docs/model-pricing): $0.08 per second at 1080p.. 가격 확인일 2026년 11월 25일.
- All three modes cost $0.08 per requested second. Audio and reference inputs are included.
비슷한 동영상 모델
인기 text-to-video 모델 타사 개발 모델.

Seedance2.5
텍스트 → 동영상 · 이미지 → 동영상 · 참조 → 동영상 · Video Edit
ByteDance의 최신 동영상 모델 — 더 긴 영상, 선명한 화질, 강화된 제어

MiniMaxH3
텍스트 → 동영상 · 이미지 → 동영상 · 참조 → 동영상
Hailuo H3 — 표현력 있는 움직임과 물리 표현, 최대 2K

Seedance2.0 Fast
텍스트 → 동영상 · 이미지 → 동영상 · 참조 → 동영상
더 낮은 지연 시간과 비용으로 즐기는 Seedance 2.0 화질

MiniMaxH3 Fast
텍스트 → 동영상 · 이미지 → 동영상 · 참조 → 동영상
몇 분이 아닌 몇 초 만에 생성하는 MiniMax H3 — 오픈 웨이트 가속 빌드