Transform content

Transforms content using a transformation agent in a single API call

This endpoint orchestrates the following operations:

  1. Locates an existing project by external_id, or creates a new one
  2. Creates an input asset from the provided content
  3. Queues a transformation run for processing

Input requirements:

  • article_to_audio agents require asset_type: "article"
  • text_to_audio agents require asset_type: "text"
Path Params
string
required
length between 8 and 8

Unique alphanumeric ID of the site

Body Params
string
required

Unique identifier for the project from your system, such as a CMS article ID

If a project with the same value already exists, a new project will not be created.

string
required
length between 8 and 8

Unique identifier for a resource

input
required

Content to transform

The schema is determined by the asset_type field.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© 2007- Longtail Ad Solutions, Inc.