[{"data":1,"prerenderedAt":230},["ShallowReactive",2],{"navigation":3,"\u002Fgetting-started\u002Ffaq":80,"\u002Fgetting-started\u002Ffaq-surround":225},[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":26,"body":82,"description":218,"extension":219,"links":220,"meta":221,"navigation":222,"path":27,"seo":223,"stem":28,"__hash__":224},"docs\u002F1.getting-started\u002F4.faq.md",{"type":83,"value":84,"toc":205},"minimark",[85,90,94,114,134,138,160,164,170,174,177,181,193,197],[86,87,89],"h2",{"id":88},"what-formats-can-helloimg-output","What formats can helloIMG output?",[91,92,93],"p",{},"JPEG, PNG, WebP, and AVIF are supported conversion targets. GIF is accepted\nas an input and output too (including animated GIF → animated WebP through\nthe WordPress plugin).",[86,95,97,98,102,103,102,106,109,110,113],{"id":96},"whats-the-difference-between-normal-aggressive-ultra-and-lossless","What's the difference between ",[99,100,101],"code",{},"normal",", ",[99,104,105],{},"aggressive",[99,107,108],{},"ultra",", and ",[99,111,112],{},"lossless","?",[91,115,116,117,119,120,122,123,125,126,128,129,133],{},"They're compression levels, not formats — you can combine any of them with\nany target format. ",[99,118,101],{}," is a safe default. ",[99,121,105],{}," and ",[99,124,108],{},"\ntrade more compression for smaller files. ",[99,127,112],{}," keeps every pixel\nexactly as it was and only removes redundant data, so the size reduction is\nsmaller but nothing about the image changes. See\n",[130,131,11],"a",{"href":132},"\u002Fgetting-started\u002Fintroduction#optimization-levels"," for the\nfull table.",[86,135,137],{"id":136},"do-i-have-to-poll-for-results","Do I have to poll for results?",[91,139,140,141,144,145,148,149,152,153,156,157,159],{},"No. ",[99,142,143],{},"POST \u002Fv1\u002Foptimize"," waits for the job to finish and returns the result\ndirectly by default. Add ",[99,146,147],{},"?async=true"," if you'd rather get a ",[99,150,151],{},"job_id"," back\nimmediately and poll ",[99,154,155],{},"\u002Fv1\u002Fjobs\u002F{job_id}"," on your own schedule — useful for\nlarge images or when you're processing many at once. See\n",[130,158,21],{"href":22},".",[86,161,163],{"id":162},"does-the-wordpress-plugin-resize-images-too","Does the WordPress plugin resize images too?",[91,165,166,167,159],{},"Yes — LW Image can resize on upload (max width\u002Fheight, never upscaling) in\naddition to converting the format. See\n",[130,168,16],{"href":169},"\u002Fgetting-started\u002Fwordpress-plugin#settings",[86,171,173],{"id":172},"what-happens-to-the-original-file","What happens to the original file?",[91,175,176],{},"The WordPress plugin keeps a backup of the original by default, restorable\nfrom the Media Library, and only replaces the upload if the converted\nversion is actually smaller. If the API call fails for any reason, the\noriginal is left untouched — nothing about an upload fails because of the\nplugin.",[86,178,180],{"id":179},"is-there-a-wordpressorg-listing","Is there a WordPress.org listing?",[91,182,183,184,190,191,159],{},"Not yet — install ",[130,185,189],{"href":186,"rel":187},"https:\u002F\u002Fgithub.com\u002Flwplugins\u002Flw-img",[188],"nofollow","LW Image"," from\nComposer or a GitHub release for now. See\n",[130,192,16],{"href":17},[86,194,196],{"id":195},"what-if-i-need-more-than-optimization","What if I need more than optimization?",[91,198,199,200,202,203,159],{},"AI alt text and SEO metadata generation, and background removal, are\navailable on the higher plans — see ",[130,201,61],{"href":67}," and\n",[130,204,51],{"href":52},{"title":206,"searchDepth":207,"depth":208,"links":209},"",1,2,[210,211,213,214,215,216,217],{"id":88,"depth":208,"text":89},{"id":96,"depth":208,"text":212},"What's the difference between normal, aggressive, ultra, and lossless?",{"id":136,"depth":208,"text":137},{"id":162,"depth":208,"text":163},{"id":172,"depth":208,"text":173},{"id":179,"depth":208,"text":180},{"id":195,"depth":208,"text":196},"Honest answers to the basics — formats, sync vs async, what the plugin changes.","md",null,{},{"icon":29},{"title":26,"description":218},"7LD-0j4bRTe2mARLEVyec3rF41XQHS-l2H3gmTNdSWo",[226,228],{"title":21,"path":22,"stem":23,"description":227,"icon":24,"children":-1},"Optimize an image end to end with curl — upload, then poll until it's done.",{"title":36,"path":37,"stem":38,"description":229,"icon":39,"children":-1},"POST \u002Fv1\u002Foptimize — quality levels, target formats, resize options, and what the response looks like.",1787466466329]