DOCUMENT:
Text Inpainting | Clipdrop APIs
Request Body Parameters
image_file (required)
- Type: file
- Required: Yes
- Description: The original image to process. The image should be a JPG or PNG file, with a maximum resolution of 10 megapixels and a max file size of 30 MB.
- Example: "[email protected]"
mask_file (required)
- Type: file
- Required: Yes
- Description: The mask image defining the areas that need to be removed. The mask image should be a PNG with the same resolution as the original image and a max file size of 30 MB. The mask should be black and white with no grey pixels (0 indicating a pixel to keep, 255 indicating a pixel to replace).
- Example: "[email protected]"
text_prompt (required)
- Type: text
- Required: Yes
- Description: A text description of what you want to put in the image.
- Example: "A woman with a red scarf"
Example Requests