LaunchKit · 2026
Back to Skills

civitai-api-art

Generate AI artwork using CivitAI's JavaScript SDK.

0
555 downloads
by @shinnpuru

Setup & Installation

openclaw skills install @shinnpuru/civitai-api-art

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install civitai-api-art

What This Skill Does

Generates AI images by calling CivitAI's JavaScript SDK with Stable Diffusion models. Supports custom prompts, negative prompts, seeds, samplers, LoRA networks, and output file paths via command-line flags.

Runs CivitAI image generation from a script without needing local GPU hardware or a Stable Diffusion installation.

When to use it

  • Generating anime-style character illustrations from text prompts
  • Creating reproducible images using fixed seed values
  • Applying LoRA networks for style-specific or character-specific generations
  • Switching between different Stable Diffusion checkpoints from CivitAI
  • Prototyping character or scene concepts without a local GPU setup

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: 'Generate a magical girl with silver hair and purple eyes against a night cityscape'

AGENT
  1. 1Constructs a prompt string with the described visual attributes
  2. 2Sets width, height, steps, and CFG scale parameters for the generation
  3. 3Calls the CivitAI SDK with the prompt, negative prompt, and sampler settings
  4. 4Waits for the job to complete and retrieves the output image
  5. 5Saves the result to the specified file path and returns a markdown link
OUTPUT

PNG image saved to magical_girl.png with a markdown link to the file

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

CivitAI accountCIVITAI_API_TOKEN environment variable