Replicate
approvedby Sébastien Dubois
Replicate.com integration. Generate images using AI.
Obsidian Replicate.com integration
Obsidian plugin that integrates Replicate.com and enables using the various image generation models supported by Replicate (e.g., Stable Diffusion, FLUX.1, and many more) directly from your vault.
Demo:

Features
- Generate images from the current selection or from a prompt entered in a modal.
- Configurable Replicate model (
<owner>/<name>or<owner>/<name>:<version>). - Free-form JSON input passed as
inputto the chosen model — works with any model that accepts aprompt. - Optional: copy the generated output (URLs) to the clipboard.
- Optional: append the generated output as markdown image embeds to the current note.
⚠️ Images generated via Replicate are only stored on Replicate's servers for one hour. Download anything you want to keep.
Prerequisites
- A Replicate.com account.
- A Replicate API token. Create one at replicate.com/account/api-tokens.
- A configured billing method on Replicate if the model you want to use is paid.
Installation
From the Obsidian community catalog (once available)
- Open Settings → Community plugins → Browse.
- Search for Replicate.
- Select Install, then Enable.
Manual install
- Download
main.js,manifest.json, andstyles.cssfrom the latest GitHub release. - Copy them into
<Vault>/.obsidian/plugins/replicate/. - Reload Obsidian and enable the plugin in Settings → Community plugins.
Usage
Once the plugin is installed, enabled, and configured with your API key:
- Command palette: press
Ctrl/Cmd + P, search for Generate image(s) using Replicate.com, and pressEnter. - Context menu: right-click inside a note and pick the same command.
Behaviour:
- If you have text selected, that selection is used as the prompt.
- If nothing is selected, a modal is shown so you can type a prompt.
Ctrl/Cmd + Enterin the modal submits the prompt.
Configuration
See docs/configuration.md for the full reference.
Quick overview:
- Replicate.com API Key — your API token. Required.
- Copy output to clipboard — copies the generated URL(s) to the clipboard.
- Append output to current note — appends markdown image embeds to the active note.
- Image generation model —
<owner>/<name>or<owner>/<name>:<version>. - Image generation model configuration — JSON passed as the model's
input. The prompt is merged in at call time.
Tips and tricks
See docs/tips.md for common tips, troubleshooting, and pointers for picking model versions.
Contributing
Contributions are welcome. See CONTRIBUTING.md.
License
MIT.
News & support
- Subscribe to my newsletter for updates on this plugin, Obsidian, Personal Knowledge Management, and note-taking. Paid subscribers make this work possible ❤️.
- Buy me a coffee: buymeacoffee.com/dsebastien.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.