[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Qwen Image Edit Face to Full Portrait](https://spiral.ai/integrations/opencode/qwen-image-edit-face-to-full-portrait)

# How to Use Qwen Image Edit Face to Full Portrait in opencode

Qwen Image Edit Face to Full Portrait turns a cropped face photo into a full or upper-body portrait. Its focus is generating clothing, poses, and settings around the person’s face.

|  |  |
| --- | --- |
| Model | Qwen Image Edit Face to Full Portrait |
| Available through | fal |
| Category | Image |
| Price | Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen Image Edit Face to Full Portrait in opencode

- Use Qwen Image Edit Face to Full Portrait with the cropped face in assets/face.png. Create an upper-body portrait for the biography page: navy blazer, seated upright, neutral studio background, soft natural light.
- Read the character brief in the project and use Qwen Image Edit Face to Full Portrait with assets/character-face.png. Generate a full-body costume concept with the clothing, pose, and setting described in the brief.
- Use Qwen Image Edit Face to Full Portrait with assets/speaker-face.png to create an 864 × 1152 portrait. Show the person standing in a charcoal suit against a plain gray studio backdrop.
- Use Qwen Image Edit Face to Full Portrait with the project’s author face crop. Create a seated upper-body portrait beside a bookshelf, wearing a brown sweater, in a natural-light photography style.
- Use Qwen Image Edit Face to Full Portrait with assets/face.png to make a portrait shoot concept. Follow the wardrobe colors in the design brief, use a relaxed standing pose, and place the person in a courtyard.

## How to set up Qwen Image Edit Face to Full Portrait 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 Qwen Image Edit Face to Full Portrait**: 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/qwen-image-edit-plus-lora-gallery/face-to-full-portrait",
    "input": {
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Qwen Image Edit Face to Full Portrait on Spiral, shows the price and runs it.

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

## Qwen Image Edit Face to Full Portrait tools and prices

- [Qwen Image Edit Plus Lora Gallery · Face to Full Portrait](https://spiral.ai/tools/fal/fal-ai/qwen-image-edit-plus-lora-gallery/face-to-full-portrait) (fal): Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | — | The size of the generated image. If not provided, the size of the final input image will be used. |
| guidance_scale | 0 to 20 | 1 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
| num_inference_steps | 2 to 50 | 6 | The number of inference steps to perform. |
| acceleration | none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
| negative_prompt |  |  | The negative prompt for the generation |
| seed |  | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |

## What can you do with Qwen Image Edit Face to Full Portrait in opencode?

Create portraits for biography pages, speaker profiles, and character screens from cropped face references. A coding agent can use the project’s visual brief to describe clothing, pose, setting, and style.

### Professional biography portraits

Turn a cropped headshot into an upper-body portrait with a blazer, a seated pose, and a simple office setting.

### Speaker page artwork

Create a standing portrait from a speaker’s face photo, with clothing and a backdrop chosen for the event’s visual brief.

### Character costume concepts

Explore clothing and poses for a character using one facial reference, such as a detective in a raincoat or an explorer in field gear.

### Personal portrait concepts

Use a face crop to explore a full-body portrait in a garden, a studio, or another described setting.

### Wardrobe mood boards

Generate separate portrait concepts with different outfits around the same facial reference. Use them to discuss styling ideas.

### Portrait shoot planning

Preview a brief’s clothing, pose, setting, and photographic style from a face crop before arranging a portrait session.

## Overview

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

## Qwen Image Edit Face to Full Portrait in other agents

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

## More opencode guides

- [Qwen Image Edit Add Background](https://spiral.ai/integrations/opencode/qwen-image-edit-add-background)
- [Qwen Image Edit Image to Image](https://spiral.ai/integrations/opencode/qwen-image-edit-image-to-image)
- [Qwen Image Edit 2511 Multiple Angles](https://spiral.ai/integrations/opencode/qwen-image-edit-2511-multiple-angles)
- [Qwen Image Edit Inpaint](https://spiral.ai/integrations/opencode/qwen-image-edit-inpaint)
- [Qwen Image Edit 2511 LoRA](https://spiral.ai/integrations/opencode/qwen-image-edit-2511-lora)
- [Qwen Image Edit Lighting Restoration](https://spiral.ai/integrations/opencode/qwen-image-edit-lighting-restoration)

## Questions about Qwen Image Edit Face to Full Portrait in opencode

**Can opencode use Qwen Image Edit Face to Full Portrait?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Qwen Image Edit Face to Full Portrait like any built-in tool.

**How much does Qwen Image Edit Face to Full Portrait cost in opencode?**

Up to $0.0455 per run at the default inputs. $0.0455 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 Qwen Image Edit Face to Full Portrait in opencode?**

No. Spiral runs Qwen Image Edit Face to Full Portrait on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Qwen Image Edit Face to Full Portrait in opencode?**

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

**Does opencode wait while Qwen Image Edit Face to Full Portrait runs?**

Qwen Image Edit Face to Full Portrait runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What does Qwen Image Edit Face to Full Portrait do?**

It turns a cropped face photo into a portrait of the same person. You describe the clothing, pose, and setting you want.

**What kind of reference photo should I use?**

Use a close-up crop of the person’s face. That is the reference format documented for Qwen Image Edit Face to Full Portrait.

**Can it make both full-body and upper-body portraits?**

Yes. Specify the framing along with the clothing, pose, and setting, such as a standing full-body portrait or a seated upper-body portrait.

**What should I put in the prompt?**

Describe the finished portrait: clothing, setting, pose, and style. For example, request a person in a navy blazer, standing beside a window, photographed in natural light.

**What output resolution has the developer demonstrated?**

DiffSynth’s example uses 864 × 1152 pixels, a vertical 3:4 image. The example does not establish a maximum resolution.

