npx
or node
commands in your terminal.claude_desktop_config.json
.npx
or node
commands in your terminal.
If you don’t already have Node.js, download it from nodejs.org.
claude_desktop_config.json
file.claude_desktop_config.json
file with the following configuration:
env
section:
RECRAFT_API_KEY
(required)
Your Recraft API key.
IMAGE_STORAGE_DIRECTORY
(optional)
Local directory to store generated images. Defaults to:
RECRAFT_REMOTE_RESULTS_STORAGE="1"
.
RECRAFT_REMOTE_RESULTS_STORAGE
(optional)
Set to "1"
to store all generated images remotely. In this case, only URLs are returned and IMAGE_STORAGE_DIRECTORY
is ignored.