Back to pipelines

Text Card

Create professional text overlays and title cards with typography, colors, and animation chosen automatically.

ModelNano Banana 2
3.3

Still needed: Text

Runs on

API

Best for

  • Title cards and section headers for videos
  • Lower-third text overlays on background images
  • Statistics, quotes, or key facts displayed on screen
  • Chapter dividers between video sections

Tips

  • Keep text SHORT, 3-8 words for titles, 10-15 for facts
  • Provide a background image that relates to the text topic
  • The AI picks font, size, color, alignment, and effects automatically
  • For chapter cards: generate a themed background with image-generator first

Text Card API

Call this pipeline from your own code. One request dispatches a run; the model is an input field, not a separate endpoint.

3 inputs
1 required
3.3 credits
bun add @pipe2-ai/sdk
import { createClient } from "@pipe2-ai/sdk";

const client = createClient(process.env.PIPE2_TOKEN!);

const { run_pipeline } = await client.RunPipeline({
  pipeline_slug: "text-card",
  input: {
    text: "The best time to plant a tree was 20 years ago.",
  },
});
pip install pipe2
import asyncio
import os

from pipe2 import Pipe2Client

client = Pipe2Client(token=os.environ["PIPE2_TOKEN"])

run = asyncio.run(client.run_pipeline(
    pipeline_slug="text-card",
    input={
        "text": "The best time to plant a tree was 20 years ago.",
    },
))
go get github.com/pipe2-ai/sdk-go
client := pipe2.NewClient(os.Getenv("PIPE2_TOKEN"))

input := json.RawMessage(`{
  "text": "The best time to plant a tree was 20 years ago."
}`)

run, err := pipe2.RunPipeline(context.Background(), client, "text-card", input)
if err != nil {
    log.Fatal(err)
}
brew install pipe2-ai/tap/pipe2
pipe2 pipelines run \
  --pipeline text-card \
  --input-json '{"text": "The best time to plant a tree was 20 years ago."}' \
  --wait

Get an API token →

Parameters

text required

Text to typeset on the card. Short lines read best.

string
background_url

Public URL of a background image. Leave unset for a generated background.

string
instructions

Optional styling hints for AI

string

Use it from an AI agent

Point any MCP client at pipe2 and your agent gets these tools. It finds this pipeline, reads the same schema above, then runs it.

  • list_pipelines
  • get_pipeline_schema
  • run_pipeline
  • get_pipeline_run_status
  • request_upload
https://mcp.pipe2.ai/mcp
{
  "mcpServers": {
    "pipe2ai": {
      "url": "https://mcp.pipe2.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

Full API reference MCP setup CLI reference

Text Card: AI Text Overlay Designer

Create professional title cards, lower thirds, and text overlays. AI analyzes your background and designs the complete typography, font family, weight, size, color, position, alignment, shadow, and optional subtitle. Just provide text and instructions.

How It Works

  1. Enter your text: AI auto-splits long text into title + subtitle if appropriate
  2. Provide a background: upload an image or video, or let AI generate one
  3. Add instructions: tell the AI your preferred style: "documentary serif", "news lower third", "elegant quote"
  4. AI designs it: AI picks font, size, color, position, shadow, box style, and animation

AI Typography Features

  • Font selection: Sans, Serif, or Mono in Bold, Regular, Italic, or Bold Italic
  • Smart positioning: center, lower third, upper third, left/right aligned
  • Title + subtitle: automatically splits text and styles both layers
  • Box styles: pill badges, full-width banners, or clean no-box
  • Background generation: dark cinematic, bright minimal, or gradient
  • Video animation: fade-in text on video backgrounds

Frequently Asked Questions

How does the AI decide the typography?
AI analyzes your background and instructions to pick font family, weight, size, color, position, shadow, and box style. It considers readability, content tone, and visual space.
Can it create subtitles?
Yes, if your text has a natural break (like a title and tagline), AI splits it into a title + subtitle with different sizing and color.
What fonts are available?
Sans (modern/clean), Serif (formal/elegant), and Mono (technical), each in Bold, Regular, Italic, and Bold Italic.
What styles can I request?
Try instructions like: 'documentary serif title', 'news lower third banner', 'modern left-aligned', 'elegant italic quote', 'tech monospace'.
Does it work on videos?
Yes, video backgrounds get text overlay with fade-in animation. Audio is preserved.

Explore more pipelines

See all →
Video Generator
from 9.5
Video Generator
Image Generator
0.2-6.4
Image Generator
Audio Generator
0.7-1.3
Audio Generator
Music Generator
2.5-45.1
Music Generator