Files
praisonai-triage-agent[bot]andMervinPraison 74256c4440 fix: update VideoAgent Veo IDs to 3.1 family, retire deprecated Veo 2/3.0 (fixes #4567)
- Docstrings list Veo 3.1 Standard/Fast/Lite (Gemini preview + Vertex GA IDs)
- Change examples from veo-3.0-generate-preview to veo-3.1-generate-preview
- Mark Veo 2.0 / 3.0 IDs as deprecated (not recommended)
- Document Veo 3.1 interpolation (last_frame=, reference_images=) via existing
  **kwargs passthrough instead of adding new params (keeps surface lightweight)
- Brief auth + pricing note (API USD/sec vs Flow credits)
- Update tests and example to 3.1 IDs

Co-authored-by: MervinPraison <[email protected]>
2026-08-28 16:24:02 +00:00

19 lines
506 B
Python

# praisonai: skip=true
from praisonaiagents import VideoAgent
agent = VideoAgent(llm="gemini/veo-3.1-generate-preview")
# Generate video
video = agent.generate("A sunset timelapse", seconds="8", size="1920x1080")
print(f"Started: {video.id}")
# Wait and download
completed = agent.wait_for_completion(video.id)
if completed.status == "completed":
agent.download(video.id, "sunset.mp4")
# List all videos
videos = agent.list()
# Models: openai/sora-2, gemini/veo-3.1-generate-preview, azure/sora-2