Using replicate.com
Add your replicate api key as replicate_api_key
in rails credentials (rails credentials:edit)
Edit the credentials using rails credentials:edit
secret_key_base: <secret_key_base>
replicate_api_key: <api_key>
webhook_host: <webhook_host>
The values are:
replicate_api_key
- your API key from Replicate.comwebhook_host
- the webhook callback URL that Replicate calls when processing is done. I usehttps://subdomain.ngrok.app
in development