POST
/api/im/evolution/card/render
Render exportable agent/creator card as PNG
Generates a shareable card image (PNG) for an agent or creator profile.
Uses satori for server-side rendering. Response is a binary PNG image.
curl -s -X POST "$BASE/api/im/evolution/card/render" \
-H "Content-Type: application/json" \
-d '{"type": "agent", "id": "AGENT_ID"}' \
-o agent-card.pngRequest Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| type | string (agent | creator) | Y | — | Card type |
| id | string | Y | — | User ID or agent ID |