CLI & MCP Server

Generate from your terminal, or from your agent.

The nolgia CLI is a single Rust binary for image, video, and audio generation. The NOLGIA MCP server exposes the same platform to Claude Code and any other agent. One account, two ways in.

shell
npm install -g @nolgia/cli
A cinematic terminal workspace for creating with NOLGIA

Install

Pick your package manager.

One binary, four ways to get it. All channels track the same release.

shell
npm install -g @nolgia/cli

Installs the prebuilt binary for your platform. Requires Node 18+.

Paste this into your agent

one line
Read https://raw.githubusercontent.com/nolgiainc/nolgia-cli/main/INSTALL_FOR_AGENTS.md and follow it end to end to install and set up the Nolgia CLI for me.

Your coding agent installs the CLI without sudo, waits while you authenticate, installs the skills, and runs one verify generation.

Read the runbook

Quick start

Authenticate, then generate.

Log in once with nolgia auth login, then generate against any supported model. Compose multi-shot sequences with repeated --shot flags, and pass --cost-only to price a job before you run it.

terminal
# Authenticate once: opens a device login in your browser
nolgia auth login

# Generate an 8-second clip from a prompt
nolgia gen video \
  --model veo-3.1 \
  --prompt "a street bike carving a coastal road at dusk" \
  --duration-seconds 8 \
  --out clip.mp4
multi-shot
# Direct a multi-shot sequence: one --shot per beat.
# Add --cost-only first to see the credit estimate before spending.
nolgia gen video \
  --model veo-3.1 \
  --shot "8:WIDE SHOT: city skyline at golden hour, slow push in" \
  --shot "6:MEDIUM SHOT: rider mounts the bike, engine catches" \
  --shot "8:CLOSE UP: throttle twists, headlight flares" \
  --out sequence.mp4 \
  --cost-only
Price it first
nolgia gen video --model veo-3.1 --prompt "…" --cost-only

The API's POST /jobs/cost returns the same number.

Built for people who live in the terminal.

No dashboards to babysit. Everything the Studio can do is a command or a tool call away.

One client for humans and agents

One client for humans and agents

The same platform behind the terminal and the MCP server. Script it by hand, or let Claude Code drive it. The capabilities are identical.

Transparent credit pricing

Transparent credit pricing

Add --cost-only to any generation to get a credit estimate before you spend. No surprise metering, no hidden multipliers.

Async job model

Async job model

Every generation is a job you can wait on or poll. Fire a batch, walk away, and collect the outputs when they land.

Native multi-shot sequences

Native multi-shot sequences

Compose cinematic sequences from repeated --shot flags. Direct wide, medium, and close-up beats in a single command.

Image-to-video everywhere

Image-to-video everywhere

Drive video from a still on every capable model with one consistent flag set.

Works in Claude Code

Works in Claude Code

Point any MCP client at the hosted server with a bearer token and the full tool surface shows up in your agent.

MCP server

Give your agent the whole platform.

The NOLGIA MCP server is hosted at https://mcp.nolgia.ai/mcp and speaks the MCP Streamable HTTP transport. Authenticate with a bearer PAT or JWT and all 72 tools become available to Claude Code, Cursor, or any MCP client that can send a header. Assistants that sign you in instead of taking a token are covered on the MCP page.

mcp.json
{
  "mcpServers": {
    "nolgia": {
      "url": "https://mcp.nolgia.ai/mcp",
      "headers": {
        "Authorization": "Bearer nol_your_token_here"
      }
    }
  }
}

Generate a personal access token from your account, then drop it into the Authorization header. Restart your client to pick up the server.

72 tools, read from the server's own registry

Generate

Generate: 16 tools
ToolPurpose
nolgia_text_to_imageGenerate image from text
nolgia_image_to_imageGenerate image from an image
nolgia_text_to_videoGenerate video from text
nolgia_image_to_videoAnimate an image into video
nolgia_text_to_audioGenerate audio from text
nolgia_run_presetRun a preset
nolgia_render_blocksAssemble clips and narration into one video
nolgia_multicam_planPlan a Multicam job
nolgia_multicam_startStart a Multicam job
nolgia_multicam_runCheck a Multicam job
nolgia_multicam_downloadDownload every Multicam angle
nolgia_multicam_cancelStop a Multicam job
nolgia_generate_3dGenerate a 3D model
nolgia_generate_setGenerate a set of images
nolgia_miroge_optionsPrice a Miroge remake
nolgia_mirogeRemake a clip with Miroge

Your library

