Skip to main content
POST
Create Story
Transform your written content into engaging narrated stories with our story creation endpoint. This powerful service takes your text documents and processes them into compelling stories with professional narration. The system handles the entire process from parsing your document to generating a professionally narrated version, making storytelling accessible.

The Story Creation Process

When you submit a story creation request, our system begins a multi-stage workflow:
1

Document Processing

Your uploaded text file or Word document is processed and prepared for narration. Our system extracts and analyzes the content, ensuring proper formatting and structure.
2

Voice Selection

Your chosen AI narrator voice is applied to the story, bringing your content to life with natural-sounding speech patterns and appropriate emotional delivery.
3

Audio Production

The narration is finalized with professional audio quality enhancements, ensuring clarity and engagement.
Throughout this process, you can check on your task’s progress using the /story/{task_id} endpoint with the task_id provided in your initial response.

Supported Document Formats

Our story creation service accepts two popular document formats to accommodate your workflow: This flexibility allows you to work with your preferred writing tools without conversion hassles.

Language Configuration

Specifying the correct source language is crucial for successful story creation. To find the appropriate language identifier:
  1. Query the /source-languages endpoint for a complete list of supported languages.
  2. Pass the locale tag (e.g. "en-us") in your request. Numeric language IDs still work but are deprecated.

Creating Your First Story

Let’s look at how to initiate a story creation task with Python:

Monitoring Your Story Creation Progress

After submission, your content enters our processing pipeline. The time required depends on the length and complexity of your document. You can check progress by polling the status endpoint:

Best Practices for Optimal Results

To get the most from our story creation service, consider these professional tips:
  1. Document Quality: Ensure your document is well-formatted with proper grammar and punctuation for better narration results.
  2. Voice Selection: Choose a narrator voice that matches the tone and style of your story content.
  3. Language Accuracy: Double-check that your source language is correctly specified to ensure proper pronunciation and pacing.
  4. Content Length: While our system can handle documents of various lengths, consider breaking very long works into logical segments for optimal processing.
  5. File Format: Use .docx format when you need to preserve complex formatting, and .txt for simpler text-based stories.

Practical Applications

Our story creation functionality opens exciting possibilities across industries:
  • Education: Transform educational content into engaging audio lessons for diverse learning styles.
  • Publishing: Quickly create audio versions of books, articles, and short stories.
  • Content Creation: Convert blog posts and articles into narrated content for podcasts or audio platforms.
  • Accessibility: Make written content accessible to visually impaired audiences or those who prefer audio content.
  • Entertainment: Bring original stories to life with professional-quality narration.
By integrating this API into your workflow, you can efficiently transform written content into engaging audio stories, dramatically reducing the time and expense traditionally associated with professional narration while maintaining impressive quality.

Authorizations

x-api-key
string
header
required

The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.

Body

multipart/form-data
file
file
required

The text file (.txt) or Word document (.docx) containing your story content. This document will be used as the basis for the audio book.

source_language
string
required

The language of the input text. Pass a locale tag (en-us, fr-fr, es-es). Numeric language IDs (1 or "1") still work but are deprecated. See all source languages.

Example:

"en-us"

title
string | null

A descriptive title for your story, making it easier to identify and organize.

Required string length: 3 - 255
description
string | null

A brief synopsis of your story, helping to set context and expectations.

Required string length: 3 - 5000
narrator_voice_id
integer
default:147320

The identifier of the AI voice that will narrate your story. This determines the tone, accent, and delivery style.

chosen_dictionaries
integer[] | null

An optional list of dictionary IDs selected by the user. Each entry must be an integer corresponding to a valid dictionary ID. If provided, at least one ID is required.

Minimum array length: 1

Response

Successful Response

A JSON that contains the unique identifier for the task. This is used to query the status of the end to end dubbing task that is running. It is returned when a create request is made for a story.

task_id
string