LLM API
AlibabaVideo generation

HappyHorse-1.1-I2V

HappyHorse-1.1-I2V 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-I2V 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-I2V on LLM API
Alibaba Cloud−60% discount$0.056–0.072
fal.ai$0.14–0.18

Specifications

  • Generates fromImage
  • Resolutions720p, 1080p

Call HappyHorse-1.1-I2V

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-i2v",
    prompt="The paper boat drifts down the rainy street",
    extra_body={"image_url": "https://llmapi.ai/samples/paper-boat.jpg"},
)
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