SuperAPI AI Directory

cc-draw

Design & creation

View repository

Updated 10-16 00:20

About this skill

Image Generation Skill Installation (Claude Code Version)

Prerequisites

  1. OpenAI API Key:https://platform.openai.com/api-keys
  2. Organization Individual verification: platform.openai.com/settings/organization/general
  3. Billing top-up (minimum US$5): platform.openai.com → Billing

Installation

1. Install the Python openai package

pip install openai

2. Save the API Key

# 建立 ~/.openai.env
echo "OPENAI_API_KEY=sk-proj-你的key" > ~/.openai.env

3. Install the draw skill

npx skills add mathruffian-dot/claude-code-lazy-packs --skill 09-draw -g -y

Confirm that ~/.claude/skills/draw/draw.py or ~/.claude/skills/09-draw/draw.py exists; do not mix in ~/.config/opencode/skills/ from OpenCode.

4. Test

python ~/.claude/skills/draw/draw.py "一隻橘貓坐在窗邊,水彩風格" --name test --quality low

Quality and Cost

Level Use case
low 99% of scenarios (default)
medium When low is clearly not enough
high Print materials

Actual costs are subject to OpenAI's official pricing; do not hardcode amounts in the skill.

After installation, saying "draw a picture of XX" to Claude in any project will automatically generate an image.

Report: API key status, draw skill installed, test image generation result.