Making requests
You can paste the command below into your terminal to run your first API request. Make sure to replace $AI_EMPLOYEE_KEY with your secret API key. If you are using a legacy user key and have multiple projects, you will also need to specify the Project Id. For improved security, we recommend transitioning to project-based keys instead.
curl -X POST \
https://ai-employee.work/api.php \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AI_EMPLOYEE_KEY" \
-d '{
"image": "'$(base64 -w 0 path_to_image.jpg)'",
"text": "This is the text you want to send with the image"
}'