zust-ai / photoshift

  • Public
  • 10.6K runs
  • A100 (80GB)
Iterate in playground

Input

boolean

Check if Server Alive

Default: false

boolean

Detailed Output

Default: false

string
Shift + Return to add a new line

photoshift, upscale, retouch

Default: "photoshift"

string
Shift + Return to add a new line

Request Type

Default: ""

boolean

Is this a pro user?

Default: false

integer

Seed

Default: -1

boolean

PhotoShift (Clean source image subject)

Default: true

string
Shift + Return to add a new line

Photoshift scene image

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

string
Shift + Return to add a new line

Photoshift scene 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/elem/ps_elem_mask.png\"}]"

string
Shift + Return to add a new line

Photoshift elements

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

integer

Erode element mask

Default: 10

string
Shift + Return to add a new line

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/elem/ps_elem_sub.png\"}]"

string
Shift + Return to add a new line

Photoshift prompt

Default: ""

number

Add noise to masked area

Default: 0.65

integer

Number of generated images

Default: 1

number

IP-Adapter reference scale

Default: 0.5

number

BLIP Caption strength

Default: 5

boolean

PhotoShift (If resize the scene image)

Default: true

string
Shift + Return to add a new line

Upscale the Image

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

integer

Upscaling factor

Default: 2

string
Shift + Return to add a new line

Get SAM Embeddings

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

string
Shift + Return to add a new line

Enhanxe scene image

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

string
Shift + Return to add a new line

Subject image (for overlay)

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

string
Shift + Return to add a new line

Enhance subject mask (for SAM, binary image)

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

string
Shift + Return to add a new line

Mask image (for inpaint)

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

number

Noise for img2img

Default: 0.65

string
Shift + Return to add a new line

Enhance prompt

Default: ""

number

Enhance prompt strength

Default: 5

number

IP-Adapter reference

Default: 0.35

boolean

Use full canny or not?

Default: true

integer

Number of generated images

Default: 1

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.061 to run on Replicate, or 16 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 44 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.