Images and video
Create, transform and download visual tasks from one Agent workflow.
@ai-generator/cli FOR PERSONAL AGENTS
Use a secure Node.js CLI and reusable Skill to create, track and download image or video tasks from an Agent workspace.
QUICK START
Copy the short prompt below and send it to your Agent. It will read the setup guide, install the CLI and keep the access key out of chat.
Copy the prompt and send it to your Agent. The detailed installation steps are in the linked Markdown guide.
Read https://aiaigenerator.ai/ai-generator-cli-setup.md and follow it to install and configure AI Generator CLI. Keep the CLI access key only in a local file; never ask me to paste it into this chat. Detailed steps: Open setup guide
WHAT YOU CAN DO
One CLI for creating, tracking and downloading image and video tasks.
Create, transform and download visual tasks from one Agent workflow.
Pass local images to the CLI when your prompt needs visual context.
Use JSON task IDs, status polling and result URLs in automations.
Connect any Agent that can run commands, access local files and send HTTPS requests.
HOW IT WORKS
Load the content-creation Skill.
Run the CLI with JSON output.
Poll the task and download the result.
CLI ACCESS
Your key is linked to your account and its credit balance.
WHAT IS AI GENERATOR CLI
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.
HOW TO USE AI GENERATOR CLI
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.
Install @ai-generator/cli with Node.js 18 or newer.
Save the CLI Key in a local text file and run auth set --key-file without putting the Key in chat.
Ask Grok Bot, Muse or another Agent to create, monitor and download an image or video task.
AI GENERATOR CLI KEY FEATURES
Use task IDs, status fields and result URLs in Skills, scripts and automations.
Create images, transform references and submit short video jobs from one CLI.
Pass local images to an Agent workflow without uploading them into the conversation first.
Wait for an interactive result or poll and download tasks in the background.
WHY CHOOSE AI GENERATOR CLI
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.
AI GENERATOR CLI FAQ
It is a Node.js CLI for creating, tracking and downloading AI image and video tasks from a terminal or a tool-enabled Agent.
Yes. Grok Bot can use it when the Agent environment is allowed to run Node commands, access local files and send HTTPS requests.
Yes. Muse can use the same independent CLI workflow when it can execute commands and work with local files.
No. It is an independent AI Generator workflow that can be used by Grok Bot, Muse and other compatible Agents.
It needs Node.js 18 or newer, the @ai-generator/cli package, permission to run commands and a configured server URL.
Run npm install --global @ai-generator/cli in a Node.js 18 or newer environment.
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.
The documented setup requires Node.js 18 or newer.
Yes. Use generate-image for image workflows and generate-video for direct video or image-to-video tasks.
Yes. Use the --image option and give the CLI the local path to a JPEG, PNG or WebP reference.
JSON gives the Agent stable task IDs, status values and result URLs that are easier to parse than terminal prose.
Use --wait for an interactive result, or keep the task ID and call task-status before downloading the result.
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.
After authentication, the default config is stored at ~/.ai-generator/config.json with restricted file permissions where supported.
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.