Multi-Format Content Synthesis
Generate blog articles, social media hooks, email newsletters, and ad copy from simple outline prompts.
Generate long-form articles, product copy, and marketing assets with structured parameters and zero hallucinations.
https://rsflowhub.com/api/v1/ai/content-generation
X-API-Key header{
"prompt": "Write a launch announcement for our AI API platform for LinkedIn.",
"tone": "professional",
"format": "linkedin_post",
"audience": "developers"
}
{
"result": {
"content": "Stay refreshed all day with our stainless steel insulated bottle, built to keep drinks ice-cold for a full 24 hours. Leak-proof, lightweight and tough enough for the gym, the office or the trail."
}
}
AI Content Generation API is a REST API on RSFlowHub for web, mobile and AI agent applications. Send a JSON request to POST /api/v1/ai/content-generation with your API key; RSFlowHub runs it on a tuned AI model, falls back to a backup provider if needed, and returns a structured JSON result, usually within 1 to 3 seconds.
POST /api/v1/ai/content-generationX-API-Key headerSend these fields as a JSON body. An invalid or missing field returns a 422 error that names the field.
| Field | Type | Required | Description |
|---|---|---|---|
prompt |
string | Required | Instruction or writing prompt (Max: 15,000 characters) |
tone |
string | Optional | Tone style such as "professional", "friendly", "persuasive" (Max: 50 chars) |
format |
string | Optional | Content format such as "blog_post", "social_caption", "email" (Max: 50 chars) |
audience |
string | Optional | Target audience for the content (e.g., "developers", "teenagers") (Max: 100 chars) |
Copy, replace rfh_your_api_key with your key and run. Prefer a client library? See the official SDKs.
curl -X POST "https://rsflowhub.com/api/v1/ai/content-generation" \
-H "Content-Type: application/json" \
-H "X-API-Key: rfh_your_api_key" \
-d '{"prompt":"Write a launch announcement for our AI API platform for LinkedIn.","tone":"professional","format":"linkedin_post","audience":"developers"}'
<?php
$client = new \GuzzleHttp\Client();
$response = $client->post('https://rsflowhub.com/api/v1/ai/content-generation', [
'headers' => [
'Content-Type' => 'application/json',
'X-API-Key' => 'rfh_your_api_key',
],
'json' => array (
'prompt' => 'Write a launch announcement for our AI API platform for LinkedIn.',
'tone' => 'professional',
'format' => 'linkedin_post',
'audience' => 'developers',
),
]);
echo $response->getBody();
const response = await fetch('https://rsflowhub.com/api/v1/ai/content-generation', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'rfh_your_api_key'
},
body: JSON.stringify({"prompt":"Write a launch announcement for our AI API platform for LinkedIn.","tone":"professional","format":"linkedin_post","audience":"developers"})
});
const data = await response.json();
console.log(data);
import requests
url = "https://rsflowhub.com/api/v1/ai/content-generation"
headers = {
"Content-Type": "application/json",
"X-API-Key": "rfh_your_api_key"
}
payload = {"prompt":"Write a launch announcement for our AI API platform for LinkedIn.","tone":"professional","format":"linkedin_post","audience":"developers"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
Every RSFlowHub endpoint uses the same envelope, so one parser handles all of them. Failed calls are not charged.
{
"success": true,
"request_id": "req_3f9a2c7e-5b1d-4e8a-9c2f-7d6e1a0b4c8d",
"data": {
"result": {
"content": "Stay refreshed all day with our stainless steel insulated bottle, built to keep drinks ice-cold for a full 24 hours. Leak-proof, lightweight and tough enough for the gym, the office or the trail."
}
},
"meta": {
"version": "v1",
"timestamp": "2026-10-05T09:30:00Z"
}
}
{
"success": false,
"request_id": "req_8c1d4e2a-7f3b-4a9c",
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid.",
"details": {
"prompt": [
"This field is required."
]
}
},
"meta": {
"version": "v1",
"timestamp": "2026-10-05T09:30:00Z"
}
}
| Field | Type | Meaning |
|---|---|---|
success | boolean | true when the call worked, false on any error. |
request_id | string | Unique id for this call. Quote it when you contact support. |
data.result | object | The result of this endpoint (see the example). |
error | object | Only on failure: code, message and details per field. |
meta | object | API version and server timestamp. |
All error codes: Errors reference
Generate blog articles, social media hooks, email newsletters, and ad copy from simple outline prompts.
Control writing tone (professional, casual, persuasive, technical) and target reading level dynamically.
Automatically inject primary and secondary keywords, generate meta titles, and structure clean H2/H3 subheadings.
Dynamically routes requests between OpenAI, Gemini and DeepSeek models for optimal creativity and speed.
How teams use the AI Content Generation API in production.
Generate compelling, feature-rich product descriptions from raw vendor specs for catalog items.
Elevate your audio experience with ultra-clear acoustics and 40-hour playtime designed for daily workouts.Writes consistent copy across large product catalogs.
Transform technical whitepapers and release notes into developer blog posts and LinkedIn announcements.
How we added automatic LLM provider failover with circuit breakers in production.Accelerates go-to-market content publishing from weeks to minutes.
Craft hyper-personalized cold outreach emails based on prospect industry, company size, and pain points.
Reduce multi-provider downtime with one master API key and automatic model failover.Personalises email replies instead of sending static templates.
The same job done three ways.
| Topic | RSFlowHub API | Raw LLM prompts | Rules / regex |
|---|---|---|---|
| Output | Validated JSON fields | Free text you have to parse | Fixed patterns only |
| Setup | One POST request, no prompts | Write and maintain prompts and parsing | Write and maintain rule lists |
| Provider outage | Automatic fallback to a backup model | You build retries and a second vendor | Not applicable |
| Pricing | 3 credits per call, failed calls free | Per token, per vendor | Your own servers and upkeep |
| Understands context | Yes, AI model | Yes, AI model | No, keywords only |
Free plan with 100 credits/month + 1,000 bonus credits when you sign in before 23 Nov. Test it in the playground first, no code needed.
Flowy
AI assistant