All models

Google: Veo 3.1

google/veo-3.1
video

Google Veo 3.1 video model: photorealistic video with audio, up to 4K, first-to-last frame transitions.

Pricing

per clip · 4s

Parameters

promptrequired
seconds · ·
size · · ·

How to use via API

import time
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
video = client.videos.create(
model="google/veo-3.1",
prompt="Кот-космонавт на мотоцикле, ночь",
seconds="4",
size="1080x1920",
)
while video.status not in ("completed", "failed"):
time.sleep(5)
video = client.videos.retrieve(video.id)
client.videos.download_content(video.id).write_to_file("video.mp4")
Try in the botAPI docs