You're looking at a specific version of this model. Jump to the model overview.
visoar /product-photo:92588c5d
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_path |
string
|
input image
|
|
product_size |
string
(enum)
|
Original
Options: Original, 0.6 * width, 0.5 * width, 0.4 * width, 0.3 * width, 0.2 * width |
Max product size
|
prompt |
string
|
Product name or prompt
|
|
negative_prompt |
string
|
low quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisement
|
Anything you don't want in the photo
|
api_key |
string
|
OpenAI api_key, enhance prompt with ChatGPT if provided
|
|
pixel |
string
(enum)
|
512 * 512
Options: 512 * 512, 768 * 768, 1024 * 1024 |
image total pixel
|
scale |
integer
|
3
Max: 4 |
Factor to scale image by (maximum: 4)
|
image_num |
integer
|
1
Max: 4 |
Number of image to generate
|
guidance_scale |
number
|
7.5
|
Guidance Scale
|
num_inference_steps |
integer
|
20
|
Inference Steps
|
manual_seed |
integer
|
-1
|
Manual Seed
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}