Skip to main content
POST
/
runway
/
v1
/
pro
/
video2video
video2video(Video to Video, Style Re-drawing)
curl --request POST \
  --url https://gptproto.com/runway/v1/pro/video2video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "video": "<string>",
  "model": "<string>",
  "prompt": "<string>",
  "options": {}
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides video2video(video to video, style re-drawing) functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

video
string
Video parameter
model
string
required
The model to use for the request
prompt
string
required
Prompt parameter
options
object
Options parameter

Request Example

curl -X POST "https://gptproto.com/runway/v1/pro/video2video" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "video": "http://source.baidu.com/attachments/video/runway/20241117/28ed9d05e1dc84bede45541855500aa9.mp4",
  "model": "runwayml-gen3a_turbo-5",
  "prompt": "pixel style",
  "options": {
    "structure_transformation": 0.5,
    "flip": true
  }
}'

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}