据 AlphaMoat 统计,截至 2026-09,Image2Prompt 累计下载 4,758 次、获 9 个星标,在全部 5,078 个 AI 技能中排名第 1,987 位,在「内容创作」分类(362 个)中排名第 147 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 146 | 4,311 | 5 | - |
| SkillHub ↗ | 319 | 4,758 | 9 | — |
各平台的计数口径不同,统计时间不一致。
它先按人物、风景、产品、动物、插画等类别分析图像,再生成自然语言或结构化 JSON 提示词,并可输出各视觉维度的标签,适用于批量构建提示词库或下游创作。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,758 | — | 9 |
| 2026-08 | 4,317 | +3.1% | 9 |
| 2026-07 | 4,186 | +7.1% | 9 |
| 2026-06 | 3,907 | +4.7% | 7 |
| 2026-05 | 3,733 | — | 7 |
| 2026-03 | 3,178 | — | 5 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
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
```bash
# 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)
```json
{
"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)
```json
{
"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
```json
{
"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
识别并去掉文本里的 AI 写作痕迹,让文字读起来更像人写。
把文本里 AI 写作的典型痕迹挑出来并改写得更自然,同时保留原意的写作编辑技能。
识别并去除 AI 生成文本痕迹的中文文字编辑技能。
wechat-search 检索公众号热门文章,并按相关性、热度和时效整理结果。
从公开短视频分享链接提取标题、简介和口播文案,并给出改写版本。
humanizer 为中英文文本提供更自然的表达和风格编辑指导。
写网文章节并按文件落盘,聊天里只回摘要与指针。
把一组营销方法模块收进同一个技能,按请求路由到对应模块取清单与可交付稿。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。