openapi: 3.2.0 info: title: Livepeer CLI Local HTTP Gateway API description: 'Local control-plane HTTP endpoints exposed by the Livepeer node. The CLI HTTP API provides programmatic access to node management functions including status monitoring, staking operations, orchestrator configuration, and broadcast settings. **Default Ports:** - Gateway: http://localhost:5935 - Orchestrator: http://localhost:7935 ' version: 1.0.0 contact: name: Livepeer Documentation url: https://docs.livepeer.org servers: - url: http://localhost:5935 description: Gateway CLI API (default) - url: http://localhost:7935 description: Orchestrator CLI API tags: - name: Gateway description: Gateway/broadcaster configuration paths: /setBroadcastConfig: post: tags: - Gateway summary: Set broadcast configuration description: Configure transcoding options and max price operationId: setBroadcastConfig requestBody: required: true content: application/json: schema: type: object properties: maxPricePerUnit: type: string description: Maximum price per pixel in wei example: '1000' pixelsPerUnit: type: integer description: Number of pixels per unit example: 1 responses: '200': description: Broadcast config updated successfully /setMaxPriceForCapability: post: tags: - Gateway summary: Set max price per AI capability description: Set pricing for specific AI pipelines and models operationId: setMaxPriceForCapability requestBody: required: true content: application/json: schema: type: object required: - capabilities_prices properties: capabilities_prices: type: array items: type: object required: - pipeline - price_per_unit properties: pipeline: type: string description: AI pipeline name example: text-to-image model_id: type: string description: Specific model ID or "default" example: stabilityai/sd-turbo price_per_unit: type: integer description: Maximum price per unit example: 1000 pixels_per_unit: type: integer description: Pixels per unit example: 1 responses: '200': description: AI pricing updated successfully