Placeholder canvas

Wordplay

AI Writer API

Want to use code to create full articles & blog posts with AI?

Use the Wordplay API to create your own workflows, integrate Wordplay into other applications, or generate AI content at scale.

Table of Contents

Highly flexible AI content generation API

Endpoints available

Article From Idea

For this endpoint, you can create an article from just a keyword or simple idea. You can input your tone of voice and also add how many sections you want in the targetSections area.

Each section outputs approximately 200 words, so change the targetSections number to increase or decrease the length of the end article.

Here is a code example:

				
					{
  "keywords": "Pet Hamsters",
  "language": "en-us",
  "voice": "Professional",
  "targetSections": 7
}
				
			

Article From Title

For this endpoint, you can create an article from just a title. Make sure to be descriptive in the title, otherwise you may notice that your intent of the article is different from the AI.

Here is a code example:

				
					{
  "language": "en-us",
  "voice": "Fun",
  "title": "Top 6 most beautiful cities to visit in Spain",
  "targetSections": 6
}
				
			

Article From Title and Sections

For this POST request, you can create a full-length article from just a title and subsections. Make your title descriptive and make sure your subsections make sense with the title to get a high-quality output.

				
					{
  "language": "en-us",
  "voice": "Professional",
  "title": "Everything You Need to Know About Keeping Pet Hamsters",
  "sections": [
    "Choosing the Right Breed of Hamster",
    "Creating a Safe and Comfortable Hamster Environment",
    "Understanding Hamster Behavior and Needs",
    "Common Health Concerns"
  ]
}
				
			

Article From Title, Introduction, and Sections

This API endpoint is where you can get the most specific about the article you want. You can enter your title, introduction, and sections to ensure the AI stays on track throughout your entire piece of content.

				
					{
  "language": "en-us",
  "voice": "Professional",
  "title": "Everything You Need to Know About Keeping Pet Hamsters",
  "introduction": "Do you have your sights set on owning a pet hamster? From choosing the right breed for your lifestyle to properly caring for your furry companion, there’s a lot to consider before bringing a pet hamster home. But don’t worry, because this comprehensive guide covers everything you need to know about keeping pet hamsters. From the basics of providing a safe and comfortable environment to getting to know your pet’s natural behaviors and needs, we’ve got the information you need to help you give your pet hamster the best care. Plus, we’ll help you understand common health concerns and answer questions about nutrition and other hamster care matters. Learning how to properly care for a pet hamster is an important responsibility, and this article will provide you with all the information you need to make sure your pet is healthy and happy.",
  "sections": [
    "Choosing the Right Breed of Hamster",
    "Creating a Safe and Comfortable Hamster Environment",
    "Understanding Hamster Behavior and Needs",
    "Common Health Concerns"
  ]
}
				
			

Freestyle Mode

This API endpoint is a freestyle mode to either edit your content after it's been created or to create your own prompts yourself! The only thing you need to enter is a prompt to the AI and you can watch it do it's magic! Great for experimenting!

Code example:

				
					{
  "prompt": "Convert this to proper English: I am look forward to seeing you."
}
				
			

Wordplay API documentation

The Wordplay API is available as of February 2023. This documentation will include detailed instructions on how to use the API, as well as information on the different features and capabilities that are available.

Whether you're a seasoned developer or a beginner, you'll find the information you need to get the most out of the Wordplay AI Writer API.

More about the Wordplay API

The Wordplay AI Writer API is a cutting-edge tool for creating written content using artificial intelligence. With this API, you can generate articles, blog posts, and other text generation content with just a few lines of code.

Whether you're a developer looking to integrate Wordplay into your existing workflows, or a content creator who wants to generate AI-powered content at scale, the Wordplay API has you covered.

The Wordplay API is designed to be highly flexible, allowing you to create your own custom workflows and integrate it into other applications as needed. Whether you need to generate content on demand, or you want to set up a more automated workflow, the Wordplay API makes it easy to get the results you need.

AI Content Generator API Pricing

Our API is based off how many words you have in your normal Wordplay account.

See our pricing page for word count pricing for the Wordplay app.

As for the API pricing, you can create up to 10 articles/mo for free with our API. After that, it is based on how many words were generated with our application.

If you need unlimited access, you can contact us and we will give you a custom quote based on how much you are planning to use the API. We will generally give you a price based on metered (usage-based) pricing and the amount of data you plan to create. We also offer enterprise plans for any user that needs generative AI content.

Native integrations

We plan to integrate natively with Botimize.io - a SEO content optimization tool. You will be able to create an article directly within Botimize.

We also plan to integrate with WordPress so you can create and schedule blog posts quickly.

Limitations of the AI content generator

The product uses artificial intelligence technology to create AI writing for any topic. Most of the time, the AI tools will have no problem creating content for your use case. However, if you are using the models to create harmful content we may deactivate your account in our system due to misuse.

ai writer api
Content Generation Platform

Try it now

Give Wordplay a spin today.

❤️ Wordplay is loved by over 5,000 paying customers!