Token导航 LogoToken导航TokenDH.com
图像处理需要联网clawhub未标认证来源可访问clear审计提醒

image2promptimage2prompt 分析

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

106,134

周安装

4,559

GitHub Stars

5

下载量

37,201
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:image2prompt(image2prompt 分析)
来源仓库:https://github.com/zhang-shubo/image2prompt
安装命令:
openclaw skills install image2prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install image2prompt

简介

分析图像并生成图像生成的详细提示。支持肖像、风景、产品、动物、插图类别,具有结构化或自然输出。

SKILL.md

name
image2prompt
description
Analyze images and generate detailed prompts for image generation. Supports portrait, landscape, product, animal, illustration categories with structured or natural output.
homepage
https://docs.openclaw.ai/tools/image2prompt
user-invocable
true
metadata
{"openclaw":{"emoji":"🖼️","primaryEnv":"OPENAI_API_KEY","requires":{"anyBins":["openclaw"]}}}

Image to Prompt

Analyze images and generate detailed, reproduction-quality prompts for AI image generation.

Workflow

Step 1: Category Detection First, classify the image into one of these categories:

  • portrait — People as main subject (photos, artwork, digital art)
  • landscape — Natural scenery, cityscapes, architecture, outdoor environments
  • product — Commercial product photos, merchandise
  • animal — Animals as main subject
  • illustration — Diagrams, infographics, UI mockups, technical drawings
  • other — Images that don't fit above categories

Step 2: Category-Specific Analysis Generate a detailed prompt based on the detected category.

Usage

Basic Analysis

# Analyze an image (auto-detect category)
openclaw message send --image /path/to/image.jpg "Analyze this image and generate a detailed prompt for reproduction"

Specify Output Format

Natural Language (default):

Analyze this image and write a detailed, flowing prompt description (600-1000 words for portraits, 400-600 for others).

Structured JSON:

Analyze this image and output a structured JSON description with all visual elements categorized.

With Dimensions Extraction

Request dimension highlights to get tagged phrases for each visual aspect:

Analyze this image with dimension extraction. Tag phrases for: backgrounds, objects, characters, styles, actions, colors, moods, lighting, compositions, themes.

Category-Specific Elements

Portrait Analysis Covers:

  • Model/Style: Photography type, quality level, visual style
  • Subject: Gender, age, ethnicity, skin tone, body type
  • Facial Features: Eyes, lips, face shape, expression
  • Hair: Color, length, style, part
  • Pose: Body position, orientation, leg/hand positions, gaze
  • Clothing: Type, color, pattern, fit, material, style
  • Accessories: Jewelry, bags, hats, etc.
  • Environment: Location, ground, background, atmosphere
  • Lighting: Type, time of day, shadows, contrast, color temperature
  • Camera: Angle, height, shot type, lens, depth of field, perspective
  • Technical: Realism, post-processing, resolution

Landscape Analysis Covers:

  • Terrain and water features
  • Sky and atmospheric elements
  • Foreground/background composition
  • Natural lighting and atmosphere
  • Color palette and photography style

Product Analysis Covers:

  • Product features and materials
  • Design elements and shape
  • Staging and background
  • Studio lighting setup
  • Commercial photography style

Animal Analysis Covers:

  • Species identification and markings
  • Pose and behavior
  • Expression and character
  • Habitat and setting
  • Wildlife/pet photography style

Illustration Analysis Covers:

  • Diagram type (flowchart, infographic, UI, etc.)
  • Visual elements (icons, shapes, connectors)
  • Layout and hierarchy
  • Design style (flat, isometric, etc.)
  • Color scheme and meaning

Output Examples

Natural Language Output (Portrait)

{
  "prompt": "A stunning photorealistic portrait of a young woman in her mid-20s with fair porcelain skin and warm pink undertones. She has striking emerald green almond-shaped eyes with long dark lashes, full rose-colored lips curved in a subtle confident smile, and an oval face with high cheekbones..."
}

Structured Output (Portrait)

{
  "structured": {
    "model": "photorealistic",
    "quality": "ultra high",
    "style": "cinematic natural light photography",
    "subject": {
      "identity": "young beautiful woman",
      "gender": "female",
      "age": "mid 20s",
      "ethnicity": "European",
      "skin_tone": "fair porcelain with pink undertones",
      "body_type": "slim athletic",
      "facial_features": {
        "eyes": "emerald green, almond-shaped, intense gaze",
        "lips": "full, rose pink, subtle smile",
        "face_shape": "oval with high cheekbones",
        "expression": "confident and serene"
      },
      "hair": {
        "color": "warm honey blonde",
        "length": "long",
        "style": "soft waves",
        "part": "center"
      }
    },
    "pose": {
      "position": "standing",
      "body_orientation": "three-quarter turn to camera",
      "legs": "weight on right leg, relaxed stance",
      "hands": {
        "right_hand": "resting on hip",
        "left_hand": "hanging naturally at side"
      },
      "gaze": "direct eye contact with camera"
    },
    "clothing": {
      "type": "flowing maxi dress",
      "color": "dusty rose",
      "pattern": "solid",
      "details": "V-neckline, cinched waist, silk material",
      "style": "romantic feminine"
    },
    "accessories": ["delicate gold necklace", "small hoop earrings"],
    "environment": {
      "location": "outdoor garden",
      "ground": "cobblestone path",
      "background": "blooming roses, soft bokeh",
      "atmosphere": "dreamy and romantic"
    },
    "lighting": {
      "type": "natural sunlight",
      "time": "golden hour",
      "shadow_quality": "soft diffused shadows",
      "contrast": "medium",
      "color_temperature": "warm"
    },
    "camera": {
      "angle": "slightly below eye level",
      "camera_height": "chest height",
      "shot_type": "medium shot",
      "lens": "85mm",
      "depth_of_field": "shallow",
      "perspective": "slight compression, flattering"
    },
    "mood": "romantic, confident, ethereal",
    "realism": "highly photorealistic",
    "post_processing": "soft color grading, subtle glow",
    "resolution": "8k"
  }
}

With Dimensions

{
  "prompt": "...",
  "dimensions": {
    "backgrounds": ["outdoor garden", "blooming roses", "soft bokeh"],
    "objects": ["delicate gold necklace", "small hoop earrings"],
    "characters": ["young beautiful woman", "mid 20s", "European"],
    "styles": ["photorealistic", "cinematic natural light photography"],
    "actions": ["standing", "three-quarter turn", "direct eye contact"],
    "colors": ["dusty rose", "honey blonde", "emerald green"],
    "moods": ["romantic", "confident", "ethereal", "dreamy"],
    "lighting": ["golden hour", "natural sunlight", "soft diffused shadows"],
    "compositions": ["medium shot", "85mm", "shallow depth of field"],
    "themes": ["romantic feminine", "portrait photography"]
  }
}

Tips for Best Results

  1. High-resolution images produce more detailed prompts
  2. Clear, well-lit images yield better category detection
  3. Request structured output when you need programmatic access to individual elements
  4. Use dimensions extraction when building prompt databases or training data
  5. Specify word count expectations for natural language output if needed

Integration

This skill works with any vision-capable model. For best results, use:

  • GPT-4 Vision
  • Claude 3 (Opus/Sonnet)
  • Gemini Pro Vision

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.72%
按下载量换算27,425

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills