Available now
Veo 3.1 Fast
By Google
Generate videos from a first/last frame using Google's Veo 3.1 Fast
- Model ID
- Maker
Model id
veo3.1/fast/first-last-frame-to-videoThis model has other modes with their own ids: veo3.1/fast, veo3.1/fast/image-to-video, veo3.1/fast/reference-to-video.
Run it
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo3.1/fast/first-last-frame-to-video",
"input": {
"prompt": "A red ceramic cup on a wooden table, soft morning light",
"first_frame_url": "https://example.com/input.png",
"last_frame_url": "https://example.com/input.png"
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "veo3.1/fast/first-last-frame-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light","first_frame_url":"https://example.com/input.png","last_frame_url":"https://example.com/input.png"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Input
| Name | Type | Description |
|---|---|---|
promptrequired | string | The text prompt describing the video you want to generate |
aspect_ratio | string (enum) | The aspect ratio of the generated video. |
duration | string (enum) | The duration of the generated video. |
negative_prompt | string | A negative prompt to guide the video generation. |
resolution | string (enum) | The resolution of the generated video. |
generate_audio | boolean | Whether to generate audio for the video. |
seed | integer | The seed for the random number generator. |
auto_fix | boolean | Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them. |
safety_tolerance | string (enum) | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. |
first_frame_urlrequired | string (image URL) | URL of the first frame of the video |
last_frame_urlrequired | string (image URL) | URL of the last frame of the video |
Output
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Pricing
- 1080p · audio off$0.1585/ second
- 1080p · audio on$0.2377/ second
- 4k · audio off$0.4754/ second
- 4k · audio on$0.5547/ second
- 720p · audio off$0.1585/ second
- 720p · audio on$0.2377/ second
The exact charge for your input comes from a quote. How charges settle
Input
Fields marked * are required. Review the price before generating.