# Social card for a link

Reads a page and makes a 16:9 share card with its headline, on Ideogram 3 through fal. fal is billed to you.

Requires your fal.ai key, through the fal MCP server; fal bills your account for each image, voice and clip. Requires web fetch.

## Install

```sh
npx @parcha/agentrun template install github:Parcha-ai/agentrun-templates/templates/link-social-card@9ed9ff98e3130d3dce065743e8c60bb13e84f646 --trust
```

Or open `<your AgentRun address>/#/templates/install?src=github%3AParcha-ai%2Fagentrun-templates%2Ftemplates%2Flink-social-card%409ed9ff98e3130d3dce065743e8c60bb13e84f646`. Pinned to commit 9ed9ff98e3130d3dce065743e8c60bb13e84f646.

### Install with your agent

Copy this prompt into your coding agent:

```text
Help me install the Social card for a link template on my existing AgentRun.

Pinned template source: github:Parcha-ai/agentrun-templates/templates/link-social-card@9ed9ff98e3130d3dce065743e8c60bb13e84f646
Read the template and its instructions: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/link-social-card

Ask for my AgentRun address or local installation directory if you do not already know it. Confirm which instance to use before making changes.
Read https://agentrun.ai/SKILL.md and inspect the installed version's template install help. Use the installation workflow that version supports.
Review this template's setup, instructions and requested tools with me, then install the pinned version on that instance with the settings and permissions I approve. Do not start a second instance or redeploy my existing one.
If this version cannot install templates, explain what is missing and the supported next step. Verify the result and tell me how to run the installed agent.
```

## What it does

Give it a public link (a blog post, a launch page, a doc) and get a share image for it in the run's files, a 16:9 card with a short headline set in the picture, made on fal.ai with Ideogram 3, which draws text cleanly. It reads the page, takes the headline from what the page itself says, and gives you the headline, the alt text and the prompt it used. Each card costs a few cents of fal. Needs your fal key, added as the fal server in Settings → MCP servers (hosted AgentRun bills fal as run spend instead).

- Skill `fal-media`: Make images and short videos with fal.ai through its MCP server (the \`fal\` server, tools named mcp:fal/\<tool\>). Covers picking a model and checking its price, run\_model versus submit\_job, following a job without paying twice, saving each output into the run's files, the current model catalog, prompting craft, and the errors fal returns. Use whenever a task asks for a generated image, illustration, social card, thumbnail, or a short clip.

## What starts it

- By hand, any time: from the console, the API or the CLI.

## Inputs

| Name | Type | Required | What it is |
| --- | --- | --- | --- |
| `url` | string, uri, 0 to 2000 characters | yes | A public page the card is for. Its words go to fal and Ideogram as part of the prompt. Example: `https://example.com/blog/faster-exports`. |
| `headline` | string, 0 to 80 characters | no | The words on the card, if you want to choose them. Otherwise it takes them from the page. |
| `look` | string, one of bold, minimal, illustrated, photo | no | Bold: big type on strong color; minimal: lots of space, one accent; illustrated: a drawing beside the type; photo: a photo behind the type. Default: `bold`. |

## What it needs

- Harness: pi, claude-agent, codex
- Model: fast tier, low effort
- Tools: read, web_fetch, web_save
- fal.ai MCP server tools: get_pricing, get_model_schema, run_model, wait_for_jobs, get_submission. Draws the card on fal.ai with the fal key this server keeps: the agent never sees it. Held to Ideogram 3, so a run can't pick a costly model. One card per run, billed to your fal account, or on hosted AgentRun as run spend; reads are free.
- Computer: Wherever your AgentRun puts a new agent
- Keys: A model key
- Learning: off

## Sample output

Input:

```json
{
  "url": "https://go.dev/blog/go1.22",
  "look": "bold"
}
```

Output:

![Bold flat graphic in cyan and deep blue reading "Go 1.22 is released!" in large type on the left, with stacked geometric blocks and a loop arrow on the right.](https://marketplace.agentrun.ai/templates/link-social-card/samples/live-go-release/social-card.png)

**Headline:** Go 1.22 is released! (from page title)

**Alt text:** Bold flat graphic in cyan and deep blue reading "Go 1.22 is released!" in large type on the left, with stacked geometric blocks and a loop arrow on the right.

**Model:** fal-ai/ideogram/v3 (TURBO, DESIGN style, 16:9, one image)

**Prompt:** Bold graphic social card, 16:9. Large headline text: "Go 1.22 is released!" set big and heavy, left-aligned with generous margins. Bold flat design with a vivid cyan and deep blue palette, and a simple abstract visual of stacked geometric blocks and a loop arrow on the right side, evoking programming and iteration. Clean, high contrast, minimal background.

Media:

- [social-card.png](https://marketplace.agentrun.ai/templates/link-social-card/samples/live-go-release/social-card.png)

## Tested

Passes 3 of 3 eval cases on pi. On the live web, 1 of 1 on pi.

4 eval cases: headline-from-page, injection-on-page, live-go-release, page-unreadable.

## Source

- Package: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/link-social-card
- Publisher: Parcha-ai
- Author: Parcha Labs
- Version: 0.1.0
- License: Apache-2.0
- Category: Marketing
- Page: https://marketplace.agentrun.ai/templates/link-social-card/
