API
  • Welcome
  • Getting Started
    • Quickstart
      • Authentication
      • Rate limits
  • API Documentation
    • AI Avatar API
      • Get a list of avatar
      • Get a list of voice
      • Generate avatar video task
    • Get task info
Powered by GitBook
On this page
  1. API Documentation
  2. AI Avatar API

Generate avatar video task

Create a avatar video with parameters

PreviousGet a list of voiceNextGet task info

Last updated 8 months ago

text cannot exceed 1200 characters

Generate avatar video video task

post
Header parameters
timestampanyRequired

Millisecond timestamp

Content-TypeanyRequired

application/json

AuthorizationanyRequired

Authorization

RESPONSE-WRAPanyRequired

Whether to encapsulate response data

x-auth-keyanyRequired

Your api key

Body
webhook_urlstringRequired

The webhook url to notify the task information

Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /v1.0/avatar/video/create HTTP/1.1
Host: openapi
timestamp: null
Content-Type: application/json
Authorization: null
RESPONSE-WRAP: null
x-auth-key: null
Accept: */*
Content-Length: 94

{
  "params": {
    "voice_id": null,
    "avatar_id": null,
    "text": null,
    "language": null
  },
  "webhook_url": "text"
}
{
  "failed_reason": "text",
  "file_url": "text",
  "params": {
    "ANY_ADDITIONAL_PROPERTY": {}
  },
  "task_id": "text",
  "task_status": 1,
  "webhook_url": "text"
}