API

Use the 3D AI Studio REST API to generate 3D models, images, textures, and more from your own code. Python, JavaScript, and cURL examples.

Updated September 2026

3D AI Studio has a REST API that lets you generate 3D models, images, textures, and process meshes from your own code. Use it to build automated pipelines, integrate 3D generation into your app, or batch-process assets.

What You Can Do

EndpointWhat it does
3D Generation (Prism)Text to 3D and Image to 3D with Prism models
3D Generation (Hunyuan)Text to 3D and Image to 3D with Hunyuan 3.0 and 3.5
3D Generation (Trellis 2)Image to 3D with Trellis 2
3D Generation (Hitem3D)Image to 3D and Multiview to 3D (front, back, left, right views) with Hitem3D 3.0
Image GenerationGenerate and edit images with Gemini, Flux, and more
TexturingAI texture generation for 3D models
Mesh ToolsRemesh, format conversion, topology optimization
3D PrintingPrepare models for 3D printing

All endpoints return async results. You submit a job, get a task ID, and poll for completion.

Getting Started

  1. Go to the API Dashboard and continue with your 3D AI Studio account (two-factor authentication required — set it up in Settings → Passkeys & 2FA)
  2. Generate an API key
  3. Use the key in your requests as a Bearer token
  4. Check the full API documentation for endpoints, parameters, and code examples

Quick Example

# Generate a 3D model from text
curl -X POST https://api.3daistudio.com/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a medieval treasure chest", "model": "prism-3.1"}'

For full request/response schemas, authentication details, webhook setup, and code samples in Python, JavaScript, and cURL, see the complete documentation on the main site.

Full Documentation

The complete API reference with all endpoints, parameters, code examples, and interactive testing lives on the main 3D AI Studio platform:

Open API Documentation

Open API Dashboard (manage keys, credits, billing)

API Credits

API calls use the same credit system as the web app. The cost per call depends on the endpoint and settings. Credit costs are documented per endpoint in the API docs.

Frequently Asked Questions

On this page