{"uid":"cap_zwQQ45-DcjE-mlt_M4e1F","slug":"minichan-code-from-image-nvidia-nim-minimax-m3-1b7bbfc2","name":"MiniChan Code-from-Image (NVIDIA NIM MiniMax-M3)","description":"NVIDIA NIM MiniMax-M3 (428B MoE) powered API for AI agents. 15 multimodal endpoints — text, vision, code, reasoning, creative. Pay with USDC on Base via x402.","url":"https://minizzzan.vercel.app/api/code-from-image","method":"POST","headers":{},"bodySchema":{"type":"object","required":["image_url"],"properties":{"image_url":{"type":"string","description":"URL of the image to analyze"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YAmnFuEnTTqeNzRqaEoKO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an image and generates working source code based on its visual content, powered by NVIDIA NIM MiniMax-M3 (428B MoE).","exampleAgentPrompt":"Look at this screenshot at https://example.com/my-ui-design.png and generate the HTML and CSS code that recreates it.","exampleUseCases":[{"title":"Convert wireframe sketch to React component","prompt":"I have a photo of a wireframe I sketched on paper. Can you look at it and generate the React JSX code for that layout?"},{"title":"Turn whiteboard diagram into Python implementation","prompt":"I took a picture of a flowchart I drew on the whiteboard. Generate Python code that implements the logic shown in that diagram."},{"title":"Extract code from design mockup image","prompt":"Here's a screenshot of a design mockup from Figma. Can you analyze it and write the HTML and CSS that would match that design?"}],"resultDescription":"Returns a JSON object containing the AI-generated source code derived from the submitted image, typically including an implementation that visually or functionally recreates what is depicted in the image (e.g. HTML/CSS, Python, React, or other language appropriate to the image context).","failureModes":["Invalid or inaccessible image URL returns an error","Image cannot be parsed or is too low resolution for code generation","Model hallucinates or produces incorrect code not matching the image","Payment of 0.2 USDC not completed — request rejected","Ambiguous image with no clear code-generatable content yields generic or empty output","Rate limiting or NVIDIA NIM upstream timeout"],"whenToPreferThis":"Choose this endpoint when you need to convert a visual artifact — screenshot, wireframe, diagram, or mockup — directly into source code using a high-capacity multimodal model (428B MoE). Prefer it over general-purpose vision APIs when code output is the primary goal, and when you can pay per-call in USDC on Base via the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:34:04.989Z","isFirstParty":false}