Skip to main content
POST
/
generate
/
video
/
runway
/
aleph
Runway Aleph
curl --request POST \
  --url https://api.krea.ai/generate/video/runway/aleph \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A bustling boardwalk beside a tranquil beach, with carnival lights twinkling at dusk.",
  "init_video": "https://gen.krea.ai/images/0424f602-2999-4d0c-a46e-39cbf0ef384b.png"
}
'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "queued",
  "created_at": "2023-11-07T05:31:56Z",
  "completed_at": "<unknown>",
  "result": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Webhook-URL
string<uri>

URL to receive a POST request when the job completes. The webhook will receive the job data including results.

Body

application/json
prompt
string
required
Maximum string length: 1000
init_video
string<uri>
required
startImage
string<uri>
init_image_url
string<uri>
references
object[]
Maximum array length: 1
ratio
enum<string>
default:1280:720
Available options:
1280:720,
720:1280,
1104:832,
960:960,
832:1104,
1584:672,
848:480,
640:480
seed
number
Required range: 0 <= x <= 4294967295
contentModeration
object

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

job_id
string<uuid>
required
status
enum<string>
required
Available options:
queued,
scheduled,
processing,
sampling,
intermediate-complete,
completed,
failed,
cancelled
created_at
string<date-time>
required
completed_at
null
required
result
null
required