Zum Inhalt springen

Cosmos Predict 2.5 2B Distilled

Integrieren

Modell-ID cosmos-predict-2.5/distilled/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/cosmos-predict-2.5/distilled/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,08 $ 80 API-Credits · ≈ 8,61 ₽ Auf dieser Seite ausführen

API-Schlüssel abrufen
NVIDIA · 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

Textbeschreibung des gewünschten Videos.

Erweitert negative_prompt · video_output_type · video_quality · num_frames · num_inference_steps · seed · enable_safety_checker
Standard The video captures a ...

Negativer Prompt mit unerwünschten Inhalten, von denen die Generierung weggeführt werden soll.

video_output_type Standard X264 (.mp4)

Format des resultierenden Videos.

video_quality Standard high

Qualitätseinstellung für das resultierende Video.

Standard 93

Anzahl der Frames für die Generierung, im Bereich von 9 bis 93.

Standard 10

Anzahl der Entrauschungsschritte. Das destillierte Modell liefert auch mit weniger Schritten gute Ergebnisse.

Zufälliger Seed, der eine reproduzierbare Generierung ermöglicht.

POST /run/cosmos-predict-2.5/distilled/text-to-video?wait=20 Preis → 0,08 $
# 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/cosmos-predict-2.5/distilled/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 Cosmos Predict 2.5 2B Distilled

Erzeugt ein Video aus einem Text-`prompt` mit dem destillierten Modell Cosmos Predict 2.5 2B, das standardmäßig 10 Schritte verwendet (max. 20). `num_frames` reicht von 9 bis 93. Die Ausgabe kann X264 mp4, VP9 webm, ProRes 4444 mov oder GIF sein, mit `video_quality` von low bis maximum.

Parameter

NameTyp StandardZulässig Beschreibung
prompterforderlich
Typstring
Textbeschreibung des gewünschten Videos.
negative_promptoptional
Typstring
StandardThe video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality.
Negativer Prompt mit unerwünschten Inhalten, von denen die Generierung weggeführt werden soll.
num_framesoptional
Typinteger
Standard93
9 – 93
Anzahl der Frames für die Generierung, im Bereich von 9 bis 93.
num_inference_stepsoptional
Typinteger
Standard10
1 – 20
Anzahl der Entrauschungsschritte. Das destillierte Modell liefert auch mit weniger Schritten gute Ergebnisse.
seedoptional
Typinteger | null
Zufälliger Seed, der eine reproduzierbare Generierung ermöglicht.
video_output_typeoptional
Typenum
StandardX264 (.mp4)
X264 (.mp4)VP9 (.webm)PRORES4444 (.mov)GIF (.gif)
Format des resultierenden Videos.
video_qualityoptional
Typenum
Standardhigh
lowmediumhighmaximum
Qualitätseinstellung für das resultierende Video.
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": "cosmos-predict-2.5/distilled/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": 80,
    "usd": "0.08",
    "charged": 80,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42
  },
  "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, width, height, fps, duration, num_frames}Durch die Generierung erzeugte Videodatei.
seed
integerSeed, der die Zufälligkeit während der Generierung steuert.

Weitere Modelle: Text zu Video

Für KI-Agenten: Diese Seite ist als Markdown verfügbar unter https://doitong.com/de/developers/models/cosmos-predict-2.5/distilled/text-to-video.md. Alle Modelle und Anleitungen: https://doitong.com/developers/llms.txt