====== IMGEN ====== ===== Info ===== This api can be used to generate simple pixalated placeholder images. **Base URL:** ''https://api.janpalma.cz/imgen/'' ==== Palates ==== All possible palates for this api. (Will be extended into the future) === Default === {{:imgen:default-palate.png?200|}} ==== Limitations ==== Api is limited to image sizes that can be divided by 50 like 50x50, 100x100 or 150x50 ===== Endpoints ===== ==== /quick/:width/:height/:palate/:text[.png] ==== :ht-get: === Parameters === | '':width'' | //Number// | Width of the image between 50px and 1500px | | '':height'' | //Number// | Height of the image between 50px and 1500px | | '':palate'' | //String// | Palate for the image (look at [[imgen:start#palates|]]) | | '':title'' | //String// | Title to use for generation (''random'' creates random images) | === Response === Image data ---- ==== /quick/:width/:height/:text[.png] ==== :ht-get: Simple version if the quick api without Palate choise. === Parameters === | '':width'' | //Number// | Width of the image between 50px and 1500px | | '':height'' | //Number// | Height of the image between 50px and 1500px | | '':title'' | //String// | Title to use for generation (''random'' creates random images) | === Response === Image data ----