Skip to content
Motif
Esc
↑↓navigate↵open⌘Jpreview
On this page

Put a garment on a person

Dress a person in a garment.

Synopsis

motif try-on [image] --garment <image> [options]

Example

Dress the person in the jacket.

motif try-on person.jpg --garment jacket.jpg
A person in a white t-shirt and linen trousers
Before
A rust-coloured chore jacket photographed flat
Garment
The person wearing the rust jacket
After

Options

Flag What it does
--garment <image> The garment to dress the person in.
--tier <tier> Trade cost against quality: fast, balanced, quality.
--dry-run Validate and price the call without running it.

It also takes the common options.

Models and price

Motif picks the Model for the Tier. Prices are per image.

Model Chosen at Price
Google Virtual Try-On Balanced $0.075

Dry run

Check the cost before you spend. The output path is where the file would go.

motif try-on person.jpg --garment jacket.jpg --dry-run --fields cost,costBasis,output
{
  "cost": 0.075,
  "costBasis": "projected",
  "output": "person-try-on.png"
}