Skip to main content
Version: 2.0.0

Description

info

The Batch API is currently in open beta. We'd love to hear your feedback!

A batch request allows you to create several clips using a single API request. For API consumers who want to create hundreds to thousands of clips without sending multiple requests, using the Batch API is recommended.

If you need to create a single clip use the Create a Clip API instead.

Resource

A batch resource conforms to the following interface.

interface Batch {
uuid: string
body: string[] | string[string[]]
voice_uuid: string
callback_uri?: string
total_count: number
completed_count: number
failed_count: number
clips?: Clip[]
created_at: datetime
updated_at: datetime
}