Skip to main content
POST
AI Talking Avatar

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be ai-talking-avatar.

Available options:
ai-talking-avatar
image_url
string<uri>
required

Portrait image of the speaker (up to 10MB). Required. The face must be clearly visible, unobstructed and roughly front-facing.

audio_url
string<uri>
required

Speech audio to lip-sync to (3-60 seconds, up to 50MB). Required. Its measured duration sets both the output length and the price.

prompt
string
default:person talking

Optional description of the desired performance, e.g. a woman speaking calmly to the camera.

resolution
enum<string>
default:540p

Output resolution. 720p costs twice as much per second as 540p.

Available options:
540p,
720p
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required