Submit Text-to-Video Task
Generate videos based on text prompts
Authorizations
Authenticate using Bearer token. Get your API Key from the WeryAI Console.
Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx
Body
Model Key. Supported models for text-to-video:
"WERYAI_VIDEO_1_0"
Positive text prompt
1 - 2000"A cat walking in a garden"
Video aspect ratio. Refer to the model table above for supported values per model. Models marked with - do not support aspect ratio selection.
"16:9"
Video duration in seconds. Refer to the model table above for supported values per model.
5
Negative text prompt. Only supported by the following models:
1000Number of videos to generate (1~4).
1, 2, 3, 4 Video resolution. Supported values per model:
"720p"
Whether to generate audio. Enter true or false manually. Only supported by the following models:
"false"
Callback URL
Caller ID
