picz.lol
Generate super-fast placeholder images in 330+ edge locations.
Image Generator
px
px
Preview
Adjust parameters to generate image
Generated URL
Adjust parameters to generate URL
Generated Image Tag
Adjust parameters to generate image tag
API Options
- width
- Width of generated image. Defaults to 300.
- height
- Height of generated image. Defaults to 150.
- text
- Text to display on generated image. Defaults to the image dimensions.
- fontFamily
- Font to use for the text. Defaults to sans-serif.
- fontWeight
- Font weight to use for the text. Defaults to bold.
- fontSize
- Font size to use for the text. Defaults to 20% of the shortest image dimension, rounded down.
- dy
- Adjustment applied to the dy attribute of the text element to appear vertically centered. Defaults to 35% of the font size.
- bgColor
- Background color of the image. Defaults to rgba(221, 221, 221, 1)
- textColor
- Color of the text. For transparency, use an rgba or hsla value. Defaults to rgba(0, 0, 0, 0.5)
- textWrap
- Wrap text to fit within the image (to best ability). Will not alter font size, so especially long strings may still appear outside of the image. Defaults to false