EYE AI
  • 🧿Eye AI - Explained
  • Overview
    • 🧿The beginning of a new age
    • 🧿Crypto robotics / Eye-AI
      • 🧿Functionality
    • 🧿Metaverse Eye-AI
      • 🧿AI powering the Metaverse
    • 🧿Trend Tracking
    • 🧿Point to ETH network
    • 🧿Introduction of the Eye- AI API
      • 🧿Making requests
      • 🧿Models
        • ▪️List models
      • 🧿Completions
        • ▪️Create completion
      • 🧿Edits
      • 🧿Images
        • ▪️Create image edit
        • ▪️Create image variation
      • 🧿Embeddings
      • 🧿File
        • ▪️Upload File
        • ▪️Delete File
        • ▪️Retrieve file
        • ▪️Retrieve file content
        • ▪️Fine-tunes
      • 🧿Moderations
      • 🧿Parameter details
    • 🧿Terms of Artificial Intelligence
    • 🧿AI and the developers
    • 🧿How AI can help organizations
    • 🧿AI in the company
      • 🧿What is driving AI adoption?
    • 🧿AI as a strategic must and competitive advantage
      • 🧿Best practices to get the most out of AI
    • 🧿Turnkey AI is making AI easier to operationalize
    • 🧿From artificial intelligence to adaptive intelligence
    • 🪙Token Eye AI
      • 🧿Taxes
      • 🧿Token Metrics
    • 🕵️‍♀️Security AI
    • 🛤️Roadmap
    • 🫂Social Media
    • 📊Fairlaunch ETH - Pinksale
Powered by GitBook
On this page
  1. Overview
  2. Introduction of the Eye- AI API

Edits

Given a prompt and an instruction, the model will return an edited version of the prompt.

Create edit

Creates a new edit for the provided input, instruction, and parameters

Example request
curl https://api.eye-ai.com/v1/edits \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
  "model": "text-davinci-edit-001",
  "input": "What day of the wek is it?",
  "instruction": "Fix the spelling mistakes"
}'
Parameters
{
  "model": "text-davinci-edit-001",
  "input": "What day of the wek is it?",
  "instruction": "Fix the spelling mistakes",
}
Response
{
  "object": "edit",
  "created": 1589478378,
  "choices": [
    {
      "text": "What day of the week is it?",
      "index": 0,
    }
  ],
  "usage": {
    "prompt_tokens": 25,
    "completion_tokens": 32,
    "total_tokens": 57
  }
}
PreviousCreate completionNextImages

Last updated 2 years ago

🧿
🧿
Page cover image