CLI + Skills API @ai-generator/cli

FÜR PERSÖNLICHE AGENTEN

Verbinden Sie Grok Bot, Muse und andere persönliche KI-Agenten.

Nutzen Sie eine sichere Node.js-CLI und ein wiederverwendbares Skill, um Bild- oder Videoaufgaben aus einem Agent-Arbeitsbereich zu erstellen, zu verfolgen und herunterzuladen.

Node.js-CLIWiederverwendbares SkillJSON-Ausgabe

SCHNELLSTART

Lassen Sie Ihren Agenten die Einrichtung erledigen

1 Schritt

Kopieren Sie den kurzen Prompt und senden Sie ihn an Ihren Agenten. Er liest die Anleitung, installiert die CLI und hält den Key aus dem Chat heraus.

Kopieren Sie den Prompt und senden Sie ihn an Ihren Agenten. Die ausführlichen Schritte stehen in der verlinkten Markdown-Anleitung.

Lesen Sie https://aiaigenerator.ai/ai-generator-cli-setup.md und folgen Sie der Anleitung zur Installation und Konfiguration der AI Generator CLI. Speichern Sie den CLI-Zugriffs-Key nur in einer lokalen Datei und bitten Sie mich niemals, ihn in diesen Chat einzufügen.

MÖGLICHKEITEN

Ein vollständiger Medien-Workflow für Ihren Agenten

Eine CLI zum Erstellen, Verfolgen und Herunterladen von Bild- und Videoaufgaben.

01

Bilder und Videos

Erstellen, bearbeiten und laden Sie visuelle Aufgaben über einen Agent-Workflow herunter.

02

Lokale Referenzen

Übergeben Sie lokale Bilder an die CLI, wenn Ihr Prompt visuellen Kontext benötigt.

03

Agent-fähige Ausgabe

Verwenden Sie JSON-Aufgaben-IDs, Statusabfragen und Ergebnis-URLs in Automatisierungen.

04

Jeder Agent mit Tools

Verbinden Sie jeden Agenten, der Befehle ausführt, lokale Dateien liest und HTTPS-Anfragen sendet.

SO FUNKTIONIERT ES

Vom Agent-Prompt zum fertigen Medium

  1. 01

    Laden Sie das content-creation Skill.

  2. 02

    Führen Sie die CLI mit JSON-Ausgabe aus.

  3. 03

    Prüfen Sie die Aufgabe und laden Sie das Ergebnis herunter.

CLI-ZUGRIFF

Anmelden, um einen CLI-Key zu erstellen

Ihr Key ist mit Ihrem Konto und dessen Credit-Guthaben verknüpft.

WHAT IS AI GENERATOR CLI

What is AI Generator CLI for Grok Bot and Muse?

AI Generator CLI is a Node.js command-line tool that gives Grok Bot, Muse and other tool-enabled personal Agents a direct workflow for creating, tracking and downloading AI images and videos. It is an independent workflow, not an official Grok Bot or Muse integration.

  • Connect an Agent to image and video generation without building a custom dashboard.
  • Keep the CLI Key and local reference assets under your control.
  • Return JSON task IDs, statuses and result URLs to an Agent workflow.

HOW TO USE AI GENERATOR CLI

Connect Grok Bot, Muse or another Agent in a few steps.

Install the scoped package, keep your Key in a local text file, then let your Agent run predictable commands. The same flow works for a one-off prompt or a repeatable Skill.

  1. 01

    Install @ai-generator/cli with Node.js 18 or newer.

  2. 02

    Save the CLI Key in a local text file and run auth set --key-file without putting the Key in chat.

  3. 03

    Ask Grok Bot, Muse or another Agent to create, monitor and download an image or video task.

AI GENERATOR CLI KEY FEATURES

A focused command surface for Agent workflows.

Agent-ready JSON

Use task IDs, status fields and result URLs in Skills, scripts and automations.

Image and video tasks

Create images, transform references and submit short video jobs from one CLI.

Local reference files

Pass local images to an Agent workflow without uploading them into the conversation first.

Async task control

Wait for an interactive result or poll and download tasks in the background.

WHY CHOOSE AI GENERATOR CLI

A practical bridge between your Agent and media generation.

Grok Bot and Muse are useful when an Agent can reason about a creative request. AI Generator CLI supplies the predictable execution layer: commands, local files, authentication and machine-readable results.

  • Independent and transparent: this is not presented as an official Grok Bot or Muse connector.
  • Easy to reuse: the same commands can be called from a personal Agent, a Skill or a CI job.
  • Built for control: you can inspect task status, keep the task ID and download results when ready.

AI GENERATOR CLI FAQ

Answers about Grok Bot, Muse, Skills and CLI setup.

01What is AI Generator CLI?

It is a Node.js CLI for creating, tracking and downloading AI image and video tasks from a terminal or a tool-enabled Agent.

02Can I use AI Generator CLI with Grok Bot?

Yes. Grok Bot can use it when the Agent environment is allowed to run Node commands, access local files and send HTTPS requests.

03Can I use AI Generator CLI with Muse?

Yes. Muse can use the same independent CLI workflow when it can execute commands and work with local files.

04Is this an official Grok Bot or Muse integration?

No. It is an independent AI Generator workflow that can be used by Grok Bot, Muse and other compatible Agents.

05What does my Agent need before using the CLI?

It needs Node.js 18 or newer, the @ai-generator/cli package, permission to run commands and a configured server URL.

06How do I install the CLI?

Run npm install --global @ai-generator/cli in a Node.js 18 or newer environment.

07How can I keep my CLI Key out of the Agent chat?

Save the Key in a local single-line text file and run ai-generator auth set --key-file <local-key-file>. Do not paste the Key into the conversation.

08Which Node.js versions are supported?

The documented setup requires Node.js 18 or newer.

09Can the CLI create both images and videos?

Yes. Use generate-image for image workflows and generate-video for direct video or image-to-video tasks.

10Can I pass a local reference image?

Yes. Use the --image option and give the CLI the local path to a JPEG, PNG or WebP reference.

11Why should an Agent use JSON output?

JSON gives the Agent stable task IDs, status values and result URLs that are easier to parse than terminal prose.

12How do I handle long-running tasks?

Use --wait for an interactive result, or keep the task ID and call task-status before downloading the result.

13Can I use the CLI in CI or automation?

Yes. Use a secret manager to inject AI_GENERATOR_API_KEY and set AI_GENERATOR_BASE_URL instead of putting a Key in source code.

14Where does the CLI store the local configuration?

After authentication, the default config is stored at ~/.ai-generator/config.json with restricted file permissions where supported.

15Where do I create or revoke a CLI Key?

Sign in on this CLI page to create a Key, copy it once into your local file, and manage or revoke active Keys from the same page.