naftiko: 1.0.0-alpha2 info: label: Leonardo.AI Video Generation description: 'Leonardo.AI Video Generation. 3 operations. Lead operation: Create SVD Motion Generation. Self-contained Naftiko capability covering the Leonardo.AI Video Generation business surface.' tags: - Leonardo.AI - Video Generation created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: LEONARDO_AI_API_KEY: LEONARDO_AI_API_KEY capability: consumes: - type: http namespace: video-generation baseUri: https://cloud.leonardo.ai/api/rest/v1 description: Leonardo.AI Video Generation business capability. Self-contained, no shared references. resources: - name: generations-motion-svd path: /generations-motion-svd operations: - name: create-svdmotion-generation method: POST description: This endpoint will generate a SVD motion generation. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: generations-image-to-video path: /generations-image-to-video operations: - name: create-image-to-video-generation method: POST description: This endpoint will generate a video using an uploaded or generated image. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: generations-text-to-video path: /generations-text-to-video operations: - name: create-text-to-video-generation method: POST description: This endpoint will generate a video using a text prompt outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer value: '{{env.LEONARDO_AI_API_KEY}}' placement: header exposes: - type: rest namespace: video-generation-rest port: 8080 description: REST adapter for Leonardo.AI Video Generation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/generations-motion-svd name: generations-motion-svd description: REST surface for generations-motion-svd. operations: - method: POST name: create-svdmotion-generation description: This endpoint will generate a SVD motion generation. call: video-generation.create-svdmotion-generation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/generations-image-to-video name: generations-image-to-video description: REST surface for generations-image-to-video. operations: - method: POST name: create-image-to-video-generation description: This endpoint will generate a video using an uploaded or generated image. call: video-generation.create-image-to-video-generation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/generations-text-to-video name: generations-text-to-video description: REST surface for generations-text-to-video. operations: - method: POST name: create-text-to-video-generation description: This endpoint will generate a video using a text prompt call: video-generation.create-text-to-video-generation with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: video-generation-mcp port: 9090 transport: http description: MCP adapter for Leonardo.AI Video Generation. One tool per consumed operation, routed through this capability's consumes block. tools: - name: leonardo-ai-create-svdmotion-generation description: This endpoint will generate a SVD motion generation. hints: readOnly: false destructive: false idempotent: false call: video-generation.create-svdmotion-generation with: body: tools.body outputParameters: - type: object mapping: $. - name: leonardo-ai-create-image-to-video-generation description: This endpoint will generate a video using an uploaded or generated image. hints: readOnly: false destructive: false idempotent: false call: video-generation.create-image-to-video-generation with: body: tools.body outputParameters: - type: object mapping: $. - name: leonardo-ai-create-text-to-video-generation description: This endpoint will generate a video using a text prompt hints: readOnly: false destructive: false idempotent: false call: video-generation.create-text-to-video-generation with: body: tools.body outputParameters: - type: object mapping: $.