{"uid":"cap_T44ohwu8RZiXA8EYk5RE0","slug":"kihustle-svg-optimizer-b4e563ab","name":"KiHustle SVG Optimizer","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/agents/api/v1/svg-optimizer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"svg_code":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dHCQxwp0rOX_88B4mY7uG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Optimizes and minifies SVG code submitted as a string, returning a processed, cleaner SVG output","exampleAgentPrompt":"Can you optimize this SVG code for me so it's smaller and cleaner for production? Here it is: <svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>...</svg>","exampleUseCases":[{"title":"Minify SVG icons for web","prompt":"I have this SVG icon code that's way too verbose — can you run it through the SVG optimizer and give me back a minified version I can drop into my site? <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2L2 7l10 5 10-5-10-5z'/><path d='M2 17l10 5 10-5'/></svg>"},{"title":"Clean exported SVG from design tool","prompt":"My designer exported this SVG from Figma and it's full of editor metadata and junk attributes. Can you optimize it down to just the essential markup? Here's the raw SVG: <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'...>"},{"title":"Compress SVG logo for email template","prompt":"I need to embed a logo SVG directly in an email template but the raw code is too large. Can you compress and optimize this SVG so it's as small as possible? <svg width='200' height='60' viewBox='0 0 200 60'>...</svg>"}],"resultDescription":"A JSON object with a 'result' field containing the processed/optimized SVG output and a 'status' field indicating success. The returned SVG should be smaller and cleaner than the input.","failureModes":["Invalid or malformed SVG code causes processing failure","Empty svg_code field returns an error","Extremely large SVG inputs may time out or be rejected","Non-SVG string input may return a generic error response","Network or payment (x402) failures prevent the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC) API call to optimize SVG markup programmatically — especially useful in automated pipelines where SVGs are generated or exported from tools like Figma and need to be cleaned before deployment. Prefer it for single SVG string optimization tasks rather than bulk file processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:20.316Z","isFirstParty":false,"canonicalSlug":"kihustle-svg-optimizer-02066b95"}