Elastyczne parametry
Skonfiguruj 6 udokumentowanych parametrów, w tym aspect_ratio, duration_seconds, first_frame_image_url, input_mode, last_frame_image_url.
Fast Veo 3.1 generation with 4/6/8s duration control for drafts and iteration
curl -X POST https://runapi.ai/api/v1/veo_3_1/text_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3.1-fast",
"prompt": "Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."
}'
import { Veo31Client } from "@runapi.ai/veo-3-1";
const client = new Veo31Client();
const result = await client.textToVideo.run({
model: "veo-3.1-fast",
prompt: "Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/veo_3_1/text_to_video",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"veo-3.1-fast","prompt":"Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/veo_3_1/text_to_video");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'veo-3.1-fast',
'prompt' => 'Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.textToVideo().run({"model":"veo-3.1-fast","prompt":"Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."});
task.waitForResult();
require "runapi/veo_3_1"
client = RunApi::Veo31::Client.new
result = client.text_to_video.run(
model: "veo-3.1-fast",
prompt: "Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.textToVideo.Run({"model":"veo-3.1-fast","prompt":"Generate an 8-second cinematic drone shot of a coastal highway at golden hour, with waves crashing below and ambient wind audio."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model veo-3.1-fast \
--endpoint text_to_video \
--wait
3 dostępnych wariantów
Wybierz dowolny model i generuj w kilka sekund.
Wybierz dowolny model i generuj w kilka sekund.
| Dostawca | |
| ID modelu | veo-3.1-fast |
| Modalność | Video |
| Typy zadań | Asynchronous |
| Endpoint API | /api/v1/veo_3_1/text_to_video |
| Jednostka rozliczeniowa | call |
| Parametry wejściowe | aspect_ratio, duration_seconds, first_frame_image_url, input_mode, last_frame_image_url, reference_image_urls |
| Maksymalny czas | 4s, 6s, 8s |
| Proporcje obrazu | 16:9, 9:16, auto |
| Status katalogu | Operacyjny |
Zarejestruj się bezpłatnie i utwórz klucz API dla veo-3.1-fast w panelu.
Wyślij żądanie POST do /api/v1/veo_3_1/text_to_video z identyfikatorem modelu veo-3.1-fast i parametrami.
Odpytywać zadanie lub skorzystaj z callbacku, aby pobrać ukończony wynik veo-3.1-fast.
Skonfiguruj 6 udokumentowanych parametrów, w tym aspect_ratio, duration_seconds, first_frame_image_url, input_mode, last_frame_image_url.
Udostępnia 1 publiczny(-e) endpoint(-y): text_to_video.
Rozliczane według call bez wymogu subskrypcji.
input_modeBrak dostępnego opisu. (text, first_and_last_frames, reference)
aspect_ratioBrak dostępnego opisu. (16:9, 9:16, auto)
duration_secondsBrak dostępnego opisu. (4, 6, 8)
last_frame_image_urlBrak dostępnego opisu.
reference_image_urlsBrak dostępnego opisu.
first_frame_image_urlBrak dostępnego opisu.
Generuj materiały promujące premiery produktów i krótkie reklamy na podstawie briefu tekstowego, skracając produkcję z tygodni do godzin.
Przekształcaj scenariusze lekcji w animowane filmy edukacyjne na dużą skalę, bez kamery i ekipy.
Twórz wiralowe treści short-form na platformy społecznościowe bezpośrednio z promptu.
Przekaż identyfikator modelu wyświetlony w quickstarcie.
Limity na klucz skalują się wraz z poziomem wykorzystania. Aktualne limity znajdziesz na stronie cennika.
Tak — wariant to flaga. Zmieniasz go, aktualizując parametr model.
Tam, gdzie streaming jest dostępny, RunAPI streamuje end-to-end.
Otwórz issue w publicznym repo na GitHubie albo napisz do supportu.
Pomożemy w konfiguracji dla firm, integracjach i kwestiach technicznych.
Skontaktuj się