---
id: "zero-1-to-3"
title: "Zero-1-to-3"
aliases: [Zero123]
domain: "genai"
stage: "generation"
realtime: "interactive"
platforms: [cuda, python]
year_introduced: 2023
inputs: [ldr-image, camera-poses]
outputs: [ldr-image]
style: "both"
dynamic: "static"
cost: "offline"
authority: "Liu et al., 2023"
url: "https://texelatlas.vercel.app/t/zero-1-to-3/"
sources_verified_at: "2026-11-29"
---
# Zero-1-to-3 (Liu et al., 2023)

> Fine-tunes a large image diffusion model to render an object from a new camera pose given one photo and the relative rotation, giving a 3D-aware prior for single-image reconstruction.

## Reach for it when

- see an object from new angles given one image
- single photo to novel viewpoint synthesis
- need multi-view images for a 3d reconstruction from one view
- generate rotated views with camera control

## How it works

A pretrained latent diffusion model is fine-tuned on renders of a large synthetic object collection. Its conditioning is the input view plus a relative camera transform (change in polar angle, azimuth, radius), so at inference you ask for "the same object seen from 40 degrees to the left" and receive an image. A single call gives one novel view; to get 3D you either feed the model into a score-distillation loop (optimising a NeRF or SDF so every render agrees with the view-conditioned prior) or run it repeatedly for a ring of cameras and fit a reconstruction. The key idea is that geometry knowledge hidden in web-scale 2D models can be unlocked by explicit camera conditioning.

## When to use it

