seedinteger
The seed for the random number generator.
google/veo3.1/liteVeo3.1 Lite is Google's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.
モデルを試す
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
google/veo3.1/lite creates a cinematic video from written scene direction, interpreting subject action, environment, camera language, lighting, and pacing. Veo 3.1 improves instruction following, physical consistency, character continuity, and audiovisual quality while supporting more ways to anchor or continue a shot. This combination makes the model a practical choice when the creative outcome depends on those qualities rather than on a generic media conversion.
For production work with google/, this Lite text-guided video generation workflow prioritizes economical exploration for early concepts and repeated variants while retaining Veo's core motion and audiovisual abilities. The result is most reliable when the source material and creative brief clearly describe the intended subject, progression, visual or sonic character, and the qualities that must remain unchanged.
Cinematic prompt interpretation turns scene, action, lens, lighting, and camera language into moving imagery.
Improved physical coherence strengthens object interactions, character movement, and cause-and-effect across shots.
Cost-efficient generation enables broad iteration and high-volume video experimentation.
Native audio generation coordinates dialogue, ambience, and sound effects with the visual action.
| Duration | Audio off | Audio on |
|---|---|---|
| 4 seconds | $0.120 | $0.200 |
| 6 seconds | $0.180 | $0.300 |
| 8 seconds | $0.240 | $0.400 |
| Good fit | Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
For generation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"aspect_ratio": "21:9",
"duration": 8,
"prompt": "A massive blue whale glides through crystal-clear deep ocean water, sunlight rays piercing through the surface above, bioluminescent plankton scattered around, cinematic slow motion",
"resolution": "720p"
}
| Spec | Value |
|---|---|
| Model ID | google/ |
| Inputs | aspect_ratio, auto_fix, duration, generate_audio, prompt, resolution, seed |
| Required inputs | prompt |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |
| Duration | 468 |
| Resolution | 720p / 1080p |
| Aspect Ratio | 21:916:93:24:35:41:14:53:42:39:16 |
開発を始める
このモデルをSandBase Unified Run API経由で送信します。
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "google/veo3.1/lite",
"prompt": "A massive blue whale glides through crystal-clear deep ocean water, sunlight rays piercing through the surface above, bioluminescent plankton scattered around, cinematic slow motion",
"auto_fix": true,
"duration": 8,
"resolution": "720p",
"generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"SandBaseのAPIキーを作成し、サーバー環境に設定してください。すべてのリクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開したり、リポジトリにコミットしたりしないでください。
このモデルIDと入力を使って /v1/run にPOSTしてください。上のリクエスト例には送信とポーリングが含まれています。
返されたrun IDを使って、ステータスがcompleted、failed、timeoutになるまでポーリングしてください。出力はcompleted後にのみ読み取ってください。
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"モデルのimage、video、またはaudioフィールドに、公開アクセス可能なファイルURLを指定してください。対応形式と制限は各Playground入力の横に表示されます。
Playgroundの対応する画像フィールドでアップロードまたは置換を使用してください。video URLフィールドはホストされたドライビング動画を受け付けますが、動画アップロード対応を意味するものではありません。
seedintegerThe seed for the random number generator.
promptstring必須The text prompt describing the video you want to generate
auto_fixbooleanWhether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them.
デフォルト: true
durationintegerThe duration of the generated video.
デフォルト: 8
指定可能な値: 4, 6, 8
resolutionstringThe resolution of the generated video.
デフォルト: "720p"
指定可能な値: "720p", "1080p"
aspect_ratiostringThe aspect ratio of the generated image.
指定可能な値: "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"
generate_audiobooleanWhether to generate audio for the video.
デフォルト: true
{
"model": "google/veo3.1/lite",
"prompt": "A massive blue whale glides through crystal-clear deep ocean water, sunlight rays piercing through the surface above, bioluminescent plankton scattered around, cinematic slow motion",
"auto_fix": true,
"duration": 8,
"resolution": "720p",
"generate_audio": true
}完了したrunの結果は出力に表示されます。以下はモデルに保存されたサンプルであり、新規生成ではありません。
まだ例の出力は公開されていません。完了したrunのレスポンスを確認するには、Playground → Result → JSON を使用してください。