Generates real-life faces of people who do not exist.
This Person Does not Exist API is a free Test Data API that requires no API key, is served over HTTPS and has unconfirmed CORS support.
Details from thispersondoesnotexist.com.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Generate random testimonial data
Free multi-protocol sandbox: REST, GraphQL & SOAP with OAuth2/JWT auth and OpenAPI 3.0 spec
Generate spanish words randomly
The This Person Does not Exist API is provided by This Person Does Not Exist (thispersondoesnotexist.com).
Yes. The This Person Does not Exist API is listed in the Test Data category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
No. The This Person Does not Exist API requires no authentication, so you can start making requests without signing up.
CORS support for the This Person Does not Exist API is unknown. Test a request from the browser, and fall back to a server-side call if it is blocked.
Yes. The This Person Does not Exist API is served over HTTPS, so it's safe to use in production.