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
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
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
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}