[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Meshy 7.1 Text to 3D](https://spiral.ai/integrations/opencode/meshy-7-1-text-to-3d)

# How to Use Meshy 7.1 Text to 3D in opencode

Meshy 7.1 Text to 3D turns written object descriptions into detailed meshes for props, product concepts, and sculptures. Its focus is surface detail built into the geometry, making it useful for assets viewed up close.

|  |  |
| --- | --- |
| Model | Meshy 7.1 Text to 3D |
| Available through | fal |
| Category | 3D |
| Price | `mode`: preview $1.04, otherwise $1.56 per model. `enable_rigging` adds $0.26 per model. `enable_rigging` and `enable_animation` add $0.156 per model. |
| Returns | 3d, image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Meshy 7.1 Text to 3D in opencode

- Read the project's asset brief and use Meshy 7.1 Text to 3D to create one treasure chest: weathered oak body, broad iron bands, square brass lock, stylized fantasy proportions.
- Use Meshy 7.1 Text to 3D to create a carved stone pedestal for the project's artifact viewer: octagonal base, recessed panels, worn edges, realistic limestone. Generate a textured model with PBR maps.
- Check the project's art direction and use Meshy 7.1 Text to 3D to create one ceramic planter: rounded body, wide opening, matte terracotta surface, three thick feet.
- Use Meshy 7.1 Text to 3D to create a creature concept for our bestiary: squat body, broad paws, short horns, overlapping stone plates, stylized proportions. Keep the description focused on this creature.
- Use Meshy 7.1 Text to 3D to create a desk figurine concept from the project's mascot description. Request a solid body, thick connections, and a broad base, then flag the mesh for inspection before printing.

## How to set up Meshy 7.1 Text to 3D in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Meshy 7.1 Text to 3D**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "meshy/v7.1/text-to-3d",
    "input": {
      "prompt": "A rustic, antique wooden treasure chest with a curved, domed lid, constructed from weathered, dark brown planks exhibiting prominent wood grain and subtle…"
    }
  }'
