Veo 3.1 Fast
google/veo-3Veo 3.1 Fast — Google DeepMinds schnelles, kosteneffizientes Veo 3.1-Videomodell mit nativem Audio (Dialog und Soundeffekte), Bild-zu-Video und bis zu 1080p Auflösung.
Übersicht
Veo 3.1 Fast — Google DeepMinds schnelles, kosteneffizientes Veo 3.1-Videomodell mit nativem Audio (Dialog und Soundeffekte), Bild-zu-Video und bis zu 1080p Auflösung.
Authentifizierung
Alle API-Anfragen erfordern einen gültigen API-Schlüssel im Authorization-Header mit dem Bearer-Schema.
Schnellstart
Zugangsdaten
Setze die Umgebungsvariable RUNBASE_API_KEY.
export RUNBASE_API_KEY=your-api-keyAusführung erstellen
curl -s https://runbase.net/api/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3",
"input": {
"prompt": "A cinematic product photo of a ceramic lamp"
}
}'Ausführungen
Ausführungen werden asynchron verarbeitet. Sende eine Anfrage und frage dann das Ergebnis ab.
Ausführung erstellen
curl -s https://runbase.net/api/v1/runs \
-H "Authorization: Bearer $RUNBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/veo-3",
"input": { "prompt": "A cinematic product photo of a ceramic lamp" }
}'Ausführungsstatus abrufen
curl -s https://runbase.net/api/v1/runs/RUN_ID \
-H "Authorization: Bearer $RUNBASE_API_KEY"Ergebnis abrufen
Frage den Status-Endpunkt ab, bis status den Wert "succeeded" hat, und lies dann output.urls aus der Antwort.
Input-Schema
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| prompt | string | Erforderlich | Prompt |
| aspect_ratio | string | Optional | Aspect ratioOptionen: 16:99:16 |
| resolution | string | Optional | ResolutionOptionen: 720p1080p |
| image_urls | string[] | Optional | Frame images |
Output-Schema
| Feld | Typ | Beschreibung |
|---|---|---|
| urls | string[] | Generierte Ausgabe-URLs |
Fehler
Die API verwendet Standard-HTTP-Statuscodes zur Anzeige von Erfolg oder Fehlern.
| Statuscode | Beschreibung |
|---|---|
| 400 | Requête invalide - paramètres manquants ou malformés |
| 401 | Échec de l'authentification - clé API manquante ou invalide |
| 402 | Crédits insuffisants |
| 403 | Interdit - IP non autorisée ou limite de crédits de la clé API dépassée |
| 404 | Exécution introuvable |
| 429 | Limite de requêtes dépassée |
| 500 | Erreur interne du serveur |

