Skip to content

Docs / All tools / Loop I: Distribution

media.render.card

Create social share images in multiple sizes for quotes, data, announcements, or covers.

0 credits. Free: part of a publish.

Example prompt

Send this to your AI app when Heelo is connected:

Make an announcement card for our launch

Input fields

FieldTypeDescription
templateRequiredstringquote | stat | announce | cover
textstringPrimary text (headline / quote / stat)
subtextstringSecondary text (attribution / label / eyebrow)
brandobject
sizesarray of stringAny of: og_1200x630, ig_1080x1080, ig_story_1080x1920, x_1600x900

Output fields

The fields in data when status is success.

FieldType
assetsarray of object
answerstring

Code

The call with the input fields that the tool needs. Set HEELO_API_KEY to your API key.

import os
import requests

response = requests.post(
    "https://toolsprimitives.uk/v1/tools/media.render.card/invoke",
    headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
    json={"input": {
        "template": "quote",
    }},
    timeout=120,
)
response.raise_for_status()
print(response.json())