Uitvoerresolutie
Ondersteunt 720p, 1080p vanuit het gepubliceerde endpoint-schema.
HappyHorse 1.0 referentie-naar-video met 1-9 geordende beelden
curl -X POST https://runapi.ai/api/v1/happyhorse/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1.0-r2v",
"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.textToVideo.run({
model: "happyhorse-1.0-r2v",
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/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"happyhorse-1.0-r2v","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/text_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-r2v',
'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.textToVideo().run({"model":"happyhorse-1.0-r2v","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.text_to_video.run(
model: "happyhorse-1.0-r2v",
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.textToVideo.Run({"model":"happyhorse-1.0-r2v","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-r2v \
--endpoint text_to_video \
--wait
7 versies beschikbaar
Kies een model en genereer binnen enkele seconden.
Kies een model en genereer binnen enkele seconden.
| Provider | Alibaba |
| Model-ID | happyhorse-1.0-r2v |
| Modaliteit | Video |
| Taaktypen | Asynchronous |
| API-eindpunt | /api/v1/happyhorse/text_to_video |
| Factureringseenheid | second |
| Invoerparameters | aspect_ratio, output_resolution, reference_image_urls |
| Maximale resolutie | 720p, 1080p |
| Beeldverhoudingen | 16:9, 9:16, 1:1, 4:3, 3:4 |
| Catalogusstatus | Operationeel |
Meld je gratis aan en maak vanuit het dashboard een API-sleutel voor happyhorse-1.0-r2v.
Stuur een POST-verzoek naar /api/v1/happyhorse/text_to_video met de model-ID happyhorse-1.0-r2v en je parameters.
Poll de taak of volg de callback om het voltooide happyhorse-1.0-r2v-resultaat op te halen.
Ondersteunt 720p, 1080p vanuit het gepubliceerde endpoint-schema.
Configureer 3 gedocumenteerde parameters, waaronder aspect_ratio, output_resolution, reference_image_urls.
Stelt 1 openbaar(e) endpoint(s) beschikbaar: text_to_video.
Gemeten aan de hand van second, zonder abonnementsvereiste.
aspect_ratioGeen beschrijving beschikbaar. (16:9, 9:16, 1:1, 4:3, 3:4)
output_resolutionGeen beschrijving beschikbaar. (720p, 1080p)
reference_image_urlsGeen beschrijving beschikbaar.
Genereer clips voor productlanceringen en korte ads op basis van een tekstbriefing, waardoor je de productie van weken terugbrengt naar uren.
Zet lesmateriaal om in geanimeerde uitlegvideo's op schaal, zonder camera of crew.
Maak virale short-form content voor social platforms direct vanuit een prompt.
Geef de model-ID door die in de quickstart wordt getoond.
Rate limits per key schalen mee met je usage tier. Bekijk de prijzenpagina voor de actuele limieten.
Ja — variant is een flag. Wissel door de modelparameter aan te passen.
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Open een issue in de publieke GitHub-repo of mail support.
We helpen je met enterprise-inrichting, integraties en technische vragen.
Neem contact op