prompthunt / cog-sd15-inference

  • Public
  • 99 runs
  • L40S

Input

string
Shift + Return to add a new line

LoRA weights to use. Leave blank to use the default weights.

string
Shift + Return to add a new line

Input prompt

Default: "An photo of cjw man"

string
Shift + Return to add a new line

Specify things to not see in the output. Supported embeddings: realisticvision-negative-embedding, EasyNegative, FastNegativeV2, BadDream, ng_deepnegative_v1_75t, UnrealisticDream, negative_hand-neg

Default: ""

file

Input image for img2img or inpaint mode

file

Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.

integer

Width of output image

Default: 512

integer

Height of output image

Default: 512

integer
(minimum: 1, maximum: 4)

Number of images to output.

Default: 1

string

scheduler

Default: "K_EULER"

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 50

number
(minimum: 1, maximum: 50)

Scale for classifier-free guidance

Default: 7.5

number
(minimum: 0, maximum: 1)

Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image

Default: 0.8

integer

Random seed. Leave blank to randomize the seed

boolean

Should swap face

Default: false

file

Source image for face swap

string

Which refine style to use

Default: "no_refiner"

number
(minimum: 0, maximum: 1)

For expert_ensemble_refiner, the fraction of noise to use

Default: 0.8

integer

For base_image_refiner, the number of steps to refine, defaults to num_inference_steps

boolean

This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.

Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Default: true

file

Pose image for controlnet

number
(minimum: 0, maximum: 4)

How strong the controlnet conditioning is

Default: 0.75

number
(minimum: 0, maximum: 1)

When controlnet conditioning starts

Default: 0

number
(minimum: 0, maximum: 1)

When controlnet conditioning ends

Default: 1

boolean

Fix the face in the image

Default: false

number

Amount of blur to apply to the mask.

Default: 8

number

Amount of padding (as percentage) to add to the face bounding box.

Default: 2

integer

Resize the face bounding box to this size (in pixels).

Default: 512

boolean

Upscale the face using GFPGAN

Default: false

string
Shift + Return to add a new line

Input prompt

Default: "A photo of cjw man"

string
Shift + Return to add a new line

Input Negative Prompt

Default: ""

integer
(minimum: 1, maximum: 500)

Number of denoising steps

Default: 25

number
(minimum: 1, maximum: 50)

Scale for classifier-free guidance

Default: 3

number
(minimum: 0, maximum: 1)

Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image

Default: 0.35

number
(minimum: 0, maximum: 1)

LoRA additive scale. Only applicable on trained models.

Default: 0.6

number
(minimum: 0, maximum: 4)

How strong the controlnet conditioning is

Default: 0.75

number
(minimum: 0, maximum: 1)

When controlnet conditioning starts

Default: 0

number
(minimum: 0, maximum: 1)

When controlnet conditioning ends

Default: 1

Output

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

Run time and cost

This model costs approximately $0.010 to run on Replicate, or 100 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 L40S GPU hardware. Predictions typically complete within 11 seconds.

Readme

This model doesn't have a readme.