curl -X POST \ <BASE_URL>/v2/body \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{ "title": "The Future of Technology", "keyword": "Innovation", "sections": [ "Introduction", "AI Advancements", "Impact on Society" ], "focus_section": "Impact on Society", "previous_sections": { "Introduction": "This is the introduction section", "AI Advancements": "This is the AI advancements section" }, "guidelines": "No political content"}'
Copy
{ "body": [ "The generated body." ]}
Blog Main Parts
Body
This endpoint will generate a paragraph of a blog post for your specified keyword.
Copy
curl -X POST \ <BASE_URL>/v2/body \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{ "title": "The Future of Technology", "keyword": "Innovation", "sections": [ "Introduction", "AI Advancements", "Impact on Society" ], "focus_section": "Impact on Society", "previous_sections": { "Introduction": "This is the introduction section", "AI Advancements": "This is the AI advancements section" }, "guidelines": "No political content"}'
curl -X POST \ <BASE_URL>/v2/body \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{ "title": "The Future of Technology", "keyword": "Innovation", "sections": [ "Introduction", "AI Advancements", "Impact on Society" ], "focus_section": "Impact on Society", "previous_sections": { "Introduction": "This is the introduction section", "AI Advancements": "This is the AI advancements section" }, "guidelines": "No political content"}'