You're looking at a specific version of this model. Jump to the model overview.

zust-ai /zust-diffusion:d107be19

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
is_heartbeat
boolean
False
Check if Server Alive
with_detail
boolean
False
Detailed Output
pipe_type
string
zust_xl
SAM, photoshift, zust_fashion, zust_xl, zust_sd15, upscale, enhance
photoshift_cleanup_background
boolean
True
PhotoShift (Clean source image subject)
photoshift_scene
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png"}
Photoshift subject image
photoshift_subject
string
[{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_raw2.png"}]
Photoshift subject image
photoshift_max_size
integer
512

Max: 1024

Max output size
tags
string
Product Tags (jewellery, studio, food, topdown)
width
integer
1024
Width
height
integer
1024
height
prompt
string
a handbag on a sofa in a sunlit living room with a bookshelf, plush rug, and a framed painting on the wall
Prompt
negative_prompt
string
Negative Prompt
subjects
string
[{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/zust_product/handbag_square.png"}]
Subject positions & URLs
fashion_subject
string
{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/zust_fashion/fashion_sq.png"}
Subject positions & URLs
fashion_mask
string
{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/zust_fashion/fashion_sq_mask.png"}
Fashihon pose
is_premium
boolean
False
Is this a pro user?
is_reference
boolean
False
Is there a reference image
reference_image
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ip_reference.png"}
Reference Image URL
reference_weight
number
0.6
Reference Image Weight
enhance_subject
string
{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/enhance/scene_to_be_enhanced.png"}
Subject data (this shouldn't change)
enhance_scene
string
[{"left": 0, "top": 0, "scale": 0.0009765625, "image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/enhance/enhance_sub.png"}]
Scene to be enhanced
enhance_reference_scene
number
0.5
IP-Adapter strength of scene. If 0 no Reference
enhance_control_scene
number
0.5
ControlNet strength of scene. If 0 no ControlNet
enhance_noise_scene
number
0.5
Noise to be added in the scene
enhance_prompt
string
Enhanced Prompt
enhance_negative_prompt
string
Negative Prompt
upscale_url
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png"}
Upscale the Image
sam_url
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png"}
Get SAM Embeddings

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'}