```

Then paste one of the prompts above: opencode finds Meshy 7.1 Text to 3D on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Meshy 7.1 Text to 3D tools and prices

- [Meshy 7.1 Text to 3D](https://spiral.ai/tools/fal/meshy/v7.1/text-to-3d) (fal): `mode`: preview $1.04, otherwise $1.56 per model. `enable_rigging` adds $0.26 per model. `enable_rigging` and `enable_animation` add $0.156 per model.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mode | preview, full | full | Generation mode. 'preview' returns untextured geometry only, 'full' returns textured model (preview + refine). |
| seed |  | — | Seed for reproducible results. Same prompt and seed usually generate the same result. |
| model_type | standard | standard | Type of 3D mesh generation. Only 'standard' is supported; Smart Topology has its own endpoints (/t2.5 and /t2). |
| topology | quad, triangle | triangle | Specify the topology of the generated model. Quad for smooth surfaces, Triangle for detailed geometry. |
| target_polycount | 100 to 300000 | 30000 | Target number of polygons in the generated model. |
| should_remesh |  | true | Whether to enable the remesh phase. When false, returns unprocessed triangular mesh. |

## What can you do with Meshy 7.1 Text to 3D in opencode?

Create 3D props from your project's asset briefs with Meshy 7.1. Have the agent turn each brief into one concrete object description and keep the resulting assets tied to their intended scenes.

### Game prop concepts

Turn a written asset brief into a treasure chest, helmet, or collectible. Generate each prop separately to keep its shape clear.

### Props for close-up renders

Develop carved stone ornaments, embossed shields, or patterned vessels where surface geometry matters in the final shot.

### Creature design studies

Explore the silhouette and surface treatment of a creature as a 3D object. Start with a clear body shape and a few defining features.

### Product appearance concepts

Compare shapes and finishes for a desk lamp, planter, or speaker enclosure before committing to a design direction.

### Sculptures intended for printing

Develop chess pieces, desk figurines, and decorative sculptures with thick features and connected construction. Inspect the mesh before fabrication.

### Individual environment decorations

Create a vase, carved column, or freestanding ornament for a larger scene. Build each object separately before arranging the scene.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Meshy 7.1 Text to 3D in other agents

- [Amp](https://spiral.ai/integrations/amp/meshy-7-1-text-to-3d)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/meshy-7-1-text-to-3d)
- [Claude](https://spiral.ai/integrations/claude-desktop/meshy-7-1-text-to-3d)
- [Claude Code](https://spiral.ai/integrations/claude-code/meshy-7-1-text-to-3d)
- [Cline](https://spiral.ai/integrations/cline/meshy-7-1-text-to-3d)
- [Codex](https://spiral.ai/integrations/codex/meshy-7-1-text-to-3d)
- [Cursor](https://spiral.ai/integrations/cursor/meshy-7-1-text-to-3d)
- [Devin](https://spiral.ai/integrations/devin/meshy-7-1-text-to-3d)
- [dots](https://spiral.ai/integrations/dots/meshy-7-1-text-to-3d)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/meshy-7-1-text-to-3d)
- [Gemini](https://spiral.ai/integrations/gemini/meshy-7-1-text-to-3d)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/meshy-7-1-text-to-3d)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/meshy-7-1-text-to-3d)
- [goose](https://spiral.ai/integrations/goose/meshy-7-1-text-to-3d)
- [Grok](https://spiral.ai/integrations/grok/meshy-7-1-text-to-3d)
- [Grok Build](https://spiral.ai/integrations/grok-build/meshy-7-1-text-to-3d)
- [Hermes](https://spiral.ai/integrations/hermes/meshy-7-1-text-to-3d)
- [Instinct](https://spiral.ai/integrations/instinct/meshy-7-1-text-to-3d)
- [Manus](https://spiral.ai/integrations/manus/meshy-7-1-text-to-3d)
- [Muse](https://spiral.ai/integrations/muse/meshy-7-1-text-to-3d)
- [Muse Code](https://spiral.ai/integrations/muse-code/meshy-7-1-text-to-3d)
- [n8n](https://spiral.ai/integrations/n8n/meshy-7-1-text-to-3d)
- [Notion](https://spiral.ai/integrations/notion/meshy-7-1-text-to-3d)
- [OpenClaw](https://spiral.ai/integrations/openclaw/meshy-7-1-text-to-3d)
- [Perplexity](https://spiral.ai/integrations/perplexity/meshy-7-1-text-to-3d)
- [Raycast](https://spiral.ai/integrations/raycast/meshy-7-1-text-to-3d)
- [VS Code](https://spiral.ai/integrations/vscode/meshy-7-1-text-to-3d)
- [Windsurf](https://spiral.ai/integrations/windsurf/meshy-7-1-text-to-3d)
- [Zapier](https://spiral.ai/integrations/zapier/meshy-7-1-text-to-3d)

## More opencode guides

- [Meshy 7.1 Multi-Image to 3D](https://spiral.ai/integrations/opencode/meshy-7-1-multi-image-to-3d)
- [Anthropic Claude](https://spiral.ai/integrations/opencode/anthropic)
- [Meshy 7.1 Image to 3D](https://spiral.ai/integrations/opencode/meshy-7-1-image-to-3d)
- [AssemblyAI](https://spiral.ai/integrations/opencode/assemblyai)
- [Meshy 6 Preview Text to 3D](https://spiral.ai/integrations/opencode/meshy-6-preview-text-to-3d)
- [Deepgram](https://spiral.ai/integrations/opencode/deepgram)

## Questions about Meshy 7.1 Text to 3D in opencode

**Can opencode use Meshy 7.1 Text to 3D?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Meshy 7.1 Text to 3D like any built-in tool.

**How much does Meshy 7.1 Text to 3D cost in opencode?**

`mode`: preview $1.04, otherwise $1.56 per model. `enable_rigging` adds $0.26 per model. `enable_rigging` and `enable_animation` add $0.156 per model. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Meshy 7.1 Text to 3D in opencode?**

No. Spiral runs Meshy 7.1 Text to 3D on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Meshy 7.1 Text to 3D in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Meshy 7.1 Text to 3D runs?**

Meshy 7.1 Text to 3D runs in the background. opencode starts the run, checks on it and gives you the 3d, image when it's ready.

**What is Meshy 7.1 best suited for?**

Detailed objects that will be viewed up close, such as carved props, creature sculptures, and product concepts. Its emphasis is fine detail built into the mesh.

**Should I describe an entire scene?**

Describe one object at a time. For a room or game environment, generate its props separately and assemble them afterward.

**How should I structure a prompt?**

Name the object, then its material, visual style, and technical requirements. For example: a squat ceramic teapot, matte green glaze, rounded cartoon proportions, thick handle.

**What commonly causes bad geometry?**

Overloaded descriptions and intricate accessories can leave small disconnected pieces. Simplify the object and reduce attachments before trying again.

**Do prompts have to be in English?**

No. Meshy documents support for prompts in any language, with a limit of 800 characters.

