IMAGE
banner
1584×396px
LinkedIn Cover Banner
Professional LinkedIn profile or company page cover banner (1584 × 396).
Use Cases
- Personal LinkedIn profile branding
- Company LinkedIn page covers
- Job seekers showcasing skills
- Personal brand design
Tags
linkedin
professional
cover-banner
personal-branding
career
1584x396
Template Variables
| Variable | Type | Default | Description |
|---|---|---|---|
| name | string | Jane Smith | Your name or company name |
| tagline | string | Building products people love | Professional tagline |
| skills | string | Product · Design · Engineering | Skills or services (use · as separator) |
| logo_url | url | Logo or profile image URL | |
| bg_color | color | #0a66c2 | Background colour |
| text_color | color | #ffffff | Text colour |
| accent_color | color | #ffffff | Accent colour for dividers |
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/banner-linkedin.html", "variables": {"name": "Jane Smith", "tagline": "Building products people love", "skills": "Product \u00b7 Design \u00b7 Engineering", "logo_url": "", "bg_color": "#0a66c2", "text_color": "#ffffff", "accent_color": "#ffffff"}, "width": 1584, "height": 396, "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/banner-linkedin.html",
"variables": {
"name": "Jane Smith",
"tagline": "Building products people love",
"skills": "Product \u00b7 Design \u00b7 Engineering",
"logo_url": "",
"bg_color": "#0a66c2",
"text_color": "#ffffff",
"accent_color": "#ffffff"
},
"width": 1584,
"height": 396,
"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/banner-linkedin.html",
"variables": {
"name": "Jane Smith",
"tagline": "Building products people love",
"skills": "Product \u00b7 Design \u00b7 Engineering",
"logo_url": "",
"bg_color": "#0a66c2",
"text_color": "#ffffff",
"accent_color": "#ffffff"
},
"width": 1584,
"height": 396,
"format": "png"
}),
});
const data = await response.json();
// data.image is a base64-encoded PNG
$body = @{
template_url = "https://toolkitapi.io/static/templates/image/banner-linkedin.html"
variables = {
"name": "Jane Smith",
"tagline": "Building products people love",
"skills": "Product \u00b7 Design \u00b7 Engineering",
"logo_url": "",
"bg_color": "#0a66c2",
"text_color": "#ffffff",
"accent_color": "#ffffff"
}
width = 1584
height = 396
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