IMAGE
professional-card
1024×576px
Team Member Profile Card
Team member or speaker profile card with headshot, name, title, and contact details.
Use Cases
- Team page member cards
- Conference speaker listings
- Event programme bios
- Virtual event speaker tiles
Tags
profile
team
speaker
headshot
business-card
professional
1024x576
Template Variables
| Variable | Type | Default | Description |
|---|---|---|---|
| full_name | string | Jane Smith | Person's full name |
| job_title | string | Head of Product | Job title |
| company | string | Acme Corp | Company or organisation |
| string | [email protected] | Contact email | |
| photo_url | url | https://picsum.photos/seed/profile/300/300 | Headshot photo URL |
| bg_color | color | #f8fafc | Card background colour |
| accent_color | color | #6366f1 | Accent colour |
API Example
POST to
https://image.toolkitapi.io/v1/image/from-template
with your template URL and variable values.
curl -X POST "https://image.toolkitapi.io/v1/image/from-template" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template_url": "https://toolkitapi.io/static/templates/image/card-profile.html", "variables": {"full_name": "Jane Smith", "job_title": "Head of Product", "company": "Acme Corp", "email": "[email protected]", "photo_url": "https://picsum.photos/seed/profile/300/300", "bg_color": "#f8fafc", "accent_color": "#6366f1"}, "width": 1024, "height": 576, "format": "png"}'
import httpx, base64
resp = httpx.post(
"https://image.toolkitapi.io/v1/image/from-template",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"template_url": "https://toolkitapi.io/static/templates/image/card-profile.html",
"variables": {
"full_name": "Jane Smith",
"job_title": "Head of Product",
"company": "Acme Corp",
"email": "[email protected]",
"photo_url": "https://picsum.photos/seed/profile/300/300",
"bg_color": "#f8fafc",
"accent_color": "#6366f1"
},
"width": 1024,
"height": 576,
"format": "png"
},
)
image_bytes = base64.b64decode(resp.json()["image"])
with open("result.png", "wb") as f:
f.write(image_bytes)
const response = await fetch("https://image.toolkitapi.io/v1/image/from-template", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"template_url": "https://toolkitapi.io/static/templates/image/card-profile.html",
"variables": {
"full_name": "Jane Smith",
"job_title": "Head of Product",
"company": "Acme Corp",
"email": "[email protected]",
"photo_url": "https://picsum.photos/seed/profile/300/300",
"bg_color": "#f8fafc",
"accent_color": "#6366f1"
},
"width": 1024,
"height": 576,
"format": "png"
}),
});
const data = await response.json();
// data.image is a base64-encoded PNG
$body = @{
template_url = "https://toolkitapi.io/static/templates/image/card-profile.html"
variables = {
"full_name": "Jane Smith",
"job_title": "Head of Product",
"company": "Acme Corp",
"email": "[email protected]",
"photo_url": "https://picsum.photos/seed/profile/300/300",
"bg_color": "#f8fafc",
"accent_color": "#6366f1"
}
width = 1024
height = 576
format = "png"
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Method POST `
-Uri "https://image.toolkitapi.io/v1/image/from-template" `
-Headers @{"X-API-Key" = "YOUR_API_KEY"} `
-ContentType "application/json" `
-Body $body