mirror of
https://github.com/rookiestar28/ComfyUI-OpenClaw.git
synced 2026-08-14 08:52:45 +00:00
1.6 KiB
1.6 KiB
OpenClawImageToPrompt
Generate prompts from images using vision LLMs.
Inputs
| Name | Type | Description |
|---|---|---|
image |
IMAGE | Input image to analyze |
goal |
STRING | Analysis goal (e.g., "Describe for regeneration") |
detail_level |
COMBO | low, medium, high |
max_image_side |
INT | Max dimension for resizing (256-1536) |
Outputs
| Name | Type | Description |
|---|---|---|
caption |
STRING | Descriptive caption of the image |
tags |
STRING | Comma-separated style/content tags |
prompt_suggestion |
STRING | Suggested prompt to recreate the image |
Example Usage
┌─────────────────┐ ┌───────────────────┐ ┌─────────────┐
│ Load Image │────▶│ OpenClawImage │────▶│ KSampler │
│ │ │ ToPrompt │ │ (img2img) │
└─────────────────┘ └───────────────────┘ └─────────────┘
- Load an image you want to analyze
- Set detail level and goal
- Use
prompt_suggestionas input for generation
Safety Notes
- S3: LLM responses sanitized
- S4: Image data encoded as base64 (no file path exposure)
- Requires vision-capable model (e.g.,
gpt-4o,claude-3-5-sonnet)
Troubleshooting
- Verify provider supports vision (OpenAI/Anthropic)
- Check
/openclaw/healthfor API status (legacy/moltbot/healthstill works)