import fal_clientdef 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/lite", arguments={ "prompt": "A massive blue whale glides through crystal-clear deep ocean water, sunlight rays piercing through the surface above, bioluminescent plankton scattered around, cinematic slow motion" }, with_logs=True, on_queue_update=on_queue_update,)print(result)
A ballerina performing an elegant pirouette on a moonlit outdoor stage. She wears a flowing white tutu that catches the silver light. Rose petals swirl around her in slow motion. The background is a dark forest with fireflies. Camera orbits slowly around her as she spins. Ethereal, dreamlike, cinema…
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
import fal_clientdef 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/lite/image-to-video", arguments={ "prompt": "The subject turns to face the camera and smiles warmly.", "image_url": "https://storage.googleapis.com/falserverless/example_inputs/veo3-i2v-input.png" }, with_logs=True, on_queue_update=on_queue_update,)print(result)
Time-lapse of the city transitioning through the day. Shadows shift across buildings, traffic flows in streaks of light, clouds race across the sky. The scene shifts from bright midday to warm golden hour. Smooth hyperlapse feel.
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
{ "prompt": "The subject turns to face the camera and smiles warmly.", "aspect_ratio": "auto", "duration": "8s", "resolution": "720p", "generate_audio": true, "auto_fix": false, "safety_tolerance": "4", "image_url": "https://storage.googleapis.com/falserverless/example_inputs/veo3-i2v-input.png"}
import fal_clientdef 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/lite/first-last-frame-to-video", arguments={ "prompt": "A smooth transition between the two frames with natural motion.", "first_frame_url": "https://storage.googleapis.com/falserverless/example_inputs/veo31-flf2v-input-1.jpeg", "last_frame_url": "https://storage.googleapis.com/falserverless/example_inputs/veo31-flf2v-input-2.jpeg" }, with_logs=True, on_queue_update=on_queue_update,)print(result)
The sun arcs across the sky from sunrise to sunset. Light transitions from cool dawn blue through warm golden midday to deep amber sunset. Shadows rotate and lengthen. Clouds drift and change shape. Smooth time-lapse feel.
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