A beginner's guide to the T2i-Adapter-Sdxl-Lineart model by Adirik on Replicate

Published: (January 4, 2026 at 09:50 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

The T2I-Adapter-SDXL‑Lineart model is a text‑to‑image generation model developed by Tencent ARC. It extends Stable Diffusion XL (SDXL) by adding line‑art conditioning, allowing the model to modify or generate images based on both a textual prompt and a line‑art input.

Model family

T2I‑Adapter‑SDXL‑Lineart belongs to a family of adapters created by Tencent ARC:

  • t2i‑adapter‑sdxl‑sketch – uses sketch images as conditioning.
  • masactrl‑sdxl – provides editable image generation capabilities.

All these models share the same underlying SDXL checkpoint but differ in the type of visual conditioning they accept.

Usage parameters

ParameterDescription
ImageThe input line‑art image that serves as conditioning for generation.
PromptText describing the desired output image.
SchedulerDiffusion scheduling algorithm (default: K_EULER_ANCESTRAL).
Num SamplesNumber of images to generate (maximum 4).
Random SeedOptional seed for reproducible results.
Guidance ScaleControls how strongly the output follows the text prompt.
Negative PromptText specifying elements that should be avoided in the output.
Num Inference StepsNumber of diffusion steps (up to 100).
Adapter Conditioning ScaleDetermines the influence of the line‑art conditioning.
Adapter Conditioning FactorControls the overall size of the generated image.

Output

The model returns an array of generated images as image URIs.

Back to Blog

Related posts

Read more »