You're looking at a specific version of this model. Jump to the model overview.
fmxexpress /replace-anything:0424b526
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Input image for replacement
|
|
| point_coords |
string
|
750 500
|
Point coordinates as 'x y' (space separated)
|
| point_labels |
integer
|
1
|
Point label (e.g., 1)
|
| text_prompt |
string
|
sit on the swing
|
Text prompt for replacement
|
| sam_model_type |
string
|
vit_h
|
SAM model type
|
| sam_ckpt |
string
|
./pretrained_models/sam_vit_h_4b8939.pth
|
Path to SAM checkpoint
|
| output_dir |
string
|
./results
|
Directory for output
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'object'}