POST

Generate a textured 3D asset from a single image (configurable texture size and mesh simplification). Powered by Trellis

/v1/3d/from-image

Powered by Replicate

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/3d/from-image
Content-Type: application/json

{
  "image": "https://tools402.dev/og/og-docs.png",
  "texture_size": 1024,
  "mesh_simplify": 0.5
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Generate a textured 3D asset from a single image (configurable texture size and mesh simplification). Powered by Trellis via Replicate.

Cloud platform to run open-source machine learning models via API.

Request schema

Body: JSON · application/json

FieldTypeDescription
imagestringrequired
texture_sizenumber | number | numberrequired
mesh_simplifynumberrequiredmin: 0
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/3d/from-image \
  -H "Content-Type: application/json" \
  -d '{
  "image": "https://tools402.dev/og/og-docs.png",
  "texture_size": 1024,
  "mesh_simplify": 0.5
}'

402 payment flow omitted — see Integrations for settlement.