You're looking at a specific version of this model. Jump to the model overview.
google-research /maskgit:16325bd5
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 |
---|---|---|---|
task_type |
None
|
Class-conditional Image Synthesis
|
Choose task type.
|
category |
None
|
Choose the ImageNet label, which determines what type of object to synthesize or edit to.
|
|
image_size |
None
|
256
|
Choose the size of the generated image. Output will generate 8 images.
|
seed |
integer
|
42
|
set random seed
|
image |
string
|
Provide input image for Class-conditional Image Editing. The image will be resized to image_size.
|
|
bbox_top_left_height_width |
string
|
For Class-conditional Image Editing, provide the area for image editing in the format of top_left_height_width, e.g. input image 128_64_256_288. Output will show the resized image with the box highlighting the edited area and 8 edited images.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}