logo
Feature Endpoint
AutoBlog Specialized
POST

/custom/api/generate/one/click/specialized/blog

If no response is received here due to the extended generation time required by this API, we suggest utilizing a local API platform such as Postman or directly accessing the API through your project.

Headers

Authorizationrequired
string

Input the Authorization Bearer Token to authorize your API request.

Body

topicrequired
string

This input field requires the user to mention the topic they wish to write on. Example: “Lithium Ion discovery in India” OR “Bard: Google answer to ChatGPT”

descriptionrequired
string

This input field requires the user to elaborate on the topic they wish to write on. Example: “Showcase the future of manufacturing in India, following Lithium Ion discovery.”

blog_typerequired
Default: "case_study"
string

This input field defines the type of blog you wish to generate.

Available blog_type are:

  1. 1.  how_to: Create step-by-step instructions.
  2. 2.  listicle: Share information in list format.
  3. 3.  educational: Educate reader on a topic.
  4. 4.  youtube_video: Create video script.
  5. 5.  insurance_blog: Generate insurance-related blog.
  6. 6.  investment_blog: Create investment-focused blog.
  7. 7.  product_use_case: Elaborate on product use cases.
  8. 8.  ebook: Craft compelling ebook content.
  9. 9.  pillar: Generate comprehensive content.
  10. 10.  comparison: Compare products or services.
  11. 11.  product_review: Generate in-depth product reviews.
  12. 12.  critical_essay: Craft critical analysis essay.
  13. 13.  alternatives_to_product: List product alternatives.
  14. 14.  marketing_case_study: Analyze marketing strategies.
  15. 15.  brand_profile: Develop detailed brand profile.
  16. 16.  brand_audit: Evaluate brand's current position.
  17. 17.  thought_leadership_article: Craft insightful industry articles.
  18. 18.  competitive_landscape_analysis: Analyze competitive environment.
  19. 19.  market_research: Conduct in-depth market research.
  20. 20.  checklist: Create organizational checklist.
  21. 21.  report: Craft informative reports.
  22. 22.  opinion_article: Write compelling opinion pieces.
  23. 23.  business_plan: Develop comprehensive business plan.
  24. 24.  best_products_in_category: List best products/services.
  25. 25.  narrative_essay: Craft story-telling essay.
  26. 26.  fantasy_story: Create fantasy adventure story.
  27. 27.  descriptive_essay: Write vivid descriptive essay.
moderequired
Default: "serp"
string

This field is used to decide the mode of the generation.

Modes are as follows:

  1. 1.  serp
  2. 2.  instruct
  3. 3.  domain
domain_list
array

This field is used to input the array of the domains you want to provide as a reference, while generating the content. This field needs to be passed if mode is “domain”.

Example: ["wikipedia.org", "medium.com"]

formalityrequired
Default: "casual"
string

This field is used to input formality to your generated content.

Available formality are:

  1. 1.  casual: A relaxed and informal tone.
  2. 2.  neutral: Balanced without expressing any strong feelings or bias.
  3. 3.  formal: Professional and follows strict conventions of grammar.
tonerequired
Default: "witty"
string

This field is used to input tone to your generated content.

Available tone are:

  1. 1.  personable: Helps you relate to your users on a personal level.
  2. 2.  confident: Assures users with a tone of certainty.
  3. 3.  empathetic: Understand and express the feelings of users.
  4. 4.  engaging: Keeps users interested and invested.
  5. 5.  witty: Adds humor to make users smile.
  6. 6.  direct: Gets straight to the point for users who prefer clarity.

Response

status
string

Indicates whether the call was successful. It prompts success if working, otherwise not.

copies
object

The generated content in Markdown format.

message
string

This information is attached to the call and offers meaningful details when errors occur.

credits_used
number

This field informs you about the credits consumed for this particular request. It varies on the generated content.

curl --location --request POST 'https://api-az.longshot.ai/custom/api/generate/one/click/specialized/blog'       
--header 'Authorization: Bearer <token>'       
--header 'Content-Type: application/json'       
--data-raw '{
    "topic": "<Your Topic>",
    "description": "<Your Description>",
    "blog_type": "listicle",
    "mode": "serp",
    "domain_list": [],
    "formality": "casual",
    "tone": "witty"
}'                   
{
  "copies": [
    {
      "content": "<Generated Blog>"
    }
  ],
  "status": "success",
  "message": "Generated successfully",
  "credits_used": "<Credits>"
}