Submit(Image to Video)
POST
/runway/submitText-to-video from Runway Gen-3, creating a 10-second video based on the image.
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
init_image
file
required
Image size must be 1280px * 768px
text_prompt
string
optional
Video prompt; not support Chinese input
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.
image_as_end_frame
boolean
optional
Whether the image is the last frame, if selected, it will be the last frame
Example:
false
示例代码
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 个月前