🔮 Conjurer

A demo app that lets you create images using the Replicate Elixir client.

replicate-hex-demo.mp4

To run Conjurer:

  • Run mix setup to install and setup dependencies
  • Copy the .env.example file and make a new one called .env. Add your Replicate token and ngrok host.
  • Add the Replicate config to your config.exs:
config :replicate,
replicate_api_token: System.fetch_env!("REPLICATE_API_TOKEN")
  • Make sure your env variables are saved with source .env
  • Start the endpoint with mix phx.server

Now you can visit localhost:4000/pattern-1 from your browser.

Learn more