تجاوز إلى المحتوى الرئيسي
On this page

Mirqam Docs

Mirqam مِرقم is an Arabic-first image templating platform. You design a PNG/JPG template (or upload a 1-page PDF which will be rasterized), define fields, then render real images on the backend (no HTML screenshots) with correct Arabic shaping and RTL layout.

Where to start

OpenAPI (Swagger)

The service also exposes OpenAPI / Swagger UI at:

text
https://api.mirqam.net/docs

Local dev default:

text
http://localhost:8000/docs

What you can do

Author templates

  1. Upload a template image in the editor.
  2. Add text fields (Arabic-safe) and image fields (square/circle placeholders).
  3. Press Save to store the template in your library and get a template_id.

Render images

Send only:

json
{
  "template_id": "<TEMPLATE_ID>",
  "data": {
    "title": "مرحبًا بكم"
  }
}

If your schema includes image fields, also include images:

json
{
  "template_id": "<TEMPLATE_ID>",
  "data": {},
  "images": {
    "avatar": "data:image/png;base64,..."
  }
}
Docs | Mirqam مِرقم | مِرقم