How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("zenlm/zen-video", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Zen Video

Zen LM by Hanzo AI — High-quality text-to-video generation at 720p resolution.

Specs

Property Value
Parameters 13B
Architecture Zen MoDE (Mixture of Distilled Experts)
Task Text-to-Video
Resolution 720p

API Access

from openai import OpenAI

client = OpenAI(
    base_url='https://api.hanzo.ai/v1',
    api_key='your-api-key',
)

response = client.images.generate(
    model='zen-video',
    prompt='A drone flying over a tropical coastline at golden hour',
    size='1280x720',
)
print(response.data[0].url)

License

Community License

Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support