[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Phota Text to Image](https://spiral.ai/integrations/openclaw/phota-text-to-image)

# How to Use Phota Text to Image in OpenClaw

Phota Text to Image creates portraits, headshots, and new scenes from a written description, with trained profiles for recognizable people. Unlike Phota Image Editing, it builds the composition without an input photo.

|  |  |
| --- | --- |
| Model | Phota Text to Image |
| Available through | fal |
| Category | Image |
| Price | $0.117 per run at the default inputs. `resolution`: 1K (default) $0.117, 4K $0.234. $0.117 per unit of `num_images`. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Phota Text to Image in OpenClaw

- Every Monday, use Phota Text to Image to draft three campaign portraits from that week's approved brief. Use the approved spokesperson's saved profile and keep the wardrobe and lighting direction consistent.
- At the start of each month, use Phota Text to Image to draft a seasonal portrait of our approved spokesperson. Use the saved profile, a square composition, natural light, and the month's approved theme.
- When a new storyboard brief is approved, use Phota Text to Image to create one landscape image per shot. Reuse the approved cast profiles and wardrobe descriptions, and collect the results for review.
- Every Monday at 9am: generate a product photo with Phota Text to Image: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
- Make four logo concepts for a coffee brand called "Northline" with Phota Text to Image.

## How to set up Phota Text to Image in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 Phota 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": "fal-ai/phota",
    "input": {
      "prompt": "Middle Eastern man in traditional clothing sitting in a cool tent in the desert with a laptop"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Phota Text to Image on Spiral, shows the price and runs it.

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

## Phota Text to Image tools and prices

- [Phota Text to Image](https://spiral.ai/tools/fal/fal-ai/phota) (fal): $0.117 per run at the default inputs. `resolution`: 1K (default) $0.117, 4K $0.234. Per unit of `num_images`: 1K (default) $0.117, 4K $0.234.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| num_images | 1 to 4 | 1 | Number of images to generate. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| resolution | 1K, 4K | 1K | Resolution of the generated image. |
| aspect_ratio | auto, 1:1, 16:9, 4:3, 3:4, 9:16 | auto | Aspect ratio of the generated image. |
| base_model | nb2, qwen-image-2, flux-2, seedream-5-pro | nb2 | Base model used to render the image. Identity composes on top of whichever base model is selected, so trained profiles work with all of them. Only `nb2` supports `4K`. |

## What can you do with Phota Text to Image in OpenClaw?

Prepare recurring portrait and campaign drafts with a consistent cast. A scheduled agent can apply an approved visual brief to each new assignment and collect candidates for review.

### Matching team headshots

Create portraits with the same framing, background, and lighting for a team page. Use each person's trained profile and repeat the photographic direction.

### Profile portraits

Make a recognizable portrait for a speaker bio or social profile, with a setting and expression chosen for the intended audience.

### Seasonal cards

Create holiday portraits featuring known people or pets, with coordinated clothing, lighting, and scenery.

### Campaign photo sets

Carry the same recognizable person through several campaign scenes. Keep the cast and photographic direction consistent while changing the setting.

### Storyboard images

Build individual shots for a storyboard with a recurring cast. Specify each character's position, expression, and action in every scene.

### Keyframes for video

Create still start and end frames featuring the same person for a separate image-to-video model.

## Overview

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

## Phota Text to Image in other agents

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

## More OpenClaw guides

- [Phota Image Editing](https://spiral.ai/integrations/openclaw/phota-image-editing)
- [Photo Restoration](https://spiral.ai/integrations/openclaw/photo-restoration)
- [Phota Enhance](https://spiral.ai/integrations/openclaw/phota-enhance)
- [Photo Restoration fal](https://spiral.ai/integrations/openclaw/photo-restoration-fal)
- [Perspective Change](https://spiral.ai/integrations/openclaw/perspective-change)
- [Photography Effects](https://spiral.ai/integrations/openclaw/photography-effects)

## Questions about Phota Text to Image in OpenClaw

**Can OpenClaw use Phota Text to Image?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Phota Text to Image like any built-in tool.

**How much does Phota Text to Image cost in OpenClaw?**

$0.117 per run at the default inputs. `resolution`: 1K (default) $0.117, 4K $0.234. $0.117 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 OpenClaw plan is separate.

**Do I need a fal account to use Phota Text to Image in OpenClaw?**

No. Spiral runs Phota 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 Phota Text to Image in OpenClaw?**

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

**Does OpenClaw wait while Phota Text to Image runs?**

Phota Text to Image runs in the background. OpenClaw starts the run, checks on it and gives you the image when it's ready.

**What is Phota best at?**

Phota is built for portraits and scenes where a specific person should remain recognizable. Useful applications include headshots, themed photo sets, campaign images, and storyboards with a recurring cast.

**Why might a Phota portrait look like a different person?**

Phota needs the correct trained profile referenced in the request to preserve a specific person's likeness. Clear profile photos with varied angles and expressions also matter.

**Can Phota keep someone recognizable across different scenes?**

That is Phota's main purpose. A trained profile carries the person's appearance across changes in setting, clothing, and photographic style.

**How should I write a Phota prompt?**

Describe the subject, framing, pose, expression, setting, and lighting. State which details must stay the same, especially when changing an existing composition.

**Can Phota produce 4K images?**

Yes. For these Phota models, choose Nano Banana 2 when requesting 4K output.

