Skip to main content
POST
Runway

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be runway.

Available options:
runway
prompt
string
required

Text prompt describing the video. Max 1800 characters.

Maximum string length: 1800
image_url
string<uri>

Optional reference image URL. If provided, runs image-to-video and ratio is ignored (aspect ratio follows the image).

duration
enum<integer>
default:5

Video duration in seconds. Only 5 or 10. Note: 1080p supports 5s only.

Available options:
5,
10
resolution
enum<string>
default:720p

Output resolution. 1080p supports 5s only.

Available options:
720p,
1080p
ratio
enum<string>
default:16:9

Aspect ratio. Text-to-video only; ignored when image_url is provided.

Available options:
16:9,
4:3,
1:1,
3:4,
9:16
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required