Social Post Generator
Write social posts for X, LinkedIn or Instagram, with hashtags and a thread version for X.
social-post-generate Example
{
"hashtags": [
"#QualityAssurance",
"#SoftwareTesting",
"#DevOps"
],
"platform": "twitter",
"post_text": "Testing is essential to delivering quality software. Our commitment to rigorous testing ensures reliability, security, and optimal performance for our users.",
"thread_version": null,
"character_count": 279,
"engagement_hooks": [
"Resonates with developers and QA professionals",
"Demonstrates commitment to quality standards",
"Relevant to current industry best practices"
]
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
url | string | No | — |
tone | string | No | — |
content | string | No | — |
platform | string | No | — |
hashtag_count | integer | No | — |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
hashtags | array | Always (present in every successful answer) |
post_text | string | Always (present in every successful answer) |
thread_version | array | Always (present in every successful answer) |
character_count | integer | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "social-post-generate",
"inputs": {
"content": "artificial intelligence trends 2026",
"platform": "twitter"
},
"max_price_cents": 5
}' {
"tool": "strale_execute",
"arguments": {
"slug": "social-post-generate",
"inputs": {
"content": "artificial intelligence trends 2026",
"platform": "twitter"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "social-post-generate",
inputs: {
"content": "artificial intelligence trends 2026",
"platform": "twitter"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="social-post-generate",
inputs={
"content": "artificial intelligence trends 2026",
"platform": "twitter",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/social-post-generate?content=artificial+intelligence+trends+2026&platform=twitter' Limitations
Advertising compliance is not verified
Generated posts follow platform conventions but cannot verify compliance with platform-specific advertising rules
What to do instead: Review generated content against the target platform's advertising and content policies before publishing
Pages are limited to 16 MiB of HTML
Pages with more than 16 MiB of HTML are refused with a caller_input error naming the input field. The call is not charged, and the page is not retried through another fetch or rendering route.
Related tools
- Blog Post Outline €0.20
- Email Draft €0.05