image2promptAnalyze images and generate detailed prompts for image generation. Supports portrait, landscape, product, animal, illustration categories with structured or natural output.
Install via ClawdBot CLI:
clawdbot install Zhang-Shubo/image2promptAnalyze images and generate detailed, reproduction-quality prompts for AI image generation.
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 environmentsproduct â Commercial product photos, merchandiseanimal â Animals as main subjectillustration â Diagrams, infographics, UI mockups, technical drawingsother â Images that don't fit above categoriesStep 2: Category-Specific Analysis
Generate a detailed prompt based on the detected category.
# Analyze an image (auto-detect category)
openclaw message send --image /path/to/image.jpg "Analyze this image and generate a detailed prompt for reproduction"
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.
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.
{
"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": {
"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"
}
}
{
"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"]
}
}
This skill works with any vision-capable model. For best results, use:
Generated Mar 1, 2026
Online retailers can use Image2Prompt to analyze product images and generate detailed prompts for creating high-quality, consistent product visuals. This helps in generating alternative angles, lifestyle contexts, or stylized versions for marketing materials, improving conversion rates.
Marketing agencies can leverage the skill to analyze client images and produce prompts for generating custom illustrations, infographics, or branded visuals. This streamlines content production for social media campaigns, advertisements, and website assets.
Game studios can analyze concept art or reference images to create prompts for generating character portraits, environmental landscapes, or UI elements. This accelerates the prototyping and asset creation process for games and virtual worlds.
Educational institutions and e-learning platforms can use Image2Prompt to analyze diagrams or illustrations and generate prompts for creating enhanced visual aids. This supports the development of interactive infographics, technical drawings, and instructional content.
Photographers can analyze their existing work to generate prompts for creating new images in similar styles or themes. This aids in building cohesive portfolios, exploring creative variations, and offering clients diverse visual options.
Offer tiered subscription plans for developers and businesses to integrate Image2Prompt via API, providing usage limits and premium features like batch processing. Revenue is generated through monthly or annual fees based on request volume.
Provide a free basic version for individual users with limited analyses, and charge for advanced features such as structured JSON output, dimension extraction, or high-resolution support. Upsell to pro plans for commercial use.
Sell custom licenses to marketing agencies, design firms, or large corporations for unlimited usage, white-labeling, and integration with internal workflows. Include dedicated support and training services.
đŹ Integration Tip
Integrate Image2Prompt into existing design tools via API calls, using the structured JSON output for automated workflows and natural language prompts for creative brainstorming.
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Capture frames or clips from RTSP/ONVIF cameras.
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
äœżçšć çœź image_generate.py èæŹçæćŸç, ć〿ž æ°ć ·äœç `prompt`ă
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.