# Meshy Resize API

> Meshy Resize scales an existing 3D model to a real-world height or longest side, or estimates the size automatically.

Source: https://www.sandbase.ai/models/meshy/resize
API reference: https://www.sandbase.ai/models/meshy/resize#api

## Facts

- Provider: Meshy
- Type: Image model
- Model ID: `meshy/resize`
- Price: $0.04 per run
- Capabilities: 3d 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": "meshy/resize",
  "auto_size": false,
  "model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
  "origin_at": "bottom"
}'
```

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 Meshy Resize through SandBase?

Create a SandBase API key, then send requests with the model ID "meshy/resize" 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 Meshy account?

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

## README

### Meshy Resize
Meshy Resize scales an existing 3D model to a real-world height or longest side, or estimates the size automatically.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `model_url` | string, required | — | URL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI. |
| `resize_height` | number 0– | — | Target height in meters. Send exactly one of resize_height, resize_longest_side or auto_size. |
| `resize_longest_side` | number 0– | — | Target length of the longest side in meters. |
| `auto_size` | boolean | `false` | Estimate the object's real-world size and scale the model to it. |
| `origin_at` | `bottom` / `center` | `"bottom"` | Where to place the model origin. |
#### Output
- `url`: Resized GLB.
#### Billing
$0.04 per model.
