jyoung105 / instant-style

Free Lunch towards Style-Preserving in Text-to-Image Generation by InstantX team (Updated 1 year, 2 months ago)

  • Public
  • 1.9K runs
  • GitHub
  • Paper
Iterate in playground

Input

style_image
file

Input reference image for style

string
Shift + Return to add a new line

Input prompt

string
Shift + Return to add a new line

Input negative prompt

integer
(minimum: 512, maximum: 2048)

Width of output image

Default: 1024

integer
(minimum: 512, maximum: 2048)

Height of output image

Default: 1024

integer
(minimum: 1, maximum: 4)

Number of output images

Default: 1

integer
(minimum: 1, maximum: 50)

Number of denoising steps

Default: 30

number
(minimum: 1, maximum: 20)

Scale for classifier-free guidance

Default: 5

integer

Random seed. Leave blank to randomize the seed

number
(minimum: 0, maximum: 2)

Conditioning scale for ip-adapter

Default: 1

string

Mode to reference the image: original, style with or without layout

Default: "style-only"

string

Mode to reference the image: high flexibility but low fidelity or low flexibility but high fidelity

Default: "original"

boolean

Choose whether you extract only style part of prompt or not

Default: false

string
Shift + Return to add a new line

Input negative prompt

number
(minimum: 0, maximum: 1)

Conditioning scale for content you want to exclude

Default: 0.5

Output

output
Generated in

This output was created using a different version of the model, jyoung105/instant-style:a11eb1cb.

Run time and cost

This model costs approximately $0.12 to run on Replicate, or 8 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 128 seconds. The predict time for this model varies significantly based on the inputs.

Readme

This model doesn't have a readme.