# MiniChan Code Generation via NVIDIA NIM MiniMax-M3

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

Generates code in a specified programming language from a natural language prompt using NVIDIA NIM's MiniMax-M3 428B MoE model

## Facts

- Endpoint: POST https://minizzzan.vercel.app/api/code-gen
- Price: $0.1/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-generation-via-nvidia-nim-minimax-m3-75344bf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qhwn-8TcfQc4_6hqhPeMD

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-generation-via-nvidia-nim-minimax-m3-75344bf8 -d '<json body>'
```

Example prompt: Write me a Python function that reads a CSV file, computes the average of a specified column, and returns the result — use Python as the target language.

## When to prefer this

Choose this endpoint when you need AI-generated code from a very large MoE model (428B parameters via NVIDIA NIM) and want to pay per-call with USDC on Base via x402; ideal for agents that need on-demand code synthesis without a long-term subscription

## Known failure modes

- Missing required 'prompt' field returns validation error
- Ambiguous or very short prompt may produce incomplete or incorrect code
- Unsupported or misspelled language value may cause generic output
- Network timeout if model inference takes too long
- Payment failure via x402/USDC on Base blocks the request
- Rate limiting if too many requests are made in quick succession

## 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 generated code in the specified programming language, produced by the MiniMax-M3 428B MoE model via NVIDIA NIM infrastructure

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "prompt": {
   "type": "string",
   "description": "What code to generate"
  },
  "language": {
   "type": "string",
   "description": "Target language (Python, JS, etc.)"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minichan-code-generation-via-nvidia-nim-minimax-m3-75344bf8/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)
