DEV Community

Cover image for A beginner's guide to the Realvisxl2-Lcm model by Lucataco on Replicate
aimodels-fyi
aimodels-fyi

Posted on • Originally published at aimodels.fyi

A beginner's guide to the Realvisxl2-Lcm model by Lucataco on Replicate

This is a simplified guide to an AI model called Realvisxl2-Lcm maintained by Lucataco. If you like these kinds of analysis, you should join AImodels.fyi or follow us on Twitter.

Model overview

realvisxl2-lcm is an implementation of the SG161222/RealVisXL_V2.0 model, created by lucataco, that uses a Latent Consistency Model (LCM) to require fewer steps (4 to 8) compared to the original 40 to 50 steps. This model builds on the realvisxl-v2.0 and sdxl-lcm models, also created by lucataco, which use LCM to speed up inference.

Model inputs and outputs

realvisxl2-lcm takes a prompt as input, along with optional parameters like image, seed, and guidance scale. It outputs one or more images based on the input. The model inputs and outputs are:

Inputs

  • Prompt: The text prompt that describes the desired image.
  • Image: An optional input image for img2img or inpaint mode.
  • Mask: An optional input mask for inpaint mode, where black areas will be preserved and white areas will be inpainted.
  • Seed: An optional random seed value.
  • Scheduler: The scheduler to use, default is LCM.
  • Num Outputs: The number of images to generate, up to 4.
  • Guidance Scale: The scale for classifier-free guidance.
  • Num Inference Steps: The number of denoising steps.
  • Prompt Strength: The strength of the prompt when using img2img or inpaint.
  • Disable Safety Checker: Whether to disable the safety checker for generated images.

Outputs

  • One or more generated images, in the form of URIs.

Capabilities

realvisxl2-lcm is a photorealistic i...

Click here to read the full guide to Realvisxl2-Lcm

Top comments (0)