---
title: Schnellstart | RunAPI
description: Bringen Sie Ihre erste KI-Generierung in weniger als 5 Minuten zum Laufen.
url: https://runapi.ai/de/docs/guides/quickstart.md
canonical: https://runapi.ai/de/docs/guides/quickstart
locale: de
---

> HTML-Version: https://runapi.ai/de/docs/guides/quickstart
> Website-Index für KI-Agenten: https://runapi.ai/llms.txt

# Schnellstart

## Schritt 1: Einen API-Schlüssel erhalten

Erstellen Sie ein RunAPI-Konto und generieren Sie einen Schlüssel über das Dashboard. Schlüssel sind
projektbezogen begrenzt, sodass Sie einen rotieren oder widerrufen können, ohne den
Rest Ihrer Einrichtung zu beeinflussen.

> Kostenlose Startguthaben sind in jedem neuen Konto enthalten.

## Schritt 2: Das SDK installieren

Wählen Sie den Client für Ihre Programmiersprache. Jedes SDK enthält vollständige Typdefinitionen
und integriertes Task-Polling.

```shell
pip install runapi
npm install runapi
go get github.com/runapi/runapi-go
```

## Schritt 3: Ihre erste Aufgabe erstellen

Die Mediengenerierung erfolgt asynchron. Das Einreichen einer Aufgabe kehrt sofort zurück;
`task.wait()` blockiert, bis die Ausgabe bereit ist.

```python
$ pip install runapi

from runapi import RunAPI

client = RunAPI()
task = client.generate(
    model="kling-v2.1",
    prompt="A cat walking on a beach",
    duration=5
)
result = task.wait()
print(result.output_url)
```

```javascript
$ npm install runapi

import RunAPI from "runapi";

const client = new RunAPI();
const task = await client.generate({
  model: "kling-v2.1",
  prompt: "A cat walking on a beach",
  duration: 5
});
const result = await task.wait();
console.log(result.outputUrl);
```

```curl
$ curl --version

curl https://runapi.ai/v1/tasks \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -d '{"model":"kling-v2.1","input":{"prompt":"A cat walking on a beach","duration":5}}'
```

```go
$ go get github.com/runapi/runapi-go

client := runapi.New()
task, _ := client.Generate(ctx, &runapi.GenerateParams{
    Model: "kling-v2.1",
    Prompt: "A cat walking on a beach",
    Duration: 5,
})
result, _ := task.Wait(ctx)
fmt.Println(result.OutputURL)
```

## Schritt 4: Das Ergebnis überprüfen

Die abgeschlossene Aufgabe enthält die Ausgabe-URL, die Dauer und die genauen von Ihrem Guthaben abgezogenen Kosten.

```json
{
  "task_id": "tsk_8f21c4ba",
  "status": "completed",
  "output": {
    "url": "https://cdn.runapi.ai/v/tsk_8f21c4ba.mp4",
    "duration": 5
  },
  "cost": { "amount": 0.21, "currency": "USD" }
}
```

---

## 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)
- [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)
- [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)
- [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/deicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "de",
    "@type": "TechArticle",
    "headline": "Schnellstart",
    "description": "Bringen Sie Ihre erste KI-Generierung in weniger als 5 Minuten zum Laufen.",
    "url": "https://runapi.ai/de/docs/guides/quickstart",
    "mainEntityOfPage": "https://runapi.ai/de/docs/guides/quickstart"
  }
]
```
