Veo 3
Veo3
Google의 Veo 3를 활용한 고품질 영상 생성
- Endpoint
- POST /api/v1/videos/generate
- model
- veo3
- Output
- Video
- Credits
- from 30
1
작업 제출
POST
/api/v1/videos/generate매개변수
modelstring필수"veo3" or "veo3_fast"
veo3veo3_fasttypestring선택 사항기본값text-to-video"text-to-video" or "image-to-video" (default: text-to-video)
text-to-videoimage-to-videopromptstring필수Text description of the video
image_urlsstring[]선택 사항Input image URLs for image-to-video
input_imagestring선택 사항Deprecated. Alias for image_urls[0]
aspect_ratiostring선택 사항"16:9", "9:16", or "Auto" (aliases: "landscape", "portrait", "square")
16:99:16Autolandscapeportraitsquarewatermarkboolean선택 사항기본값trueInclude watermark (default: true)
truefalseseedsnumber선택 사항Random seed for reproducibility
enable_fallbackboolean선택 사항Retry on a backup generation channel if the first attempt fails
truefalseenable_translationboolean선택 사항Auto-translate non-English prompts
truefalse
요청
curl -X POST https://www.bananapro.site/api/v1/videos/generate \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "veo3",
"prompt": "A drone shot flying over a tropical beach at sunset",
"aspect_ratio": "16:9"
}'응답200
{
"success": true,
"data": {
"task_id": "task_veo123",
"credits_used": 130,
"remaining_credits": 370,
"model": "veo3"
}
}예시의 credits_used 값은 참고용입니다. 실제 사용량은 제출 시 계산되어 API가 반환합니다.
2
작업 조회
GET
/api/v1/videos/{task_id}status
pending- Accepted and waiting to start. Keep polling.
processing- Running. Keep polling.
completed- Finished. Read video_url; output holds the full result.
failed- Ended without a result. error_message says why and credits_refunded shows what was returned.
Poll every 5 to 10 seconds and stop at completed or failed, or register a webhook to be notified instead. Failed tasks are refunded automatically.
요청
curl https://www.bananapro.site/api/v1/videos/task_abc123 \
-H "Authorization: Bearer sk-your-api-key"응답200
{
"success": true,
"data": {
"task_id": "task_abc123",
"model": "veo3",
"status": "completed",
"output": { "video_url": "https://..." },
"video_url": "https://...",
"error_message": null,
"credits_used": 130,
"credits_refunded": 0,
"created_at": "2026-10-04T10:00:00.000Z",
"updated_at": "2026-10-04T10:01:12.000Z",
"completed_at": "2026-10-04T10:01:12.000Z"
},
"request_id": "req_abc123"
}결과 기다리기
TASK_ID=task_abc123
while true; do
TASK=$(curl -s https://www.bananapro.site/api/v1/videos/$TASK_ID \
-H "Authorization: Bearer sk-your-api-key")
STATUS=$(echo "$TASK" | jq -r '.data.status')
if [ "$STATUS" = "completed" ] || [ "$STATUS" = "failed" ]; then
echo "$TASK" | jq
break
fi
sleep 10
done요금제
| Model | Credits |
|---|---|
| veo3 (high quality) | 130 |
| veo3_fast (faster) | 30 |
기능
- 텍스트-비디오 생성
- 고품질 출력
- 다양한 화면비
- 선택적 워터마크 제거