Skip to main content
POST
/
v1
/
ai
/
image-to-video
/
runway-gen4-turbo
RunWay Gen4 Turbo - Create video from image
curl --request POST \
  --url https://api.freepik.com/v1/ai/image-to-video/runway-gen4-turbo \
  --header 'Content-Type: application/json' \
  --header 'x-freepik-api-key: <api-key>' \
  --data '
{
  "image": "https://example.com/image.jpg",
  "webhook_url": "<string>",
  "ratio": "1280:720",
  "duration": 10,
  "prompt": "<string>",
  "seed": 2147483647
}
'
{
"data": {
"generated": [],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Body

application/json
image
string
required

Reference image. Supports Base64 encoding or HTTPS URL (must be publicly accessible).

Example:

"https://example.com/image.jpg"

webhook_url
string<uri>

Webhook URL to notify the user when the task is completed

ratio
enum<string>
default:1280:720

Aspect ratio for the generated video (width:height)

Available options:
1280:720,
720:1280,
1104:832,
832:1104,
960:960,
1584:672
duration
enum<integer>
default:10

Duration of the generated video in seconds

Available options:
5,
10
prompt
string

Text prompt describing what should appear in the video (1-1000 characters)

Maximum string length: 1000
seed
integer

Random seed for reproducibility

Required range: 0 <= x <= 4294967295

Response

OK - The task exists and the status is returned

data
object
required
Example:
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}