CheaperGen
S Sand.ai동영상

MAGI-2 Image to Video API

Sand.ai에서 MAGI-2 방식으로 제공하는 Image to Video API입니다. Generate up to 30 seconds of video with synchronized sound.

MAGI-2 Image to Video 사용해 보기

0/15000

Image used as the opening frame. JPG/PNG/WebP, URL or upload.

Optional closing frame — the model animates between the two.

첫 프레임에 맞춤

The video uses the closest supported aspect ratio to the opening frame.

The 1080p tier. Pixel dimensions depend on the output aspect ratio.

5s

Length of the generated clip in seconds (4–30s). You pay per second.

Generate synchronized sound, ambience and dialogue. No extra cost.
예상 비용…

Google 또는 이메일로 무료 계정을 만들고 생성한 만큼만 결제하세요.

여기에 동영상 생성 결과가 표시됩니다.

프롬프트를 작성하고 설정을 선택한 뒤 실행하세요. 성공한 생성에만 결제합니다.

다음도 이용 가능: MAGI-2 Text to Video · MAGI-2 Reference to Video

MAGI-2의 예시 및 프롬프트 보기

MAGI-2 Image to Video API

POST/api/v1/run/sand-ai/magi-2/image-to-video

비동기 작업을 제출하고 생성 ID가 포함된 HTTP 202 응답을 반환합니다. GET /api/v1/generations/{id}의 상태를 조회하거나 webhook_url를 전달하세요. 자세한 내용은 작업 수명 주기 문서를 참조하세요.

입력 매개변수

이름유형설명가격에 영향
prompt필수stringDescribe the shot: subject, action, camera movement, lighting and style.없음
image_url필수string (URL)Image used as the opening frame. JPG/PNG/WebP, URL or upload.없음
end_image_urlstring (URL)Optional closing frame — the model animates between the two.없음
resolutionstring (enum)The 1080p tier. Pixel dimensions depend on the output aspect ratio.
허용값: 1080p
기본값: 1080p
없음
durationintegerLength of the generated clip in seconds (4–30s). You pay per second.
범위: 4–30s
기본값: 5
예
generate_audiobooleanGenerate 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/image-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "The camera pulls back as the boat begins to drift.",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "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/image-to-video",
  "mode": "image-to-video",
  "status": "queued",
  "input": {
    "prompt": "The camera pulls back as the boat begins to drift.",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "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.