Back to articles
Immich Has a Free API: Self-Hosted Google Photos Alternative with Full REST API
How-ToTools

Immich Has a Free API: Self-Hosted Google Photos Alternative with Full REST API

via Dev.to TutorialAlex Spinov

What is Immich? Immich is a self-hosted photo and video management platform — a Google Photos alternative. It features face recognition, map view, album sharing, machine learning search, and a comprehensive REST API. 1M+ GitHub stars. One of the most popular self-hosted projects in 2026. Quick Start mkdir immich && cd immich wget https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml wget https://github.com/immich-app/immich/releases/latest/download/.env docker compose up -d Open http://localhost:2283 — your personal Google Photos. The REST API export IMMICH_URL = "http://localhost:2283/api" export IMMICH_KEY = "your-api-key" Upload Photos curl -X POST " $IMMICH_URL /assets" \ -H "x-api-key: $IMMICH_KEY " \ -F "assetData=@photo.jpg" \ -F "deviceAssetId=photo-001" \ -F "deviceId=cli" \ -F "fileCreatedAt=2026-03-28T10:00:00Z" \ -F "fileModifiedAt=2026-03-28T10:00:00Z" Search Photos # Text search (ML-powered) curl -X POST " $IMMICH_URL /search/smart" \ -H "x-api-

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles