Overview
This endpoint provides submit video generation task functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY
Request Body
promptImage
string
default:"https://xxx.com/logo.png"
Promptimage parameter
seed
integer
default:"4294967295"
Seed parameter
model
string
default:"runwayml-gen3a_turbo-5"
required
The model to use for the request
promptText
string
default:"cat dance"
Prompttext parameter
Request Example
curl -X POST "https://gptproto.com/runwayml/v1/image_to_video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"promptImage": "https://xxx.com/logo.png",
"seed": 4294967295,
"model": "runwayml-gen3a_turbo-5",
"promptText": "cat dance",
"watermark": false,
"duration": 5,
"ratio": "1280:768"
}'
Response
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}