---
title: LTX Video Audio zu Video | RunAPI
description: Erzeuge Videos aus Audio mit LTX 2.5 Fast, optional mit einem Quellbild.
url: https://runapi.ai/de/docs/api/ltx-video/audio-to-video.md
canonical: https://runapi.ai/de/docs/api/ltx-video/audio-to-video
locale: de
---

> HTML-Version: https://runapi.ai/de/docs/api/ltx-video/audio-to-video
> Website-Index für KI-Agenten: https://runapi.ai/llms.txt

# LTX Video Audio zu Video

## Übersicht

Verwende den Audio to Video-Endpunkt mit einem unterstützten Modell. Verwende die zurückgegebene Task-ID, um den Zustand abzurufen, oder gib callback_url für die unten dokumentierten Zustellungen an.

### Schnellstart

1. Erstellen Sie einen API-Schlüssel und setzen Sie ihn als RUNAPI_API_KEY.
2. Wählen Sie ein unterstütztes Modell und senden Sie eine POST-Anfrage, deren Body dem Schema dieses Modells entspricht.
3. Speichern Sie die zurückgegebene Task-ID und fragen Sie den Status ab, bis ein Endzustand erreicht ist, oder verarbeiten Sie die unten dokumentierten Callbacks.

## Endpunkt

POST /api/v1/ltx_video/audio_to_video

Basis-URL: https://runapi.ai

API-Version: v1

Authentifizierung: Authorization: Bearer YOUR_API_TOKEN

## Unterstützte Modelle

Öffnen Sie eine Modellseite für aktuelle Preise, Ratenlimits und Details zur kommerziellen Nutzung.

