Skip to main content
POST
Veo 3.1 Fast

Headers

Authorization
string

Body

application/json
model
enum<string>
default:veo-3-1-fast
required

Model name. Must be veo3_1_fast.

Available options:
veo-3-1-fast
prompt
string
required

Text prompt describing the video. Max 2000 tokens. Translated to English automatically.

image_url
string<uri>

Optional. With only image_url the video unfolds from that image; add image_end_url to generate a transition between the two frames.

image_end_url
string<uri>

Optional. Last-frame image URL. Requires image_url — last-frame-only is not supported.

duration
enum<integer>
default:8

Clip length in seconds. Billing is per video, so 4s and 8s cost the same — 8 gives the most content for the price.

Available options:
4,
6,
8
quality
enum<string>
default:720p

Output resolution. Changes the price — see the pricing table above.

Available options:
720p,
1080p,
4k
ratio
enum<string>
default:16:9

Output aspect ratio. auto lets the model pick from the input image, or from the prompt for text-to-video. ⚠️ Fixed at 16:9 when ref_imgs is used. aspect_ratio is accepted as a compatible alias.

Available options:
16:9,
9:16,
Auto
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required