{"uid":"cap_PLTxSGPCaR1HjwXgyTqwL","slug":"minichan-code-generation-nvidia-nim-minimax-m3-df9614b1","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://minichan.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":"unknown","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_fJ4InTFABf1CnZUaEML1m","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 the MiniMax-M3 428B MoE model via NVIDIA NIM","exampleAgentPrompt":"Generate a Python function that reads a CSV file and returns the rows as a list of dictionaries — use the MiniMax-M3 code gen endpoint.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing generated code in the requested programming language, produced by the MiniMax-M3 428B MoE model via NVIDIA NIM, addressing the provided natural language prompt.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Payment not sent or insufficient USDC on Base causes a 402 Payment Required response","Unsupported or ambiguous language parameter may result in fallback to a default language","Model overload or NVIDIA NIM backend error returns a 500 or 503","Prompt too vague may produce syntactically correct but semantically unhelpful code"],"whenToPreferThis":"Choose this endpoint when you need on-demand AI-generated code from a large-scale MoE model (MiniMax-M3 428B) and can pay per-call in USDC on Base via x402. Prefer this over generic LLM APIs when you want a dedicated code-generation endpoint with a clear per-call pricing model and no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:58.647Z","isFirstParty":false}