Zum Inhalt springen

Luma Ray 3.2 Text to Video

Integrieren

Modell-ID luma/agent/ray/v3.2/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/luma/agent/ray/v3.2/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Diese Anfrage: 0,50 $ 500 API-Credits · ≈ 53,79 ₽ Auf dieser Seite ausführen

API-Schlüssel abrufen
Luma AI Text zu Video Lipsync5–10 sbis zu 1080p #stylized#transform

Ray 3.2 Text-zu-Video mit 5s- oder 10s-Clips, sechs Seitenverhältnissen, Schleife und optionalem HDR mit EXR-Export

Luma AI · Video

Dein erstes Ergebnis erscheint hier

Erstelle unten eine Anfrage und führe sie mit deinem API-Schlüssel aus. Ausgaben werden in unseren Speicher kopiert und dauerhaft oder 7 Tage kostenlos aufbewahrt.

Anfrage erstellen

Die Steuerelemente werden aus dem Modellschema generiert. Code und Preis werden aktualisiert, während du sie änderst.

•erforderlich 88 / 6000

Textbeschreibung des zu erstellenden Videos.

duration 5 s

Länge des generierten Videos.

aspect_ratio Standard 16:9

Seitenverhältnis des resultierenden Videos.

resolution Standard 540p

Auflösung des Ausgabevideos.

Erweitert loop · enable_safety_checker
POST /run/luma/agent/ray/v3.2/text-to-video?wait=20 Preis → 0,50 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/luma/agent/ray/v3.2/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Diese Anfrage ausführen

Dein Schlüssel bleibt in diesem Browser: Er wird nur an die Doitong API gesendet und nur gespeichert (localStorage), wenn du „Merken“ aktivierst. API-Schlüssel abrufen

Über Luma Ray 3.2 Text to Video

Erzeugt ein Video aus einem `prompt` mit bis zu 6000 Zeichen. `aspect_ratio` reicht von 3:4 bis 21:9, die Auflösung ist 540p, 720p oder 1080p, und `duration` ist 5s oder 10s. `loop` funktioniert nur für 5s-Clips im Standardbereich, während `hdr` 720p oder 1080p benötigt und 10s sowie loop ausschließt. `exr_export` fügt bei aktiviertem HDR eine EXR-Datei hinzu.

Parameter

NameTyp StandardZulässig Beschreibung
prompterforderlich
Typstring
≤ 6.000 Zeichen
Textbeschreibung des zu erstellenden Videos.
aspect_ratiooptional
Typenum
Standard16:9
3:44:31:19:1616:921:9
Seitenverhältnis des resultierenden Videos.
resolutionoptional
Typenum
Standard540p
540p720p1080p
Auflösung des Ausgabevideos.
durationoptional
Typenum
Standard5s
5s10s
Länge des generierten Videos.
loopoptional
Typboolean
Standardfalse
Option für eine nahtlose Schleife, die alle folgenden Bedingungen erfordert: 5s Dauer, Standard-Dynamikbereich und kein Endframe.
hdroptional
Typboolean
Standardfalse
HDR-Kodierung für MP4-Ausgabe mit 720p oder 1080p, nur für Konten mit HDR-Zugriff verfügbar. HDR kann weder mit einer Dauer von 10s noch mit Schleifen verwendet werden.
exr_exportoptional
Typboolean
Standardfalse
Zusätzlicher EXR-Export zusammen mit der MP4-Datei, nur mit HDR-Zugriff und hdr=true verfügbar.
enable_safety_checkeroptional
Typboolean
Standardtrue
Die Prüfung kann durch Setzen auf false gelockert werden, sofern der Aufrufer dazu berechtigt ist.
erforderlich

Ausgabe

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "luma/agent/ray/v3.2/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "exr_file": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Deine Dateien, deine EntscheidungJede outputs[].url ist eine Kopie in unserem Speicher: dauerhaft aufbewahrt (Abrechnung pro GB-Monat) oder 7 Tage kostenlos – je nach Kontoeinstellung oder ?storage=.
Gleiche Struktur bei jedem Modelltype, url, content_type, width, height und duration – für Bilder, Video und Audio gleichermaßen. output ist das Ergebnisobjekt des Modells.
Ausgabefelder
video
object {url, content_type, file_name, file_size}Vom Modell erzeugtes Video.
exr_file
object {url, content_type, file_name, file_size} | nullEXR-Begleitdatei im von Luma exportierten Format: entweder eine EXR-Datei oder ein ZIP-Archiv. Sie wird generiert, wenn exr_export true ist.

Weitere Modelle: Text zu Video

Für KI-Agenten: Diese Seite ist als Markdown verfügbar unter https://doitong.com/de/developers/models/luma/agent/ray/v3.2/text-to-video.md. Alle Modelle und Anleitungen: https://doitong.com/developers/llms.txt