Skip to content
allmd

AI agents: fetch the documentation index at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.

Image

Generate markdown descriptions of images using GPT vision.

Usage

allmd image <file> -o output.md

Supported Formats

  • .jpg, .jpeg
  • .png
  • .gif
  • .webp

Requirements

Requires OPENAI_API_KEY for GPT vision image description.

Example

# Describe an image as markdown
allmd image photo.jpg -o description.md

# Output to stdout
allmd image diagram.png --stdout