LLM API
AlibabaVideo generation

HappyHorse-1.0-Video-Edit

HappyHorse-1.0-Video-Edit costs $0.084 to $0.144 per second of video on LLM API, depending on resolution (720p to 1080p).

Pricing

Lowest price among 2 providers, after discounts.

HappyHorse-1.0-Video-Edit prices on LLM API
720p$0.084before discount $0.14per second
1080p$0.144before discount $0.24per second

Providers

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

Providers of HappyHorse-1.0-Video-Edit on LLM API
Alibaba Cloud−40% discount$0.084–0.144
fal.ai$0.14–0.28

Specifications

  • Generates fromVideo edit
  • Resolutions720p, 1080p

Call HappyHorse-1.0-Video-Edit

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.0-video-edit",
    prompt="Make it snow",
    extra_body={"video_url": "https://llmapi.ai/samples/paper-boat.mp4"},
)
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