Google Veo3.1 Lite Start End To Video API Documentation
Playground
Try it on WaveSpeedAI!Google Veo 3.1 Lite Start-End-to-Video generates high-fidelity videos by interpolating between a start image and an optional end image. Supports 720p and 1080p resolutions, landscape and portrait aspect ratios, and native audio generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Veo 3.1 Lite Start-End-to-Video generates a smooth, cinematic video transition between two images. Upload a start frame and an end frame, describe the scene — the model produces a natural, motion-consistent clip that flows seamlessly from one image to the other.
- Need to animate a single image? Try Veo 3.1 Lite Image-to-Video
Why Choose This?
-
Start-to-end frame transitions Generates a coherent video that naturally bridges two distinct images with smooth, believable motion.
-
Prompt-guided transformation Describe how the transition should unfold — environmental changes, camera movements, seasonal shifts, and more.
-
Negative prompt support Specify what to avoid in the transition for more precise control over the output.
-
Resolution options Generate at 720p or 1080p to match your quality and budget requirements.
-
Flexible aspect ratios Supports multiple orientations for social, cinematic, and broadcast formats.
-
Reproducible results Use the seed parameter to lock in a specific output for exact reproduction.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired transition and scene. |
| image | Yes | Start frame image (URL or file upload). |
| last_image | Yes | End frame image to transition toward (URL or file upload). |
| aspect_ratio | No | Output aspect ratio. Default: 16:9. |
| resolution | No | Output resolution: 720p (default) or 1080p. |
| negative_prompt | No | Elements to exclude from the generated transition. |
| seed | No | Random seed for reproducible results. |
How to Use
- Upload your start image — provide the opening frame of the transition.
- Upload your end image — provide the target frame to transition toward.
- Write your prompt — describe how the transition should unfold. Use the Prompt Enhancer for better results.
- Select aspect ratio — choose the format that fits your target platform.
- Select resolution — 720p for standard output, 1080p for higher-quality results.
- Add negative prompt (optional) — specify elements you want to avoid in the transition.
- Set seed (optional) — fix the seed to reproduce a specific result in future runs.
- Submit — generate, preview, and download your transition video.
Pricing
| Resolution | Cost per Generation |
|---|---|
| 720p | $0.40 |
| 1080p | $0.64 |
Best Use Cases
- Seasonal & Time-lapse Transitions — Shift between different seasons, times of day, or weather conditions from the same scene.
- Scene Changes — Bridge two distinct environments or locations with a cinematic transition.
- Social Media Content — Create eye-catching before-and-after transition clips for Reels and TikTok.
- Marketing & Advertising — Transition between product states or campaign visuals.
- Creative Storytelling — Connect two visual moments with a natural, motioned bridge.
Pro Tips
- Use images of the same scene or subject from different states for the most natural transition results.
- Be specific in your prompt about what changes between the two frames — lighting, season, atmosphere, or subject state.
- Use 720p to test your transition concept before committing to a 1080p final render.
- Fix the seed once you find a result you like to iterate consistently.
Notes
- prompt, image, and last_image are all required fields.
- 4K output is not supported on this model.
- You will only be charged if your video is successfully generated.
- Please follow Google’s content usage policies when crafting prompts.
Related Models
- Veo 3.1 Lite Image-to-Video — Animate a single reference image into a cinematic video clip.
- Veo 3.1 Lite Text-to-Video — Generate video from text prompts without a reference image.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
set -euo pipefail
export WAVESPEED_API_KEY="your-api-key"
REQUEST_BODY=$(cat <<'JSON'
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"last_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"aspect_ratio": "16:9",
"resolution": "720p"
}
JSON
)
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/google/veo3.1-lite/start-end-to-video" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
-H "Content-Type: application/json" \
-d "${REQUEST_BODY}")
TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL=$(printf '%s' "${TASK}" | jq -r '.urls.get // empty')
if [ -z "${RESULT_URL}" ]; then RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"; fi
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body \
"${RESULT_URL}" \
-H "Authorization: Bearer ${WAVESPEED_API_KEY}")
RESULT=$(printf '%s' "${RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')
case "${STATUS}" in
completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
failed|cancelled|timeout) printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
created|processing) sleep 2 ;;
*) printf 'Unexpected status: %s
' "${STATUS}" >&2; exit 1 ;;
esac
doneParameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | The positive prompt for the generation. | |
| image | string | Yes | - | The image to use for the generation. | |
| last_image | string | Yes | - | - | The last image to use for the generation. |
| aspect_ratio | string | No | 16:9 | 16:9, 9:16 | The aspect ratio of the generated media. |
| resolution | string | No | 720p | 720p, 1080p | Video resolution. |
| negative_prompt | string | No | - | The negative prompt for the generation. | |
| seed | integer | No | - | - | The random seed to use for the generation. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Output values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string | object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |