Caption Image (OpenCLIP)
sdnext_captionGenerates image captions and prompts with OpenCLIP+BLIP. Select a mode (best, fast, classic, caption, negative) or enable analysis to get artist, medium, movement, trending, and flavor breakdown.
Instructions
Generate a text caption/prompt from an image using OpenCLIP+BLIP (SD.Next /sdapi/v1/openclip POST). mode: best|fast|classic|caption|negative. Set analyze=true for medium/artist/movement/trending/flavor breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Caption mode (default "best"). | |
| image | Yes | Base64-encoded image (raw base64, data: URL, or "upload:<id>" ref). | |
| model | No | OpenCLIP model (from sdnext_list_openclip), default "ViT-L-14/openai". | |
| analyze | No | Return detailed analysis breakdown. | |
| num_beams | No | ||
| blip_model | No | BLIP caption model, default "blip-large". | |
| chunk_size | No | ||
| clip_model | No | CLIP model for similarity matching. | |
| max_length | No | ||
| max_flavors | No | ||
| min_flavors | No | ||
| flavor_count | No |