Videoslash API
Creative studioGeneratedModels

Veo 3.1

Creative Studio video model reference for the public API.

Veo 3.1

Public model ID: veo-31

Asset type: video

Category: Video Generation

Starting credits: 16 (defaults: 32)

Prompt required.

Start a generation

curl -s -X POST "$API_BASE_URL/v1/creative-studio/generations" \
  -H "Authorization: Bearer vsl_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "modelId": "veo-31",
    "prompt": "Your prompt here",
    "image": ["https://example.com/reference.jpg"],
    "aspect_ratio": "16:9"
  }' | jq

Poll GET /v1/creative-studio/generations/{id} until status is completed. Completed generations return outputUrl on cdn.videoslash.com.

Media parameters

NameTypeConstraintsDefaultDescription
imagestringoptional · max items: 1—Input image to start generating from. Ideal images are 16:9 or 9:16 and 1280x720 or 720x1280, depending on the aspect ratio you choose.
last_framestringoptional · max items: 1—Ending image for interpolation. When provided with an input image, creates a transition between the two images.
reference_imagesarrayoptional · max items: 3[]1 to 3 reference images for subject-consistent generation (reference-to-video, or R2V). Reference images only work with 16:9 aspect ratio and 8-second duration. Last frame is ignored if reference images are provided.

Settings parameters

NameTypeConstraintsDefaultDescription
aspect_ratioenumoptional · enum: 16:9, 9:1616:9Video aspect ratio
durationenumoptional · enum: 4, 6, 88Video duration in seconds
negative_promptstringoptional—Description of what to exclude from the generated video
resolutionenumoptional · enum: 720p, 1080p1080pResolution of the generated video
generate_audiobooleanoptionaltrueGenerate audio with the video
seedintegeroptional—Random seed. Omit for random generations

On this page