Skip to main content
POST
Submit Video Compose Task

Authorizations

license
string
header
required

NavTalk API license key (e.g. sk_navtalk_...)

Body

multipart/form-data

Multipart form data for submitting a video composition task. Exactly one audio source and exactly one visual source are required.

title
string

Optional task title saved with the generation record.

Example:

"My first synthesis task"

audioFile
file

Uploaded audio file. Use exactly one of audioFile, audioUrl, or textContent.

audioUrl
string

Public audio URL. Use exactly one of audioFile, audioUrl, or textContent.

Example:

"https://cdn.example.com/voice.mp3"

textContent
string

Text to synthesize into speech. Use exactly one of audioFile, audioUrl, or textContent. Requires avatarId.

Example:

"Hello, welcome to NavTalk."

characterFile
file

Uploaded image or video visual source. Use exactly one of characterFile, characterUrl, or avatarId.

characterUrl
string

Public image or video visual source URL. Use exactly one of characterFile, characterUrl, or avatarId.

Example:

"https://cdn.example.com/source.mp4"

avatarId
string

Existing trained avatar ID. Required when textContent is used. Use exactly one of characterFile, characterUrl, or avatarId.

Example:

"4024d39983b4d4b488bba9377268fbac"

bboxShift
integer
default:0

Optional face crop offset.

Example:

0

extraMargin
integer
default:10

Optional extra face margin.

Example:

10

parsingMode
string
default:jaw

Optional parsing mode.

Example:

"jaw"

leftCheekWidth
integer
default:90

Optional left cheek blend width.

Example:

90

rightCheekWidth
integer
default:90

Optional right cheek blend width.

Example:

90

Response

Video composition task submitted successfully

code
integer
Example:

200

message
string
Example:

"SUCCESS"

data
object