Skip to main content
3D Model Generation

How to Generate 3D Models with AI Using Bitcoin Lightning

Upload a reference image, pay a Lightning invoice, get a GLB file in ~30 seconds. No account, no subscription.

350 sats/modelNo account requiredGLB formatL402 / MCP / OpenClaw

For Humans

Use cases for individuals, creators, and professionals

Game asset prototyping

Generate concept art with AI image generation, then convert it straight to a 3D GLB. Go from a text idea to a usable game asset in two steps — without touching Blender.

3D printing from photos

Turn a photo of any physical object into a printable 3D model. Export as GLB, convert to STL in your slicer, and print. Useful for replacement parts, custom figurines, or reproducing objects you only have as photos.

Product visualization

E-commerce listings with a 360° 3D viewer convert significantly better than flat photos. Upload your product image and get a GLB you can embed in a web viewer — no photography studio, no 3D artist needed.

AR & VR content

GLB is the standard format for WebXR, ARKit, and ARCore. Generate 3D objects for augmented reality overlays or virtual reality scenes directly from reference images — then animate them into video for previews.

Image to 3D

Hunyuan 3D 3.1

350 sats
~$0.35 per model
GLB
Output Format
~30s
Generation Time
10 MB
Max Input Size
3D
Browser Preview

How It Works

1

Upload a reference image

Go to sats4ai.com/image-3d. Upload a PNG, JPEG, or WEBP image of the object you want in 3D (up to 10 MB). Clear subject, neutral background works best.

2

Pay the Lightning invoice

Click Generate. A QR code appears for 350 sats. Scan with any Lightning wallet — Phoenix, Breez, Wallet of Satoshi, or any WebLN-compatible browser wallet.

3

Preview in 3D

Your model generates in ~30 seconds. An interactive viewer lets you rotate, zoom, and inspect from every angle before downloading.

4

Download the GLB file

Import directly into Unity, Unreal Engine, Blender, Three.js, or any slicer software. GLB is the universal 3D exchange format.

For Agents

Use cases for AI agents, automation pipelines, and developers

No API key needed. The 3D model endpoint uses the L402 protocol — pay-per-request via Bitcoin Lightning. Agents send an image, receive a payment request, pay it, and get a GLB back. No accounts, no quotas, no rate-limit negotiations.

Game asset pipelines

Feed concept art images from an image generation step directly into the 3D endpoint. Build automated pipelines that produce full GLB asset libraries from text descriptions without human intervention.

E-commerce catalog automation

Process hundreds of product photos into 3D models programmatically. An agent uploads each product image, pays per model, and stores the resulting GLB for a web viewer — scaling to any catalog size.

AR content generation

Agents building AR experiences can generate 3D objects on demand from user-submitted photos. The pay-per-use model means you only incur cost when a user actually requests a model.

Design iteration loops

Combine image editing and 3D generation in a loop: edit the reference image, regenerate the 3D model, compare. Agents can automate this iteration cycle and present the best result to a human reviewer.

L402 Authentication Flow

1
Send the request without authPOST the image to the endpoint. The server responds with HTTP 402 and a Lightning invoice.
2
Pay the invoiceThe agent pays the 350-sat Lightning invoice using a connected wallet. Payment is confirmed on-chain in milliseconds.
3
Resend with payment proofResend the same request with the payment preimage in the Authorization header. The server returns the generated GLB file.
terminal
# Step 1: Send request (returns 402 + invoice)
curl -X POST https://sats4ai.com/api/l402/generate-3d-model \
  -H "Content-Type: application/json" \
  -d '{"image":"data:image/jpeg;base64,<BASE64_IMAGE>"}'

# Step 2: Pay the Lightning invoice (350 sats)

# Step 3: Resend with payment proof
curl -X POST https://sats4ai.com/api/l402/generate-3d-model \
  -H "Content-Type: application/json" \
  -H "Authorization: L402 <token>:<preimage>" \
  -d '{"image":"data:image/jpeg;base64,<BASE64_IMAGE>"}'

MCP & OpenClaw

GLB Works Everywhere

Unity
Game engine
Unreal Engine
Game engine
Blender
3D editor
Three.js
Web 3D
WebXR / ARKit
AR/VR
3D Printers
via STL convert

Chain with Other Services

3D Model

Generate concept art from a text prompt, then convert it to a 3D asset. Full text-to-3D in two steps.

3D Model

Clean up a reference photo with image editing first — remove background, adjust lighting — for cleaner 3D results.

3D Model

Use vision analysis to evaluate which reference image will produce the best 3D output before spending sats.

3D Model

Export the GLB, render a turntable view as an image, then animate it into a short showcase video.

Generate 3D Models — No Signup Required

350 sats per model. ~30 seconds from upload to downloadable GLB. All you need is a reference image and a Lightning wallet.