Duck
Tutorials6 min read

Building an AI Business Card Generator: A Practical Guide

Samet Turan— Editor··6 min read

Learn to create an AI business card generator using no‑code tools and simple prompts, then deploy it fast with a ready‑made blueprint.

Building an AI Business Card Generator: A Practical Guide

Designing business cards by hand eats up hours you could spend on client work. An ai business card generator can spit out dozens of variations in minutes, but most tutorials leave you with files that need manual fixing before they’re print‑ready.

After reading this you’ll be able to wire a prompt‑to‑design pipeline that creates a print‑ready PDF, stores it in Airtable, and notifies you when a new card is ready.

How do you keep the AI from putting text outside the bleed?

Most AI image models treat the canvas as an infinite plane. They don’t know about bleed, safe zone, or margin requirements for print. The result? A gorgeous logo that gets chopped off when the printer trims the card.

I solved this by adding a simple rule‑based post‑process step: after the AI returns an image, I run a tiny script that checks the distance of any text element from the edge. If it’s closer than 0.125 in (the standard bleed), the script nudges the element inward and re‑runs the prompt with a revised layout description.

That script lives in a the Make platform scenario as a custom JavaScript module. It’s only ~30 lines, but it saves me from manually moving objects in Canva every time.

What most guides get wrong about AI card design

Many guides tell you to feed the model a vague prompt like “make a modern business card” and call it a day. They ignore the fact that AI doesn’t understand brand constraints unless you spell them out.

What they miss is the need for a structured prompt that separates three layers: brand data (name, title, logo URL), style rules (font family, color palette, layout grid), and output specs (size, bleed, file format). Without that separation you get cards that look cool but are unusable.

I keep those three layers in separate Airtable fields. The scenario pulls them together, builds a prompt, sends it to Claude, then passes the result to the Canva API.

A real prompt that works with Claude 3.5

Here’s the exact prompt I use (the Claude model is called via the Anthropic API inside Make.com):

You are a senior graphic designer. Create a business card layout description based on the following inputs:

Brand data:
- Name: {{name}}
- Title: {{title}}
- Email: {{email}}
- Phone: {{phone}}
- Logo URL: {{logo_url}}

Style rules:
- Primary font: {{font_primary}}
- Secondary font: {{font_secondary}}
- Primary color: {{color_primary}} (hex)
- Secondary color: {{color_secondary}} (hex)
- Layout preference: {{layout_pref}} (e.g., "left-aligned logo, right-aligned text")

Output spec:
- Card size: 3.5 in × 2 in
- Bleed: 0.125 in on all sides
- Safe zone: keep all text and logo at least 0.25 in from the edge
- Return a JSON object with fields: "background_color", "elements" (each element has type, content, x, y, width, height, font_size, font_family, color).

Make sure every element respects the bleed and safe zone.

I store the variables in Airtable and let Make.com inject them before the API call. The JSON output is then sent straight to the Canva API’s “/designs” endpoint, which renders a PDF ready for download.

How to debug when the output looks off

When the generated card looks strange, I first check the raw JSON from Claude. If the coordinates are outside the 3.5 × 2 in canvas, the problem is in the prompt or the variable injection.

My go‑to steps:

  1. Look at the Make.com scenario log for the Claude module – copy the prompt and the returned JSON.
  2. Paste the JSON into a quick validator (I use jsonlint.com) to confirm it’s parsable.
  3. If the JSON is valid but the coordinates are wrong, I adjust the layout_pref variable (e.g., switch from “centered” to “left-aligned”) and rerun.
  4. If the coordinates are fine but the design looks ugly, I check the font files – Canva API only accepts fonts that are uploaded to the team kit.
  5. Finally, I verify the bleed script ran – I added a temporary step that logs the adjusted coordinates before the Canva call.

Nine times out of ten the issue is a stray space in a variable that breaks the JSON structure. Fixing that takes less than a minute.

Putting it together: a simple no‑code stack

You don’t need a PhD in machine learning to run this. Here’s the numbered list of components I use:

  1. Airtable – base with tables for Contacts, Brand Assets, and Generated Cards.
  2. Make.com – orchestrates the flow: when a new contact is added, it pulls brand data, builds the prompt, calls Claude, runs the bleed‑check JavaScript, and pushes the design to Canva.
  3. Canva API – turns the JSON layout into a print‑ready PDF (requires a Pro team for API access).
  4. Gmail (or Slack) – sends you a link to the PDF when the scenario finishes.

The whole thing runs in under two minutes per card. I’ve set it to trigger on a webhook from my CRM, so every new lead gets a personalized card automatically.

Price check and my take

Here’s what the stack costs me each month:

  • Airtable Plus: $20/mo (enough records for a solo operator)
  • Make.com Core plan: $29/mo (10 k operations, plenty for a few hundred cards)
  • Canva Pro (team): $12.99/mo per user (needed for API)
  • Anthropic Claude API: ~$0.008 per 1k tokens; my average call uses ~2k tokens → ~$0.016 per card.
  • Gmail: free with Google Workspace.

That’s roughly $62/mo before the tiny API usage. I think $62/mo is fair for a fully automated, print‑ready card pipeline that saves me at least five hours a month. If you’re just testing, the free tiers of Airtable and Make.com let you run about 100 cards a month – enough to see if the idea sticks.

One concrete gripe: the free Make.com plan caps you at 1 000 operations a month, which I blew through after a single day of testing because each card generation uses six operations (prompt, JavaScript, Canva call, etc.). It’s annoying, but the paid plan removes that headache.

One concrete love: I love how the Canva API lets you swap the primary font with a single parameter – no need to re‑upload assets every time you tweak a brand guideline.

Direct opinion that could be wrong: I think using GPT‑4 for the layout step is overkill; a well‑crafted prompt with Claude 3.5 gives comparable results at a third of the cost.

(Which, yes, is annoying) – the Canva API documentation hides the bleed‑spec field under “advanced options”, so you have to dig through the PDF export settings to find it.

For more on this exact angle, AI meeting tools coverage.

If you’d rather skip the build and deploy a working version in an afternoon, we’ve packaged this workflow as a blueprint at deepusecase.com/vault.

— The Colophon

One AI tool. Tested. Reviewed.
In your inbox every Sunday.

~3 minute read. Real outcomes from operators, not marketers.

Free. One email per Sunday. Unsubscribe in one click.