3 ms·
Can you get a suggested color palette by API call?
by fgGAMI 10y ago
Can you get a suggested color palette by API call?
- Jack000 10y agosure, you could just use the same API the main website does, it's unauthenticated: curl 'http://colormind.io/api/' --data-binary '{"model":"default"}' curl 'http://colormind.io/api/' --data-binary '{"input":[[44,43,44],[90,83,82],"N","N","N"],"model":"default"}' keep in mind this is hosted on a single Linode 4096, and there's no SLA or anything :] It's handling the HN spike pretty well so far though. also the models are rotated daily (ie. different ones are available each day), with the exception of "default"