mirror of
https://github.com/MervinPraison/PraisonAI.git
synced 2026-11-07 12:47:55 -10:00
10 lines
289 B
Python
10 lines
289 B
Python
# Video Generation with OpenAI Sora
|
|
# Requires: export OPENAI_API_KEY=your-key
|
|
# Note: Sora requires organization verification
|
|
|
|
from praisonaiagents import VideoAgent
|
|
|
|
agent = VideoAgent(llm="openai/sora-2")
|
|
video = agent.generate("A cat playing with yarn")
|
|
print(f"Video ID: {video.id}")
|