In this guide you will learn how to render an image using the simple render API.

Account creation and template creation

To get started, you need to create an account on Rendless. Once you have created an account, you can create a template on the page Templates by clicking on the “Create template” button.

Create a template in the home of Rendless dashboard

Image generation

After creating a template, you can generate an image using the simple render API. You need to provide the template ID and the data to be rendered in the image.

for example this call :

curl -X GET https://rendless.com/api/simple-url/TEMPLATE_ID?name=John

In this example, the template ID is TEMPLATE_ID and the dynamic data to be rendered is name=John. This call returns a URL to the generated image.

Lean more about the dynamic images with variables.

You could diretly use this URL in your website or app to display the generated image as og image in your head tag.

<meta
  property="og:image"
  content="https://rendless.com/api/simple-url/TEMPLATE_ID?name=John"
/>

Conclusion

In this guide, you learned how to create your first image using the simple render API. You can now use Rendless to generate images for your website or app.