> ## 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.

# OpenAI Image

> Der OpenAI Image-Konnektor ermöglicht die Erstellung von KI-generierten Bildern mit verschiedenen OpenAI-Modellen. Mit diesem Konnektor können Sie hochwertige Bilder basierend auf Textbeschreibungen erstellen und verschiedene Bildstile anwenden.

## Optionen

<ParamField body="model" type="string" required>
  Der Name des Bild-KI-Modells.

  Beispiel:

  ```
  gpt-image-1
  ```
</ParamField>

<ParamField body="openAIApiKey" type="string">
  Der OpenAI API Key.
</ParamField>

<ParamField body="openAIOrgKey" type="string">
  Der Organization Key für die OpenAI API.
</ParamField>

<ParamField body="openAIProjectKey" type="string">
  Der Project Key für die OpenAI API.
</ParamField>

<ParamField body="endpointUrl" type="string">
  Die Endpoint-URL für die OpenAI API.
</ParamField>

<ParamField body="azureAPIKey" type="string">
  Der API Key für die Azure API.
</ParamField>

<ParamField body="azureAPIVersion" type="string">
  Die API Version für die Azure API.
</ParamField>

<ParamField body="inputTokenTextCost" type="float" required>
  Kosten pro Text-Token.
</ParamField>

<ParamField body="inputTokenImageCost" type="float" required>
  Kosten pro Bild-Input-Token.
</ParamField>

<ParamField body="outputTokenImageCost" type="float" required>
  Kosten pro Bild-Output-Token.
</ParamField>

## Argumente

<ParamField body="prompt" type="string" required>
  Der Prompt für das LLM, um das Argument für die Bildgenerierung zu füllen.
  Beispiel:

  ```
  The prompt to generate or edit an image from
  ```
</ParamField>

<ParamField body="size" type="string">
  Die Bildgröße. Mögliche Werte:

  * 1024x1024
  * 1536x1024
  * 1024x1536
  * auto

  Beispiel:

  ```
  The size of the requested image. Use 1024x1024 (square) as the default, 1536x1024 if the user requests a wide image, and 1024x1536 for full-body portraits. As default use ‘auto‘
  ```
</ParamField>

<ParamField body="quality" type="string">
  Die Qualitätsstufe. Mögliche Werte:

  * auto
  * high
  * medium
  * low

  Beispiel:

  ```
  The quality of the requested image. Use ‘high‘, ‘medium‘, ‘low‘ or ‘auto‘. As default use ‘auto‘
  ```
</ParamField>

<ParamField body="lastImagesCount" type="string">
  Anzahl der zuletzt generierten Bilder, die zurückgegeben werden sollen.

  Beispiel:

  ```
  The count of last images which should be edited or used. 0 for unlimited or zero images. Default is 0.
  ```
</ParamField>
