NEW3DAPIFLUX April 24, 2026 · 5 min read

Turn Any Photo Into a 3D Model — $0.010 Each

We just shipped text-to-3D and image-to-3D on PixelAPI. Upload a photo or write a sentence — get a textured GLB file in 75 seconds. No Blender. No subscriptions. Just an API call.

"We needed 3D product spins for 200 items. Did it in an afternoon with the PixelAPI 3D API. Cost us $2 total."

What It Does

The 3D Generator takes either a text prompt or an image and produces a fully textured 3D model in GLB format — the industry-standard file type that works with Blender, Unity, Unreal Engine, Three.js, and any web browser.

✏️→🧊

Text-to-3D

Type "a ceramic blue vase on a wooden table" and get a real 3D model. AI generates the image first (FLUX.1-schnell, 10 steps), then extracts the 3D mesh (TripoSR). Works for any object you can describe.

🖼️→🧊

Image-to-3D

Upload a product photo, a sketch, or any image. The AI estimates depth, extracts geometry, and generates a textured mesh. Upload once, get a 3D model you can rotate and export.

How It Works

Two-step pipeline under the hood:

  1. FLUX.1-schnell (10 steps, ~7 seconds) — Generates a clean, well-lit 1024px image from your prompt. Good lighting = better mesh extraction.
  2. TripoSR (stabilityai/TripoSR) — Takes the image, estimates depth, runs TSMR (transformer-based mesh reconstruction), and outputs a GLB with embedded color texture.

Total time: 65-90 seconds. VRAM usage peaks at ~12GB (FLUX needs ~7GB, TripoSR needs ~2GB).

⚡ Speed note: If you request 256-res (100K+ vertex mode), it takes longer because TripoSR's Marching Cubes runs at higher resolution. 128-res is the sweet spot — fast enough for real-time, detailed enough for thumbnails and social.

Pricing

We built this to be accessible. Here's what you get:

Operation Credits USD Vertices (approx) Time
Image-to-3D (128-res) 10 credits $0.010 ~15-25K ~60s
Text-to-3D (128-res) 15 credits $0.015 ~15-25K ~75s
High Quality (256-res) 25 credits $0.025 ~100-120K ~120s

For reference: Meshy.ai charges $0.05-0.15 per model. Our 128-res model is 5-15x cheaper and runs on our own GPU infrastructure — no third-party markups.

API Reference

Text-to-3D

curl -X POST https://api.pixelapi.dev/v1/3d/text-generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "prompt=a ceramic blue vase on wooden table, studio lighting" \
  -F "resolution=128"

# Response:
# {"job_id":"abc123","status":"queued","estimated_seconds":75,"credits_used":15}

# Poll for completion:
# GET https://api.pixelapi.dev/v1/3d/text-status/{job_id}
# {"job_id":"abc123","status":"completed","output_url":"https://api.pixelapi.dev/outputs/files/text3d/...model.glb"}

Image-to-3D

curl -X POST https://api.pixelapi.dev/v1/3d/image-generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@product_photo.png" \
  -F "resolution=128"

Output Format

Every generation returns two URLs:

The GLB uses glTF 2.0 binary format with embedded color texture. No external texture files to manage — the color map is baked into the mesh itself.

Use Cases We've Seen

Supported Tools

The output GLB opens natively in:

Limits & Things to Know

Get Started

Sign up at pixelapi.dev, get your API key, and make your first call. Free tier includes 100 credits — enough for ~7 text-to-3D generations.

Try it: Live demo · Dashboard · API docs