# MiniChan Code-from-Image (NVIDIA NIM MiniMax-M3)

> MiniChan Code-from-Image (NVIDIA NIM MiniMax-M3) is a paid API for AI agents from minichan.vercel.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-16).

Analyzes an image URL and generates corresponding source code using NVIDIA NIM's MiniMax-M3 428B MoE multimodal model

## Facts

- Endpoint: POST https://minichan.vercel.app/api/code-from-image
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minichan-code-from-image-nvidia-nim-minimax-m3-beb2fca3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rWlV4ivwpakzELNJ8vMX_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minichan-code-from-image-nvidia-nim-minimax-m3-beb2fca3 -d '<json body>'
```

Example prompt: Look at this screenshot of a login form — https://example.com/login-mockup.png — and generate the HTML, CSS, and JavaScript code to build it.

## When to prefer this

Choose this endpoint when you need to convert visual representations — screenshots, wireframes, mockups, diagrams, or whiteboard photos — directly into source code using a powerful 428B parameter multimodal model. Prefer this over generic OCR or simpler vision models when you need actual runnable code output rather than text extraction. Ideal for developers automating UI-to-code workflows or reverse-engineering interfaces from images.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Image content not interpretable as code-related visual returns generic or empty code
- Payment failure via x402/USDC on Base blocks the request
- Model timeout on complex images with large MoE inference
- Unsupported image format or corrupted image URL

## How this service works

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.

## Output

A JSON object containing generated source code derived from analyzing the provided image, likely including code snippets, language identification, and implementation details based on the visual content of the image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "image_url"
 ],
 "properties": {
  "image_url": {
   "type": "string",
   "description": "URL of the image to analyze"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minichan-code-from-image-nvidia-nim-minimax-m3-beb2fca3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minichan.vercel.app](https://www.zero.xyz/host/minichan.vercel.app/llms.txt)
