← 返回 Skills 市场
jeekchen

Picnow — Image Generation

作者 jeek · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
39
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install picnow
功能描述
Generate high-quality images via Picnow (api.letmego.top). Activate when the user wants to create, generate, draw, or design images — including product photo...
使用说明 (SKILL.md)

Picnow Image Generation Skill

Picnow wraps the api.letmego.top GPT-Image-2 API. This skill handles text-to-image and image-to-image (edit) generation.

1. Environment check

Before generating, verify the token is set:

if [ -z "$LETMEGO_API_KEY" ]; then
  echo "❌ LETMEGO_API_KEY is not set."
  echo "Visit https://api.letmego.top to get your 令牌, then:"
  echo "  export LETMEGO_API_KEY=your_token"
  exit 1
fi

2. Gather parameters

Ask the user if not already provided:

Parameter Options Default
prompt any text description (required)
quality 1k · 2k · 4k 1k
aspect square · landscape · portrait square
n 1 – 10 1
ref local file path (optional) (none → text-to-image)

Quality guide:

  • 1k — up to 1536×1536, fast and cheap, great for previews and social media
  • 2k — up to 2048×2048, suitable for e-commerce and print
  • 4k — up to 3840×2160, landscape or portrait only (no 4k square)

3. Locate and run the generation script

# Resolve skill directory (user-global → project-local)
SKILL_DIR="$HOME/.claude/skills/picnow"
[ -d "$SKILL_DIR" ] || SKILL_DIR=".claude/skills/picnow"

node "$SKILL_DIR/scripts/generate.js" \
  --prompt "PROMPT_HERE" \
  --quality QUALITY \
  --aspect ASPECT \
  --n N
  # add: --ref /path/to/image.jpg   for image-to-image

The script outputs a single JSON line:

{ "urls": ["https://...cdn.../image.png"] }

4. Present results

  • Display each URL as a clickable link or inline image.
  • For multiple images, list them with index labels (1/3, 2/3, …).
  • Offer to download, save to a project, or run another variation.

Error handling

Exit condition Meaning Action
LETMEGO_API_KEY missing Token not set Guide user to picnow settings
HTTP 401 Token invalid Ask user to check or refresh token
HTTP 402 / quota Insufficient balance Direct to letmego.top recharge
HTTP 4xx other Bad request Show upstream error message
Network error Connection issue Suggest retry

Examples

Text-to-image:

User: 帮我画一张珠宝产品主图,白色背景,高清
→ quality=2k, aspect=square
→ node "$SKILL_DIR/scripts/generate.js" \
    --prompt "jewelry product hero shot, white background, studio lighting, photorealistic" \
    --quality 2k --aspect square --n 1

Image-to-image:

User: 把这张图改成动漫风格 [uploads reference.jpg]
→ quality=1k, ref=reference.jpg
→ node "$SKILL_DIR/scripts/generate.js" \
    --prompt "anime style illustration, vibrant colors, clean linework" \
    --quality 1k --aspect square --n 1 --ref reference.jpg

Landscape banner:

User: Generate a landscape banner for a coffee brand
→ quality=1k, aspect=landscape, n=2
→ node "$SKILL_DIR/scripts/generate.js" \
    --prompt "coffee brand lifestyle banner, warm tones, morning light, artisan aesthetic" \
    --quality 1k --aspect landscape --n 2
安全使用建议
This skill appears coherent and purpose-aligned. Install it only if you trust the Picnow/LetMeGo API, use a revocable LETMEGO_API_KEY, review Bash commands before they run, and provide only reference images you are comfortable uploading to the external service.
功能分析
Type: OpenClaw Skill Name: picnow Version: 1.0.1 The 'picnow' skill is a legitimate tool for generating and editing images via the Picnow API (api.letmego.top). The bundle consists of a SKILL.md guide and a Node.js script (scripts/generate.js) that handles API requests for text-to-image and image-to-image tasks. It requires a user-provided API key (LETMEGO_API_KEY) and operates as described without any signs of data exfiltration, malicious execution, or prompt injection attacks.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and implementation are coherent: text prompts are sent for image generation, and optional reference images are sent for image-to-image editing. The reference upload is expected but worth noticing.
Instruction Scope
The skill uses Bash to run an included Node script with user-provided prompt and reference-path arguments. This is purpose-aligned, but those arguments should be safely quoted and reviewed.
Install Mechanism
There is no install script or dependency installation, and the included helper code is visible. However, registry provenance is limited because the source is listed as unknown and no homepage is provided.
Credentials
The skill requires LETMEGO_API_KEY and sends it to api.letmego.top as an Authorization bearer token. This is expected for the Picnow API, though the registry requirement fields list no required env vars or primary credential.
Persistence & Privilege
No evidence of persistence, background workers, auto-start behavior, privileged writes, destructive actions, or long-running autonomous activity was found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install picnow
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /picnow 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Initial release of Picnow image generation skill. - Supports high-quality text-to-image and image-to-image generation, including editing, style transfer, and background change. - Offers 1K, 2K, and 4K resolution options; supports square, landscape, and portrait aspect ratios. - Handles both English and Chinese trigger phrases for flexible activation. - Provides clear error handling and user guidance for missing or invalid API keys, quota issues, and network errors. - Outputs image URLs with options to preview, download, or generate variations.
元数据
Slug picnow
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Picnow — Image Generation 是什么?

Generate high-quality images via Picnow (api.letmego.top). Activate when the user wants to create, generate, draw, or design images — including product photo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 Picnow — Image Generation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install picnow」即可一键安装,无需额外配置。

Picnow — Image Generation 是免费的吗?

是的,Picnow — Image Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Picnow — Image Generation 支持哪些平台?

Picnow — Image Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Picnow — Image Generation?

由 jeek(@jeekchen)开发并维护,当前版本 v1.0.1。

💬 留言讨论