naftiko: 1.0.0-alpha2 info: label: Flux Image Editing API — Editing description: 'Flux Image Editing API — Editing. 2 operations. Lead operation: Edit image with FLUX.1 Kontext [max]. Self-contained Naftiko capability covering one Flux business surface.' tags: - Flux - Editing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLUX_API_KEY: FLUX_API_KEY capability: consumes: - type: http namespace: image-editing-editing baseUri: https://api.bfl.ai/v1 description: Flux Image Editing API — Editing business capability. Self-contained, no shared references. resources: - name: flux-kontext-max path: /flux-kontext-max operations: - name: editimagekontextmax method: POST description: Edit image with FLUX.1 Kontext [max] outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: flux-kontext-pro path: /flux-kontext-pro operations: - name: editimagekontextpro method: POST description: Edit image with FLUX.1 Kontext [pro] outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Key value: '{{env.FLUX_API_KEY}}' placement: header exposes: - type: rest namespace: image-editing-editing-rest port: 8080 description: REST adapter for Flux Image Editing API — Editing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flux-kontext-max name: flux-kontext-max description: REST surface for flux-kontext-max. operations: - method: POST name: editimagekontextmax description: Edit image with FLUX.1 Kontext [max] call: image-editing-editing.editimagekontextmax with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/flux-kontext-pro name: flux-kontext-pro description: REST surface for flux-kontext-pro. operations: - method: POST name: editimagekontextpro description: Edit image with FLUX.1 Kontext [pro] call: image-editing-editing.editimagekontextpro with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: image-editing-editing-mcp port: 9090 transport: http description: MCP adapter for Flux Image Editing API — Editing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: edit-image-flux-1-kontext-max description: Edit image with FLUX.1 Kontext [max] hints: readOnly: false destructive: false idempotent: false call: image-editing-editing.editimagekontextmax with: body: tools.body outputParameters: - type: object mapping: $. - name: edit-image-flux-1-kontext-pro description: Edit image with FLUX.1 Kontext [pro] hints: readOnly: false destructive: false idempotent: false call: image-editing-editing.editimagekontextpro with: body: tools.body outputParameters: - type: object mapping: $.