Choose it as a view-conditioned prior when you have exactly one object image and want either a few extra views or an SDS gradient. Prefer [InstantMesh](https://texelatlas.vercel.app/t/instantmesh.md) or [TripoSR](https://texelatlas.vercel.app/t/triposr.md) when you want a mesh in seconds without per-asset optimisation, and [Score Distillation Sampling (DreamFusion)](https://texelatlas.vercel.app/t/score-distillation-sampling.md) with a text prompt when no image exists.

## Cost

offline — One diffusion sampling pass per view; full image-to-3D via distillation takes many minutes on a single GPU.
Measured GPU Weight: 16.16× baseline (moderate) — 0.5318 ms median / 0.5811 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 15.15× baseline (moderate) — 0.2409 ms median (2.21× faster on L4).
Ampere A100 scaling: 10.39× baseline (moderate) — 0.2992 ms median (1.78× faster on A100).

## Failure modes

- Views generated independently are not guaranteed multi-view consistent, so fused geometry has seams or flat, blobby shapes
- Backs of objects are hallucinated and often generic
- Weak on non-centred, cluttered or heavily foreshortened inputs because training renders are centred objects
- Identity drift in fine texture and text between views

## Dataflow

- Inputs: ldr-image, camera-poses
- Outputs: ldr-image
- Platforms: cuda, python

## Presets

### Zero-1-to-3 — canonical input view (left) vs pose-conditioned novel view (R,T) synthesis (right) (glsl-fragment; rendered 2026-11-30)

```json
{
  "P_AZIMUTH": 1.15,
  "P_ELEVATION": 0.35,
  "P_ORBIT_AUTO": 0.55,
  "P_SPLIT": 0.46
}
```

```glsl
const float P_AZIMUTH = 1.15; // P Delta Azimuth [0.0, 6.28, 0.05]
const float P_ELEVATION = 0.35; // P Delta Elev [-0.6, 0.9, 0.03]
const float P_ORBIT_AUTO = 0.55; // P Auto Orbit [0.0, 2.0, 0.05]
const float P_SPLIT = 0.46; // P Input / Novel View [0.0, 1.0, 0.02]

mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }

float sdBox(vec3 p, vec3 b) {
  vec3 q = abs(p) - b;
  return length(max(q, 0.0)) + min(max(q.x, max(q.y, q.z)), 0.0);
}

// Asymmetric multi-colored 3D totem/camera-target so novel pose parallax is unmistakably clear!
vec2 mapTotem(vec3 p) {
  vec2 res = vec2(length(p - vec3(0.0, -0.05, 0.0)) - 0.44, 1.0); // main body
  float nose = sdBox(p - vec3(0.0, 0.02, 0.40), vec3(0.14, 0.12, 0.20)) - 0.03; // front lens/beak
  if (nose < res.x) res = vec2(nose, 2.0);
  float wingL = sdBox(p - vec3(-0.46, 0.0, -0.05), vec3(0.14, 0.28, 0.16)) - 0.03; // left cyan fin
  if (wingL < res.x) res = vec2(wingL, 3.0);
  float wingR = sdBox(p - vec3(0.46, 0.0, -0.05), vec3(0.14, 0.28, 0.16)) - 0.03; // right amber fin
  if (wingR < res.x) res = vec2(wingR, 4.0);
  float crown = length(vec2(length(p.xz) - 0.28, p.y - 0.42)) - 0.09; // top gold ring
  if (crown < res.x) res = vec2(crown, 5.0);
  return res;
}

vec3 calcNormal(vec3 p) {
  vec2 e = vec2(0.0025, 0.0);
  return normalize(vec3(
    mapTotem(p + e.xyy).x - mapTotem(p - e.xyy).x,
    mapTotem(p + e.yxy).x - mapTotem(p - e.yxy).x,
    mapTotem(p + e.yyx).x - mapTotem(p - e.yyx).x
  ));
}

vec3 renderView(vec2 uv, float az, float el) {
  vec3 ro = vec3(0.0, 0.0, 2.35);
  vec3 rd = normalize(vec3(uv, -1.55));
  ro.yz = rot2(el) * ro.yz;
  rd.yz = rot2(el) * rd.yz;
  ro.xz = rot2(az) * ro.xz;
  rd.xz = rot2(az) * rd.xz;

  vec3 bg = mix(vec3(0.032, 0.038, 0.062), vec3(0.075, 0.092, 0.142), smoothstep(-0.55, 0.55, uv.y));
  // Subtle equatorial pose-conditioning coordinate ring on y = -0.58
  if (rd.y < -0.02) {
    float tPl = (-0.58 - ro.y) / rd.y;
    if (tPl > 0.1 && tPl < 6.0) {
      vec3 hp = ro + rd * tPl;
      float r = length(hp.xz);
      float ring = exp(-abs(r - 0.82) * 36.0);
      float tick = smoothstep(0.06, 0.015, abs(sin(atan(hp.z, hp.x) * 6.0))) * smoothstep(0.10, 0.02, abs(r - 0.82));
      bg += vec3(0.24, 0.72, 0.96) * (ring * 0.45 + tick * 0.40);
    }
  }

  float t = 0.0;
  vec2 hit = vec2(1e5, 0.0);
  for (int i = 0; i < 52; i++) {
    vec2 h = mapTotem(ro + rd * t);
    if (h.x < 0.0025) { hit = vec2(t, h.y); break; }
    t += h.x;
    if (t > 5.0) break;
  }

  if (hit.x < 1e4) {
    vec3 p = ro + rd * hit.x;
    vec3 n = calcNormal(p);
    vec3 l1 = normalize(vec3(0.55, 0.82, 0.50));
    vec3 l2 = normalize(vec3(-0.65, 0.15, -0.55));
    float diff1 = max(dot(n, l1), 0.0);
    float diff2 = max(dot(n, l2), 0.0);
    float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 38.0);
    float fres = pow(1.0 - max(dot(n, -rd), 0.0), 3.0);

    vec3 alb = vec3(0.84, 0.86, 0.92);
    if (hit.y > 1.5 && hit.y < 2.5) alb = vec3(0.95, 0.28, 0.34);
    else if (hit.y > 2.5 && hit.y < 3.5) alb = vec3(0.14, 0.78, 0.94);
    else if (hit.y > 3.5 && hit.y < 4.5) alb = vec3(0.98, 0.62, 0.16);
    else if (hit.y > 4.5) alb = vec3(0.96, 0.84, 0.28);

    return alb * (0.28 + 0.82 * diff1 + 0.26 * diff2)
         + vec3(1.0) * spec * 0.45
         + vec3(0.32, 0.72, 1.0) * fres * 0.32;
  }
  return bg;
}

vec3 aces(vec3 x) {
  x = max(x, 0.0);
  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
  float screenX = fragCoord.x / max(iResolution.x, 1.0);
  float split = clamp(P_SPLIT, 0.0, 1.0);
  float az = P_AZIMUTH + iTime * max(P_ORBIT_AUTO, 0.0) * 0.65;
  float el = clamp(P_ELEVATION, -0.7, 0.95);

  vec3 col;
  if (screenX < split) {
    // Left: Fixed single canonical input view (az=0, el=0.12)
    vec2 uvL = uv + vec2(0.24, 0.0);
    col = renderView(uvL, 0.0, 0.12);
  } else {
    // Right: Pose-conditioned novel view synthesized at (R(az, el), T)
    vec2 uvR = uv - vec2(0.24, 0.0);
    col = renderView(uvR, az, el);
  }

  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
  col = mix(col, vec3(0.95, 0.97, 1.0), sep);

  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}
```

Attribution: MIT — written for this index.

## Sources

1. [primary] Ruoshi Liu, Rundi Wu, Basile Van Hoorick, Pavel Tokmakov, Sergey Zakharov, Carl Vondrick (2023) Zero-1-to-3: Zero-shot One Image to 3D Object. arXiv preprint (cs.CV). https://arxiv.org/abs/2303.11328 (verified via arxiv on 2026-11-29)
2. [primary] Ruoshi Liu, Rundi Wu, Basile Van Hoorick, Pavel Tokmakov, Sergey Zakharov, Carl Vondrick (2023) Zero-1-to-3: Zero-shot One Image to 3D Object. 2023 IEEE/CVF International Conference on Computer Vision (ICCV). https://doi.org/10.1109/iccv51070.2023.00853 (verified via crossref on 2026-11-29)
3. [implementation] cvlab-columbia (2023) cvlab-columbia/zero123. https://github.com/cvlab-columbia/zero123 License: MIT. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Zero-1-to-3." https://texelatlas.vercel.app/t/zero-1-to-3/ (accessed 2026-12-01).
