curl "https://api.img-src.io/api/v1/images/search?q=vacation&limit=20" \
-H "Authorization: Bearer imgsrc_YOUR_API_KEY"
{
"images": [
{
"id": "img_abc123",
"url": "https://img-src.io/i/username/photos/vacation.jpg",
"paths": ["photos/vacation.jpg"],
"content_type": "image/jpeg",
"size": 1234567,
"width": 4000,
"height": 3000,
"created_at": 1704067200
}
],
"total": 5,
"limit": 20,
"offset": 0
}
Search images by path or metadata
curl "https://api.img-src.io/api/v1/images/search?q=vacation&limit=20" \
-H "Authorization: Bearer imgsrc_YOUR_API_KEY"
{
"images": [
{
"id": "img_abc123",
"url": "https://img-src.io/i/username/photos/vacation.jpg",
"paths": ["photos/vacation.jpg"],
"content_type": "image/jpeg",
"size": 1234567,
"width": 4000,
"height": 3000,
"created_at": 1704067200
}
],
"total": 5,
"limit": 20,
"offset": 0
}
curl "https://api.img-src.io/api/v1/images/search?q=vacation&limit=20" \
-H "Authorization: Bearer imgsrc_YOUR_API_KEY"
{
"images": [
{
"id": "img_abc123",
"url": "https://img-src.io/i/username/photos/vacation.jpg",
"paths": ["photos/vacation.jpg"],
"content_type": "image/jpeg",
"size": 1234567,
"width": 4000,
"height": 3000,
"created_at": 1704067200
}
],
"total": 5,
"limit": 20,
"offset": 0
}