Çıktı çözünürlüğü
Yayımlanan endpoint şemasından 720p, 1080p değerlerini destekler.
Tek bir ilk kare görselinden HappyHorse 1.0 görselden videoya
curl -X POST https://runapi.ai/api/v1/happyhorse/image_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1.0-i2v",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."
}'
import { HappyhorseClient } from "@runapi.ai/happyhorse";
const client = new HappyhorseClient();
const result = await client.imageToVideo.run({
model: "happyhorse-1.0-i2v",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/happyhorse/image_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"happyhorse-1.0-i2v","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/happyhorse/image_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'happyhorse-1.0-i2v',
'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
'prompt' => 'Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.imageToVideo().run({"model":"happyhorse-1.0-i2v","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."});
task.waitForResult();
require "runapi/happyhorse"
client = RunApi::Happyhorse::Client.new
result = client.image_to_video.run(
model: "happyhorse-1.0-i2v",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.imageToVideo.Run({"model":"happyhorse-1.0-i2v","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Generate a 5-second 1080p cinematic clip of a paper horse galloping through a miniature cardboard city at night."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model happyhorse-1.0-i2v \
--endpoint image_to_video \
--wait
7 varyant mevcut
Herhangi bir modeli seçin ve saniyeler içinde oluşturun.
Herhangi bir modeli seçin ve saniyeler içinde oluşturun.
| Sağlayıcı | Alibaba |
| Model kimliği | happyhorse-1.0-i2v |
| Modality | Video |
| Görev türleri | Asynchronous |
| API uç noktası | /api/v1/happyhorse/image_to_video |
| Faturalandırma birimi | second |
| Girdi parametreleri | first_frame_image_url, output_resolution |
| Maksimum çözünürlük | 720p, 1080p |
| Katalog durumu | Operasyonel |
Ücretsiz kaydolun ve kontrol panelinden happyhorse-1.0-i2v için bir API anahtarı oluşturun.
happyhorse-1.0-i2v model kimliği ve parametrelerinizle /api/v1/happyhorse/image_to_video adresine POST isteği gönderin.
Görevi sorgulayın veya tamamlanan happyhorse-1.0-i2v sonucunu almak için callback'i izleyin.
Yayımlanan endpoint şemasından 720p, 1080p değerlerini destekler.
first_frame_image_url, output_resolution dahil 2 belgelenmiş parametreyi yapılandırın.
1 genel endpoint sunar: image_to_video.
Abonelik gerektirmeksizin second ile ölçülür.
output_resolutionAçıklama mevcut değil. (720p, 1080p)
first_frame_image_urlAçıklama mevcut değil.
Metin brief’inden ürün lansmanı videoları ve kısa reklamlar üretin; prodüksiyonu haftalardan saatlere indirin.
Ders senaryolarını kamera ya da ekip olmadan ölçeklenebilir animasyonlu açıklayıcı videolara dönüştürün.
Sosyal platformlar için viral kısa içerikleri doğrudan bir prompt ile üretin.
Quickstart'ta gösterilen model ID'sini gönderin.
Anahtar bazlı hız limitleri kullanım kademesine göre ölçeklenir. Güncel limitler için fiyatlandırma sayfasına bakın.
Evet — varyant bir bayraktır. model parametresini değiştirerek geçiş yapın.
Streaming उपलब्ध olduğunda RunAPI uçtan uca stream eder.
Herkese açık GitHub reposunda bir issue açın veya desteğe e-posta gönderin.
Kurumsal kurulum, entegrasyonlar ve teknik sorular konusunda yardımcı oluruz.
İletişime geçin