You're looking at a specific version of this model. Jump to the model overview.
visoar /product-photo:28757bee
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 |
None
|
0.6 * width
|
Max product size
|
| prompt |
string
|
Product name or prompt. If not set, use GPT4-V to recognize product.
|
|
| 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 |
None
|
512 * 512
|
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
|
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'}