Generate video with consistent subject appearance using reference images via fal.ai Veo 3.1. Use when the user wants to create a video featuring specific people, objects, or characters that should look consistent throughout. Supports multiple reference images for better subject consistency.
Generate videos with consistent subject appearance using reference images via Veo 3.1. Use when users want to create videos featuring specific people, objects, or characters that must look consistent throughout.
/plugin marketplace add bluewaves-creations/bluewaves-skills/plugin install fal-media@bluewaves-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Generate videos with consistent subject appearance using reference images via Google DeepMind's Veo 3.1 model on fal.ai.
FAL_KEY environment variable must be set (typically in ~/.zshrc)POST https://fal.run/fal-ai/veo3.1/reference-to-video
prompt (string): Text description of the video scene and actionimage_urls (array of strings): URLs of reference images for consistent subject appearance| Parameter | Type | Default | Options |
|---|---|---|---|
duration | string | "8s" | "8s" |
resolution | string | "720p" | "720p", "1080p" |
generate_audio | boolean | true | Enable/disable audio generation |
curl --request POST \
--url https://fal.run/fal-ai/veo3.1/reference-to-video \
--header "Authorization: Key $FAL_KEY" \
--header "Content-Type: application/json" \
--data '{
"prompt": "The character walks through a sunny park, looking around curiously",
"image_urls": [
"https://example.com/character-front.jpg",
"https://example.com/character-side.jpg"
],
"duration": "8s",
"resolution": "1080p",
"generate_audio": true
}'
import fal_client
result = fal_client.subscribe(
"fal-ai/veo3.1/reference-to-video",
arguments={
"prompt": "The character walks through a sunny park, looking around curiously",
"image_urls": [
"https://example.com/character-front.jpg",
"https://example.com/character-side.jpg"
],
"duration": "8s",
"resolution": "1080p",
"generate_audio": True
}
)
# Access the generated video URL
video_url = result["video"]["url"]
print(f"Generated video: {video_url}")
import { fal } from "@fal-ai/client";
const result = await fal.subscribe("fal-ai/veo3.1/reference-to-video", {
input: {
prompt: "The character walks through a sunny park, looking around curiously",
image_urls: [
"https://example.com/character-front.jpg",
"https://example.com/character-side.jpg"
],
duration: "8s",
resolution: "1080p",
generate_audio: true
}
});
console.log("Generated video:", result.video.url);
{
"video": {
"url": "https://storage.googleapis.com/.../output.mp4"
}
}
Character video:
Product showcase:
Pet video:
Avatar animation: