Skip to main content
POST
/
runway
/
v1
/
pro
/
generate
generate Generate Task
curl --request POST \
  --url https://gptproto.com/runway/v1/pro/generate \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ratio": "<string>",
  "prompt": "<string>",
  "style": "<string>",
  "model": "<string>",
  "options": {}
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Overview

This endpoint provides generate generate 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

ratio
string
default:"16:9"
Ratio parameter
prompt
string
default:"一只小猫"
required
Prompt parameter
style
string
default:"cinematic"
Style parameter
model
string
default:"runwayml-gen3a_turbo-5"
required
The model to use for the request
options
object
Options parameter

Request Example

curl -X POST "https://gptproto.com/runway/v1/pro/generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "ratio": "16:9",
  "prompt": "一只小猫",
  "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
    }
  }
}'

Response

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

Error Responses

{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}