tufty.aitufty.ai CLI
Tools

Flat to 3D

Stand a flat-laid garment up into a worn, three-dimensional shot.

turn a flat-lay or hanger photo of a garment into a worn-looking, three-dimensional shot (ghost mannequin style) without a model. Use when the user has flat-lay clothing photos and wants volume, fit and drape for product listings.

Overview

ItemValue
Commandtufty flat-to-3d
TypeImage
Required inputs--product product image, at least 1
Optional inputs--model model image (pet, person or subject)
OutputImages: 1–4 per product–model pair, up to 16 per run

Parameters

FlagDescriptionChoicesDefault
--product <file|url...>Product images: local path, data: URL or http(s) URL. Several products run one by one; join shots of one product with + (up to 4)up to 8 products
--model <file|url...>Model images (pet, person or subject). Every model is paired with every productup to 8 images
--quality <id>Quality tier; see pricing belowlow, medium, highlow
--ratio <id>Aspect ratio; auto lets the model decideauto, 1:1 (1024x1024), 3:4 (1024x1536), 9:16 (1024x1536)auto
--count <n>Images per product–model pair1, 2, 3, 41
--enhanceTurn on the tool's built-in prompt enhancementSwitchoff
--notes <text>Extra instructions for this run, free text up to 2000 characters
--no-cutoutSkip the automatic cutout of input images (saves 1 credit per image)Switchcutout on
--dry-runValidate and print the payload and credit estimate; no upload, no chargeSwitch
--no-waitReturn the runId right after submittingSwitchwait
--timeout <seconds>Maximum seconds to wait for the runpositive number900
--save <dir>Download the outputs into this directory
--format <mode>Stdout format: full envelope, or one URL per linejson, urljson

Pricing

QualityCredits per image
low4
medium16
high47

Total = quality price × (products × models) × --count, plus 1 credit per input image for the automatic cutout.

Prices as of September 15, 2026; they may change. tufty tools describe flat-to-3d always shows the current ones, and --dry-run prints the exact estimate. See Credits.

Examples

One flat-lay dress, high quality, portrait

tufty flat-to-3d --product ./flatlay-dress.jpg --quality high --ratio 3:4

A tee shot front and back as one product, plus two more garments, saved locally

tufty flat-to-3d --product ./tee-front.jpg+./tee-back.jpg ./jeans.jpg ./jacket.jpg --save ./out

Output example

{
  "ok": true,
  "result": {
    "tool": "flat-to-3d",
    "runId": "3f6c2a1e-8b4d-4e7a-9c55-0d2b7e1f4a90",
    "status": "completed",
    "outputs": [
      {
        "type": "image",
        "url": "https://static.tufty.ai/.../result.png"
      }
    ]
  }
}

With --save <dir> each output also has path; with --no-wait, status is running and outputs is empty. See Output modes.

Tips

  • Shoot the garment flat on a plain background, fully visible and not folded.
  • Front and back shots of the same garment belong in one product: join them with +.

On this page