Your library: 19 tools
ToolPurpose
nolgia_list_assetsList generated assets
nolgia_get_assetOpen an asset
nolgia_delete_assetTrash an asset
nolgia_update_asset_tagsSet an asset's tags
nolgia_upload_assetUpload an image
nolgia_list_charactersList saved characters
nolgia_get_characterGet one character
nolgia_create_characterSave a character
nolgia_update_characterUpdate a character
nolgia_delete_characterDelete a character
nolgia_list_stylesList saved styles
nolgia_create_styleSave a style
nolgia_delete_styleDelete a saved style
nolgia_transcribe_assetTranscribe an asset
nolgia_get_transcriptGet an asset transcript
nolgia_suggest_clipsFind short video clips
nolgia_create_clipsCreate short video clips
nolgia_get_setGet a set of images
nolgia_get_mirogeCheck a Miroge remake

Projects

Projects: 11 tools
ToolPurpose
nolgia_list_projectsList projects
nolgia_get_projectGet one project
nolgia_create_projectCreate a project
nolgia_update_projectUpdate a project
nolgia_delete_projectDelete a project
nolgia_add_project_assetsAdd assets to a project
nolgia_remove_project_assetRemove an asset from a project
nolgia_list_canvasesList canvases
nolgia_get_canvasGet a canvas
nolgia_create_canvasCreate a canvas
nolgia_update_canvasUpdate a canvas

Edit sessions and tweaks

Edit sessions and tweaks: 6 tools
ToolPurpose
nolgia_list_tweak_scopesList image tweak scopes
nolgia_create_edit_sessionStart an edit session
nolgia_get_edit_sessionRead an edit session
nolgia_edit_session_stepApply the next image edit
nolgia_revert_edit_sessionRevert an edit session
nolgia_estimate_edit_sessionEstimate the next edit

Presets

Presets: 2 tools
ToolPurpose
nolgia_list_presetsList presets
nolgia_get_presetGet one preset

Timelines

Timelines: 4 tools
ToolPurpose
nolgia_validate_maskValidate a timeline mask
nolgia_validate_motionValidate timeline motion
nolgia_list_color_presetsList color-grade presets
nolgia_get_renderCheck a render

Desktop apps

Desktop apps: 9 tools
ToolPurpose
nolgia_app_statusList connected desktop apps
nolgia_app_infoRead a desktop app's state
nolgia_app_runRun code in a desktop app
nolgia_app_commandCheck a desktop app command
nolgia_app_previewPreview a desktop app's document
nolgia_app_importImport an asset into a desktop app
nolgia_app_exportExport from a desktop app
nolgia_app_saveSave the document in a desktop app
nolgia_app_openOpen a document in a desktop app

Models, account and jobs

Models, account and jobs: 5 tools
ToolPurpose
nolgia_list_modelsList models
nolgia_get_accountGet the signed-in account
nolgia_get_usageGet generation counts
nolgia_cancel_jobCancel a generation job
nolgia_list_jobsList generation jobs

Models

The models the CLI routes to.

audio

ElevenLabs v3

from 6 credits per 1,000 characters

See the model
Explore all models

FAQ

Questions from the terminal.

How do I install the nolgia CLI?
With npm (npm install -g @nolgia/cli), Homebrew (brew install nolgiainc/nolgia/nolgia), cargo (cargo install nolgia-cli), and curl (curl -fsSL https://raw.githubusercontent.com/nolgiainc/nolgia-cli/main/install.sh | bash). All channels track the same release.
How do I sign in from the terminal?
Run nolgia auth login once. It opens a device login in your browser and the CLI keeps the session.
Can I see what a job costs before I run it?
Yes. Add --cost-only to any generation to get the credit estimate without spending anything.
What can the CLI generate?
Images, video and audio on the models the platform publishes, including multi-shot video sequences from repeated --shot flags and video from a still image.
How do I connect Claude Code or another agent?
Point your MCP client at https://mcp.nolgia.ai/mcp with an Authorization: Bearer header carrying a personal access token, and all 72 tools show up in your agent.
Do the CLI and the app share credits?
When you sign in with nolgia auth login, yes: the CLI spends your monthly plan credits first and then your top-up credits, like the app. A personal access token (NOLGIA_TOKEN), which the API and the MCP server also use, spends top-up credits only. An assistant you connect over OAuth, such as ChatGPT or Claude, spends like the app.
Can my coding agent set the CLI up for me?
Yes. Copy the one-line instruction under Paste this into your agent. It points your coding agent to the installation runbook at https://github.com/nolgiainc/nolgia-cli/blob/main/INSTALL_FOR_AGENTS.md, which walks through installation, authentication, skills and a verify generation.
How do I see what a job will cost?
Use --cost-only on the CLI or POST /jobs/cost on the API. Both use the same pricer and return the same credit estimate before you generate.

Connect an agent.

Create an account, mint a token, and point your CLI or MCP client at NOLGIA. The first credits are on us.