Supported AI Models and Deployment Addresses of ORA's AI Oracle.
Model ID
11
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Model ID
13
Deployed Network
Ethereum & Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Model ID
14
Deployed Network
Arbitrum & Arbitrum Sepolia, Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Note
Input exceeds 7000 characters won't receive callback.
Model ID
15
Deployed Network
Arbitrum & Arbitrum Sepolia, Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Model ID
50
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Model ID
503
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Prompt and SimplePrompt are both example smart contracts interacted with AI Oracle.
For simpler application scenarios (eg. Prompt Engineering based AI like GPTs), you can directly use Prompt or SimplePrompt.
SimplePrompt saves gas by only emitting the event without storing historical data.
Ethereum Mainnet
Deprecated contracts: AIOracle, Prompt.
Optimism Mainnet
Optimism Sepolia
Arbitrum Mainnet
Arbitrum Sepolia Testnet
Manta Mainnet
Manta Sepolia Testnet
Linea Mainnet
Input: Prompt (). Output: Inference result ().
Input: Prompt (). Output: Inference result ().
Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"}
(). Default instruction (if sending raw prompt only) is You are a helpful assistant
.
Output: Inference result ().
Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"}
(). Default instruction (if sending raw prompt only) is You are a helpful assistant
.
Output: Inference result ().
Input: Prompt (). Output: IPFS hash of inference result (). Access with IPFS gateway, see .
Input: Prompt (). Output: IPFS hash of inference result (). Access with IPFS gateway, see .
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
To showcase how AI Oracle can enhance consumer-facing products, we introduce Fortune Teller.
Fortune Teller leverages the NestedInference smart contract, as discussed in the Advanced Usages of AI Oracle. This application aims to onboard new users to Web3 and demonstrate the capabilities of AI Oracle.
User Interaction: The application prompts users to answer specific questions posed by the Magic Wizard.
Fortune Telling: The Wizard casts its spells by requesting inferences from AI Oracle.
Response Generation: The Llama3 model generates a textual response, which is then used as a prompt for image creation via StableDiffusion.
NFT Minting: Users can mint AI-generated NFTs if they are satisfied with their fortune image.
The image on the right represents user's fortune result generated by AI Oracle:
Text: Generated by Llama3 (onchain tx)
Image: Generated by Stable Diffusion v3 (onchain tx)
Objective AI-Generated Insights: AI provides neutral and unbiased outputs, ensuring a fair experience across diverse use cases.
Immutable Onchain Data: Information generated is securely stored on the blockchain, making it tamper-proof and easily verifiable.
Transparent Data Generation: Utilizing opML, the entire generation process is transparent, fostering trust in the system across different applications.
💡 If you're interested in creating your own frame, check out our AI Oracle Frame Template repository. This template can help you bootstrap your application, but you'll need to modify it based on your specific use case.
We encourage you to develop your own applications. Explore ideas in the awesome-ora repository, whether it’s a Farcaster frame, a Telegram mini app, or any other client application that interacts with AI Oracle.