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

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

Analyzes an image and generates working source code based on its visual content, powered by NVIDIA NIM MiniMax-M3 (428B MoE).

## Facts

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

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-1b7bbfc2 -d '<json body>'
```

Example prompt: Look at this screenshot at https://example.com/my-ui-design.png and generate the HTML and CSS code that recreates it.

## When to prefer this

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.

## Known failure modes

- 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

## 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

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).

## 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-1b7bbfc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minizzzan.vercel.app](https://www.zero.xyz/host/minizzzan.vercel.app/llms.txt)
