{"uid":"cap_a3T_a-xNoS8psIl_1MgA0","slug":"minichan-code-generation-nvidia-nim-minimax-m3-760e3f82","name":"MiniChan Code Generation — 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://app-minichwaan.vercel.app/api/code-gen","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"What code to generate"},"language":{"type":"string","description":"Target language (Python, JS, etc.)"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vCRyXglXQhPmxxYhdPviS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates code in a specified programming language from a natural language prompt using NVIDIA NIM's MiniMax-M3 428B MoE model, paid per-call via USDC on Base.","exampleAgentPrompt":"Write me a Python function that connects to a PostgreSQL database, queries a users table for all active accounts, and returns the results as a list of dictionaries.","exampleUseCases":[{"title":"Automated boilerplate code scaffolding","prompt":"Generate a JavaScript Express.js server with routes for GET, POST, PUT, and DELETE on a /products endpoint, including basic error handling middleware."},{"title":"Data processing script generation","prompt":"Write a Python script that reads a CSV file, filters rows where the 'status' column equals 'active', and exports the result to a new CSV file called output.csv."},{"title":"Algorithm implementation on demand","prompt":"Can you write a Rust implementation of the merge sort algorithm that works on a vector of integers and includes inline comments explaining each step?"}],"resultDescription":"Returns a JSON object containing the generated code, typically as a string field with the implementation in the requested programming language based on the input prompt.","failureModes":["Missing required 'prompt' field returns a 400-level error","Ambiguous or underspecified prompt may produce incorrect or incomplete code","Unsupported or misspelled language identifier may produce generic output","Payment failure in USDC/x402 protocol results in 402 Payment Required","Model hallucination may produce syntactically incorrect code for complex tasks","Timeout on very long or complex generation requests"],"whenToPreferThis":"Choose this endpoint when you need on-demand code generation backed by a very large MoE model (428B parameters) and want to pay per-call in USDC without a subscription. It is especially suitable for AI agent workflows that require programmatic code synthesis as a step, and where the x402 micropayment protocol is already integrated into the agent stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:02.212Z","isFirstParty":false}