Looking for the Framalab panel? Go to framalab.dcmxstudio.com. This documentation is for developers building gallery frontends with the SDK.
Get started in four steps
Get a gallery token
In your Framalab panel, open the project, go to Settings → Gallery, and click Generate token. Copy it immediately — it is shown only once.
Initialize the client
Store the token in an environment variable — never hardcode it in your source.
.env.local
Explore the docs
Quickstart
Install the SDK, initialize the client, and fetch your first photos in under 5 minutes.
SDK Reference
Full reference for all five SDK methods with types and examples.
Authentication
How gallery tokens work and how to store them safely.
Examples
Full implementations for Next.js App Router and Astro.