---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "Flat-Lay Garment to On-Model Virtual Try-On & Zoom PDP Pipeline"
description: "Convert clean steamed flat-lay garment photos into on-model Shopify product pages using FASHN Virtual Try-On v1.6 ($0.075/look) with segmentation_free: true, enlarge approved keepers 3× to 2592×3888 via Topaz Image Upscale API ($0.08), and optionally animate hero SKUs into 5-second runway pivots in Runway Gen-4 Turbo ($0.25)."
canonical: "https://framesfield.com/workflows/flat-lay-garment-to-on-model-virtual-try-on-pipeline"
---

# Flat-Lay Garment to On-Model Virtual Try-On & Zoom PDP Pipeline

> Convert clean steamed flat-lay garment photos into on-model Shopify product pages using FASHN Virtual Try-On v1.6 ($0.075/look) with segmentation_free: true, enlarge approved keepers 3× to 2592×3888 via Topaz Image Upscale API ($0.08), and optionally animate hero SKUs into 5-second runway pivots in Runway Gen-4 Turbo ($0.25).

- **Canonical URL:** https://framesfield.com/workflows/flat-lay-garment-to-on-model-virtual-try-on-pipeline
- **Difficulty:** Beginner
- **Estimated Time:** 20 min
- **Estimated Cost:** $0.155 per zoom-ready PDP look ($0.405 with optional 5s hero runway clip)
- **Last Verified:** 2026-12-01
- **Tools Used:** FASHN Virtual Try-On v1.6 (https://framesfield.com/specs/fashn-tryon-1-6), Topaz Image Upscale API (https://framesfield.com/specs/topaz-image-upscale), Black Forest Labs FLUX 3 Image (https://framesfield.com/specs/flux-3), Runway Gen-4 Turbo (https://framesfield.com/specs/runway-gen-4)

## Pipeline Architecture

01. **Flat-Lay & Plates** (Studio / FLUX 3): Pair steamed overhead SKU flat-lays with 2:3 open-stance studio model plates
02. **Virtual Try-On** (FASHN Try-On v1.6): Render 864×1296 PNG ($0.075) with segmentation_free: true and quality mode
03. **PDP Zoom Upscale** (Topaz Image API): Scale approved picks 3× to 2592×3888 ($0.08) with face_enhancement 0.45
04. **PDP + Hero Motion** (Shopify / Runway Gen-4): Publish sRGB WebP/PNG PDPs and animate top 20% hero SKUs for $0.25/5s

## Playbook

## Why this 2-stage API chain beats studio shoots and general image prompts

Apparel brands testing AI photography usually hit one of two walls: general-purpose image models rewrite chest prints and button counts, while raw try-on outputs at `864×1296` look too soft inside 2× Shopify desktop hover-zoom tiles. Pairing **[FASHN Virtual Try-On v1.6](/specs/fashn-tryon-1-6)** (`$0.075/look`) with **[Topaz Image Upscale API](/specs/topaz-image-upscale)** (`$0.08` up to 24MP) solves both defects for **$0.155 per zoom-ready PDP image**—or **$23.25** for an entire 50-SKU, 3-angle seasonal catalog.

## Step-by-step catalog production notes

### 1. Standardize your model plate library before touching the API

Generate or photograph **3 to 6 locked studio plates** in `2:3` vertical aspect ratio (`1024×1536` or higher): front stance, three-quarter turn, and rear stance (for SKUs with back prints). Keep three capture rules strict:

- **Open upper body:** Arms hang relaxed slightly away from the waist—crossed arms or handbags across the stomach break chest transfer.
- **Unobstructed neckline:** Hair tucked behind the shoulders prevents collar bleeding and neck shadow artifacts.
- **Simple fitted base wardrobe:** Plain light-gray fitted tee and neutral trousers let `segmentation_free: true` drape oversized jackets, pleated skirts, and long dresses cleanly with zero ghost hems.

If you shoot real contracted fit models, obtain written permission explicitly covering AI virtual try-on reuse. If you generate synthetic brand models in [FLUX 3](/specs/flux-3) (`$0.048`), save the winning plates into a versioned S3/R2 bucket and reuse those exact URLs across every future seasonal drop so your Shopify collection grid stays completely uniform.

### 2. Inspect chest text at 864×1296 BEFORE running Topaz

In automated CSV batches, separate `tryon` from `upscale` whenever graphic tees or detailed embroidery are involved. Topaz Image Upscale sharpens existing geometry faithfully—it will not fix a fused letter produced during try-on. Checking the `$0.075` PNG first ensures you only spend `$0.08` upscaling approved keepers.

If bulky coats clip or chest marks soften, read [Fix Virtual Try-On Clipping & Blurred Logos](/fixes/fashn-virtual-tryon-garment-clipping-and-logo-blur-fix).

### 3. Optional Stage 4: Hero SKU 5-second runway loops ($0.25)

Upload your top 10–20 revenue-driving `2592×3888` masters into [Runway Gen-4 Turbo](/specs/runway-gen-4) (`$0.25/5s`) with a restrained motion brief:

> *"Locked-off studio tripod, soft neutral gray cyclorama. The model shifts weight slightly onto one hip and pivots shoulders 15 degrees so the heavy fabric drapes naturally. Crisp natural garment texture, zero camera pan, zero zoom, zero logo distortion."*

Always keep your physical flat-lay and fabric close-up inside the Shopify PDP gallery alongside the on-model renders so shoppers see both styling context and unretouched material proof. For full unit economics and retail compliance standards, see [Guide 33: AI Virtual Try-On & Fashion E-Commerce Catalogs](/guides/ai-virtual-try-on-and-fashion-ecommerce-catalog-guide).

## Copyable Asset: FASHN v1.6 Try-On + Topaz 3× Zoom PDP Batch Script (run-tryon-sku.sh)

```bash
#!/usr/bin/env bash
set -euo pipefail
# Usage:
#   FAL_KEY="your_key" ./run-tryon-sku.sh SKU-104 tops \
#     "https://cdn.example.com/model_front_2x3.png" \
#     "https://cdn.example.com/sku104_flatlay.png"

SKU="${1:?Pass SKU id}"
CATEGORY="${2:?Pass category: tops | bottoms | one-pieces}"
MODEL_URL="${3:?Pass 2:3 model plate URL}"
GARMENT_URL="${4:?Pass flat-lay garment URL}"
SEED="${5:-4201}"

echo "[1/3] Running FASHN Virtual Try-On v1.6 (\$0.075) for ${SKU}..."
TRYON_URL=$(curl -sS -X POST "https://fal.run/fal-ai/fashn/tryon/v1.6" \
  -H "Authorization: Key ${FAL_KEY:?Set FAL_KEY}" \
  -H "Content-Type: application/json" \
  -d "{
    \"model_image\": \"${MODEL_URL}\",
    \"garment_image\": \"${GARMENT_URL}\",
    \"category\": \"${CATEGORY}\",
    \"garment_photo_type\": \"flat-lay\",
    \"mode\": \"quality\",
    \"segmentation_free\": true,
    \"output_format\": \"png\",
    \"seed\": ${SEED}
  }" | jq -r '.images[0].url // empty')

if [ -z "${TRYON_URL}" ]; then
  echo "FASHN try-on failed for ${SKU}" >&2; exit 1
fi
curl -fsSL "${TRYON_URL}" -o "${SKU}_fashn_864x1296.png"
echo "Saved preview: ${SKU}_fashn_864x1296.png (inspect chest logos before upscaling)"

echo "[2/3] Upscaling ${SKU} 3x via Topaz Image API (2592x3888, \$0.08)..."
TOPAZ_URL=$(curl -sS -X POST "https://fal.run/fal-ai/topaz/upscale/image" \
  -H "Authorization: Key ${FAL_KEY}" \
  -H "Content-Type: application/json" \
  -d "{
    \"image_url\": \"${TRYON_URL}\",
    \"model\": \"High Fidelity V2\",
    \"upscale_factor\": 3,
    \"face_enhancement\": true,
    \"face_enhancement_strength\": 0.45,
    \"output_format\": \"png\"
  }" | jq -r '.image.url // empty')

if [ -z "${TOPAZ_URL}" ]; then
  echo "Topaz upscale failed for ${SKU}" >&2; exit 1
fi
curl -fsSL "${TOPAZ_URL}" -o "${SKU}_pdp_master_2592x3888.png"
echo "[3/3] Done! Master saved: ${SKU}_pdp_master_2592x3888.png"
```

## FAQ

### Why not use FLUX 3 or Seedream 5.5 directly for flat-lay try-on?

FLUX 3 and Seedream 5.5 are ideal for building your reusable base model plates or editorial lifestyle backdrops, but general editors frequently misspell small chest logos, drop buttons, or rescale plaid spacing. FASHN v1.6 is purpose-trained to transfer exact physical garments faithfully.

### Does mode: 'quality' cost extra on fal.ai FASHN v1.6?

No. fal.ai bills a flat $0.075 per output image regardless of whether you select performance, balanced, or quality mode—always choose quality for final catalog product pages.

### When should I switch Topaz Image Upscale from High Fidelity V2 to Text Refine?

Use High Fidelity V2 as the default for denim, knits, silk, and minimal basics. Switch to Text Refine whenever bold graphic tees, collegiate lettering, or woven chest crests dominate the garment.

### How do I animate the finished try-on image without distorting the brand logo?

Feed the upscaled 2592×3888 PNG into Runway Gen-4 Turbo ($0.25/5s) and prompt a locked-off studio tripod with a gentle 15-degree torso pivot and subtle fabric sway—never ask for a full 360-degree turn, which forces the model to hallucinate the unseen back.