- [ltx-2.5-fast-audio-to-video](https://runapi.ai/de/models/ltx-video/ltx-2.5-fast-audio-to-video)

## Anfrage-Schema

Felder und zulässige Werte hängen vom ausgewählten Modell ab. Wenn angegeben, empfängt callback_url die unten dokumentierten Task-Zustellungen.

### ltx-2.5-fast-audio-to-video

```json
{
  "callback_url": {
    "description": "RunAPI-Callback-URL für das endgültige Aufgabenergebnis.",
    "type": "string"
  },
  "duration_seconds": {
    "description": "Optionale Ausgabedauer in Sekunden, auch mit Nachkommastellen. Darf die Dauer der Quellaudiodatei nicht überschreiten. Ohne Angabe wird die Audiodauer verwendet, begrenzt auf 20 Sekunden oder 10 Sekunden bei 1440p oder 48/50 fps. Die Abrechnung erfolgt anhand des Ausgabevideos mit einer Genauigkeit von 0.01 Sekunden. Der Anbieter dokumentiert widersprüchliche Mindestdauern von 2 bzw. 6 Sekunden; die tatsächliche Annahme durch die API wurde nicht überprüft.",
    "max": 20,
    "min": 2,
    "type": "number"
  },
  "fps": {
    "default": 24,
    "description": "Bilder pro Sekunde. 48/50 fps sind auf 10 Sekunden begrenzt. Die Bildrate hat keinen Einfluss auf den Preis pro Sekunde.",
    "enum": [
      24,
      25,
      48,
      50
    ],
    "type": "integer"
  },
  "model": {
    "description": "Modell-Slug für LTX 2.5.",
    "required": true,
    "type": "string"
  },
  "output_resolution": {
    "default": "1080p",
    "description": "Auflösung des Ausgabevideos. Fast ist bei 1440p auf 10 Sekunden begrenzt.",
    "enum": [
      "720p",
      "1080p",
      "1440p"
    ],
    "type": "string"
  },
  "prompt": {
    "description": "Videobeschreibung mit 1 bis 5.000 Zeichen.",
    "length": true,
    "max": 5000,
    "min": 1,
    "required": true,
    "type": "string"
  },
  "seed": {
    "description": "Optionaler Zufalls-Seed.",
    "max": 2147483647,
    "min": 0,
    "type": "integer"
  },
  "source_audio_url": {
    "description": "HTTP(S)-URL einer Audiodatei im Format MP3, WAV, M4A, AAC, OGG oder FLAC, mindestens 2 Sekunden lang und bis zu 50 MB groß. Der Anbieter prüft die entfernte Datei. Die Ausgabe behält deren Audiospur bei.",
    "required": true,
    "type": "string"
  },
  "source_image_url": {
    "description": "HTTP(S)-URL eines optionalen ersten Frames im Format JPG, PNG oder WEBP, bis zu 10 MB groß. Der Anbieter prüft die entfernte Datei und leitet daraus das Seitenverhältnis der Ausgabe ab.",
    "type": "string"
  }
}
```

#### Bedingte Regeln

Diese Anforderungen gelten, wenn alle aufgeführten Bedingungen zutreffen.

- **Wenn**: `model` = `ltx-2.5-fast-audio-to-video`; **Nicht akzeptiert**: `aspect_ratio`

## Annahme erstellen

HTTP 202 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "processing"
      ],
      "type": "string"
    },
    "task_replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "status"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "id": "tsk_reference_demo",
  "status": "processing"
}
```

## Abfrage wird verarbeitet

HTTP 200 - GET /api/v1/ltx_video/audio_to_video/:id

### Antwort-Schema

```json
{
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "processing"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "status"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "id": "tsk_reference_demo",
  "status": "processing"
}
```

## Abfrage abgeschlossen

HTTP 200 - GET /api/v1/ltx_video/audio_to_video/:id

### Antwort-Schema

```json
{
  "properties": {
    "first_frame_image_url": {
      "type": "string",
      "x-runapi-generated-media": true
    },
    "id": {
      "type": "string"
    },
    "last_frame_image_url": {
      "type": "string",
      "x-runapi-generated-media": true
    },
    "status": {
      "enum": [
        "completed"
      ],
      "type": "string"
    },
    "usage": {
      "properties": {
        "cost": {
          "type": "number"
        }
      },
      "required": [
        "cost"
      ],
      "type": "object",
      "unevaluatedProperties": false
    },
    "videos": {
      "items": {
        "properties": {
          "url": {
            "type": "string",
            "x-runapi-generated-media": true
          }
        },
        "required": [
          "url"
        ],
        "type": "object",
        "unevaluatedProperties": false
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "status",
    "videos",
    "usage"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "id": "tsk_reference_demo",
  "status": "completed",
  "usage": {
    "cost": 0.05
  },
  "videos": [
    {
      "url": "https://file.runapi.ai/reference-video.mp4"
    }
  ]
}
```

## Abfrage fehlgeschlagen

HTTP 200 - GET /api/v1/ltx_video/audio_to_video/:id

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "failed"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "status",
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Task processing failed.",
  "id": "tsk_reference_demo",
  "status": "failed"
}
```

## Kunden-Callback: abgeschlossen

HTTP 200 - POST callback_url

### Antwort-Schema

```json
{
  "properties": {
    "first_frame_image_url": {
      "type": "string",
      "x-runapi-generated-media": true
    },
    "id": {
      "type": "string"
    },
    "last_frame_image_url": {
      "type": "string",
      "x-runapi-generated-media": true
    },
    "status": {
      "enum": [
        "completed"
      ],
      "type": "string"
    },
    "usage": {
      "properties": {
        "cost": {
          "type": "number"
        }
      },
      "required": [
        "cost"
      ],
      "type": "object",
      "unevaluatedProperties": false
    },
    "videos": {
      "items": {
        "properties": {
          "url": {
            "type": "string",
            "x-runapi-generated-media": true
          }
        },
        "required": [
          "url"
        ],
        "type": "object",
        "unevaluatedProperties": false
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "status",
    "videos",
    "usage"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "id": "tsk_reference_demo",
  "status": "completed",
  "usage": {
    "cost": 0.05
  },
  "videos": [
    {
      "url": "https://file.runapi.ai/reference-video.mp4"
    }
  ]
}
```

## Kunden-Callback: fehlgeschlagen

HTTP 200 - POST callback_url

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "properties": {
            "code": {
              "type": "string"
            },
            "limit_cents": {
              "type": "integer"
            },
            "message": {
              "type": "string"
            },
            "reset_at": {
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "used_cents": {
              "type": "integer"
            },
            "window": {
              "enum": [
                "1h",
                "1d",
                "7d",
                "daily",
                "weekly",
                "monthly",
                "lifetime"
              ],
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object",
          "unevaluatedProperties": false
        }
      ]
    },
    "id": {
      "type": "string"
    },
    "status": {
      "enum": [
        "failed"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "status",
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": {
    "code": "generation_failed",
    "message": "Task processing failed."
  },
  "id": "tsk_reference_demo",
  "status": "failed"
}
```

## Fehler

HTTP 401 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Authentication required"
}
```

## Fehler

HTTP 401 - GET /api/v1/ltx_video/audio_to_video/:id

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Authentication required"
}
```

## Fehler

HTTP 400 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "oneOf": [
    {
      "properties": {
        "error": {
          "description": "Für Menschen lesbare Fehlermeldung.",
          "type": "string"
        }
      },
      "required": [
        "error"
      ],
      "type": "object",
      "unevaluatedProperties": false
    },
    {
      "properties": {
        "error": {
          "description": "Menschenlesbare Validierungszusammenfassung.",
          "type": "string"
        },
        "errors": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": "Validierungsmeldungen nach öffentlichem Anforderungsfeld gegliedert, mit einem Array menschenlesbarer Zeichenketten für jedes Feld.",
          "type": "object"
        }
      },
      "required": [
        "error",
        "errors"
      ],
      "type": "object",
      "unevaluatedProperties": false
    }
  ]
}
```

### Antwortbeispiel

```json
{
  "error": "model must be one of: ltx-2.5-fast-audio-to-video"
}
```

## Fehler

HTTP 402 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Insufficient balance"
}
```

## Fehler

HTTP 429 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "API key credit limit exceeded"
}
```

## Fehler

HTTP 409 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "The request uses features that are not supported for the selected model"
}
```

## Fehler

HTTP 429 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Rate limit reached. Please retry later."
}
```

