URL Images let's you generate images dynamically based on the provided URL parameters. This is particularly useful for creating custom images for articles, blog posts, or social media content.
https://url-image.vercel.app/api/cover?t=Image%20From%20URL%20Params&w=700
https://url-image.vercel.app/api/cover
tortitle: The title text to be included in the image. This is a required parameter.dordesc: The description text to be included in the image. This is optional.worwidth: The width of the generated image in pixels. Default is1200.horheight: The height of the generated image in pixels. Default is630.sorstyle: The style to be used for the image. Options includedefault,minimal,uno,dos, andtres. Ifrorrandomis used, a style is randomly selected.
To generate an image, construct a URL using the above parameters. For example:
https://url-image.vercel.app/api/cover?t=My%20Article%20Title&d=Description%20of%20the%20article&w=800&h=630&s=uno
This URL will generate an image with the title "My Article Title", a description, the specified dimensions, and using the uno style, as shown below.
default: The default style for image generation.minimal: A minimalistic style.uno: A specific custom style.dos: Another specific custom style.tres: Yet another custom style.random: Randomly selects one of the available styles.
Kindly note that this project is still in progress, and the contribution guide will be updated momentarily.