{"uid":"cap_JsOwxuiwExRVc5TilCR9y","slug":"md-fastdb-in-chart-image-generator-6b2125ab","name":"md.fastdb.in Chart Image Generator","description":"Turn a plain Chart.js v4 config (type, data, options as JSON) into a PNG chart image — line, bar, pie, doughnut, scatter, radar. No accounts, no watermark; made for agents producing reports, dashboards and social posts. $0.005 per call via x402.","url":"https://md.fastdb.in/shot/chart?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["chart"],"properties":{"chart":{"type":"object","description":"Chart.js v4 config: { type, data, options? } (JSON only, max 512 KB)"},"scale":{"enum":[1,2],"type":"number","description":"Device scale factor, default 2 (crisp)"},"width":{"type":"integer","maximum":1920,"minimum":100,"description":"Chart width px, default 800"},"height":{"type":"integer","maximum":1920,"minimum":100,"description":"Chart height px, default 400"},"response":{"enum":["json","binary"],"type":"string","description":"json (default) wraps base64; binary returns raw PNG bytes"},"transparent":{"type":"boolean","description":"Transparent background instead of white"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"b64":"<base64-encoded image>","bytes":48213,"width":1280,"height":800,"sha256":"9f7d…","tookMs":1450,"contentType":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4dAcCz8s_U5ViixnI1m-H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a Chart.js v4 JSON config into a PNG chart image (line, bar, pie, doughnut, scatter, radar) with no watermark","exampleAgentPrompt":"Can you turn this Chart.js bar chart config into a PNG image — the data is monthly sales figures for Jan–Jun 2024: labels ['Jan','Feb','Mar','Apr','May','Jun'], values [12000,15000,11000,18000,21000,17000]?","exampleUseCases":[{"title":"Weekly report chart generation","prompt":"I need a line chart PNG for my weekly report showing user signups over the last 7 days — the values are [120,135,98,160,175,142,188] for Mon through Sun."},{"title":"Social media pie chart post","prompt":"Create a pie chart image I can post on Twitter showing our Q1 budget breakdown: Product 45%, Marketing 30%, Operations 25%."},{"title":"Dashboard radar chart widget","prompt":"Generate a radar chart PNG from this Chart.js config comparing five product dimensions — Quality, Speed, Price, Support, Features — with scores [85,70,60,90,75] for our product and [70,80,75,65,80] for the competitor."}],"resultDescription":"A PNG image file of the rendered chart, produced from the supplied Chart.js v4 config (type, data, options). No watermark is applied. The image can be embedded directly in reports, dashboards, or social posts.","failureModes":["Invalid or malformed Chart.js JSON config returns an error","Unsupported chart type (outside line, bar, pie, doughnut, scatter, radar) may fail","Missing required chart data fields cause rendering errors","Payment failure (insufficient USDC balance or x402 protocol error) blocks the request","Extremely large datasets may cause timeout or oversized output"],"whenToPreferThis":"Choose this endpoint when you need a clean, watermark-free PNG chart image rendered from a Chart.js v4 config without setting up a charting library or browser environment. It is ideal for AI agents producing automated reports, dashboard screenshots, or social media visuals where a ready-to-embed PNG is required. Prefer it over screenshot-based approaches when you already have structured Chart.js data and want a lightweight, low-cost per-call solution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:14.444Z","isFirstParty":false,"canonicalSlug":"md-fastdb-in-chart-image-generator-6b2125ab"}