from magic_hour import Client
from os import getenv
client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.text_to_video.create(
end_seconds=3.0,
aspect_ratio="16:9",
style={"prompt": "Perfume bottle on wet stone. Slow orbit, moving light and mist."},
name="My first AI video",
model="ltx-2.5",
resolution="480p",
audio=True,
)