Verify Off-chain AI Gateway
Prepare your Ethereum account
Fund your AI Gateway
Configure Transcoding Options
Launch the AI Gateway
-aiServiceRegistry
: Ensures that the Gateway is connected to the Livepeer AI network.-network=arbitrum-one-mainnet
: Connects the AI Gateway to the Arbitrum Mainnet network.-ethUrl=https://arb1.arbitrum.io/rpc
: Sets the Arbitrum Mainnet RPC URL. Replace it with your own if necessary.-ethKeystorePath=/root/.lpData/arbitrum-one-mainnet/keystore
: Sets the path to the Ethereum keystore file for the AI Gateway.-ethAcctAddr <LIVEPEER_AI_ORCH_ETH_ADDRESS>
: Sets the Ethereum account address for the AI Gateway.-ethPassword=/root/.lpData/.eth_secret
: Sets the path to the Ethereum keystore password file.-ethOrchAddr=<MAIN_ORCH_ETH_ADDRESS>
: Sets the Ethereum address of the Mainnet Transcoding Network Gateway.-maxTotalEV=100000000000000
: Ensures the AI Gateway complies with the max ticket value limits in go-livepeer
.-maxPricePerUnit=<MAX PRICE in WEI or USD>
: This defaults to 0. Set to acceptable max price in wei (or USD, e.g. 0.02USD) willing to pay. Note: this can impact amount of Orchestrators available to process the work.-ignoreMaxPriceIfNeeded=<true or false>
: This defaults to false. Set to true if want to process requests if no Orchestrators are under maxPricePerUnit or do not want to use a max price.-maxPricePerCapability=/path/to/maxPrices.json
: This flag sets the max price per unit for one or many pipeline/models. Refer to the Set Max Price Per Pipeline and Model section for more details.-maxPricePerCapability
flag. If a price is not set for a specific
pipeline/model, the -maxPricePerUnit
price will be used. The flag input should
be a JSON file with the specified max prices. The example below demonstrates the
following configurations:
image-to-image
pipeline and model
ByteDance/SDXL-Lightning
to 1,700,000 wei per unit (pixels).text-to-image
pipeline and model
stabilityai/stable-diffusion-3-medium-diffusers
to 4,768,371 wei per unit
(pixels).upscale
pipeline for all models to 4,768,371 wei per
unit. The pixels_per_unit
defaults to 1
if not specified.image-to-video
pipeline for all models to 3,390,842
wei per unit (pixels).audio-to-text
pipeline for all models to 12,882,811
wei per unit (milliseconds of audio).