Nexevo.aiNexevo.ai
← All examples
Image / video / 3D generation

Text-to-video (Sora 2 / Veo 3 / Wan 2.6)

Async video — submit returns job_id, poll or use generate_and_wait helper. Sora 2 / Veo 3 / Wan 2.6.

python
from nexevo_ai import Nexevo

client = Nexevo()

# 一步到位:SDK 自动每 5s 轮询 jobs.get,直到 SUCCEEDED / FAILED
job = client.videos.generate_and_wait(
    model="sora-2",  # 或 "veo-3" / "wan-2.6"
    prompt="a cat skating in neon Tokyo, cinematic",
    duration_sec=5,
    aspect_ratio="16:9",
    poll_interval_sec=5, timeout_sec=10 * 60,
)
print(job["status"])           # "succeeded"
print(job["results"][0]["url"])  # OSS-backed 24h signed URL
print("charged:", job["charged_usd"])
Text-to-video (Sora 2 / Veo 3 / Wan 2.6) — Nexevo Cookbook | Nexevo.ai