[{"data":1,"prerenderedAt":300},["ShallowReactive",2],{"navigation":3,"\u002Fgetting-started\u002Fintroduction":80,"\u002Fgetting-started\u002Fintroduction-surround":297},[4,30,60,75],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"WordPress plugin","\u002Fgetting-started\u002Fwordpress-plugin","1.getting-started\u002F2.wordpress-plugin","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"API quickstart","\u002Fgetting-started\u002Fapi-quickstart","1.getting-started\u002F3.api-quickstart","i-lucide-terminal",{"title":26,"path":27,"stem":28,"icon":29},"FAQ","\u002Fgetting-started\u002Ffaq","1.getting-started\u002F4.faq","i-lucide-circle-help",{"title":31,"path":32,"stem":33,"children":34,"page":6},"Reference","\u002Freference","2.reference",[35,40,45,50,55],{"title":36,"path":37,"stem":38,"icon":39},"Optimize API","\u002Freference\u002Foptimize-api","2.reference\u002F1.optimize-api","i-lucide-image",{"title":41,"path":42,"stem":43,"icon":44},"Smart crop","\u002Freference\u002Fsmartcrop","2.reference\u002F2.smartcrop","i-lucide-crop",{"title":46,"path":47,"stem":48,"icon":49},"Job polling","\u002Freference\u002Fjobs","2.reference\u002F3.jobs","i-lucide-list-checks",{"title":51,"path":52,"stem":53,"icon":54},"Plans & limits","\u002Freference\u002Fplans-and-limits","2.reference\u002F4.plans-and-limits","i-lucide-credit-card",{"title":56,"path":57,"stem":58,"icon":59},"Account usage","\u002Freference\u002Faccount","2.reference\u002F5.account","i-lucide-gauge",{"title":61,"path":62,"stem":63,"children":64,"page":6},"AI","\u002Fai","3.ai",[65,70],{"title":66,"path":67,"stem":68,"icon":69},"AI alt text & SEO","\u002Fai\u002Falt-text-and-seo","3.ai\u002F1.alt-text-and-seo","i-lucide-sparkles",{"title":71,"path":72,"stem":73,"icon":74},"AI background removal","\u002Fai\u002Fbackground-removal","3.ai\u002F2.background-removal","i-lucide-scissors",{"title":76,"path":77,"stem":78,"icon":79},"Account API","\u002Faccount-api","4.account-api","i-lucide-key-round",{"id":81,"title":11,"body":82,"description":290,"extension":291,"links":292,"meta":293,"navigation":294,"path":12,"seo":295,"stem":13,"__hash__":296},"docs\u002F1.getting-started\u002F1.introduction.md",{"type":83,"value":84,"toc":282},"minimark",[85,89,128,133,182,186,193,253,259,263],[86,87,88],"p",{},"helloIMG is an image optimization service: send it an image and it comes back\ncompressed, converted to a modern format, and — if you ask — resized or\nsmart-cropped. You can use it three ways:",[90,91,92,109,122],"ul",{},[93,94,95,99,100,104,105,108],"li",{},[96,97,98],"strong",{},"The API directly"," — ",[101,102,103],"code",{},"POST"," an image to ",[101,106,107],{},"api.helloimg.io",", get back a\nsmaller one.",[93,110,111,99,114,121],{},[96,112,113],{},"The WordPress plugin",[115,116,120],"a",{"href":117,"rel":118},"https:\u002F\u002Fgithub.com\u002Flwplugins\u002Flw-img",[119],"nofollow","LW Image","\nconverts every upload to WebP or AVIF automatically, with no code.",[93,123,124,127],{},[96,125,126],{},"AI image tools"," — generate alt text and SEO metadata, or remove a\nbackground, from the same account.",[129,130,132],"h2",{"id":131},"how-it-works","How it works",[134,135,137,142,157,161,168,172],"steps",{"level":136},"3",[138,139,141],"h3",{"id":140},"you-upload-an-image","You upload an image",[86,143,144,145,148,149,152,153,156],{},"An ",[101,146,147],{},"image"," file plus a JSON ",[101,150,151],{},"data"," field describing what you want — a\nquality level, a target format, a resize — go to the optimize endpoint as\n",[101,154,155],{},"multipart\u002Fform-data",".",[138,158,160],{"id":159},"helloimg-processes-it-in-the-background","helloIMG processes it in the background",[86,162,163,164,167],{},"The request returns quickly with a ",[101,165,166],{},"job_id",". Processing — compression,\nformat conversion, resizing — happens asynchronously.",[138,169,171],{"id":170},"you-get-back-a-smaller-image","You get back a smaller image",[86,173,174,175,178,179,181],{},"Poll the job until it's ",[101,176,177],{},"completed"," (or let the request block for you — see\n",[115,180,21],{"href":22},"), and you get a URL to the\noptimized image plus the before\u002Fafter size and the percentage saved.",[129,183,185],{"id":184},"optimization-levels","Optimization levels",[86,187,188,189,192],{},"Every optimize request picks a level, either as a boolean flag or as a\nsingle ",[101,190,191],{},"level"," string:",[194,195,196,209],"table",{},[197,198,199],"thead",{},[200,201,202,206],"tr",{},[203,204,205],"th",{},"Level",[203,207,208],{},"What it means",[210,211,212,223,233,243],"tbody",{},[200,213,214,220],{},[215,216,217],"td",{},[101,218,219],{},"normal",[215,221,222],{},"Default quality — a safe, general-purpose compression.",[200,224,225,230],{},[215,226,227],{},[101,228,229],{},"aggressive",[215,231,232],{},"Higher compression, smaller files, still visually clean.",[200,234,235,240],{},[215,236,237],{},[101,238,239],{},"ultra",[215,241,242],{},"Maximum compression for when file size matters most.",[200,244,245,250],{},[215,246,247],{},[101,248,249],{},"lossless",[215,251,252],{},"No quality loss at all — the file gets smaller, pixels don't change.",[86,254,255,256,258],{},"See ",[115,257,36],{"href":37}," for the exact request shape.",[129,260,262],{"id":261},"where-to-go-next","Where to go next",[264,265,266,272,277],"card-group",{},[267,268,269],"card",{"icon":19,"title":16,"to":17},[86,270,271],{},"Install LW Image and connect it to your account.",[267,273,274],{"icon":24,"title":21,"to":22},[86,275,276],{},"Optimize an image end to end with curl.",[267,278,279],{"icon":54,"title":51,"to":52},[86,280,281],{},"What Free, Unlimited, and Unlimited + AI include.",{"title":283,"searchDepth":284,"depth":285,"links":286},"",1,2,[287,288,289],{"id":131,"depth":285,"text":132},{"id":184,"depth":285,"text":185},{"id":261,"depth":285,"text":262},"What helloIMG does, and how the async optimize flow works at a product level.","md",null,{},{"icon":14},{"title":11,"description":290},"trXgtELsmTo75q-TBWZnbDSuSectqxxYk9gcHfxESFo",[292,298],{"title":16,"path":17,"stem":18,"description":299,"icon":19,"children":-1},"Install LW Image, paste your API key, and every upload gets converted automatically.",1787466465710]