naftiko: 1.0.0-alpha2 info: label: Runway Video Generation API — Text to Video description: 'Runway Video Generation API — Text to Video. 1 operations. Lead operation: Create text-to-video generation task. Self-contained Naftiko capability covering one Runway business surface.' tags: - Runway - Text to Video 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-text-to-video baseUri: https://api.dev.runwayml.com/v1 description: Runway Video Generation API — Text to Video business capability. Self-contained, no shared references. resources: - name: text_to_video path: /text_to_video operations: - name: createtexttovideo method: POST description: Create text-to-video generation task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.RUNWAY_API_KEY}}' exposes: - type: rest namespace: video-generation-text-to-video-rest port: 8080 description: REST adapter for Runway Video Generation API — Text to Video. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/text-to-video name: text-to-video description: REST surface for text_to_video. operations: - method: POST name: createtexttovideo description: Create text-to-video generation task call: video-generation-text-to-video.createtexttovideo with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: video-generation-text-to-video-mcp port: 9090 transport: http description: MCP adapter for Runway Video Generation API — Text to Video. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-text-video-generation-task description: Create text-to-video generation task hints: readOnly: false destructive: false idempotent: false call: video-generation-text-to-video.createtexttovideo with: body: tools.body outputParameters: - type: object mapping: $.