Skip to main content
POST
/
runway
/
v1
/
pro
/
generate
official-format (generate task)
curl --request POST \
  --url https://api.example.com/runway/v1/pro/generate
Runway’s generate task.mdx for the generate task API.
curl -X POST "https://gptproto.com/runway/v1/pro/generate" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "ratio": "16:9",
  "prompt": "a kitten",
  "style": "cinematic",
  "model": "runwayml-gen3a_turbo-5",
  "options": {
    "seconds": 10,
    "motion_vector": {
      "x": 0,
      "y": 0.3999999999999999,
      "z": 0,
      "r": -6,
      "bg_x_pan": 0,
      "bg_y_pan": 0
    }
  }
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
ratiostring❌ No16:9Ratio parameter
promptstring✅ Yesa kittenPrompt parameter
stylestring❌ NocinematicStyle parameter
modelstring✅ Yesrunwayml-gen3a_turbo-5The model to use for the request
optionsobject❌ No{"seconds": 10, "motion_vector": {"x": 0, "y": 0.3999999999999999, "z": 0, "r": -6, "bg_x_pan": 0, "bg_y_pan": 0}}Options parameter