naftiko: 1.0.0-alpha2 info: label: Abstract API - Image Processing API — Image Processing description: 'Abstract API - Image Processing API — Image Processing. 1 operations. Lead operation: Abstract API Process Image by URL. Self-contained Naftiko capability covering one Abstract Api business surface.' tags: - Abstract Api - Image Processing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ABSTRACT_API_API_KEY: ABSTRACT_API_API_KEY capability: consumes: - type: http namespace: image-processing-image-processing baseUri: https://images.abstractapi.com/v1 description: Abstract API - Image Processing API — Image Processing business capability. Self-contained, no shared references. resources: - name: url path: /url operations: - name: processimagebyurl method: GET description: Abstract API Process Image by URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api_key in: query type: string description: Your unique API key for the Image Processing API. required: true - name: url in: query type: string description: URL of the image to process. required: true - name: lossy in: query type: boolean description: Whether to apply lossy compression. Defaults to true. - name: quality in: query type: integer description: Image quality from 1 to 100 (for lossy compression). - name: output_format in: query type: string description: Target output format (jpeg, png, webp, gif). authentication: type: apikey key: api_key value: '{{env.ABSTRACT_API_API_KEY}}' placement: query exposes: - type: rest namespace: image-processing-image-processing-rest port: 8080 description: REST adapter for Abstract API - Image Processing API — Image Processing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/url name: url description: REST surface for url. operations: - method: GET name: processimagebyurl description: Abstract API Process Image by URL call: image-processing-image-processing.processimagebyurl with: api_key: rest.api_key url: rest.url lossy: rest.lossy quality: rest.quality output_format: rest.output_format outputParameters: - type: object mapping: $. - type: mcp namespace: image-processing-image-processing-mcp port: 9090 transport: http description: MCP adapter for Abstract API - Image Processing API — Image Processing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: abstract-api-process-image-url description: Abstract API Process Image by URL hints: readOnly: true destructive: false idempotent: true call: image-processing-image-processing.processimagebyurl with: api_key: tools.api_key url: tools.url lossy: tools.lossy quality: tools.quality output_format: tools.output_format outputParameters: - type: object mapping: $.