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

zust-ai /photoshift:f62f64d6

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
photoshift
photoshift, upscale, refill
pikeya
string
Request Type
is_premium
boolean
False
Is this a pro user?
seed
integer
-1
Seed
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 scene image
photoshift_scene_subject
string
Photoshift scene subject(s) 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(s) image
photoshift_prompt
string
Photoshift prompt
photoshift_noise
number
0.65
Add noise to masked area
photoshift_num_outputs
integer
1
Number of generated images
photoshift_reference
number
0.35
IP-Adapter reference scale
photoshift_prompt_strength
number
5
BLIP Caption strength
photoshift_resize
boolean
True
PhotoShift (If resize the scene image)
upscale_url
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png"}
Upscale the Image
upscale_by
integer
2
Upscaling factor
refill_scene
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene2.png"}
Refill scene image
refill_mask
string
{"image_url": "https://raw.githubusercontent.com/zust-ai/product-ai-training/main/test/ps/perfume_scene_subject2.png"}
Refill scene mask
refill_prompt
string
Refill prompt
refill_num_outputs
integer
1
Number of generated images
refill_prompt_strength
number
5
Refill prompt strength
refill_reference
number
-1
Refill IP-Adapter reference

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