Branded Image Generator API — Social & Product Cards
Pricing
from $0.80 / 1,000 template images
Branded Image Generator API — Social & Product Cards
Generate branded social cards, product offers and quote images from JSON. PNG or JPEG, social or square, text/logo/product-image fields. Three fixed templates, no AI API bill.
Pricing
from $0.80 / 1,000 template images
Rating
0.0
(0)
Developer
Bhojraj Pilaniya
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Features
Share
What does this Actor do?
Generate repeatable Open Graph cards, catalog offers and quote graphics from your CMS, spreadsheet or n8n workflow. Text is escaped, optional images are loaded from public URLs, and long headings are clamped to keep a consistent layout.
How to use it
- Enter your input in the form or JSON editor.
- Set Maximum cost per run in the run options.
- Start the Actor, then open Files and errors in Output.
- Download each file from its fileUrl. The dataset can also be exported as JSON, CSV or Excel.
Example input
{"items": [{"template": "product-offer","title": "Your product launch","brand": "Example Store","price": "₹999","subtitle": "Simple branded cards from JSON.","accentColor": "#0d9488"}],"size": "social"}
See the Input tab for all options and validation limits.
Pricing
Pay per successful output, with no Actor subscription. Platform usage is included in event pricing. Current configured prices are shown in the Pricing tab.
| Event | Price |
|---|---|
| Template image | $0.80 / 1,000 successful files |
| Actor start | $0.0005 per GB of allocated memory, minimum one event |
The start fee applies even if every item fails. There is no result fee for an invalid URL, HTTP error, missing element, timeout or failed render. Budget-skipped items have no result fee. Start fewer runs with larger batches to reduce startup overhead. For example, 100 items cost 100 × the applicable result price plus one memory-based start fee. An item is one output on one device/size, not one input domain with unlimited variants.
This purchase provides hosted Actor usage. Source-code ownership, resale rights, custom development, permanent file hosting and a service-level agreement are not included. Apify handles accounts and billing; you do not register on a separate website. Generated files live in the run storage and follow your Apify plan's retention and access rules. Download files you need to keep.
Output
| Field | Meaning |
|---|---|
| status | success or failed |
| id / index | Match output to input |
| fileUrl / fileKey | Download location |
| contentType / bytes / sha256 | File type, size and integrity |
| width / height | Image dimensions; null for PDF |
| finalUrl / httpStatus | Website result; null for HTML/template input |
| truncated | Full page was cropped at maxHeight |
| durationMs / error | Render timing or failure reason |
SUMMARY contains requested, successful, failed, skipped and budgetStopped counts. When the spending limit is reached, remaining inputs are counted as skipped in SUMMARY rather than generating a row for each one. Rendering is sequential to keep budget enforcement predictable. Completed-item progress is saved; restarting a completed run is not a new free entitlement or an exactly-once guarantee across abrupt platform failures.
API and n8n
Use your own Apify token on the server or in an n8n credential. Never embed a private token in a public webpage. No upstream paid API key is required. The API tab supplies account-specific examples.
import axios from 'axios';const { data: run } = await axios.post('https://api.apify.com/v2/acts/chirpy_polygon~branded-image-template-api/runs',{"items":[{"template":"product-offer","title":"Your product launch","brand":"Example Store","price":"₹999","subtitle":"Simple branded cards from JSON.","accentColor":"#0d9488"}],"size":"social"},{ headers: { Authorization: 'Bearer ' + process.env.APIFY_TOKEN },params: { maxTotalChargeUsd: 1 } });// Poll GET /v2/actor-runs/{run.data.id} until terminal status.// Then GET /v2/datasets/{run.data.defaultDatasetId}/items.
In n8n, use an HTTP Request node with POST, the same URL, a saved bearer credential and JSON body. Poll the run or use an Apify webhook, then fetch the dataset. Starting a run does not mean its files are ready.
Limits and troubleshooting
Three fixed templates: social-card, product-offer and quote-card. Social 1200 × 630 or square 1080 × 1080, PNG/JPEG. Up to 500 images/run. Long text is clamped and can be omitted beyond the available lines; preview representative content before bulk production. Logo/asset URLs must load successfully; otherwise the item fails without a result fee. This is deterministic template composition: no AI image generation, custom font upload, full design editor, WebP output or arbitrary HTML input.
Only public HTTP(S) resources on ports 80/443 are supported. Localhost, private/reserved addresses and private-network redirects/resources are blocked by a DNS-pinned outbound proxy. No login, user cookies, user-supplied request headers or CAPTCHA solving. Use only content you are authorized to process, and follow the target site's terms. Files may contain information from the submitted page; choose appropriate storage access and retention.
If a file link asks for authentication, use the same Apify account or authorized API token; do not append tokens to publicly shared links. For a problem, open an issue with a non-sensitive sample input and run ID. Do not post passwords, tokens or confidential documents.