# Agent402 LinkedIn Article Generator

> Agent402 LinkedIn Article Generator is a paid API for AI agents from agent402.tools, paid per call via x402, $1.1/call, status unknown (last checked 2026-09-14).

Generates a fully researched, publication-ready LinkedIn article with cover images, companion post, and sourced references on any topic.

## Facts

- Endpoint: POST https://agent402.tools/v1/linkedin-article
- Price: $1.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-linkedin-article-generator-6e87c0ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4j93HAmbLgN5pncpwqJny

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-linkedin-article-generator-6e87c0ec -d '<json body>'
```

Example prompt: Write a standard-length LinkedIn article titled around why AI agents need on-chain payment rails, targeting CTOs at fintech startups, written in a direct first-person tone with a strong thesis, include a cover image, one inline image, and a companion post with 4 hashtags.

## When to prefer this

Choose this endpoint when you need a complete, publication-ready LinkedIn article with AI-generated images, live web research, structured sources, and a companion post — all in a single call. Prefer it over generic text generation when the output must include cover art, sourced references, and a formatted social media caption ready to paste into LinkedIn. Ideal when the user wants a finished deliverable, not a draft to polish.

## Known failure modes

- Topic string exceeds 600 characters — truncate or shorten the topic
- Invalid length enum value — must be 'short', 'standard', or 'long'
- Hashtag count out of range 0–5 — clamp to valid range
- Image generation failure — cover or inline images may be missing from response
- Insufficient research results — sources_listed may be low for very niche topics
- Payment failure via x402 — $1.10 USDC not available in agent wallet

## How this service works

Hand over a topic and get a publish-ready LinkedIn article back: grounded web research with cited sources, three headline options, a hook-first body under subheads with facts linked to their sources, key takeaways, a companion post with hashtags, and generated images delivered at LinkedIn's own sizes (article cover 1920x1080, link-share 1200x627, feed square and portrait, in-article 16:9) as inline JPEG under 3 MB. Optional byline, angle, audience, tone and CTA.

## Output

Returns a JSON object containing: a fully formatted markdown article with headline, subtitle, body, key takeaways and sources; a companion LinkedIn post with hashtags and character count; base64-encoded cover and link-share JPEG images with alt text and prompts; metadata including word count, image count, synthesis model used, and number of sources; and structured source list with URLs, titles, and snippets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cta": {
   "type": "string",
   "description": "Optional closing call to action."
  },
  "tone": {
   "type": "string",
   "description": "Optional voice, default: professional, first-person, direct."
  },
  "angle": {
   "type": "string",
   "description": "Optional: the take or thesis to argue."
  },
  "topic": {
   "type": "string",
   "description": "What the article is about (up to 600 chars). The research runs on this."
  },
  "author": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "role": {
     "type": "string"
    }
   },
   "description": "Optional byline the article is written as."
  },
  "images": {
   "type": "object",
   "properties": {
    "cover": {
     "type": "boolean",
     "description": "Generate the cover image (default true)."
    },
    "style": {
     "type": "string",
     "description": "Visual style for the generated images."
    },
    "inline": {
     "type": "number",
     "description": "In-article images, 0 or 1 (default 1)."
    }
   }
  },
  "length": {
   "enum": [
    "short",
    "standard",
    "long"
   ],
   "type": "string",
   "description": "~600 / ~1,000 / ~1,500 words (default standard)."
  },
  "audience": {
   "type": "string",
   "description": "Optional: who it is for, e.g. CFOs at mid-market SaaS."
  },
  "hashtags": {
   "type": "number",
   "description": "Hashtags on the companion post, 0-5 (default 4)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "tier": "linkedin-article",
   "words": 980,
   "images": 2,
   "post_chars": 1120,
   "image_files": 5,
   "sources_listed": 12,
   "synthesis_model": "anthropic/claude-opus-5",
   "sources_full_text": 4
  },
  "post": {
   "chars": 1120,
   "caption": "...\n#AgenticFinance #Payments #AI #Stablecoins",
   "hashtags": [
    "#AgenticFinance",
    "#Payments",
    "#AI",
    "#Stablecoins"
   ]
  },
  "title": "Why agent payments settle on chain",
  "images": [
   {
    "alt": "An abstract network of nodes exchanging tokens",
    "slot": "cover",
    "files": [
     {
      "b64": "/9j/4AAQ…",
      "use": "LinkedIn article cover image",
      "name": "article-cover",
      "bytes": 412000,
      "width": 1920,
      "format": "jpeg",
      "height": 1080,
      "media_type": "image/jpeg"
     },
     {
      "b64": "/9j/4AAQ…",
      "use": "LinkedIn post / link-share image (1.91:1)",
      "name": "post-link-share",
      "bytes": 180000,
      "width": 1200,
      "format": "jpeg",
      "height": 627,
      "media_type": "image/jpeg"
     }
    ],
    "prompt": "...",
    "source": {
     "model": "black-forest-labs/flux.2-klein-4b",
     "width": 1024,
     "height": 1024
    }
   }
  ],
  "report": "# Why agent payments settle on chain\n*One line of context*\n\n...\n\n## Sources\n1. [Example](https://example.com/...)\n\n---\n## Companion post (paste as a LinkedIn post, 1,120 of 3000 characters)\n...",
  "tables": [],
  "article": {
   "headline": "Why agent payments settle on chain",
   "subtitle": "One line of context",
   "headlines": [
    "Why agent payments settle on chain",
    "...",
    "..."
   ],
   "word_count": 980,
   "body_markdown": "...",
   "key_takeaways": [
    "..."
   ]
  },
  "sources": [
   {
    "n": 1,
    "url": "https://example.com/...",
    "title": "Example",
    "snippet": "...",
    "fullText": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-linkedin-article-generator-6e87c0ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
