NovelAI Image MCP
NovelAI image generation as MCP tools: txt2img, img2img, inpaint, upscale, Director, ControlNet.
Connector by xinvxueyuan · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying NovelAI Image MCP?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/xinvxueyuan-novelai-image-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: image-generation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 9 read · 2 write · 0 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 11
Read from the source code; the running server may list different tools.
Read 9 · Look things up without changing anything.
annotate_imageencode_vibeestimate_anlas_costgenerate_imageget_subscriptionget_user_dataimage_to_imageinpaintsuggest_tags
Write 2 · Create, change, send or run things.
director_toolupscale_image
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
NOVELAI_TOKEN
Network hosts it talks to 10
api.novelai.net· found in codedocs.pydantic.dev· found in codegithub.com· found in codegofastmcp.com· found in codeimage.novelai.net· found in codenovelai.net· found in codesitemaps.org· found in codeskills.sh· found in codeturbo.build· found in codexinvxueyuan.github.io· found in code
Tools (11)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
annotate_imageAnnotate an image (ControlNet)Annotate an image with a ControlNet preprocessor. ``image`` is a base64-encoded PNG/JPEG. ``model`` is one of: ``hed`` (palette swap), ``midas`` (form lock / depth), ``fake_scribble`` (scribbler), ``mlsd`` (building control), ``uniformer`` (landscaper). The returned image is the annotation (e.g. a line-art map) suitable for use as a ControlNet condition in a subsequent generation.
director_toolApply a Director toolApply a NovelAI Director tool to an image. ``tool`` is one of: ``lineart``, ``sketch``, ``bg-removal``, ``declutter``, ``colorize``, ``emotion``. ``image`` is a base64-encoded PNG/JPEG. The ``emotion`` tool additionally requires an ``emotion`` name (e.g. ``happy``, ``sad``) and accepts an ``emotion_level`` (0-5, where 0 is normal intensity and 5 is weakest). ``prompt`` guides ``colorize`` and ``emotion``; ``defry`` (0-10) sharpens line art. ``emotion`` and ``emotion_level`` are **experimental**: they are served only to requests that opt in through the insiders header (``X-MCP-Insiders: exper…
encode_vibeEncode a vibe tokenEncode a reference image into a NovelAI vibe token. ``reference`` is a base64-encoded PNG/JPEG to encode. ``information_extracted`` (0.01-1.0) controls how strongly the vibe captures the reference's identity (lower = more stylistic, higher = more literal). ``model`` must be a V4/V4.5 model (vibes are not supported on V3, and V5 does not support vibe transfer yet). Returns a base64 vibe token suitable for the ``references`` parameter of ``generate_image``.
estimate_anlas_costEstimate Anlas costEstimate the Anlas cost of a generation without calling the API. Mirrors NovelAI's public web-client cost formula. ``action`` is one of ``generate``, ``img2img``, ``infill`` (inpaint). For ``img2img``, ``strength`` (0.01-0.99) scales the cost proportionally. ``smea`` / ``smea_dynamic`` / ``auto_smea`` apply the SMEA multiplier. ``opus`` grants a free sample when the request is within Opus limits. Returns ``{"anlas": <cost>, "opus_free_sample": <bool>}``. This is a pure price calculation. It needs no image or mask, and it does not verify that the combination is runnable -- an ``infill`` estim…
generate_imageGenerate image (text-to-image)Generate one or more images from a text prompt (text-to-image). Supports NovelAI V3 / V4 / V4.5 / V5 models. Pass ``references`` as a list of base64-encoded PNG/JPEG strings to apply vibe transfer (V4/V4.5 only - V5 does not support vibe transfer yet and rejects it). V5 models additionally accept English/Japanese natural-language prompts and the ``straight_alpha`` flag for true transparency (pair it with prompt tags such as ``transparent background`` or ``has alpha``). ``character_prompts`` enables multi-character composition with per-character prompts and center coordinates (x, y in 0.1-0.9)…
get_subscriptionGet subscription and Anlas balanceReturn the account subscription details and Anlas balance. The shape mirrors NovelAI's ``/user/subscription`` response. The keys observed on a live account are ``tier`` (0 = free, 1 = starter, ...), ``active``, ``expiresAt``, ``accountType``, ``isGracePeriod``, ``isNewCustomer``, ``isPaypal``, ``paymentProcessor``, ``paymentProcessorData``, ``perks`` (``maxPriorityActions``, ``startPriority``, ``contextTokens``, ``unlimitedMaxPriority``, ``moduleTrainingSteps``) and ``trainingStepsLeft`` (``fixedTrainingStepsLeft``, ``purchasedTrainingSteps``). Use this to inspect the active plan before a gen…
get_user_dataGet user dataReturn the authenticated account's user data. Includes ``email``, ``accountChain`` (registration source), and the ``priority`` epoch. Useful to confirm which account the server is authenticated as before issuing generation commands.
image_to_imageRestyle an image (image-to-image)Generate a new image conditioned on an input image (image-to-image). ``image`` is a base64-encoded PNG/JPEG. ``strength`` (0.01-0.99) controls how far the result diverges from the input; ``noise`` (0-0.99) adds extra variation. The model must match the input image domain.
inpaintInpaint a regionInpaint (locally redraw) a region of an image. ``image`` and ``mask`` are base64-encoded PNG/JPEG; the mask marks the region to regenerate (non-transparent pixels are redrawn). Requires an inpainting model such as ``nai-diffusion-4-5-full-inpainting`` or ``nai-diffusion-5-full-inpainting``.
suggest_tagsSuggest prompt tagsSuggest NovelAI tags that complete or refine a prompt. ``prompt`` is the partial prompt text to complete. ``model`` selects the tagger vocabulary (default ``nai-diffusion-4-5-full``). ``language`` is the ISO 639-1 code for the response language (e.g. ``en``, ``ja``). Returns tag suggestions carrying the tag string, its training-set occurrence ``count`` and the tagger's ``confidence``.
upscale_imageUpscale an image (4x)Upscale an image 4x using NovelAI's standalone upscaler. ``image`` is a base64-encoded PNG/JPEG. NovelAI's standalone upscaler offers a single 4x step — the API exposes no scaling factor — so ``factor`` only accepts ``4``. The upscaler runs on the V5 model configured by ``NOVELAI_UPSCALE_MODEL`` (default ``nai-diffusion-5-full``) and consumes Anlas based on the source resolution.
Compare and alternatives
Featured in
Signals
- Stars
- 12
- Forks
- 1
- Open issues
- 0
- Weekly downloads
- 670
- Last commit
- Oct 22, 2026 (8 days ago)
- Last release
- Oct 22, 2026 (8 days ago)
- Last package publish
- Oct 22, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.xinvxueyuan/novelai-image-mcp- Version
- 0.7.0
- Auth
- API key
- Packages
- pypi novelai-image-mcpoci
ghcr.io/xinvxueyuan/novelai-image-mcp:0.7.0 - License
- MIT
- Repository
- github.com/xinvxueyuan/NovelAI-Image-MCP
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get NovelAI Image MCP running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
NovelAI Image MCP. Agent Mart. https://agentmart.dev/connectors/xinvxueyuan-novelai-image-mcp (last updated 2026-10-24)