mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
508 stars 135 forks source link

How can I use api key in requests #239

Closed fredburtons closed 3 months ago

fredburtons commented 3 months ago

Hi, cant find any documentation about using of an api-key in requests

mrhan1993 commented 3 months ago

--apikey APIKEY Set apikey to enable secure api set request header X-API-KEY to your APIKEY

thiner commented 2 months ago

It's better update the ReadMe to include this header in a sample request. I am confused by this setting as well, have to search issues for answer.