[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [MiniMax H3 Image Highspeed Text to Image](https://spiral.ai/integrations/opencode/minimax-h3-image-highspeed-text-to-image)

# How to Use MiniMax H3 Image Highspeed Text to Image in opencode

MiniMax H3 Image Highspeed Text to Image creates photographic scenes, illustrations, and concept art from written briefs. Unlike MiniMax H3 Image Highspeed Edit, it creates without reference images.

|  |  |
| --- | --- |
| Model | MiniMax H3 Image Highspeed Text to Image |
| Available through | fal |
| Category | Image |
| Price | Up to $0.1352 per run at the default inputs. $0.1352 per unit of `num_images`. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiniMax H3 Image Highspeed Text to Image in opencode

- Read the homepage brief in this project and use MiniMax H3 Image Highspeed Text to Image to create a 4096 × 4096 editorial image of a ceramicist at a workbench. Place the subject on the right, leave the upper left clear for a heading, and use soft window light with visible clay and linen textures.
- Read the character brief in the project and use MiniMax H3 Image Highspeed Text to Image to create a 4096 × 4096 design sheet. Show front, side, and rear views of an original polar explorer in one horizontal row, with the same coat, boots, and equipment in each view.
- Use MiniMax H3 Image Highspeed Text to Image to create a 5472 × 3072 forest amphitheater concept for this game's art review. Show root-covered seating in the foreground, a stone stage in the middle distance, and tall trees behind it. Use damp stone, moss, and cool morning light.
- Generate a product photo with MiniMax H3 Image Highspeed Text to Image: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
- Make four logo concepts for a coffee brand called "Northline" with MiniMax H3 Image Highspeed Text to Image.

## How to set up MiniMax H3 Image Highspeed Text to Image 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 MiniMax H3 Image Highspeed Text to Image**: 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": "minimax/h3-image/highspeed/text-to-image",
    "input": {
      "prompt": "A rustic farm-to-table feast on a weathered wooden table, overhead food photograph, warm side light"
    }
  }'
```

Then paste one of the prompts above: opencode finds MiniMax H3 Image Highspeed Text to Image on Spiral, shows the price and runs it.

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

## MiniMax H3 Image Highspeed Text to Image tools and prices

- [MiniMax H3 Image Highspeed Text to Image](https://spiral.ai/tools/fal/minimax/h3-image/highspeed/text-to-image) (fal): Up to $0.1352 per run at the default inputs. $0.1352 per unit of `num_images`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | {"width":2048,"height":2048} | The exact output size. Output area must be 655360 to 20000000 pixels, inclusive, with aspect ratio between 1:3 and 3:1, inclusive. |
| num_images | 1 to 10 | 1 | The number of images to generate, all from one expanded prompt. |
| enable_prompt_expansion |  | true | Rewrite the prompt with a language model into a detailed image description before generation. If expansion fails, the request fails instead of generating from the unexpanded prompt. |
| output_format | jpeg, png, webp, jpg | png | The format of the generated image. |

## What can you do with MiniMax H3 Image Highspeed Text to Image in opencode?

Turn a project’s visual brief into concept art, illustrations, or photographic assets with MiniMax H3 Image Highspeed. Have the coding agent translate the intended use and layout into concrete composition, lighting, and material instructions.

### Editorial portraits

Create a fictional portrait with a specific setting, expression, and lighting direction. Use MiniMax H3 Image Highspeed Edit when an existing portrait supplies the starting composition.

### Game environment concepts

Develop a forest settlement, abandoned station, or alien landscape with clear foreground, middle distance, and background. Rework an existing environment image with MiniMax H3 Image Highspeed Edit.

### Character design sheets

Explore clothing, materials, and front, side, and rear views for an original character. Supply existing character art to MiniMax H3 Image Highspeed Edit when refining a design.

### Surreal campaign concepts

Explore an impossible scene with photographic lighting, such as a cloud treated as a physical object. Build from a written concept or transform a supplied scene with MiniMax H3 Image Highspeed Edit.

### Illustrated posters

Make an oil painting, paper collage, or illustrated poster with explicit placement for a short headline. Use MiniMax H3 Image Highspeed Edit to reinterpret existing artwork.

## Overview

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

## MiniMax H3 Image Highspeed Text to Image in other agents

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

## More opencode guides

- [MiniMax H3 Image Highspeed Edit](https://spiral.ai/integrations/opencode/minimax-h3-image-highspeed-edit)
- [MiniMax H3 Image Text to Image](https://spiral.ai/integrations/opencode/minimax-h3-image-text-to-image)
- [MiniMax H3 Image Edit](https://spiral.ai/integrations/opencode/minimax-h3-image-edit)
- [MiniMax Image-01](https://spiral.ai/integrations/opencode/minimax-image-01)
- [Marigold V2](https://spiral.ai/integrations/opencode/marigold-v2)
- [MiniMax Image-01 Subject Reference](https://spiral.ai/integrations/opencode/minimax-image-01-subject-reference)

## Questions about MiniMax H3 Image Highspeed Text to Image in opencode

**Can opencode use MiniMax H3 Image Highspeed Text to Image?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MiniMax H3 Image Highspeed Text to Image like any built-in tool.

**How much does MiniMax H3 Image Highspeed Text to Image cost in opencode?**

Up to $0.1352 per run at the default inputs. $0.1352 per unit of `num_images`. 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 MiniMax H3 Image Highspeed Text to Image in opencode?**

No. Spiral runs MiniMax H3 Image Highspeed Text to Image on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MiniMax H3 Image Highspeed Text to Image in opencode?**

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

**Does opencode wait while MiniMax H3 Image Highspeed Text to Image runs?**

MiniMax H3 Image Highspeed Text to Image runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is MiniMax H3 Image Highspeed good at?**

Use it for detailed photographic scenes, illustrations, and concept art. MiniMax emphasizes realistic textures and close adherence to a visual brief.

**What resolution should I choose?**

MiniMax reports the best results around 16 megapixels, including 4096 × 4096 for square images. Custom output can reach 20 million pixels, with proportions between 1:3 and 3:1.

**What language should I use for prompts?**

Use detailed English when writing the final image description yourself. Describe the complete scene, including composition, lighting, materials, and the intended style.

**How should I request lettering?**

Put every word that should appear in quotation marks, then specify its placement and line breaks. For example, request “Night garden” centered across the top on one line.

**Can MiniMax H3 Image Highspeed produce transparent backgrounds?**

MiniMax documents transparent backgrounds as unsupported. Plan a separate background-removal step when you need a cutout.

