{
  "chat": {
    "label": "Chat",
    "capability": "chat",
    "model": "gpt-6-luna",
    "path": "/v1/chat/completions",
    "body": {
      "model": "gpt-6-luna",
      "messages": [
        {
          "role": "user",
          "content": "Say hello in one sentence."
        }
      ],
      "max_tokens": 128
    }
  },
  "image": {
    "label": "Images",
    "capability": "image",
    "model": "gpt-image-2.5-flare",
    "path": "/v1/images/generations",
    "body": {
      "model": "gpt-image-2.5-flare",
      "prompt": "An orange cat on a sunny windowsill",
      "size": "1024x1024",
      "n": 1,
      "response_format": "url",
      "replyType": "async"
    },
    "pollPath": "/v1/images/tasks/{id}"
  },
  "video": {
    "label": "Video",
    "capability": "video",
    "model": "wan3.0-video",
    "path": "/v1/videos/generations",
    "body": {
      "model": "wan3.0-video",
      "prompt": "A red paper boat drifting on calm water at sunset",
      "resolution": "720P",
      "duration": 5
    },
    "pollPath": "/v1/tasks/{id}"
  },
  "tts": {
    "label": "Speech synthesis",
    "capability": "tts",
    "model": "Spark-TTS-0.5B",
    "path": "/v1/async/audio/speech",
    "body": {
      "model": "Spark-TTS-0.5B",
      "inputs": "Hello, welcome to KeyoAPI",
      "gender": "male",
      "pitch": 3,
      "speed": 3
    },
    "pollPath": "/v1/task/{id}"
  },
  "asr": {
    "label": "Transcription",
    "capability": "speech",
    "model": "SenseVoiceSmall",
    "path": "/v1/audio/transcriptions",
    "fields": {
      "model": "SenseVoiceSmall"
    },
    "files": {
      "file": "sample.wav"
    }
  },
  "document": {
    "label": "Document parsing",
    "capability": "ocr",
    "model": "MinerU2.5-Pro",
    "path": "/v1/async/documents/parse",
    "fields": {
      "model": "MinerU2.5-Pro"
    },
    "files": {
      "file": "document.pdf"
    },
    "pollPath": "/v1/task/{id}"
  },
  "vision": {
    "label": "Background removal",
    "capability": "vision",
    "model": "RMBG-2.0",
    "path": "/v1/images/mattings",
    "fields": {
      "model": "RMBG-2.0"
    },
    "files": {
      "image": "photo.png"
    }
  },
  "avatar": {
    "label": "Digital human",
    "capability": "digital-human",
    "model": "InfiniteTalk",
    "path": "/v1/async/videos/image-to-video",
    "fields": {
      "model": "InfiniteTalk",
      "prompt": "A person speaking naturally to camera, keeping identity and background stable"
    },
    "files": {
      "cond_video": "portrait.png",
      "cond_audio": "speech.wav"
    },
    "pollPath": "/v1/task/{id}"
  },
  "image-edit": {
    "label": "Reference-image edit",
    "capability": "image",
    "model": "gpt-image-2.5-flare",
    "path": "/v1/images/edits",
    "fields": {
      "model": "gpt-image-2.5-flare",
      "prompt": "Turn the reference image into a clean black line drawing on a white background. Preserve its composition and subject.",
      "size": "1024x1024",
      "n": "1",
      "replyType": "async"
    },
    "files": {
      "image": "reference.png"
    },
    "pollPath": "/v1/images/tasks/{id}"
  },
  "ocr": {
    "capability": "ocr",
    "model": "Unlimited-OCR-2",
    "path": "/v1/chat/completions",
    "body": {
      "model": "Unlimited-OCR-2",
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "Extract all text in the image"
            },
            {
              "type": "image_url",
              "image_url": {
                "url": "${KEYO_IMAGE_URL}"
              }
            }
          ]
        }
      ]
    },
    "noteKey": "Replace example media URLs with your own public HTTPS URLs. Upload local files first.",
    "label": "OCR"
  }
}
