Sanity Integration

AI stock photos as a Sanity asset source

Add OKSLOP as an image source in Sanity Studio. Search and select AI-generated photos directly from the asset picker.

npm i sanity-okslop
View on npm

Native asset source

Appears alongside your other image sources in Sanity Studio. No workflow changes needed.

Semantic search

Find images by meaning. Describe a mood or concept and get relevant AI-generated photos.

Zero config

Install the plugin, add one line to sanity.config.ts, done. Optional API key for higher limits.

Get started

Install in one command, configure in one line.

Configuration
import { okslop } from "sanity-okslop";

export default defineConfig({
  plugins: [okslop()],
});

Frequently asked questions

Ready to use OKSLOP in Sanity?

Free AI-generated stock photos, right in your design tool. No attribution required.