GeoInfer — AI Image Geolocation
🌍 Geolocate any image using AI — no GPS, no EXIF, no metadata required.
GeoInfer analyzes visual cues (architecture, terrain, vegetation, signage) to predict where a photo was taken, down to city level. Built for OSINT, digital forensics, investigative journalism, and security workflows.
Requires the GEOINFER_API_KEY environment variable.
Setup
- 1. Get your API key from app.geoinfer.com/en/api
- Run: INLINECODE1
Tools
Predict Image Location
bash scripts/predict.sh /path/to/image.jpg [model_id] [top_n]
- -
model_id — model to use (default: global_v0_1). Run models.sh to list available models. - INLINECODE5 — number of top predictions to return, 1–15 (default:
5) - Accepts JPEG, PNG, WebP, and other common image formats (max 10MB)
Example:
CODEBLOCK1
Output: JSON array of top location predictions with coordinates and confidence scores.
List Available Models
bash scripts/models.sh
Returns all models available to your API key (e.g., Global, Car, Property, Accuracy).
Check Credits
bash scripts/credits.sh
Returns your current credit balance.
Credit Costs
| Model type | Credits per prediction |
|---|
| Global | 1 |
| Car |
2 |
| Property | 3 |
| Accuracy | 3 |
Agent Usage Notes
- - Always run
models.sh first if unsure which model to use - Prefer
global_v0_1 for general-purpose geolocation - Use
top_n=1 for fastest single-answer responses; top_n=5 for investigations requiring confidence comparison - Check credits before running large batch jobs
- Images must be local files — download remote images before passing to INLINECODE11
GeoInfer — AI图像地理定位
🌍 使用AI对任意图像进行地理定位——无需GPS、无需EXIF、无需元数据。
GeoInfer通过分析视觉线索(建筑、地形、植被、标识)来预测照片拍摄地点,精度可达城市级别。专为OSINT、数字取证、调查性新闻和安全工作流程而设计。
需要设置GEOINFERAPIKEY环境变量。
设置
- 1. 从app.geoinfer.com/en/api获取您的API密钥
- 运行:export GEOINFERAPIKEY=geoyourkeyhere
工具
预测图像位置
bash
bash scripts/predict.sh /path/to/image.jpg [model
id] [topn]
- - modelid — 使用的模型(默认:globalv01)。运行models.sh查看可用模型列表。
- topn — 返回的顶级预测数量,范围1–15(默认:5)
- 支持JPEG、PNG、WebP及其他常见图像格式(最大10MB)
示例:
bash
bash scripts/predict.sh photo.jpg globalv01 5
输出: 包含坐标和置信度分数的顶级位置预测JSON数组。
列出可用模型
bash
bash scripts/models.sh
返回您的API密钥可用的所有模型(例如:全球、汽车、房产、精度)。
查看积分
bash
bash scripts/credits.sh
返回您当前的积分余额。
积分消耗
2 |
| 房产 | 3 |
| 精度 | 3 |
代理使用说明
- - 如果不确定使用哪个模型,始终先运行models.sh
- 通用地理定位优先使用globalv01
- 需要最快单次回答时使用topn=1;需要置信度比较的调查使用topn=5
- 运行大批量任务前检查积分
- 图像必须是本地文件——在传递给predict.sh之前先下载远程图像