naftiko: 1.0.0-alpha2 info: label: Runway Characters API — Avatars description: 'Runway Characters API — Avatars. 1 operations. Lead operation: Create a new avatar. Self-contained Naftiko capability covering one Runway business surface.' tags: - Runway - Avatars created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RUNWAY_API_KEY: RUNWAY_API_KEY capability: consumes: - type: http namespace: characters-avatars baseUri: https://api.dev.runwayml.com/v1 description: Runway Characters API — Avatars business capability. Self-contained, no shared references. resources: - name: avatars path: /avatars operations: - name: createavatar method: POST description: Create a new avatar 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: characters-avatars-rest port: 8080 description: REST adapter for Runway Characters API — Avatars. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/avatars name: avatars description: REST surface for avatars. operations: - method: POST name: createavatar description: Create a new avatar call: characters-avatars.createavatar with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: characters-avatars-mcp port: 9090 transport: http description: MCP adapter for Runway Characters API — Avatars. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-avatar description: Create a new avatar hints: readOnly: false destructive: false idempotent: false call: characters-avatars.createavatar with: body: tools.body outputParameters: - type: object mapping: $.