About the Generated Content API

The Generated Content API lets you create post content, captions, and titles with AI from a text prompt or a site's assets. Generated content is optional: you can use it to seed a draft before publishing, or write post content yourself when you call the Items API.

With the Generated Content API, you can:

  • Generate ready-to-use post content for one or more channels with Generate Post Data. The response mirrors the structure of an item's channel-specific data, so you can pass it directly into Create Draft Item.
  • Generate caption or title suggestions from a prompt with Generate Text.

Generate Post Data is the integrated option when you want AI to produce a full post payload for a draft. Generate Text is a building-block tool whose output you add to a post's content before you create a draft.

Before you begin

It's important to note the following points before starting to code:

  • Generated content does not publish by itself. After you generate captions or images, create a draft with the Items API and publish or schedule it.

Use cases

Terminology

  • Generated content: AI-created material, such as captions, titles, or images, produced from a prompt or site assets.
  • Prompt: Text that describes the post or image you want the AI to generate.

See also

Did this help?