{"id":537,"date":"2021-11-22T19:15:11","date_gmt":"2021-11-22T19:15:11","guid":{"rendered":"https:\/\/pury.fi\/site\/?page_id=537"},"modified":"2024-03-27T21:23:56","modified_gmt":"2024-03-27T21:23:56","slug":"api","status":"publish","type":"page","link":"https:\/\/pury.fi\/site\/api","title":{"rendered":"API"},"content":{"rendered":"\n<div>Read the <a href=\"https:\/\/pury.fi\/site\/privacy-policy\">Terms of Use<\/a> first before making automated requests!\n\n<br><br>\n\nCreate requests with\n<pre>curl -X POST -F file=@\"infile.jpg\" --output outfile.jpg \"http:\/\/pury.fi\/censor?type=pixel&amp;classes=ftite,fgene,fgenc\"<\/pre>\n\nPossible type values (only one allowed):\n\n<pre>blur\npixel\nblack\n<\/pre>\n\nIf using the &#8216;pixel&#8217; censor type, you can also use the optional\n\n<pre>&amp;pixelsize=40\n<\/pre>\n\nparameter. Otherwise, the pixel size depends on the size of the image.\n<br><br>\nThe short class names, these will be censored, separate them by a comma:\n\n<pre>bellye BELLY_EXPOSED\nbellyc BELLY_COVERED\nbutte BUTTOCKS_EXPOSED\nbuttc BUTTOCKS_COVERED\nftite FEMALE_BREAST_EXPOSED\nftitc FEMALE_BREAST_COVERED\nfgene FEMALE_GENITALIA_EXPOSED\nfgenc FEMALE_GENITALIA_COVERED\nmgenc MALE_GENITALIA_COVERED\nmgene MALE_GENITALIA_EXPOSED\nmtite MALE_BREAST_EXPOSED\nmtitc MALE_BREAST_COVERED\nfface FACE_FEMALE\nmface FACE_MALE\nfeetc FEET_COVERED\nfeete FEET_EXPOSED\napitc ARMPITS_COVERED\napite ARMPITS_EXPOSED\nanusc ANUS_COVERED\nanuse ANUS_EXPOSED\n<\/pre>\n\nAnd optionally\n\n<pre>face FACE\n<\/pre>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read the Terms of Use first before making automated requests! Create requests with curl -X POST -F file=@&#8221;infile.jpg&#8221; &#8211;output outfile.jpg &#8220;http:\/\/pury.fi\/censor?type=pixel&amp;classes=ftite,fgene,fgenc&#8221; Possible type values (only one allowed): blur pixel black If using the &#8216;pixel&#8217; censor type, you can also use the optional &amp;pixelsize=40 parameter. Otherwise, the pixel size depends on the size of the image. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pmpro_default_level":"","footnotes":""},"class_list":["post-537","page","type-page","status-publish","hentry","pmpro-has-access"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/pages\/537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/comments?post=537"}],"version-history":[{"count":27,"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/pages\/537\/revisions"}],"predecessor-version":[{"id":1810,"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/pages\/537\/revisions\/1810"}],"wp:attachment":[{"href":"https:\/\/pury.fi\/site\/wp-json\/wp\/v2\/media?parent=537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}