YouTube Bold Title Card preview
IMAGE youtube-thumbnail 1280×720px

YouTube Bold Title Card

High-contrast YouTube thumbnail with bold title text overlaid on a background image.

Use Cases

  • Tutorial and how-to video thumbnails
  • Vlog and lifestyle thumbnails
  • Course content previews
  • Any YouTube video requiring bold text on image

Tags

youtube thumbnail video bold tutorial vlog 1280x720

Template Variables

Variable Type Default Description
title string How I Built This in 30 Days Main thumbnail title
subtitle string Full Tutorial Smaller subtitle text
bg_image_url url https://picsum.photos/seed/yt-bg/1280/720 Background image URL
bg_overlay_color color rgba(0,0,0,0.55) Semi-transparent overlay colour
text_color color #ffffff Title text colour
accent_color color #ef4444 Accent bar / highlight colour
channel_name string My Channel Channel name displayed in corner

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/yt-title-card.html", "variables": {"title": "How I Built This in 30 Days", "subtitle": "Full Tutorial", "bg_image_url": "https://picsum.photos/seed/yt-bg/1280/720", "bg_overlay_color": "rgba(0,0,0,0.55)", "text_color": "#ffffff", "accent_color": "#ef4444", "channel_name": "My Channel"}, "width": 1280, "height": 720, "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/yt-title-card.html",
        "variables": {
            "title": "How I Built This in 30 Days",
            "subtitle": "Full Tutorial",
            "bg_image_url": "https://picsum.photos/seed/yt-bg/1280/720",
            "bg_overlay_color": "rgba(0,0,0,0.55)",
            "text_color": "#ffffff",
            "accent_color": "#ef4444",
            "channel_name": "My Channel"
        },
        "width": 1280,
        "height": 720,
        "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/yt-title-card.html",
    "variables": {
      "title": "How I Built This in 30 Days",
      "subtitle": "Full Tutorial",
      "bg_image_url": "https://picsum.photos/seed/yt-bg/1280/720",
      "bg_overlay_color": "rgba(0,0,0,0.55)",
      "text_color": "#ffffff",
      "accent_color": "#ef4444",
      "channel_name": "My Channel"
    },
    "width": 1280,
    "height": 720,
    "format": "png"
  }),
});
const data = await response.json();
// data.image is a base64-encoded PNG
$body = @{
    template_url = "https://toolkitapi.io/static/templates/image/yt-title-card.html"
    variables    = {
      "title": "How I Built This in 30 Days",
      "subtitle": "Full Tutorial",
      "bg_image_url": "https://picsum.photos/seed/yt-bg/1280/720",
      "bg_overlay_color": "rgba(0,0,0,0.55)",
      "text_color": "#ffffff",
      "accent_color": "#ef4444",
      "channel_name": "My Channel"
    }
    width  = 1280
    height = 720
    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
Back to Template Library