# Meshy 7 Text to 3D API

> Meshy 7 generates a 3D model from a text prompt, either as an untextured preview mesh or fully textured, with optional 2K geometry, rigging and animation.

Source: https://www.sandbase.ai/models/meshy/7.0/text-to-3d
API reference: https://www.sandbase.ai/models/meshy/7.0/text-to-3d#api

## Facts

- Provider: Meshy
- Type: Image model
- Model ID: `meshy/7.0/text-to-3d`
- Price: From $1.20 per run
- Capabilities: text 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/7.0/text-to-3d",
  "prompt": "A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle distress. It'"'"'s heavily reinforced with broad, dark grey, oxidized metal bands secured by numerous circular rivets. Ornate, dark iron decorative elements featuring swirling foliate patterns and dragon motifs adorn the corners and lid. A prominent, circular, intricately carved metal lock plate with a central keyhole dominates the front, flanked by two large, dark metallic pull rings.",
  "topology": "triangle",
  "enable_pbr": false,
  "symmetry_mode": "auto",
  "enable_rigging": false,
  "generation_mode": "full",
  "enable_animation": false,
  "target_polycount": 30000,
  "animation_action_id": 92,
  "geometry_resolution": "standard"
}'
```

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 7 Text to 3D through SandBase?

Create a SandBase API key, then send requests with the model ID "meshy/7.0/text-to-3d" 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 7 Text to 3D and the other models in the catalog; you do not need to sign up with Meshy separately.

## README

### Meshy 7 Text to 3D
Meshy 7 generates a 3D model from a text prompt, either as an untextured preview mesh or fully textured, with optional 2K geometry, rigging and animation.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Describe the object to generate. Maximum 600 characters. |
| `generation_mode` | `preview` / `full` | `full` | 'preview' returns the untextured mesh only; 'full' also textures it. |
| `seed` | integer | — | Seed for reproducible geometry. |
| `symmetry_mode` | `off` / `auto` / `on` | `auto` | Symmetry enforcement: off, auto or on. |
| `topology` | `quad` / `triangle` | `triangle` | quad for smooth surfaces, triangle for detail. |
| `geometry_resolution` | `standard` / `2k` | `standard` | Geometry resolution. 2k gives finer geometry at a higher price. |
| `target_polycount` | integer 100–300000 | `30000` | Target polygon count (100–300,000). |
| `pose_mode` | `a-pose` / `t-pose` / `` | `""` | Generate the character in an A-pose or T-pose; empty for no specific pose. |
| `enable_pbr` | boolean | `false` | Generate PBR maps (metallic, roughness, normal) in addition to base color. |
| `texture_prompt` | string | — | Text prompt to guide texturing. Maximum 800 characters. |
| `texture_image` | image URL | — | Image URL to guide texturing. |
| `enable_rigging` | boolean | `false` | Rig the model as a humanoid character. The rigged GLB is returned as rigged_glb. |
| `enable_animation` | boolean | `false` | Apply an animation preset to the rigged character (billed together with rigging). The animated GLB is returned as animation_glb. |
| `animation_action_id` | integer 0–696 | `92` | Animation preset ID from Meshy's animation library (0 is Idle). Only used when animation is enabled. |
#### Output
- `url`: Main 3D file (GLB unless another export format is selected).
- `thumbnail`: Preview image rendered by the provider.
- `rigged_glb`: Additional file returned by the provider.
- `animation_glb`: Additional file returned by the provider.
#### Billing
$1.20 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| enable_animation on | $1.52 |
| enable_animation off | $1.20 |
| enable_rigging on | $1.40 |
| enable_rigging off | $1.20 |
| generation_mode = preview | $0.80 |
| generation_mode = full | $1.20 |
| geometry_resolution = standard | $1.20 |
| geometry_resolution = 2k | $1.40 |
Failed runs are not charged.
#### Also on SandBase
Other Meshy 3D endpoints: `meshy/6.0-lite/retexture`, `meshy/6.0/retexture`, `meshy/7.0/image-to-3d`, `meshy/7.0/multi-image-to-3d`.
