Magic Image-to-3D API

magic/image-to-3d
Magic Image-to-3D is a generative AI model designed to reconstruct high-quality 3D objects from 1 to 4 input images taken from different viewpoints.
Output
$0.5 / gen
Released
Dec 8, 2025

Overview

Magic API seamlessly converts sparse 2D photos into usable 3D models. The system learns to maintain multi-angle coherence, reconstructing surfaces and textures into a single, consistent asset from minimal input.

The model is built to:

  • Drastically cut down on manual modeling labor.
  • Perform reliably with incomplete or imperfect image sets.
  • Deliver a practical balance of fast turnaround, high-quality visuals, and structurally sound geometry.

Input Requirements

  • Number of images: 1–4
  • Mandatory view: Front
  • Optional views: Left, Right, Back
  • Accepted formats: JPG, PNG
  • Recommended resolution: 512×512 or higher
  • Background: Neutral or lightly cluttered (segmentation supported)

Output Formats

  • 3D mesh: OBJ / GLB / FBX
  • Textures: UV-mapped, PBR-ready
  • Coordinate system: Right-handed, normalized scale
  • Topology: Triangulated mesh suitable for downstream optimization

API Pricing

  • $0.65 per generation

Performance Benchmarks

Magic Image-to-3D was evaluated against standard metrics for 3D reconstruction quality:

  • LPIPS (Learned Perceptual Image Patch Similarity): Scores 0.21 on the challenging Google Scanned Objects dataset, indicating high perceptual similarity to ground truth models.
  • Chamfer Distance: Achieves a distance of 0.85 (lower is better), demonstrating accurate geometric reconstruction from sparse views.
  • User Preference Study: In a blind A/B test with creators, 78% preferred the topology and texture coherence of Magic Image-to-3D outputs compared to other single-image methods.

Key Features & Capabilities

  • Minimal Input, Maximum Output: Generate a full 360-degree 3D model from just a single front-facing photo. Additional views dramatically improve quality.
  • High-Resolution Texturing: Automatically generates detailed, plausible textures for all sides of the object, including unseen areas.
  • User-Friendly Workflow: No 3D modeling expertise required. The process is as simple as uploading photos and downloading the model.
  • Production-Ready Outputs: Models are optimized, watertight, and come with PBR-ready materials suitable for game engines, AR/VR, and 3D printing preparation.

Limitations & Ethical Considerations

  • Input Sensitivity: Output quality is directly tied to input image quality (lighting, clarity, background).
  • Geometric Complexity: Highly complex geometry (e.g., dense foliage, intricate chainmail) may be approximated rather than perfectly reconstructed.
  • Intellectual Property: Only generate 3D models from images you own or have explicit rights to. Do not replicate copyrighted designs or artworks.
  • Bias: As with all AI models, outputs may reflect biases present in the training data.

Use Cases

  • E-commerce & Retail: Rapid 3D model creation for product visualization, interactive catalogs, and AR try-on experiences.
  • Game Development: Fast prototyping of assets, creating variants of props, or generating background objects.
  • Digital Archiving & Museums: Creating accessible 3D records of artifacts or items from limited photographic references.
  • 3D Printing & Maker Community: Turning a photo of a cherished item, pet, or custom design into a printable 3D model.
  • AR/VR Content Creation: Quickly populating virtual environments with custom 3D objects.

How It Works: The Magic Pipeline

  1. Image Upload: User provides 1-4 images.
  2. View Synthesis & Geometry Estimation: The model's core neural network predicts the complete 3D geometry and generates consistent, coherent novel views of the object.
  3. Texture Diffusion & Unwrapping: A diffusion model inpaints and generates high-fidelity textures for the entire model, which are then intelligently unwrapped onto a UV map.
  4. Asset Export: The final textured mesh is compiled, optimized, and delivered in standard 3D formats.

Uptime and performance

  • Uptime (7d): 100%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

Convert product photos into rotatable 3D models for Shopify, Amazon, or AR try-on.

Use the model for e-commerce product visualization, where a single product photo can become a 3D asset for a store viewer or ad creative.

Export 3D outputs for social ads, including slow-rotation video clips and A/B testing against static thumbnails.

Create STL files for physical prototyping and internal 3D print review before manufacturing.

How to use Magic Image-to-3D API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to magic/image-to-3d.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/generations",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "magic/image-to-3d",
      "prompt": "A cat holding a sign that says hello"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "magic/image-to-3d",
    "prompt": "A cat holding a sign that says hello"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"magic/image-to-3d","prompt":"A cat holding a sign that says hello"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Magic Image-to-3D API Pricing

TypePrice
Output
$0.5 / gen

Magic Image-to-3D vs other models

ModelInputOutputContextBest for
$0.5 / gen
Image generation at scale
$0.25 / 1M tokens
$60 / 1M tokens
128K tokens
Image generation at scale
$5 / 1M tokens
$30 / 1M tokens
Image generation at scale
$0.25 / gen
Image generation at scale
$0.015 / MP (variable)
Image generation at scale

Frequently asked questions

Magic Image-to-3D takes image, text as input and returns image.

Magic Image-to-3D became available on December 8, 2025.

Magic Image-to-3D is priced at $0.65 / gen.

Magic Image-to-3D is billed per generation — a fixed charge per output rather than by prompt length.

Yes, Magic Image-to-3D accepts image input as well as a text prompt.

Magic Image-to-3D was built by Magic Inc..

Send a request to https://api.aimlapi.com/v1/images/generations with magic/image-to-3d as the model id.

Yes. Magic Image-to-3D is served through AI/ML API, so the same key and endpoint format used for other models applies.

It generates 3D assets from single 2D images, intended for use in game development, VR, and design workflows.

Start building with Magic Image-to-3D

Get API Key
1000+ models, one API.