Skip to content

Capsule Render

Dynamic Coloful Image Render.

ref-reporef-online-toolref-official-doc

Parameters

Click to show/close parameters

NameTypeRequiredDefaultDescriptionMore Description
ref-querys
typestringwaveType data makes to change Background ImageSupported: wave egg shark slice rect soft rounded cylinder waving venom speech blur transparent.
colorstringB897FFChange Background ImageSupported: auto timeAuto random gradient timeGradient HEX value or custom gradient, format: widthPer:color1,widthPer:color2....
customColorListstringSelect random color index from preset colorsFormat: idx1,idx2,idx3..., if you want certain colors to have a higher probability of appearing, you can write their indices multiple times. This only takes effect when color is auto or gradient.
themestringdefaultThemeSupported: default dark radical merko gruvbox_light tokyonight onedark cobalt. Theme color reference: pallete_theme.
sectionstringheaderSection data makes reverse Background ImageSupported: header footer.
reversalbooleanfalseReverse the image left and right (Color at the same time)
heightnumber120Change Image SizeUnit: pixels.
textstringInput text over the ImageFormat: %20 space -nl- newline.
descstringInput desc over the ImageFormat: %20 space, Note: -nl- newline is not supported.
textBgbooleanBackground of Text
animationstringMake the text dynamicSupported: fadeIn scaleIn blink blinking twinkling.
fontColorstringChange text colorFormat: HEX e.g. FF0000.
fontSizenumber70Change text font sizeUnit: pixels.
fontAlignnumber50Change text horizontal-align (x)Bettwen 0 and 100, 50 is center, multi-line text will calculate the alignment value.
fontAlignYnumber50Change text vertical-align (y)Bettwen 0 and 100, 50 is center, multi-line text will calculate the alignment value.
descSizenumber20Change desc font sizeUnit: pixels.
descAlignnumber50Change desc horizontal-align (x)Bettwen 0 and 100, 50 is center, multi-line text will calculate the alignment value.
descAlignYnumber60Change desc vertical-align (y)Bettwen 0 and 100, 50 is center, multi-line text will calculate the alignment value.
rotatenumberRotate textBettwen -360 and 360, unit: degrees.
strokestringChange text strokeFormat: HEX e.g. FF0000, if strokeWidth is not set, strokeWidth will default to 1.
strokeWidthnumberChange text stroke widthFormat: HEX e.g. FF0000, if stroke is not set, stroke will default to B897FF.
txt
https://capsule-render.vercel.app/api{?type,color,customColorList,theme,section,reversal,height,text,desc,animation,fontColor,fontSize,fontAlign,fontAlignY,descSize,descAlignY,rotate,stroke,strokeWidth}

Examples

markdown
<!-- kyechan99/capsule-render -->
![Capsule-Render Header](https://capsule-render.vercel.app/api?type=waving&color=auto&height=300&section=header&text=capsule%20render&fontSize=90&animation=fadeIn&fontAlignY=38&desc=Decorate%20GitHub%20Profile%20or%20any%20Repo%20like%20me!&descAlignY=51&descAlign=62)
Capsule-Render Header
markdown
<!-- kyechan99/capsule-render -->
![Capsule-Render Footer](https://capsule-render.vercel.app/api?type=waving&color=auto&height=100&section=footer)
Capsule-Render Footer

Badge Collection (v3.0.5) MIT Licensed