Eingabebilder
Lade 1-9 Bilder hoch (max. 10 MB pro Bild).
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 9
Eingabevideos
Lade bis zu 3 Referenzvideos hoch.
Click to upload or drag and drop
Supported formats: MP4, MOV, WEBM
Maximum file size: 100MB; Maximum files: 3
Eingabeaudio
Lade bis zu 3 Audio-Referenzdateien hoch.
Click to upload or drag and drop
Supported formats: MP3, WAV, M4A, AAC, OGG, FLAC
Maximum file size: 50MB; Maximum files: 3
Any integer from 4s to 15s.
Video output resolution.
Video aspect ratio.
USD-Schätzung $0.76-$1.52: Das größte Aufladepaket rechnet mit $1 = 2.000 Credits; das Starterpaket mit $1 = 1.000 Credits.
Verlauf
Lokal in diesem Browser gespeichert
0 läuft · 0 abgeschlossen
Abrechnungsregeln
Authentifizierung
Jede Anfrage muss im Authorization Header ein Bearer Token enthalten. Erstelle deinen API Key in der Konsole.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/videos/generationsRequest-Parameter
| Parameter | Typ | Erforderlich | Hinweise |
|---|---|---|---|
model | String | Erforderlich | Die Modellkennung für den Aufruf; verwende die ID dieses Modells. |
prompt | String | Erforderlich | Textprompt, der beschreibt, was du generieren möchtest. |
duration | Zahl | Optional | Any integer from 4s to 15s. · Bereich: 4–15 · Standard: 4 |
quality | String | Optional | Video output resolution. · Optionen: 768p, 2k · Standard: 768p |
aspect_ratio | String | Optional | Video aspect ratio. · Optionen: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 · Standard: 16:9 |
callback_url | String | Optional | Optionale Callback-Adresse, die nach Abschluss eines asynchronen Tasks aufgerufen wird. |
Request-Beispiel
curl "https://apiany.ai/v1/videos/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-reference-to-video",
"prompt": "Generate a short cinematic clip guided by the reference images, consistent character and lighting",
"duration": 4,
"quality": "768p",
"aspect_ratio": "16:9"
}'Response-Beispiel
{
"task_id": "task_abc123",
"status": "pending",
"poll_url": "/v1/tasks/task_abc123",
"request_id": "req_abc123",
"credits": {
"reserved": 1000
}
}Dieser Endpunkt ist asynchron: Nach dem Request wird sofort task_id zurückgegeben. Frage den Task-Status-Endpunkt per Polling ab, bis status succeeded ist, und lies danach result. Generierte Medienlinks sind 24 Stunden gültig.