[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Meshy 6 Preview Text to 3D](https://spiral.ai/integrations/codex/meshy-6-preview-text-to-3d)

# How to Use Meshy 6 Preview Text to 3D in Codex

Meshy 6 Preview Text to 3D turns written concepts into 3D objects for props, characters, and product exploration. Use an untextured preview to judge the shape or a textured result to explore materials.

|  |  |
| --- | --- |
| Model | Meshy 6 Preview Text to 3D |
| Available through | fal |
| Category | 3D |
| Price | $1.56 per model ($1.04 in preview mode). Rigging: $0.26. Rigging with animation: $0.416. |
| Returns | 3d, image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Meshy 6 Preview Text to 3D in Codex

- Read the project's art direction and use Meshy 6 Preview Text to 3D to create one wooden treasure chest with iron bands, a rounded lid, and the project's established style. Keep the object description under 600 characters.
- Use Meshy 6 Preview Text to 3D to create an untextured desk lamp concept for the product viewer in this project: a broad circular base, curved neck, and dome shade. Let me review the proportions.
- Read the character brief and use Meshy 6 Preview Text to 3D to create one stylized blacksmith with a leather apron, broad shoulders, and chunky boots. Focus on the main shapes.
- Use Meshy 6 Preview Text to 3D to create a carved stone golem for this project's prototype. Follow its art direction, keep the description concise, and request the polygon target specified in the asset brief.
- Use Meshy 6 Preview Text to 3D to create a brushed steel helmet with a rounded shell and broad visor for this project's material study. Request a textured result with metallic, roughness, and normal maps.

## How to set up Meshy 6 Preview Text to 3D in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

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

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 6 Preview 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": "fal-ai/meshy/v6-preview/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: Codex finds Meshy 6 Preview Text to 3D on Spiral, shows the price and runs it.

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

## Meshy 6 Preview Text to 3D tools and prices

- [Meshy 6 Preview Text to 3D](https://spiral.ai/tools/fal/fal-ai/meshy/v6-preview/text-to-3d) (fal): $1.56 per model ($1.04 in preview mode). Rigging: $0.26. Rigging with animation: $0.416.

## 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, lowpoly, smart-topology, smart-topology-t2 | standard | Type of 3D mesh generation. 'standard' produces a regular high-detail mesh; 'lowpoly' produces a low-poly mesh optimized for cleaner polygons; 'smart-topology' (Smart Topology T2.5) and 'smart-topology-t2' (Smart Topology T2) produce clean, triangle-only meshes with natively separated parts on the geometry (preview) step — T2.5 has sharper detail, T2 is faster. When set to 'lowpoly', the remesh controls (topology, target_polycount, should_remesh) are ignored by Meshy. |
| 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. When model_type is a smart topology option and this is left unset, that model's default is used instead (15,000 for T2.5, 4,000 for T2); the maximum is 30,000 for T2.5 and 15,000 for T2. |
| should_remesh |  | true | Whether to enable the remesh phase. When false, returns unprocessed triangular mesh. |

## What can you do with Meshy 6 Preview Text to 3D in Codex?

Turn a project's written asset requirements into 3D object concepts with Meshy 6 Preview. Use the project's visual style and geometry budget to guide each description, then review the resulting shape.

### Game prop concepts

Generate a treasure chest, helmet, or lantern as a separate object. Judge its silhouette before developing the rest of the scene.

### Character design exploration

Turn a character description into a 3D concept with a clear outfit, body shape, and art style.

### Creature concepts

Explore a stone golem or other creature using a few defining features and a concrete surface material.

### Product form studies

Explore the shape of a desk lamp, planter, or decorative container from a written brief. Start with geometry to compare proportions.

### Figurine concepts

Describe a single stylized figure with rounded shapes, exaggerated proportions, and a specified surface finish.

### Material direction studies

Generate separate object concepts in weathered wood, brushed steel, or carved stone to compare surface directions.

## Overview

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

## Meshy 6 Preview Text to 3D in other agents

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

## More Codex guides

- [Meshy 6 Preview Image to 3D](https://spiral.ai/integrations/codex/meshy-6-preview-image-to-3d)
- [Meshy 7.1 Image to 3D](https://spiral.ai/integrations/codex/meshy-7-1-image-to-3d)
- [TikHub](https://spiral.ai/integrations/codex/tikhub)
- [Meshy 7.1 Multi-Image to 3D](https://spiral.ai/integrations/codex/meshy-7-1-multi-image-to-3d)
- [ScrapeCreators](https://spiral.ai/integrations/codex/scrapecreators)
- [Meshy 7.1 Text to 3D](https://spiral.ai/integrations/codex/meshy-7-1-text-to-3d)

## Questions about Meshy 6 Preview Text to 3D in Codex

**Can Codex use Meshy 6 Preview Text to 3D?**

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

**How much does Meshy 6 Preview Text to 3D cost in Codex?**

$1.56 per model ($1.04 in preview mode). Rigging: $0.26. Rigging with animation: $0.416. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need a fal account to use Meshy 6 Preview Text to 3D in Codex?**

No. Spiral runs Meshy 6 Preview 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 6 Preview Text to 3D in Codex?**

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

**Does Codex wait while Meshy 6 Preview Text to 3D runs?**

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

**What is Meshy 6 Preview Text to 3D useful for?**

Use it to turn a written object concept into a 3D model. Start with one prop, character, or product concept per generation, then assemble larger scenes separately.

**How should I write a prompt?**

Lead with the object, then describe its material, style, and structural requirements. Keep the object description within 600 characters and focus on three to six defining details.

**What details should I avoid?**

Avoid full scenes, individual strands of hair, and effects such as smoke or glitter. Describe concrete shapes and surfaces instead.

**Should I check geometry before adding textures?**

Yes. An untextured preview makes it easier to judge the silhouette and proportions before evaluating surface appearance.

**What do PBR maps add?**

PBR output adds metallic, roughness, and normal maps alongside base color. Request them when you need those material maps for the next stage of your 3D workflow.

