API Docs
  • ๐Ÿ˜€Welcome!
  • ๐Ÿ”‘Get Your API Keys
  • ๐Ÿ“˜Blueprint - Quick Start
  • ๐Ÿ”กDynamic - Quick Start
  • โœ‚๏ธSubtitles
  • Webhooks
  • Video Status
  • Audio Preview
  • Analytics
  • Reference
    • API Reference
      • Videos
      • Voice
      • Analytics
Powered by GitBook
On this page

Audio Preview

PreviousVideo StatusNextAnalytics

Last updated 9 months ago

The Voice API enables the generation of voice previews based on text.

The Voice API will require sending:

  1. The Draft ID - this will be the draft id with containing the chosen voice

  2. Transcript - the text the voice will read, up to 500 characters

Get Voice Preview

get
Authorizations
Path parameters
task_idstringRequired
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
GET /api/v1/voice-preview/{task_id} HTTP/1.1
Host: api.makereals.com
api-key: YOUR_API_KEY
Accept: */*
{
  "id": "text",
  "req_id": "text",
  "status": "in_progress",
  "url": "text"
}
  • POSTCreate Audio Preview
  • GETGet Voice Preview

Create Audio Preview

post

create a voice preview based on a source draft

Authorizations
Header parameters
workspace-idstringOptional
team-idstringOptional
Body
transcriptstringRequired
source_draft_idstringRequired
Responses
201
Successful Response
application/json
422
Validation Error
application/json
post
POST /api/v1/voice-preview HTTP/1.1
Host: api.makereals.com
api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 46

{
  "transcript": "text",
  "source_draft_id": "text"
}
{
  "id": "text",
  "transcript": "text",
  "voice_id": "text",
  "req_id": "text",
  "status": "in_progress"
}