laion-ai / laionide

Generate images from text quickly. See https://replicate.com/afiaka87/laionide-v2 for a new checkpoint.

  • Public
  • 7.3K runs
  • T4
  • GitHub
  • Paper
  • License

Input

string
Shift + Return to add a new line

Text prompt to use.

Default: "The Lovers demon skull werewolf tentacle tarot card | Tarot card on artstation | eldritch card"

integer
(minimum: 1, maximum: 6)

Batch size. Number of generations to predict

Default: 3

integer

Must be multiple of 8. Going above 64 is not recommended. Actual image will be 4x larger.

Default: 64

integer

Must be multiple of 8. Going above 64 is not recommended. Actual image will be 4x larger.

Default: 64

boolean

Performs prompt-aware upsampling by 4x base resolution

Default: true

number

Classifier-free guidance scale. Higher values move further away from unconditional outputs. Lower values move closer to unconditional outputs. Negative values guide towards semantically opposite classes. 4-16 is a reasonable range.

Default: 4

number

Upsample temperature. Choose from 0.997, 0.998 or 1.0. Consider lowering to ~0.997 for blurry images with fewer artifacts.

Default: 0.998

string

Number of timesteps to use for base model. Going above 50 has diminishing returns.

Default: "27"

string

Number of timesteps to use for base model. Going above 40 has diminishing returns.

Default: "17"

integer

Seed for reproducibility

Default: 0

Output

file
Generated in

This example was created by a different version, laion-ai/laionide:11a727b3.

Run time and cost

This model costs approximately $0.039 to run on Replicate, or 25 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 T4 GPU hardware. Predictions typically complete within 3 minutes. The predict time for this model varies significantly based on the inputs.

Readme

LAIONIDE

Generate images from text - quickly.

Update: February 22, 2022

Thanks to stability.ai I was able to continue finetuning on LAION2B for awhile. Check it out at laionide v2

Update: February 15, 2022

Coming soon:

  • Checkpoints finetuned even more on LAION2B.
  • ETA: 3-5 days

GLIDE (base filtered) finetuned on 1 million samples from LAION400M for 2 epochs.

The upsampler is also finetuned for about 200K samples.

Checkpoint by Clay Mullis aka afiaka87. Code modified from openai/glide-text2im/notebooks/clip-guided.ipynb

Thanks to nshepperd, neverix, alstroemeria, Jack, Kianne, Thuna, valteralred and others!

Thanks to all of the team and contributors at laion.ai and the dalle-pytorch discord for creating a great dataset and community.