Overview
This endpoint provides generate generate task functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Your API key in the format: Bearer YOUR_API_KEY
Request Body
The model to use for the request
Request Example
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": "一只小猫",
"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 request parameters",
"type": "invalid_request_error",
"code": "invalid_parameters"
}
}