Skip to main content
POST
/
models
/
v2
/
ali-vilab
/
text-to-video-ms-1.7b
text-to-video
curl --request POST \
  --url https://api.bytez.com/models/v2/ali-vilab/text-to-video-ms-1.7b \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "A cat playing with a rose"
}
'
{
  "error": "<string>",
  "output": "https://api.bytez.com/video/1234567890"
}

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for text-to-video models

text
string
required

The input text

Example:

"A cat playing with a rose"

Response

Successful text-to-video response.

error
string | null
required

Null on success; otherwise an error message.

output
string
required

Successful response with the generated video link

Example:

"https://api.bytez.com/video/1234567890"