## Fehler

HTTP 503 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Service under maintenance, please try again later"
}
```

## Fehler

HTTP 503 - POST /api/v1/ltx_video/audio_to_video

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "The request timed out"
}
```

## Fehler

HTTP 404 - GET /api/v1/ltx_video/audio_to_video/:id

### Antwort-Schema

```json
{
  "properties": {
    "error": {
      "description": "Für Menschen lesbare Fehlermeldung.",
      "type": "string"
    }
  },
  "required": [
    "error"
  ],
  "type": "object",
  "unevaluatedProperties": false
}
```

### Antwortbeispiel

```json
{
  "error": "Task with id 'tsk_reference_demo' not found"
}
```

## Generierte Code-Beispiele

Verwende cURL direkt oder installiere ein SDK für deine Programmiersprache. Jedes Beispiel übermittelt die in dieser Referenz gezeigte validierte Anfrage.

### curl

```curl
curl -X POST https://runapi.ai/api/v1/ltx_video/audio_to_video \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"model":"ltx-2.5-fast-audio-to-video","prompt":"A natural speaking portrait.","source_audio_url":"https://cdn.runapi.ai/public/samples/voice.mp3","output_resolution":"720p","duration_seconds":2.01,"fps":24}'
```

### javascript

#### Installieren

```bash
npm install @runapi.ai/ltx-video
```

```javascript
import { LtxVideoClient } from "@runapi.ai/ltx-video";

const client = new LtxVideoClient({ apiKey: process.env.RUNAPI_API_KEY });
const task = await client.audioToVideo.create({
  "model": "ltx-2.5-fast-audio-to-video",
  "prompt": "A natural speaking portrait.",
  "source_audio_url": "https://cdn.runapi.ai/public/samples/voice.mp3",
  "output_resolution": "720p",
  "duration_seconds": 2.01,
  "fps": 24
});
```

### python

#### Installieren

```bash
pip install runapi-ltx-video
```

```python
import os
from runapi.ltx_video import LtxVideoClient

client = LtxVideoClient(api_key=os.environ["RUNAPI_API_KEY"])
task = client.audio_to_video.create(
  model="ltx-2.5-fast-audio-to-video",
  prompt="A natural speaking portrait.",
  source_audio_url="https://cdn.runapi.ai/public/samples/voice.mp3",
  output_resolution="720p",
  duration_seconds=2.01,
  fps=24
)
```

### go

#### Installieren

```bash
go get github.com/runapi-ai/ltx-video-sdk/go@latest
```

```go
package main

import (
  "context"
  "log"
  "os"

  "github.com/runapi-ai/core-sdk/go/option"
  ltxvideo "github.com/runapi-ai/ltx-video-sdk/go/ltxvideo"
)

func main() {
  client, err := ltxvideo.NewClient(option.WithAPIKey(os.Getenv("RUNAPI_API_KEY")))
  if err != nil {
    log.Fatal(err)
  }

  task, err := client.AudioToVideo.Create(context.Background(), ltxvideo.AudioToVideoParams{
    Model: ltxvideo.AudioToVideoModel("ltx-2.5-fast-audio-to-video"),
    Prompt: "A natural speaking portrait.",
    SourceAudioURL: "https://cdn.runapi.ai/public/samples/voice.mp3",
    OutputResolution: "720p",
    DurationSeconds: func(value float64) *float64 { return &value }(2.01),
    FPS: func(value int) *int { return &value }(24),
  })
  if err != nil {
    log.Fatal(err)
  }
  _ = task
}
```

