{"uid":"cap_TxikiVZkylopUnslaxzrr","slug":"minichan-code-from-image-api-67ffa5f1","name":"MiniChan Code-from-Image API","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://app-minichwaan.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":"registry","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_X_1PSjb0_hxexeqcDWCCt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an image and generates working source code that reproduces or implements what is depicted in it","exampleAgentPrompt":"Look at this screenshot of a login form UI at https://example.com/login-mockup.png and generate the HTML, CSS, and JavaScript code to recreate it.","exampleUseCases":[{"title":"Wireframe to frontend code","prompt":"I have a wireframe mockup image at https://mydesigns.io/checkout-wireframe.png — can you write the React and Tailwind CSS code to build that checkout page?"},{"title":"Whiteboard diagram to implementation","prompt":"Here's a photo of a system architecture diagram I drew on the whiteboard: https://photos.example.com/arch-diagram.jpg — can you generate the Python classes and functions that implement it?"},{"title":"Handwritten pseudocode transcription","prompt":"I took a picture of some pseudocode I wrote on paper: https://storage.mysite.com/notes-algorithm.jpg — please turn it into working JavaScript code I can actually run."}],"resultDescription":"Returns generated source code that implements or reproduces what is shown in the provided image, potentially including HTML, CSS, JavaScript, Python, or other languages depending on what the image depicts.","failureModes":["Invalid or inaccessible image URL returns an error","Image content is unclear or ambiguous, leading to incomplete or incorrect code","Unsupported image format may cause parsing failure","Image contains no recognizable code or UI patterns, resulting in a generic or empty response","Payment via USDC on Base fails or is insufficient, blocking the request"],"whenToPreferThis":"Choose this endpoint when you need to convert a visual representation — such as a UI screenshot, wireframe, whiteboard diagram, or photo of handwritten code — directly into executable source code. It is specifically optimized for image-to-code transformation using a powerful 428B multimodal model, making it superior to general-purpose vision APIs for developer-focused tasks.","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}