CLI + Skills API @ai-generator/cli

개인 Agent를 위한 도구

Grok Bot, Muse 및 다른 개인 AI Agent를 연결하세요.

안전한 Node.js CLI와 재사용 가능한 Skill로 Agent 작업 공간에서 이미지 또는 동영상 작업을 만들고 추적하고 다운로드하세요.

Node.js CLI재사용 가능한 SkillJSON 출력

빠른 시작

Agent가 설치를 처리하도록 하세요

1단계

아래의 짧은 프롬프트를 복사해 Agent에게 보내세요. Agent가 설치 가이드를 읽고 CLI를 설치하며 액세스 Key를 채팅에 노출하지 않도록 안내합니다.

프롬프트를 복사해 Agent에게 보내세요. 자세한 설치 단계는 연결된 Markdown 가이드에 있습니다.

https://aiaigenerator.ai/ai-generator-cli-setup.md를 읽고 안내에 따라 AI Generator CLI를 설치하고 설정해 주세요. CLI 액세스 Key는 로컬 파일에만 저장하고 이 채팅에 붙여 넣으라고 요청하지 마세요.

할 수 있는 작업

Agent에 완전한 미디어 워크플로 제공

하나의 CLI로 이미지와 동영상 작업을 만들고 추적하고 다운로드하세요.

01

이미지와 동영상

하나의 Agent 워크플로에서 시각 작업을 만들고 변환하고 다운로드하세요.

02

로컬 참조 이미지

프롬프트에 시각적 맥락이 필요하면 로컬 이미지를 CLI에 전달하세요.

03

Agent용 출력

자동화에서 JSON 작업 ID, 상태 조회와 결과 URL을 사용하세요.

04

도구를 사용할 수 있는 Agent

명령 실행, 로컬 파일 접근과 HTTPS 요청이 가능한 Agent라면 연결할 수 있습니다.

작동 방식

Agent 프롬프트에서 완성된 미디어까지

  1. 01

    content-creation Skill을 불러옵니다.

  2. 02

    JSON 출력으로 CLI를 실행합니다.

  3. 03

    작업을 폴링하고 결과를 다운로드합니다.

CLI ACCESS

로그인하여 CLI Key 만들기

Key는 계정과 크레딧 잔액에 연결됩니다.

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.