infery
← All models

Genfill

genfill-v2

Image editby Bria

The GenFill Route enables the generation of objects by prompt in a specific region of an image. You can define the area for object generation by using a mask that outlines the region where the object will be created. Our model is optimized to work seamlessly with blob-shaped masks.

images

Details

Accepts
image

Pricing

Price
5 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedintegerRandom seed for reproducibility.
mask_urlrequiredstringThe mask image.
image_urlrequiredstringThe source image.
steps_numintegerNumber of inference steps.
sync_modebooleanIf true, returns the image directly in the response (increases latency).
instructionrequiredstringInstruct what elements you would like to fill in your image based on the mask.

Output

FieldTypeDescription
imageGenerated image.
imagesarrayGenerated images.
structured_instructionobjectCurrent instruction.