Runway · Capability

Runway Video Generation API — Tasks

Runway Video Generation API — Tasks. 2 operations. Lead operation: Retrieve task status and output. Self-contained Naftiko capability covering one Runway business surface.

Run with Naftiko RunwayTasks

What You Can Do

GET
Gettask — Retrieve task status and output
/v1/tasks/{id}
DELETE
Deletetask — Cancel or delete a task
/v1/tasks/{id}

MCP Tools

retrieve-task-status-and-output

Retrieve task status and output

read-only idempotent
cancel-delete-task

Cancel or delete a task

idempotent

Capability Spec

video-generation-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Runway Video Generation API — Tasks
  description: 'Runway Video Generation API — Tasks. 2 operations. Lead operation: Retrieve task status and output. Self-contained
    Naftiko capability covering one Runway business surface.'
  tags:
  - Runway
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RUNWAY_API_KEY: RUNWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: video-generation-tasks
    baseUri: https://api.dev.runwayml.com/v1
    description: Runway Video Generation API — Tasks business capability. Self-contained, no shared references.
    resources:
    - name: tasks-id
      path: /tasks/{id}
      operations:
      - name: gettask
        method: GET
        description: Retrieve task status and output
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletetask
        method: DELETE
        description: Cancel or delete a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.RUNWAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: video-generation-tasks-rest
    port: 8080
    description: REST adapter for Runway Video Generation API — Tasks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tasks/{id}
      name: tasks-id
      description: REST surface for tasks-id.
      operations:
      - method: GET
        name: gettask
        description: Retrieve task status and output
        call: video-generation-tasks.gettask
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetask
        description: Cancel or delete a task
        call: video-generation-tasks.deletetask
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: video-generation-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Runway Video Generation API — Tasks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-task-status-and-output
      description: Retrieve task status and output
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: video-generation-tasks.gettask
      outputParameters:
      - type: object
        mapping: $.
    - name: cancel-delete-task
      description: Cancel or delete a task
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: video-generation-tasks.deletetask
      outputParameters:
      - type: object
        mapping: $.