Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.4 KB

File metadata and controls

34 lines (25 loc) · 1.4 KB

ImageGenerationRequestInPaintingParams

Parameters for INPAINTING task

Properties

Name Type Description Notes
image bytearray [optional]
mask_image bytearray [optional]
mask_prompt str [optional]
text str [optional]
negative_text str [optional]

Example

from quantcdn.models.image_generation_request_in_painting_params import ImageGenerationRequestInPaintingParams

# TODO update the JSON string below
json = "{}"
# create an instance of ImageGenerationRequestInPaintingParams from a JSON string
image_generation_request_in_painting_params_instance = ImageGenerationRequestInPaintingParams.from_json(json)
# print the JSON string representation of the object
print(ImageGenerationRequestInPaintingParams.to_json())

# convert the object into a dict
image_generation_request_in_painting_params_dict = image_generation_request_in_painting_params_instance.to_dict()
# create an instance of ImageGenerationRequestInPaintingParams from a dict
image_generation_request_in_painting_params_from_dict = ImageGenerationRequestInPaintingParams.from_dict(image_generation_request_in_painting_params_dict)

[Back to Model list] [Back to API list] [Back to README]