Runbase

Command Palette

Search for a command to run...

Google

Veo 3.1 Fast

ID:google/veo-3

Veo 3.1 Fast — mô hình video nhanh và tiết kiệm chi phí của Google DeepMind với âm thanh tích hợp (hội thoại và hiệu ứng âm thanh), chuyển hình ảnh thành video, và độ phân giải lên đến 1080p.

Chuyển văn bản thành videoChuyển hình ảnh thành videoTạo âm thanh1080p

Tổng quan

Veo 3.1 Fast — mô hình video nhanh và tiết kiệm chi phí của Google DeepMind với âm thanh tích hợp (hội thoại và hiệu ứng âm thanh), chuyển hình ảnh thành video, và độ phân giải lên đến 1080p.

Xác thực

Tất cả request API yêu cầu khóa API hợp lệ được truyền qua header Authorization sử dụng scheme Bearer.

Bắt đầu nhanh

Thông tin xác thực

Đặt biến môi trường RUNBASE_API_KEY.

Shell
export RUNBASE_API_KEY=your-api-key

Tạo lượt chạy

Shell
curl -s https://runbase.net/api/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo-3",
    "input": {
      "prompt": "A cinematic product photo of a ceramic lamp"
    }
  }'

Lượt chạy

Các lượt chạy được xử lý bất đồng bộ. Gửi request, sau đó poll để lấy kết quả.

Tạo lượt chạy

Shell
curl -s https://runbase.net/api/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo-3",
    "input": { "prompt": "A cinematic product photo of a ceramic lamp" }
  }'

Lấy trạng thái lượt chạy

Shell
curl -s https://runbase.net/api/v1/runs/RUN_ID \
  -H "Authorization: Bearer $RUNBASE_API_KEY"

Lấy kết quả

Poll endpoint trạng thái cho đến khi status là "succeeded", sau đó đọc output.urls từ response.

Schema đầu vào

Tham sốLoạiBắt buộcMô tả
promptstringBắt buộcPrompt
aspect_ratiostringTùy chọnAspect ratioTùy chọn: 16:99:16
resolutionstringTùy chọnResolutionTùy chọn: 720p1080p
image_urlsstring[]Tùy chọnFrame images

Schema đầu ra

TrườngLoạiMô tả
urlsstring[]URL đầu ra đã tạo

Lỗi

API sử dụng mã trạng thái HTTP tiêu chuẩn để biểu thị thành công hoặc thất bại.

Mã trạng tháiMô tả
400Requête invalide - paramètres manquants ou malformés
401Échec de l'authentification - clé API manquante ou invalide
402Crédits insuffisants
403Interdit - IP non autorisée ou limite de crédits de la clé API dépassée
404Exécution introuvable
429Limite de requêtes dépassée
500Erreur interne du serveur