Skip to content
Back to skills

Blip 2

ASecurity

Blip 2 | Image Captioning and Visual Q&A. Generate captions and answer questions about images using BLIP-2. Triggers: blip, image caption, visual qa, image description, image question

  • 29 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
documentationbashapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned June 2, 2026

npx -y skills add awesome-genmedia/skills --skill blip-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Blip 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Blip 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/awesome-genmedia-blip-2/badge)](https://www.skillsdirectory.com/skills/awesome-genmedia-blip-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: blip-2
description: "Blip 2 | Image Captioning and Visual Q&A. Generate captions and answer questions about images using BLIP-2. Triggers: blip, image caption, visual qa, image description, image question"
allowed-tools: Bash(curl *), WebFetch
---

# Blip 2

Generate captions and answer questions about images using BLIP-2. Supports image captioning, visual question answering, and context-aware image analysis.

## Quick Start

> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).

```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "blip-2",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/photo.jpg",
      "question": "What is happening in this image?",
      "temperature": 0.5
    }
  }'
```

## Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| caption | boolean | false | Generate a descriptive caption for the image |
| context | string | - | Background information to help generate better responses |
| image | string | - | Image to analyze |
| question | string | - | Question to answer about the image |
| temperature | number | 0.5 | Controls creativity (higher = more creative, lower = more conservative) |
| use_nucleus_sampling | boolean | false | Use top-p sampling for more diverse responses |

## Examples

**Generate image caption:**
```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "blip-2",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/landscape.jpg",
      "caption": true,
      "temperature": 0.7,
      "use_nucleus_sampling": true
    }
  }'
```

**Visual Q&A with context:**
```bash
curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "blip-2",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/product-shelf.jpg",
      "question": "How many items are on the top shelf?",
      "context": "This is a retail store display",
      "temperature": 0.3
    }
  }'
```

## Related Models

- [nsfw-image-detection](../nsfw-image-detection/) - Content safety analysis
- [1019-face-analyzer](../1019-face-analyzer/) - Face analysis
- [rembg](../rembg/) - Background removal

## Documentation

- [each::labs Docs](https://docs.eachlabs.ai)
- [API Reference](https://docs.eachlabs.ai/api/overview)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.