eKTP Generator
get__canvas_ektpGenerate a simulated Indonesian e-KTP image from supplied identity details and a passport photo via query parameters for testing or mockups.
Instructions
Generate a simulated Indonesian e-KTP image using query parameters. Method: GET /api/canvas/ektp Tags: Canvas, Image, Generator
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provinsi": "<provinsi>",
"kota": "<kota>",
"nik": "<nik>",
"nama": "<nama>",
"ttl": "<ttl>",
"jenis_kelamin": "<jenis_kelamin>",
"golongan_darah": "<golongan_darah>",
"alamat": "<alamat>",
"rt/rw": "<rt/rw>",
"kel/desa": "<kel/desa>",
"kecamatan": "<kecamatan>",
"agama": "<agama>",
"status": "<status>",
"pekerjaan": "<pekerjaan>",
"kewarganegaraan": "<kewarganegaraan>",
"masa_berlaku": "<masa_berlaku>",
"terbuat": "<terbuat>",
"pas_photo": "<pas_photo>"
},
"name": "get__canvas_ektp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nik | Yes | National ID Number (contoh: "1234567890123456") | |
| ttl | Yes | Place and date of birth (contoh: "Bandung, 01-01-1990") | |
| kota | Yes | City (contoh: "BANDUNG") | |
| nama | Yes | Full name (contoh: "John Doe") | |
| agama | Yes | Religion (contoh: "Islam") | |
| rt/rw | Yes | RT/RW (contoh: "001/002") | |
| alamat | Yes | Address (contoh: "Jl. Contoh No. 123") | |
| status | Yes | Marital status (contoh: "Belum Kawin") | |
| terbuat | Yes | Date of issue (contoh: "01-01-2023") | |
| kel/desa | Yes | Sub-district/village (contoh: "Sukajadi") | |
| provinsi | Yes | Province (contoh: "JAWA BARAT") | |
| kecamatan | Yes | District (contoh: "Sukajadi") | |
| pas_photo | Yes | Passport photo URL (contoh: "https://i.pinimg.com/736x/0b/9f/0a/0b9f0a92a598e6c22629004c1027d23f.jpg") | |
| pekerjaan | Yes | Occupation (contoh: "Pegawai Swasta") | |
| masa_berlaku | Yes | Validity period (contoh: "Seumur Hidup") | |
| jenis_kelamin | Yes | Gender (contoh: "Laki-laki") | |
| golongan_darah | Yes | Blood type (contoh: "O") | |
| kewarganegaraan | Yes | Citizenship (contoh: "WNI") |