novelai

Generate anime-style PNG images from Danbooru-tag prompts via NovelAI API.

Updated May 6, 2026
One-click install
npx skills add https://github.com/TsukimiRini/moyo-skills --skill novelai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: novelai
Source: https://github.com/TsukimiRini/moyo-skills/tree/main/novelai
Command: npx skills add https://github.com/TsukimiRini/moyo-skills --skill novelai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Generating anime-style illustrations from a text prompt can be slow and frustrating without a reliable, repeatable workflow; this Skill turns a prompt into downloadable images automatically.

Core Features & Use Cases

  • Prompt-to-image generation: Converts Danbooru/tag-style prompts into one or more PNG outputs using NovelAI’s image API.
  • Configurable image settings: Supports selecting NovelAI models, resolution, sampler, steps, CFG scale, seed control, and multiple samples per request.
  • Built-in operational flow: Handles authentication via a persistent token stored locally and writes both images and a run log to an output directory.

Quick Start

Run the generator to create an image from a tag prompt by providing the prompt as the first argument and an output directory via --out.

Frequently Asked Questions about novelai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate anime images from Danbooru tags using an API?

To generate anime images from Danbooru tags, this Skill sends tag-style prompts to the NovelAI image API and saves the returned ZIP contents as numbered PNG files in a specified output directory.

What do I need to set up before generating anime illustrations with NovelAI?

Before generating anime illustrations, you need a valid NovelAI persistent token stored in the NOVELAI_API_KEY environment variable or the ~/.config/novelai/key file to authenticate API requests.

Can I control the resolution and sampler settings for anime image generation?

Yes, you can control anime image generation by configuring width, height, model selection, sampler settings, steps, CFG scale, and repeatable seeding, provided that width and height values are multiples of 64.

How does seed control work when generating multiple anime PNG outputs?

Seed control allows you to generate repeatable anime illustrations by specifying a seed value, ensuring that single or multiple PNG outputs rendered from the same Danbooru-tag prompts remain visually consistent.

Why does my image generation request fail when using custom width and height?

Image generation requests fail when custom width and height values are not multiples of 64, because the NovelAI image API requires strict resolution validation before submitting the JSON request payload.