Text-to-video from Runway Gen-3, creating a 10-second video based on the image. Request
API Key from 302.AI backend
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
Image size must be 1280px * 768px
Video prompt; not support Chinese input
Can choose 5 or 10 seconds
Use to maintain consistency, if you don't need it, please leave it blank.
image_as_end_frame
boolean
optionalWhether the image is the last frame, if selected, it will be the last frame
Request samples
curl --location --request POST 'https://api.302.ai/runway/submit' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--form 'init_image=@""' \
--form 'text_prompt=""' \
--form 'seconds="10"' \
--form 'seed=""' \
--form 'image_as_end_frame="false"'
Responses
application/json estimate_wait_seconds
null
required{
"created_at": "",
"estimate_wait_seconds": null,
"id": "",
"liked": null,
"prompt": "",
"state": "",
"video": null
}
Modified at 2024-09-03 08:49:18