Magic Wand AI
Remove, add, or replace objects and generate the new fill with a prompt. If you want to remove object rather than adding new one, with Magic Wand endpoint, you can use special parameters on prompt.
Last updated
Remove, add, or replace objects and generate the new fill with a prompt. If you want to remove object rather than adding new one, with Magic Wand endpoint, you can use special parameters on prompt.
Last updated
Note: Also, please check out for and parameters.
Parameters
model
string
Required
image
string
Required
URL of the input image
mask_image
string
Required
prompt
string
Optional
Description of desired design. You can use special parameters.
material_image
string
Optional
Material reference image to fill mask area with material. Leave empty for Prompt design or Removing objects.
remove
string
Optional Use true value to
pid
integer
Optional
seed
integer
Optional
For reproducible results
enhance_prompt
string
Optional
If you want to use Prompt Enhance model, use true
value. If you want to continue without Prompt Enhancer don't add enhance_prompt
parameter to your requests.
processing_url
string
Optional
Curl Example
Response Example
Alternative legacy method: Add &processing_url={url}
to your request.
To switch Remove Object mode, you can simply add remove
parameter with true
value like this example:
?remove=true
Curl Example
To switch Material Swap mode, you can simply add material_image
parameter with image url like this example:
Value must be magicwand
for Magic Wand AI. Browse other .
URL of the mask image. about mask images.
Persona ID to use if you want to use for images.
Get process results with same endpoint, alternative to endpoint usage.
You can execute special actions like Remove Furniture, Remove Object or remove anything selected with mask_image
parameter, check section for better results.
You can execute special actions like Swap Materials with material_image
parameter, it will change you provided, with the material image you provided.