Spiral gives your agent every tool with one account. Browse the tools →

opencode · Image

How to Use Qwen Image Edit Shirt Design in opencode

Qwen Image Edit Shirt Design puts supplied artwork onto a person's shirt for apparel mockups. Its shirt-specific LoRA focuses on graphic placement in an existing photo.

Prompts to try with Qwen Image Edit Shirt Design in opencode

Copy an example into opencode, or ask in your own words.

Use Qwen Image Edit Shirt Design with assets/logo.png and assets/shirt-photo.jpg. Prompt: put this design on their shirt, centered on the front. Save the mockup beside the source assets.

Qwen Image Edit Shirt Designopencode
Try asking
  • Use Qwen Image Edit Shirt Design to preview assets/event-art.png on assets/volunteer-shirt.jpg. Prompt: put this design on their shirt, with the graphic below the collar. Keep the original assets for comparison.

  • Use Qwen Image Edit Shirt Design with the project's approved logo and shirt photo. Make separate mockups requesting small left-chest placement and large center-front placement.

  • Use Qwen Image Edit Shirt Design to put assets/illustration.png on assets/model-shirt.jpg. Start with put this design on their shirt. Build a review page showing the original artwork beside the result.

  • Use Qwen Image Edit Shirt Design with assets/badge.png and assets/team-shirt.jpg. Request a centered chest print, then compare two LoRA strengths while keeping the images and prompt unchanged.

How to set up Qwen Image Edit Shirt Design 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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 Shirt Design

    One request; the result comes back by polling or a webhook.

    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/shirt-design",
        "input": {
          "image_urls": [
            "<image_urls>"
          ]
        }
      }'

Then paste one of the prompts above: opencode finds Qwen Image Edit Shirt Design on Spiral, shows the price and runs it.

Qwen Image Edit Shirt Design providers and prices

Spiral runs Qwen Image Edit Shirt Design through fal. Open a card for today's price, with every fee included.

falImage
Qwen Image Edit Plus Lora Gallery · Shirt Design
fal-ai/qwen-image-edit-plus-lora-gallery/shirt-design

Settings you can ask for

Qwen Image Edit Shirt Design works from your image URLs and prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 201

The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Number of inference steps2 to 506

The number of inference steps to perform.

Accelerationnone or regularregular

Acceleration level for image generation. 'regular' balances speed and quality.

Negative promptwhat to leave out, in words

The negative prompt for the generation

Seeda whole number

Random seed for reproducibility. Same seed with same prompt will produce same result.

Output formatpng, jpeg, or webppng

The format of the output image

Number of images1 to 41

Number of images to generate

LoRA scale0 to 41

The scale factor for the LoRA model. Controls the strength of the LoRA effect.

Every API field of Qwen Image Edit Plus Lora Gallery · Shirt Design is on its tool page: open its card above.

What can you do with Qwen Image Edit Shirt Design in opencode?

Create apparel mockups from artwork and shirt photos in your project. A coding agent can organize the results beside the originals for review.

Merchandise concept reviews

Preview an existing illustration on a photographed shirt before choosing a merchandise concept.

Logo placement comparisons

Request separate mockups of supplied brand artwork at the left chest and center front, then compare the placement.

Event shirt proposals

Put approved event artwork on a shirt photo for an organizer's design review.

Client apparel presentations

Show a client's supplied graphic on a person wearing a shirt as part of an apparel proposal.

Artist merchandise previews

Try several existing illustrations on the same shirt photo to shortlist artwork for a collection.

Staff shirt design reviews

Preview supplied company artwork on a staff shirt photo and review its size and position.

Questions about Qwen Image Edit Shirt Design in opencode

Can opencode use Qwen Image Edit Shirt Design?

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

How much does Qwen Image Edit Shirt Design 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 Shirt Design in opencode?

No. Spiral runs Qwen Image Edit Shirt Design 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 Shirt Design in opencode?

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

Does opencode wait while Qwen Image Edit Shirt Design runs?

Qwen Image Edit Shirt Design runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

What is Qwen Image Edit Shirt Design useful for?

Use it to preview supplied artwork on a person's shirt. That makes it useful for merchandise concepts, apparel presentations, and design reviews.

What should I write in the prompt?

Start with "put this design on their shirt," the creator's recommended trigger phrase. Then describe the placement you want, such as a small left-chest graphic or a centered front print.

What determines the output dimensions?

If you leave the output size unspecified, the result uses the dimensions of the final input image.

What does LoRA strength change?

It controls the strength of the shirt-design adaptation. When comparing strengths, keep the artwork, photo, and placement request unchanged.

What should I check before approving a shirt mockup?

Compare the result with the supplied artwork, especially lettering, logo edges, and placement. Inspect how the graphic meets folds and seams before choosing a mockup.

Get started

Start using Qwen Image Edit Shirt Design in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options