Runway Gen Alpha Turbo Image to Video

Runway Gen-3 AlphaTurbo is a cutting-edge AI tool that transforms static images into dynamic videos with exceptional fidelity and motion

~27.41s
$0.500 - $1.00 per generation
 1import requests
 2import json
 3
 4url = "https://api.segmind.com/v1/runway-gen3-alphaturbo"
 5headers = {
 6    "x-api-key": "YOUR_API_KEY",
 7    "Content-Type": "application/json"
 8}
 9
10data = {
11    "promptText": "an astronaut with a mirrored helmet running in the field of sunflowers",
12    "promptImage": "https://segmind-sd-models.s3.amazonaws.com/display_images/runway-gen3-input.png",
13    "seed": 56698,
14    "ratio": "16:9",
15    "duration": "5"
16}
17
18response = requests.post(url, headers=headers, json=data)
19
20if response.status_code == 200:
21    result = response.json()
22    print(json.dumps(result, indent=2))
23else:
24    print(f"Error: {response.status_code}")
25    print(response.text)

API Endpoint

POSThttps://api.segmind.com/v1/runway-gen3-alphaturbo

Parameters

promptImagerequired
string (uri)

URL of the input image to be animated. A HTTPS URL pointing to an image. Images must be JPEG, PNG, or WebP and are limited to 16MB

Default: "https://segmind-sd-models.s3.amazonaws.com/display_images/runway-gen3-input.png"
promptTextrequired
string

Text prompt to describe the desired animation effect

Default: "an astronaut with a mirrored helmet running in the field of sunflowers"
durationoptional
integer

Duration of the animation in seconds

Default: 5
Allowed values :
510
ratiooptional
string

The aspect ratio of the output video.

Default: "16:9"
Allowed values :
"16:9""9:16"
seedoptional
integer

Seed for random generation

Range: 1 - 99999

Response Type

Returns: Video

Common Error Codes

The API returns standard HTTP status codes. Detailed error messages are provided in the response body.

400

Bad Request

Invalid parameters or request format

401

Unauthorized

Missing or invalid API key

403

Forbidden

Insufficient permissions

404

Not Found

Model or endpoint not found

406

Insufficient Credits

Not enough credits to process request

429

Rate Limited

Too many requests

500

Server Error

Internal server error

502

Bad Gateway

Service temporarily unavailable

504

Timeout

Request timed out