{"uid":"cap_CqcEwkNjApL0HJVhJDitH","slug":"stablemesh-text-to-3d-model-generation-0b075c0b","name":"StableMesh Text-to-3D Model Generation","description":"Pay-per-request AI 3D model generation. No API keys, no subscriptions.","url":"https://stablemesh.dev/api/text-to-3d","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"oneOf":[{"type":"object","required":["mode","prompt"],"properties":{"mode":{"type":"string","const":"preview"},"prompt":{"type":"string","maxLength":600,"description":"Description of the 3D object to generate"},"ai_model":{"enum":["meshy-5","meshy-6","latest"],"type":"string","default":"latest"},"topology":{"enum":["quad","triangle"],"type":"string","default":"triangle"},"art_style":{"enum":["realistic","sculpture"],"type":"string"},"auto_size":{"type":"boolean","default":false},"origin_at":{"enum":["bottom","center"],"type":"string"},"pose_mode":{"enum":["a-pose","t-pose",""],"type":"string"},"model_type":{"enum":["standard","lowpoly"],"type":"string","default":"standard"},"moderation":{"type":"boolean","default":false},"should_remesh":{"type":"boolean","default":false},"symmetry_mode":{"enum":["off","auto","on"],"type":"string","default":"auto"},"target_formats":{"type":"array","items":{"enum":["glb","obj","fbx","stl","usdz"],"type":"string"}},"target_polycount":{"type":"integer","default":30000,"maximum":300000,"minimum":100}},"additionalProperties":false},{"type":"object","required":["mode","preview_task_id"],"properties":{"mode":{"type":"string","const":"refine"},"ai_model":{"enum":["meshy-5","meshy-6","latest"],"type":"string","default":"latest"},"auto_size":{"type":"boolean","default":false},"origin_at":{"enum":["bottom","center"],"type":"string"},"enable_pbr":{"type":"boolean","default":false},"moderation":{"type":"boolean","default":false},"target_formats":{"type":"array","items":{"enum":["glb","obj","fbx","stl","usdz"],"type":"string"}},"texture_prompt":{"type":"string","maxLength":600},"preview_task_id":{"type":"string","description":"ID of a SUCCEEDED preview task"},"remove_lighting":{"type":"boolean","default":true},"texture_image_url":{"type":"string"}},"additionalProperties":false}],"$schema":"https://json-schema.org/draft/2020-12/schema"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8eHEyElGP05w0rMEhw5zv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a 3D model from a text prompt using AI, charged at $1 USDC per request with no API key or subscription required","exampleAgentPrompt":"Generate a 3D model of a low-poly wooden treasure chest with iron hinges and a lock — I need a mesh I can use in a game scene.","exampleUseCases":null,"resultDescription":"A JSON response containing the generated 3D model data or a reference to the mesh file produced from the input text prompt","failureModes":["Payment not received or insufficient USDC — request rejected with payment-required error","Ambiguous or overly complex text prompt may yield a low-quality or malformed mesh","Timeout if generation takes too long for complex prompts","Invalid or malformed request body returns a 400 error","Service unavailable or generation pipeline failure returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need on-demand AI-generated 3D models without committing to a subscription or managing API keys — ideal for one-off asset generation, prototyping, or pay-as-you-go workflows where you want to pay $1 USDC per model via the x402 protocol","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:20.455Z","isFirstParty":false}