Skip to main content
Endpoint: POST https://fal.run/fal-ai/veo3.1/fast Endpoint ID: fal-ai/veo3.1/fast

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

import fal_client

def on_queue_update(update):
    if isinstance(update, fal_client.InProgress):
        for log in update.logs:
           print(log["message"])

result = fal_client.subscribe(
    "fal-ai/veo3.1/fast",
    arguments={
        "prompt": "Two person street interview in New York City.
Sample Dialogue:
Host: \"Did you hear the news?\"
Person: \"Yes! Veo 3.1 is now available on fal. If you want to see it, go check their website.\""
    },
    with_logs=True,
    on_queue_update=on_queue_update,
)
print(result)

Input Schema

prompt
string
required
The text prompt describing the video you want to generate
aspect_ratio
AspectRatioEnum
default:"16:9"
Aspect ratio of the generated video Default value: "16:9"Possible values: 16:9, 9:16
duration
DurationEnum
default:"8s"
The duration of the generated video. Default value: "8s"Possible values: 4s, 6s, 8s
negative_prompt
string
A negative prompt to guide the video generation.
resolution
ResolutionEnum
default:"720p"
The resolution of the generated video. Default value: "720p"Possible values: 720p, 1080p, 4k
generate_audio
boolean
default:"true"
Whether to generate audio for the video. Default value: true
seed
integer
The seed for the random number generator.
auto_fix
boolean
default:"true"
Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them. Default value: true
safety_tolerance
SafetyToleranceEnum
default:"4"
The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. Default value: "4"Possible values: 1, 2, 3, 4, 5, 6

Output Schema

video
File
required
The generated video.

Input Example

{
  "prompt": "Two person street interview in New York City.\nSample Dialogue:\nHost: \"Did you hear the news?\"\nPerson: \"Yes! Veo 3.1 is now available on fal. If you want to see it, go check their website.\"",
  "aspect_ratio": "16:9",
  "duration": "8s",
  "resolution": "720p",
  "generate_audio": true,
  "auto_fix": true,
  "safety_tolerance": "4"
}

Output Example

{
  "video": {
    "url": "https://v3b.fal.media/files/b/kangaroo/oUCiZjQwEy6bIQdPUSLDF_output.mp4"
  }
}

Limitations

  • aspect_ratio restricted to: 16:9, 9:16
  • duration restricted to: 4s, 6s, 8s
  • resolution restricted to: 720p, 1080p, 4k
  • safety_tolerance restricted to: 1, 2, 3, 4, 5, 6
  • aspect_ratio restricted to: auto, 16:9, 9:16