Skip to main content
POST
Create talking avatar video
Create a talking avatar video by providing a script, avatar ID, and voice ID. This endpoint generates videos with AI avatars speaking your provided text.

Example Usage

Create Avatar Videos Guide

Learn how to create avatar videos step-by-step

Get Video Status

Check the status of your video generation

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Body

application/json
avatar
object
required

Avatar configuration

voice
object
required

Voice configuration including script or audio input

aspect_ratio
enum<string>
required

Aspect ratio of the output video

Available options:
portrait,
landscape,
square
Example:

"portrait"

screen_style
enum<integer>
required

Background style:

  • 1 - Full screen
  • 2 - Split screen
  • 3 - Picture in picture
Available options:
1,
2,
3
Example:

1

caption
boolean

Enable or disable subtitles

Example:

true

webhook_url
string<uri>

Webhook URL for status notifications

Example:

"https://example.com/webhook"

video_name
string

Custom name for the video

Example:

"My Talking Avatar Video"

Response

200 - application/json

Success

code
integer
required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object