跳到正文
TakoAPI
返回技能列表

civitai-api-art

由 shinnpuru 提供

Web & Frontend Development
555下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Generate AI artwork using CivitAI's JavaScript SDK.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Constructs a prompt string with the described visual attributes

  2. 2

    Sets width, height, steps, and CFG scale parameters for the generation

  3. 3

    Calls the CivitAI SDK with the prompt, negative prompt, and sampler settings

  4. 4

    Waits for the job to complete and retrieves the output image

  5. 5

    Saves the result to the specified file path and returns a markdown link

输出

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

前置要求

  • CivitAI account
  • CIVITAI_API_TOKEN environment variable

安装

clawhub install shinnpuru/civitai-api-art

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接