Transparent images Transparent background

Generate a subject on a transparent background, ready to place on another image.

5 stepsNothing to prepare

The same tutorial, three subjects

Step by step

Explanation detail
  1. Model & style

    1 · Model

    Use AlbedoBase XL (SDXL) at 1024×1024 for this example.The studio supports transparent output with compatible Stable Diffusion 1.5 or SDXL models. Check the model and worker requirements.Set to 1. The “Set this for me” button selects AlbedoBase XL (SDXL) and sets CLIP skip to 1. Models can need different CLIP skip settings; using the wrong one can give poor results.
  2. Prompt

    2 · Subject prompt

    Describe a subject you want on a transparent background. An isolated subject can make the intended boundary clearer.Prompt:
    a small brass pocket compass on a braided leather cord, engraved bezel, scratched glass, studio product photography, sharp focus, even lighting, isolated subject, plain background
    Negative prompt:
    background, scenery, lowres, blurry, watermark, text
    The workflow generates transparency with the image. Check edges, including hair and other fine details.
  3. Workflows

    3 · Transparent background

    Enable in Workflows.The supported Layer Diffuse workflow generates an alpha channel, which records how transparent each pixel is. This lets you place the subject on another background.
  4. Size

    4 · Dimensions and sampling

    Set the size to 1024×1024.Recorded sampling settings: k_euler_a, 30 steps, guidance 7.5, seed 1234567890. Check the model's suggestions when choosing other dimensions.
  5. 5 · Generation and download

    Press Generate, then save as PNG or WebP to preserve transparency.JPEG does not support transparency. Converting to JPEG replaces transparent areas with a solid background.Check the edges before placing the image on another background. This run took about 127 seconds and cost 45 kudos.

Related tutorial

Try the QR code tutorial to generate artwork containing a code and test whether it scans.