id; use the task endpoint to retrieve status and output URLs.
Choose a model and endpoint
The following models are available through these Runway endpoints. Each linked reference describes the parameters for its models.gen4.5 supports both text-to-video and image-to-video requests.
gen4_turbo uses image-to-video requests. seed_audio has different input
fields for sound effects and text-to-speech; follow the selected endpoint’s
model variant.
Create a task and retrieve the result
1
Choose the endpoint and model
Select the task above, then use the model-specific request schema and
example on that endpoint page.
2
Send the request
Store your API key locally
as
$COMETAPI_KEY before running the examples.
Send JSON to https://api.cometapi.com/runwayml/v1 followed by the
endpoint path. Authenticate with Authorization: Bearer <COMETAPI_KEY>.3
Save the task ID
Save the returned
id for the task-retrieval request.4
Retrieve the output
Use Get a Runway task
with an API key from the same CometAPI account. When
status is
SUCCEEDED, download the assets listed in output and store them.