Models
Virtual try-on (v2)
Changed onSubmits a virtual try-on task against the v2 model. Identical request shape to /vto-v1, with reference and output resolution supported up to 4MP. Person and garment images are mapped to the underlying input image slots. An edit instruction is generated from the person and garment images, with the supplied prompt used as a fallback.
post/v1/flux-tools/vto-v2
Request
- Base URLhttps://api.bfl.ai
- AuthAPI key in header x-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"prompt": "TRY-ON: The person of image 1 wearing the garments of image 2.",
"seed": 42
}Response
Successful Response
Changes
- breaking
added the pattern
^[^\x00]*$to the request property/
- breaking
- info
the
request property's max was increased from5.00to7.00
- info