CURL VERBOSE OUTPUT:

* Host api.heygen.com:443 was resolved.
* IPv6: (none)
* IPv4: 16.58.150.184, 18.225.160.156, 3.130.111.33
*   Trying 16.58.150.184:443...
* ALPN: curl offers h2,http/1.1
* SSL Trust Anchors:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*   subject: CN=heygen.com
*   start date: Feb  3 00:00:00 2026 GMT
*   expire date: Mar  4 23:59:59 2027 GMT
*   issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*   Certificate level 0: Public key type ? (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type ? (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type ? (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   subjectAltName: "api.heygen.com" matches cert's "*.heygen.com"
* OpenSSL verify result: 0
* SSL certificate verified via OpenSSL.
* Established connection to api.heygen.com (16.58.150.184 port 443) from 186.209.113.99 port 55104 
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://api.heygen.com/v1/video.generate
* [HTTP/2] [1] [:method: POST]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: api.heygen.com]
* [HTTP/2] [1] [:path: /v1/video.generate]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [content-type: application/json]
* [HTTP/2] [1] [content-length: 0]
> POST /v1/video.generate HTTP/2
Host: api.heygen.com
Accept: */*
Content-Type: application/json
Content-Length: 0

* Request completely sent off
< HTTP/2 404 
< date: Tue, 14 Jul 2026 02:15:41 GMT
< content-type: text/html; charset=utf-8
< content-length: 207
< server: gunicorn
< 
* Connection #0 to host api.heygen.com:443 left intact

Falha na requisição.

Verifique sua chave de API e o corpo da requisição.

Resposta da API: <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>