zust-ai / zust-diffusion

auto1111_ds8

  • Public
  • 61.8K runs
  • A100 (80GB)

Run zust-ai/zust-diffusion with an API

Input schema

tagsstring

Product Tags (jewellery, topdown)

widthinteger

Width

Default
1024
heightinteger

height

Default
1024
pikeyastring

Request Type

promptstring

Prompt

Default
"a handbag on a sofa in a sunlit living room with a bookshelf, plush rug, and a framed painting on the wall"
sam_urlstring

Get SAM Embeddings

Default
"{\"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png\"}"
subjectsstring

Subject positions & URLs

Default
"[{\"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\"}]"
pipe_typestring

SAM, photoshift, zust_fashion, zust_xl, upscale, enhance, cleanup

Default
"zust_xl"
is_premiumboolean

Is this a pro user?

upscale_byinteger

Upscaling factor

Default
2
hires_noisenumber

Noise strength for hires.fix

Default
0.55
upscale_urlstring

Upscale the Image

Default
"{\"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png\"}"
with_detailboolean

Detailed Output

cleanup_datastring

Image URL to be cleaned

Default
"{\"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png\", \"mask\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene_subject2.png\"}"
fashion_maskstring

Fashihon pose

Default
"{\"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\"}"
is_heartbeatboolean

Check if Server Alive

enhance_noisenumber

Noise to be added in the scene

Default
0.5
enhance_scenestring

Scene to be enhanced

Default
"{\"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\"}"
enhance_promptstring

Enhanced Prompt

enhance_subjectstring

Subject data (this shouldn't change)

Default
"[{\"left\": 0, \"top\": 0, \"scale\": 0.0009765625, \"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/enhance/enhance_sub.png\"}]"
fashion_subjectstring

Subject positions & URLs

Default
"{\"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\"}"
negative_promptstring

Negative Prompt

photoshift_noisenumber

Add noise to masked area

Default
0.65
photoshift_scenestring

Photoshift scene image

Default
"{\"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png\"}"
controlnet_weightnumber

Controlnet weight for the firstpass

Default
0.8
enhance_referencenumber

IP-Adapter strength of scene. If 0 no Reference

Default
0.25
photoshift_promptstring

Photoshift prompt

photoshift_resizeboolean

PhotoShift (If resize the scene image)

Default
true
photoshift_subjectstring

Photoshift subject(s) image

Default
"[{\"left\": 0, \"top\": 0, \"scale\": 0.0009765625, \"image_url\": \"https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_raw2.png\"}]"
hires_guidance_scalenumber

Prompt strength for inpaint.fix

Default
5
photoshift_referencenumber

IP-Adapter reference scale

Default
0.35
enhance_negative_promptstring

Negative Prompt

photoshift_scene_subjectstring

Photoshift scene subject(s) image

photoshift_prompt_strengthnumber

BLIP Caption strength

Default
5
photoshift_cleanup_backgroundboolean

PhotoShift (Clean source image subject)

Default
true

Output schema

Type
uri[]