LLM API
AlibabaVideo generation

HappyHorse 1.1 Text-to-Video

HappyHorse 1.1 Text-to-Video costs $0.056 to $0.072 per second of video on LLM API, depending on resolution (720p to 1080p).

Pricing

Lowest price among 2 providers, after discounts.

HappyHorse 1.1 Text-to-Video prices on LLM API
720p$0.056before discount $0.14per second
1080p$0.072before discount $0.18per second

Providers

Prices after each provider’s discount; the lowest in bold.

Providers of HappyHorse 1.1 Text-to-Video on LLM API
Alibaba Cloud−60% discount$0.056–0.072
fal.ai$0.14–0.18

Specifications

  • Generates fromText
  • Resolutions720p, 1080p

Call HappyHorse 1.1 Text-to-Video

POST /v1/videosVideo jobs run in the background: create one, poll it, then download the file.Videos docs

import os
import time

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

video = client.videos.create(
    model="happyhorse-1.1-t2v",
    prompt="A paper boat drifting down a rainy street",
)
while video.status in ("queued", "in_progress"):
    time.sleep(10)
    video = client.videos.retrieve(video.id)
if video.status == "failed":
    raise RuntimeError(video.error)
client.videos.download_content(video.id).write_to_file("video.mp4")

More from Alibaba

All Alibaba video models

Prices synced .

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up