post https://api.aivideoapi.com/runway/generate/text
Example body:
{
"text_prompt": "masterpiece, cinematic, man smoking cigarette looking outside window, moving around",
"model": "gen3",
"width": 1344,
"height": 768,
"motion": 5,
"seed": 0,
"callback_url": "",
"time": 5
}
Guidance
text_prompt
(required, string): "masterpiece, cinematic, man smoking cigarette looking outside window, moving around"model
(optional, string): default to be 'gen3'. Text to Video model will be usingGen3 Alpha
if model is 'gen3'width
(optional, int): default to be 1344; output video width. TheGen3 Alpha
model has a fixed video resolution of 1280x768height
(optional, int): default to be 768; output video height. TheGen3 Alpha
model has a fixed video resolution of 1280x768motion
(optional, int): default to be 5; Increase or decrease the intensity of motion in your video. Higher values result in more motion. Gen3 Alpha won't use this parameters.seed
(optional, int): default to be 0, means random value.callback_url
(optional, string): Thecallback_url
is where a GET request will be sent once the job finishes, whether it’s successful or not. It will include the UUID in this format:<your-callback-url>?uuid=<uuid>
time
(optional, string): default 5s forgen3
model, and 4s forgen2
model. You can use either 5 or 10 forgen3
models