### ruby

#### Installieren

```bash
gem install runapi-ltx-video
```

```ruby
require "runapi/ltx_video"

client = RunApi::LtxVideo::Client.new(api_key: ENV.fetch("RUNAPI_API_KEY"))
task = client.audio_to_video.create(
  model: "ltx-2.5-fast-audio-to-video",
  prompt: "A natural speaking portrait.",
  source_audio_url: "https://cdn.runapi.ai/public/samples/voice.mp3",
  output_resolution: "720p",
  duration_seconds: 2.01,
  fps: 24
)
```

### java

#### Installieren

```kotlin
implementation("ai.runapi:runapi-ltx-video")
```

```java
import ai.runapi.ltxvideo.LtxVideoClient;
import ai.runapi.ltxvideo.types.AudioToVideoParams;
import ai.runapi.core.polling.TaskCreateResponse;

public final class Example {
  public static void main(String[] args) {
    LtxVideoClient client = LtxVideoClient.builder()
        .apiKey(System.getenv("RUNAPI_API_KEY"))
        .build();
    TaskCreateResponse task = client.audioToVideo().create(
        AudioToVideoParams.builder()
        .model("ltx-2.5-fast-audio-to-video")
        .prompt("A natural speaking portrait.")
        .sourceAudioUrl("https://cdn.runapi.ai/public/samples/voice.mp3")
        .outputResolution("720p")
        .durationSeconds(2.01)
        .fps(24)
            .build()
    );
  }
}
```

### php

#### Installieren

```bash
composer require runapi-ai/ltx-video
```

```php
<?php

require __DIR__ . '/vendor/autoload.php';

use RunApi\Core\ClientOptions;
use RunApi\LtxVideo\LtxVideoClient;

$client = new LtxVideoClient(new ClientOptions(apiKey: getenv('RUNAPI_API_KEY')));
$task = $client->audioToVideo->create([
  "model" => "ltx-2.5-fast-audio-to-video",
  "prompt" => "A natural speaking portrait.",
  "source_audio_url" => "https://cdn.runapi.ai/public/samples/voice.mp3",
  "output_resolution" => "720p",
  "duration_seconds" => 2.01,
  "fps" => 24
]);
```

## Verwandte Anleitungen

- [Authentifizierung](https://runapi.ai/de/docs/guides/authentication.md)
- [Schnellstart](https://runapi.ai/de/docs/guides/task-api/quickstart.md)

---

## Mehr von RunAPI

- [Startseite](https://runapi.ai/de/.md)
- [Modellkatalog](https://runapi.ai/de/models.md)
- [Preise](https://runapi.ai/de/pricing.md)
- [Anbieter](https://runapi.ai/de/models)
- [Prompt-Galerie](https://runapi.ai/de/prompts.md)
- [Dokumentation](https://runapi.ai/de/docs/guides)
- [SDKs](https://runapi.ai/de/sdk.md)
- [CLI](https://runapi.ai/de/cli.md)
- [MCP Server](https://runapi.ai/de/mcp.md)
- [x402](https://runapi.ai/de/x402.md)
- [Claude Code vs Cursor](https://runapi.ai/de/claude-code-vs-cursor.md)
- [Cursor API-Einrichtung](https://runapi.ai/de/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/de/openrouter-alternative.md)
- [Enterprise](https://runapi.ai/de/contact.md)
- [Empfehlungsprogramm](https://runapi.ai/de/referral-program.md)
- [Kontakt](https://runapi.ai/de/contact.md)
- [Bedingungen](https://runapi.ai/de/terms.md)
- [Datenschutz](https://runapi.ai/de/privacy.md)
- [Website-Index für KI-Agenten](https://runapi.ai/llms.txt)

Kontakt: contact@runapi.ai

## Strukturierte Daten

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "de",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/de",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/de/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "de",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/de",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "de",
    "@type": "TechArticle",
    "headline": "LTX Video Audio zu Video",
    "description": "Erzeuge Videos aus Audio mit LTX 2.5 Fast, optional mit einem Quellbild.",
    "url": "https://runapi.ai/de/docs/api/ltx-video/audio-to-video",
    "mainEntityOfPage": "https://runapi.ai/de/docs/api/ltx-video/audio-to-video"
  }
]
```
