# Lotus (Depth G v2.1) API

> Diffusion-based visual foundation model for dense geometry that predicts depth/normals in a single step from a Stable Diffusion 2 prior.

## Details

- Model id: `hkust-gz/lotus`
- Provider: HKUST(GZ) EnVision Research
- Type: Perception · Depth
- Parameters: ~1.3B
- Output: Single-step diffusion depth (disparity) map
- Embodiments: Any (video), Single arm
- Endpoint: `POST /v1/depth`
- Price: $0.10 per 1,000 calls
- Checkpoint served: `jingheya/lotus-depth-g-v2-1-disparity`
- License: Apache-2.0 (weights card hf.co/jingheya/lotus-depth-g-v2-1-disparity; code github.com/EnVision-Research/Lotus, not used: served by diffusers components and orb_worker's own one-step loop); fine-tuned from stabilityai/stable-diffusion-2-base, CreativeML Open RAIL++-M: commercial use allowed, its use-based restrictions apply to the derivative
- Released: January 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2409.18124

## Call Lotus (Depth G v2.1)

Send one request with your API key to `POST https://api.openrobotics.dev/v1/depth`. The response comes back in the same call. The [API reference](https://www.openrobotics.dev/docs/api/depth) lists every field. GPUs start on demand: after a quiet spell the first call returns `503` with `Retry-After` while one boots (never billed).

Python:

```python
import os, requests

res = requests.post(
  "https://api.openrobotics.dev/v1/depth",
  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},
  json={
    "model": "hkust-gz/lotus",
    "image": "<base64 JPEG or PNG>",
  },
).json()
res["depth"]["data"]    # row-major depth map
```

TypeScript:

```typescript
const res = await fetch("https://api.openrobotics.dev/v1/depth", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "hkust-gz/lotus",
    image: "<base64 JPEG or PNG>",
  }),
}).then((r) => r.json());
```

cURL:

```bash
curl https://api.openrobotics.dev/v1/depth \
  -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"hkust-gz/lotus","image":"<base64 JPEG or PNG>"}'
```

## Guides about Lotus (Depth G v2.1)

- [Depth Anything V2 and 3: relative vs metric depth](https://www.openrobotics.dev/blog/depth-anything.md): Understand Depth Anything V2 and 3, relative versus metric depth, API output units, and a tested offline Python pinhole backprojection example.
- [Physical AI explained: the open model stack for robots](https://www.openrobotics.dev/blog/physical-ai.md): What physical AI (embodied AI) means, the five kinds of models a robot uses, from perception to VLAs and world models, and open examples of each.

## Lotus (Depth G v2.1) FAQ

### How do I run Lotus (Depth G v2.1) without my own GPU?

Call POST /v1/depth on the OpenRobotics API with "model": "hkust-gz/lotus". We run Lotus (Depth G v2.1) on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the Lotus (Depth G v2.1) API cost?

$0.10 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.

### What license does Lotus (Depth G v2.1) use?

The weights we serve (jingheya/lotus-depth-g-v2-1-disparity) are released under Apache-2.0 (weights card hf.co/jingheya/lotus-depth-g-v2-1-disparity; code github.com/EnVision-Research/Lotus, not used: served by diffusers components and orb_worker's own one-step loop); fine-tuned from stabilityai/stable-diffusion-2-base, CreativeML Open RAIL++-M: commercial use allowed, its use-based restrictions apply to the derivative. Check the license for your use case.

### Is Lotus (Depth G v2.1) open source?

Lotus (Depth G v2.1)'s weights are publicly available under Apache-2.0 (weights card hf.co/jingheya/lotus-depth-g-v2-1-disparity; code github.com/EnVision-Research/Lotus, not used: served by diffusers components and orb_worker's own one-step loop); fine-tuned from stabilityai/stable-diffusion-2-base, CreativeML Open RAIL++-M: commercial use allowed, its use-based restrictions apply to the derivative. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [Depth Anything V2](https://www.openrobotics.dev/models/bytedance/depth-anything-v2.md): `bytedance/depth-anything-v2`, $0.10 per 1,000 calls
- [Depth Anything 3](https://www.openrobotics.dev/models/bytedance/depth-anything-3.md): `bytedance/depth-anything-3`, $0.10 per 1,000 calls
- [FoundationStereo](https://www.openrobotics.dev/models/nvidia/foundationstereo.md): `nvidia/foundationstereo`, $0.10 per 1,000 calls
- [MoGe-2](https://www.openrobotics.dev/models/microsoft/moge-2.md): `microsoft/moge-2`, $0.10 per 1,000 calls
- [Prompt Depth Anything](https://www.openrobotics.dev/models/bytedance/prompt-depth-anything.md): `bytedance/prompt-depth-anything`, $0.10 per 1,000 calls
- [Video Depth Anything](https://www.openrobotics.dev/models/bytedance/video-depth-anything.md): `bytedance/video-depth-anything`, $0.10 per 1,000 calls
