
MAGI-2
Sand AI
Text-zu-Video-KIBild-zu-VideoReferenz-zu-VideoAb 0,08 $ /S
MAGI-2 generiert bis zu 30 Sekunden lange 1080p-Videos mit nativem Audio, multimodalen Referenzen, präziser Timeline-Steuerung und gezielter Videobearbeitung.
Eingang
Modus
Füllen Sie die Pflichtfelder aus, um den Preis zu sehen.
Text To Video · 1080p · 5s
Leerlaufausgang nicht verfügbar
| Dauer | Auflösung | Typ | Preis |
|---|---|---|---|
| output second | 1080p | Bild-zu-Video | 0,08 $ / s |
| Referenz-zu-Video | 0,08 $ / s | ||
| Text-zu-Video-KI | 0,08 $ / s |
* Die tatsächlichen Kosten basieren auf dem endgültigen Ergebnis.
Endpunkt
POST
https://pollo.ai/api/platform/v1/generation/sand-ai/magi-2/videoModus
Authentifizierung
Übergeben Sie Ihren API-Schlüssel im x-api-key-Anfrageheader.
x-api-key: YOUR_API_KEYAPI-Schlüssel anzeigenGenerierung starten
Erstellen Sie eine Modellgenerierungsaufgabe.
Anfrage
curl -X POST 'https://pollo.ai/api/platform/v1/generation/sand-ai/magi-2/video' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input": {
"prompt": "At dawn, waves break gently against the rocks as the camera slowly moves forward.",
"resolution": "1080p",
"duration": 5,
"aspectRatio": "16:9",
"generateAudio": true
}
}'Antwort (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"status": "pending"
}Status prüfen
Fragen Sie den Aufgabenstatus-Endpunkt so lange ab, bis die Generierung abgeschlossen ist.
HTTP-Anfrage
GET /api/platform/v1/generation/{taskId}/status HTTP/1.1
Host: pollo.ai
x-api-key: YOUR_API_KEYAntwort (200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"credit": 12,
"costUsd": 0.12,
"generations": [
{
"id": "generation_01",
"createdDate": "2026-07-13T07:00:00.000Z",
"updatedDate": "2026-07-13T07:00:12.000Z",
"status": "succeeded",
"failMsg": null,
"url": "https://example.com/output.mp4",
"mediaType": "video"
}
]
}Webhook
Optional kann webhookUrl angegeben werden, um eine Rückruffunktion zu erhalten, wenn die Aufgabe erfolgreich war oder fehlschlug.
Optionales Anfragefeld
{
"input": {
"prompt": "At dawn, waves break gently against the rocks as the camera slowly moves forward.",
"resolution": "1080p",
"duration": 5,
"aspectRatio": "16:9",
"generateAudio": true
},
"webhookUrl": "https://example.com/webhooks/pollo"
}Schema
Eingabefelder für den ausgewählten Endpunkt und Modus.
| Feld | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| prompt | string | Ja | Text prompt describing the content to generate. |
| resolution | string | NEIN | Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive. |
| duration | integer | NEIN | The duration of the generated video, in seconds. |
| aspectRatio | string | NEIN | Output aspect ratio, as width:height (e.g. 16:9). |
| generateAudio | boolean | NEIN | Generate natural-sounding, fitting audio for the output video. |
Fehler
Gängige öffentliche API-Antwortcodes.
- 400
- Ungültige Eingabe oder Modellbeschränkung
- 401
- Fehlender oder ungültiger API-Schlüssel
- 403
- Der API-Schlüssel hat keinen Zugriff
- 404
- Es wurde kein Modell oder keine Aufgabe gefunden.
Die Modelldokumentation folgt in Kürze.