astramlco / easycontrol-ghibli

Make images in Studio Ghibli art style

  • Public
  • 2.4K runs
  • L40S
  • GitHub
  • Paper
  • License
Iterate in playground

Input

spatial_img
string
Shift + Return to add a new line

Enter a text prompt to guide image generation.

Default: "Ghibli Studio style, Charming hand-drawn anime-style illustration"

*file

Ghibli-style spatial control image.

integer
(minimum: 256, maximum: 1024)

Set the height of the generated image (pixels).

Default: 768

integer
(minimum: 256, maximum: 1024)

Set the width of the generated image (pixels).

Default: 768

integer

Set a random seed for generation (-1 for random).

Default: 42

boolean

Use CFG zero star.

Default: true

integer
(minimum: 0)

Zero init steps.

Default: 1

string

Control type (currently only Ghibli supported).

Default: "Ghibli"

string

Choose the format of the output images.

Default: "png"

integer
(minimum: 1, maximum: 100)

Set the quality of the output image for jpg and webp (1-100).

Default: 90

Output

output
Generated in

Run time and cost

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

Readme

This is the EasyControl model to turn any images into Ghibli style.

Usage:

  • prompt: keep Ghibli Studio style, Charming hand-drawn anime-style illustration in the prompt to trigger Ghibli style image generation, and prepend your own prompt.
  • height and width: Dimensions of generated image. Those have to be a multiple of 8 px for now.
  • use_zero_init and zero_steps: Enable CFG-Zero*. It’s recommended for better control and image quality.
  • output_format and output_quality: Image type and optional compression quality.