OpenRouter-compatible artifact API backed by Gmail replies.
curl -X POST 'http://localhost:8789/v1/images/generations' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"farmrecipes/email-image","prompt":"farm recipe illustration","n":1,"size":"1024x1024","response_format":"b64_json"}'
curl -X POST 'http://localhost:8789/v1/artifacts' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"papersaurus/artifacts","input":"Create a printable farm recipe booklet","output_types":["all"],"response_format":"both"}'
curl -X POST 'http://localhost:8789/api/process' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"message":"Create a printable farm recipe PDF"}'