You're looking at a specific version of this model. Jump to the model overview.
cjwbw /pix2pix-zero:f0f9f82d
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 |
---|---|---|---|
image |
string
|
Input image
|
|
task |
string
|
cat2dog
|
Describe how to edit the image
|
xa_guidance |
number
|
0.1
|
None
|
negative_guidance_scale |
number
|
5
|
Number of images to output.
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
use_float_16 |
boolean
|
True
|
Choose half precision if set to True
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'caption_input_image': {'title': 'Caption Input Image',
'type': 'string'},
'edited_image': {'format': 'uri',
'title': 'Edited Image',
'type': 'string'},
'reconstructed_image': {'format': 'uri',
'title': 'Reconstructed Image',
'type': 'string'}},
'required': ['reconstructed_image', 'caption_input_image', 'edited_image'],
'title': 'ModelOutput',
'type': 'object'}