# ReconViaGen 0.5 API

> ReconViaGen 0.5 reconstructs a textured 3D model (GLB with PBR materials) from one or more views of the same object; more views give a more accurate result.

Source: https://www.sandbase.ai/models/reconviagen/reconviagen-0.5
API reference: https://www.sandbase.ai/models/reconviagen/reconviagen-0.5#api

## Facts

- Provider: reconviagen
- Type: Image model
- Model ID: `reconviagen/reconviagen-0.5`
- Price: From $0.30 per run
- Capabilities: image to 3d
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "reconviagen/reconviagen-0.5",
  "images": [
    "https://storage.googleapis.com/falserverless/model_tests/video_models/front.png",
    "https://storage.googleapis.com/falserverless/model_tests/video_models/back.png",
    "https://storage.googleapis.com/falserverless/model_tests/video_models/left.png"
  ],
  "resolution": 1024,
  "texture_size": 2048,
  "decimation_target": 500000
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ReconViaGen 0.5 through SandBase?

Create a SandBase API key, then send requests with the model ID "reconviagen/reconviagen-0.5" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate reconviagen account?

No. One SandBase API key and balance gives you access to ReconViaGen 0.5 and the other models in the catalog; you do not need to sign up with reconviagen separately.

## README

### ReconViaGen 0.5
ReconViaGen 0.5 reconstructs a textured 3D model (GLB with PBR materials) from one or more views of the same object; more views give a more accurate result.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `images` | image URLs (1–16), required | — | 1 to 16 views of the same object. |
| `resolution` | `512` / `1024` / `1536` | `1024` | Generation resolution. Higher is slower and more detailed, and changes the price. |
| `texture_size` | `1024` / `2048` / `4096` | `2048` | Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files. |
| `decimation_target` | integer 5000–2000000 | `500000` | Target number of vertices in the final mesh. Lower values give smaller files; 20k-50k suits web and mobile. |
| `seed` | integer | — | Random seed for reproducible results. |
#### Output
- `url`: Main 3D file (GLB unless another export format is selected).
#### Billing
$0.30 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| resolution = 512 | $0.25 |
| resolution = 1024 | $0.30 |
| resolution = 1536 | $0.35 |
Failed runs are not charged.
