CheaperGen

Veo 3.1 Fast API 문서

코드에서 Veo 3.1 Fast API를 호출하는 데 필요한 모든 내용입니다. 기본 URL은 https://cheapergen.com/api/v1입니다. 먼저 플레이그라운드에서 테스트해 보세요.

코딩 에이전트를 사용하시나요?

이 내용을 Claude Code, Cursor, Codex 또는 원하는 코딩 에이전트에 붙여넣으세요. 프로젝트에 API를 추가하고 API 키는 CHEAPERGEN_API_KEY에 보관하며, 비용을 사용하기 전에 무료 견적을 요청해 테스트합니다.

Add Veo 3.1 Fast (CheaperGen endpoint google/veo-3.1-fast/text-to-video) to this project by following https://cheapergen.com/agents/integrate.md
에이전트가 읽는 내용

인증

대시보드 → API 키에서 키를 만들고 bearer token으로 전송하세요. 키는 서버에 안전하게 보관하세요.

export CHEAPERGEN_API_KEY="cg_live_…"

# every request
Authorization: Bearer $CHEAPERGEN_API_KEY

Veo 3.1 Fast 텍스트 → 동영상 API

POST/api/v1/run/google/veo-3.1-fast/text-to-video

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

입력 매개변수

이름유형설명가격에 영향
prompt필수string피사체, 동작, 카메라 움직임, 조명, 스타일을 설명하세요.없음
aspect_ratiostring (enum)가로 또는 세로
허용값: 16:9 · 9:16
기본값: 16:9
예
resolutionstring (enum)출력 해상도입니다. 1080p와 4K 클립은 항상 8초이며, 4K는 초당 요금이 더 높습니다.
허용값: 720p · 1080p · 4k
기본값: 720p
예
durationinteger (enum)720p는 4초, 6초, 8초 중에서 선택할 수 있습니다 (1080p와 4K는 항상 8초). 초당 요금이 부과됩니다.
허용값: 4 · 6 · 8
기본값: 8
예
generate_audioboolean동기화된 사운드, 주변음, 대사를 추가합니다. 오디오가 포함된 클립은 초당 요금이 더 높습니다.
기본값: true
예
negative_promptstring결과물에서 제외할 요소를 입력하세요.없음
seedinteger같은 시드와 설정을 사용하면 결과를 재현할 수 있습니다. 비워 두면 무작위로 설정됩니다.없음
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/google/veo-3.1-fast/text-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "해 뜰 무렵의 타이드풀, 반짝이는 바위 사이를 재빠르게 움직이는 작은 게, 접사 렌즈, 잔잔한 파도와 갈매기 울음소리",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 8
  }),
}).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": "google/veo-3.1-fast",
  "endpoint": "google/veo-3.1-fast/text-to-video",
  "mode": "text-to-video",
  "status": "queued",
  "input": {
    "prompt": "해 뜰 무렵의 타이드풀, 반짝이는 바위 사이를 재빠르게 움직이는 작은 게, 접사 렌즈, 잔잔한 파도와 갈매기 울음소리",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 8
  },
  "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"
}

Veo 3.1 Fast 이미지 → 동영상 API

POST/api/v1/run/google/veo-3.1-fast/image-to-video

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

입력 매개변수

이름유형설명가격에 영향
prompt필수string피사체, 동작, 카메라 움직임, 조명, 스타일을 설명하세요.없음
image_url필수string (URL)시작 프레임으로 사용할 이미지입니다. JPG/PNG/WebP, URL 또는 업로드를 지원합니다.없음
end_image_urlstring (URL)선택 사항인 마지막 프레임입니다. 모델이 시작 프레임과 마지막 프레임 사이를 애니메이션으로 만듭니다.없음
aspect_ratiostring (enum)가로 또는 세로
허용값: 16:9 · 9:16
기본값: 16:9
예
resolutionstring (enum)출력 해상도입니다. 1080p와 4K 클립은 항상 8초이며, 4K는 초당 요금이 더 높습니다.
허용값: 720p · 1080p · 4k
기본값: 720p
예
durationinteger (enum)720p는 4초, 6초, 8초 중에서 선택할 수 있습니다 (1080p와 4K는 항상 8초). 초당 요금이 부과됩니다.
허용값: 4 · 6 · 8
기본값: 8
예
generate_audioboolean동기화된 사운드, 주변음, 대사를 추가합니다. 오디오가 포함된 클립은 초당 요금이 더 높습니다.
기본값: true
예
negative_promptstring결과물에서 제외할 요소를 입력하세요.없음
seedinteger같은 시드와 설정을 사용하면 결과를 재현할 수 있습니다. 비워 두면 무작위로 설정됩니다.없음
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/google/veo-3.1-fast/image-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "컵에서 김이 오르고 창문에 빗물이 흐르는 동안 카메라가 천천히 다가갑니다",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 8
  }),
}).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": "google/veo-3.1-fast",
  "endpoint": "google/veo-3.1-fast/image-to-video",
  "mode": "image-to-video",
  "status": "queued",
  "input": {
    "prompt": "컵에서 김이 오르고 창문에 빗물이 흐르는 동안 카메라가 천천히 다가갑니다",
    "image_url": "https://cdn.cheapergen.com/samples/portrait.jpg",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 8
  },
  "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"
}

결과 가져오기

생성은 비동기로 처리됩니다. status 값을 확인해 succeeded, failed, canceled 중 하나가 될 때까지 폴링하거나 제출 시 webhook_url를 전달하세요. 실패한 생성은 자동 환불됩니다.

curl https://cheapergen.com/api/v1/generations/gen_8c2QmX1nq0k4 \
  -H "Authorization: Bearer $CHEAPERGEN_API_KEY"

추가: 작업 수명 주기 · 웹훅 · 오류

Veo 3.1 Fast 요금

결제 동영상 초당 사용한 만큼 결제하며 구독은 필요하지 않습니다. 생성 실패 시 자동으로 환불됩니다.

등급공식 가격CheaperGen
720p + 오디오
기본 오디오 포함
$0.10/s$0.075/s
월간 요금제를 이용하면: Pro $0.0717Max $0.0683
720p
silent
$0.08/s$0.0736/s
1080p + 오디오
기본 오디오 포함
$0.12/s$0.1104/s
1080p
silent
$0.10/s$0.092/s
4K + 오디오
기본 오디오 포함
$0.30/s$0.276/s
4K
silent
$0.25/s$0.23/s

월간 요금제 대부분 모델 가격을 할인하며(각 가격 아래 표시), 사용한 만큼만 결제할 수도 있습니다. Pro $499/월 · Max $4,999/월.

  • 공식 가격: veo-3.1-fast-generate-001의 Google Cloud Vertex AI 공식 가격 (오디오 포함: 720p $0.10/초, 1080p $0.12/초, 4K $0.30/초; 영상만: $0.08 / $0.10 / $0.25). 가격 확인일 2026년 10월 18일.
  • 기본 오디오를 켜면 매초 오디오 요율로 요금이 부과됩니다.