AI Baby Card MakerAPI

Make a new baby wishes card or a birth announcement in seconds. Pick one of 10 designs for girls, boys, twins and Indian families, add the baby's name and birth details or your wishes, and get a print-ready card plus a phone story. Your words are typeset exactly as written, in English or Hindi, so names and dates are always spelled right.

design tools~15 credits/callv1.0.0

Endpoint

endpoint
POST https://backend.aaddyy.com/api/ai/baby-card-maker

Authentication

header
Authorization: Bearer YOUR_API_KEY

Parameters

Required

templateIdstringrequired

Design to use. GET /api/ai/baby-card-maker/templates (public) lists the designs with preview images, the occasion each is for, and each occasion's fields; only ids listed there are accepted.

Values: wishes-peony-blushwishes-paper-boatswishes-moon-lullabywishes-two-little-birdswishes-marigold-cradlewishes-peacock-blessingsannounce-wildflower-archannounce-starry-nightannounce-sage-eucalyptusannounce-twin-balloons

Example: announce-sage-eucalyptus

Optional

occasionstring

new-baby-wishes (needs senderName) or birth-announcement (needs babyName and birthDate). Defaults to the design's occasion.

Values: new-baby-wishesbirth-announcement

senderNamestring

Who the card is from, printed exactly as written. Used by new-baby-wishes; required for new-baby-wishes.

babyNamestring

The baby's name, printed under the headline. Used by new-baby-wishes and birth-announcement; required for birth-announcement.

parentsNamesstring

Printed as 'Dear <names>,' above the message. Used by new-baby-wishes.

headlinestring

Replaces the design's headline (for example 'Welcome, Little One'). Used by new-baby-wishes and birth-announcement.

messagestring

Replaces the design's message. Up to 3 line breaks are kept. Hearts print; other emoji are left out. Used by new-baby-wishes and birth-announcement.

signOffstring

Line above your name. Default 'With love,'. Used by new-baby-wishes.

birthDatestring

Free text, printed as written ('October 14, 2026' or '14 October 2026'). Used by birth-announcement; required for birth-announcement.

birthTimestring

For example '6:42 AM'. Used by birth-announcement.

weightstring

For example '7 lb 4 oz' or '3.2 kg'. Used by birth-announcement.

lengthstring

For example '20 in' or '51 cm'. Used by birth-announcement.

birthPlacestring

Hospital, town or both. Used by birth-announcement.

parentsLinestring

For example 'Proudly shared by Isolde & Rafferty'. Used by birth-announcement.

siblingsLinestring

For example 'and big brother Thaddeus'. Used by birth-announcement.

formatsarray

Extra formats besides the card: ['story'] adds a 1080x1920 phone story (in data.formats.story).

output_formatstring

Image format of the card (the story is always JPEG).

Values: pngjpegwebp

Default: png

Example Request

cURL
curl -X POST https://backend.aaddyy.com/api/ai/baby-card-maker \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "announce-sage-eucalyptus",
    "length": "20 in"
  }'

Request Body

json
{
  "templateId": "announce-sage-eucalyptus",
  "length": "20 in"
}

Example Response

json
{
  "success": true,
  "message": "AI Baby Card Maker completed successfully",
  "timestamp": "2026-11-03T22:49:51.381Z",
  "requestId": "req_jk95zwei7",
  "data": {
    "cost": 0.15,
    "remainingCredits": 9.95
  }
}

SDK

javascript
import { AADDYY } from 'aaddyy'

const client = new AADDYY()
const result = await client._request('POST', '/api/ai/baby-card-maker', {
  "templateId": "announce-sage-eucalyptus",
  "length": "20 in"
})

Install: npm install aaddyy

Pricing

~15 credits (~$0.15) per request

Rate Limits

20 requests per 1m

Burst: 5