> ## Documentation Index
> Fetch the complete documentation index at: https://docs.varios-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Runway

> Erzeugt MP4-Videos über die Runway API und nutzt image-to-video bei vorhandenem Chat-Bild, sonst text-to-video.

## Optionen

<ParamField body="model" type="string" required>
  Runway-Modellbezeichnung (siehe Runway-Dokumentation).
</ParamField>

<ParamField body="runwayApiKey" type="string" required>
  API-Key, als versteckte Option.
</ParamField>

<ParamField body="runwayApiVersion" type="string">
  Header `X-Runway-Version`, Standard `2024-11-06`.
</ParamField>

<ParamField body="endpointUrl" type="string">
  Optionale Basis-URL; Standard `https://api.dev.runwayml.com/v1/`.
</ParamField>

<ParamField body="costs" type="number">
  Optionaler fester Kostensatz pro erfolgreichem Aufruf.
</ParamField>

## Argumente

<ParamField body="prompt" type="string" required>
  Anweisung zur Bewegung oder Kameraführung für die Videogenerierung.
</ParamField>

<ParamField body="ratio" type="string">
  `1280:720`, `720:1280`, `768:1280`, `1280:768`; Standard `1280:720`.
</ParamField>

<ParamField body="duration" type="integer">
  Dauer in Sekunden (1-10), Standard 5.
</ParamField>

<ParamField body="lastImagesCount" type="integer">
  Welche der letzten Chat-Bilder verwendet werden (Standard 1, max. 3). Wenn kein Bild verfügbar ist, nutzt der Konnektor automatisch text-to-video.
</ParamField>

## PromptFunction

```
\Avency\BotAPI\Service\Adapter\Runway::execute
```
