Submit(Text to Video)
POST
/runway/submitText-to-video from Runway Gen-3, creating a 10-second video based on the text.
Runway:https://runwayml.com/
Price: 0.5 PTC / call
请求参数
Header Params
Content-Type
string
required
Example:
application/json
Authorization
string
required
API Key from 302.AI backend
Example:
Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
text_prompt
string
required
Video prompt; not support Chinese input
Example:
Low-angle shot of a majestic tiger prowling through a snowy landscape, leaving paw prints on the white blanket
seconds
integer
optional
Can choose 5 or 10 seconds
Example:
10
seed
string
optional
Use to maintain consistency, if you don't need it, please leave it blank.
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
created_at
string
required
estimate_wait_seconds
null
required
id
string
required
liked
null
required
prompt
string
required
state
string
required
video
null
required
Example
{
"created_at": "",
"estimate_wait_seconds": null,
"id": "",
"liked": null,
"prompt": "",
"state": "",
"video": null
}
Last modified: 2 个月前