1 Minute Free Time for Everyday -

  Create Your AI Video Right Now!

Christmas Special:

Enjoy 10-MIN FREE!

GO>

Create Santa Videos Win iPhone 16

Celebrate and get gift worth $19.99

10-Min FREE

Get 10-Min Free >

No, I'll pass on the free minutes

×
    
    
        
Al Tools

Text-to-Avatar

The resources (image, video) generated by our API are valid for 7 days. Please save the relevant resources as soon as possible to prevent expiration.

Text to Avatar Task

POST https://devapi.vidnoz.com/v2/task/text-to-avatar

Request Attributes

Parameter Required Type Description
text true string Text content.
width true string Width of Image.
height true string Height of Image.
gender true string Gender associated with the avatar: male, female.

Response Attributes

Parameter Type Description
code int 200
message string Task Remark
data obj Task Object
data.task_id string Task ID

Example

Request Attributes


                  curl  --request POST \
                  --url https://devapi.vidnoz.com/v2/task/detail \
                  --header "accept: application/json" \
                  --header "content-type: multipart/form-data" \
                  --header "Authorization: Bearer $API_KEY" \
                  --form 'text="Describe the image you'd like the AI to create."' \
                  --form 'width="1280"' \
                  --form 'height="720"' \
                  --form 'text="Input your text here"' \
                  --form 'gender="male"' \

Response Attributes

{
              "code": 200,
              "message": "ok",
              "data": {
                "task_id": "OFZ2WS8wNWF6cGNURWVOVnpTUWNPdz09"
              }
            }
}