图像转Markdown – 通过OCR从PNG、JPG、WebP等图像中提取文字转为Markdown。适用于读取截图、照片、扫描件或任意图像中的文本。
Extract text from images to Markdown using MinerU Open API. No API key required.
bash
# Extract text from a local image
mineru-open-api flash-extract screenshot.png
# Extract text from an image URL (no download needed)
mineru-open-api flash-extract https://example.com/image.png
# Save to file
mineru-open-api flash-extract photo.jpg -o ./output/
# Specify language for better accuracy
mineru-open-api flash-extract scan.jpg --language en
You MUST reply to the user in the SAME language they use. This is non-negotiable.
--language (default: ch, use en for English)Run mineru-open-api flash-extract --help for all available options.
flash-extract uploads the image to MinerU's cloud API for processing and returns the result. No account or API key is required.mineru-open-api extract (requires auth via mineru-open-api auth)