$ piapi run flux-dev prompt="a corgi" aspect_ratio=16:9Bild generieren
94 multimodale KI-Modelle aus Ihrem Terminal
Generieren Sie Bilder, Videos, Audio, 3D-Assets und chatten Sie mit LLMs — alles mit einem einzigen Befehl. Perfekt für Entwickler, KI-Agenten und Automatisierungs-Workflows.
Führe piapi model list aus, um alle Modelle zu durchsuchen
$ piapi run flux-dev prompt="a corgi astronaut"$ piapi run flux-dev prompt="a corgi" aspect_ratio=16:9Bild generieren
$ piapi run gpt-4o prompt="hello" --streamChat mit Streaming
$ piapi run sora2-pro prompt="waves" --asyncVideo generieren (async)
$ piapi run remove-bg image=@./photo.png --downloadHochladen & herunterladen

Install PiAPI CLI, authenticate your API key, and run your first image or video generation command from the terminal.

Use PiAPI CLI as a command line AI tool to generate images from terminal prompts, save outputs locally, and automate repeatable image workflows.
PiAPI CLI is a command line interface for running PiAPI models from your terminal. It works as an AI CLI tool for image, video, audio, 3D, and chat generation workflows.
Führen Sie piapi auth login --api-key sk-xxxxx mit Ihrem PiAPI API-Key aus. Sie erhalten Ihren API-Key im PiAPI Workspace. Auf geteilten Maschinen verwenden Sie die Umgebungsvariable PIAPI_API_KEY=sk-....
Yes. Use piapi run flux-dev prompt="a corgi astronaut" or another image model to generate AI images from terminal commands. Add --download to save generated files locally.
Setzen Sie @ vor jede Eingabe, um eine lokale Datei hochzuladen. Zum Beispiel: piapi run remove-bg image=@./photo.png.
Ja! PiAPI CLI ist für die Integration mit KI-Agenten konzipiert. Fügen Sie es als Skill hinzu mit npx skills add PiAPI-1/piapi-cli.
Das CLI ist kostenlos und Open Source (MIT-Lizenz). Sie benötigen ein PiAPI-Konto, um die Modelle zu nutzen — neue Konten erhalten kostenlose Credits zum Testen.
Global mit npm installieren: npm install -g piapi-cli. Sie können auch pnpm, yarn oder bun verwenden. Alternativ ohne Installation ausführen mit npx piapi-cli@latest. Erfordert Node.js 18+.
PiAPI CLI unterstützt 94 multimodale KI-Modelle: 34 Bildmodelle, 40 Videomodelle, 10 Audiomodelle, 2 3D-Modelle und 8 LLM-Modelle. Führen Sie piapi model list aus, um alle verfügbaren Modelle zu sehen.
Yes. Use video models such as Sora, Kling, Veo, Seedance, Hailuo, and Luma to generate AI videos from terminal workflows. Video jobs usually use --async so you can check task status later.
Fügen Sie --download zu jedem Befehl hinzu, um generierte Dateien automatisch zu speichern. Verwenden Sie --out-dir ./output, um ein benutzerdefiniertes Ausgabeverzeichnis anzugeben.
LLM- und gpt-image-2-Modelle laufen synchron. Video- und 3D-Modelle erfordern das --async-Flag und geben eine Task-ID für Polling zurück.