swift-ai
Swift AI: Access a wide range of AI models⚡, including OpenAI 🤖,DeepSeek 🔍, Claude 🧠, Gemini 🌟, and.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"swift-ai": {
"url": "https://mcp.jojapi.com/swift-ai"
}
}
}遠端端點
https://mcp.jojapi.com/swift-aistreamable-http它能做什麼
工具清單
工具(5)
🟡post_chat_completions(body)
Creates a model response for the given chat conversation. Group: Chat. Billing per call: Credits: metered (~198.03 avg).
輸入結構描述
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"gpt-5.6-terra\",\"stream\":false,\"messages\":[{\"role\":\"user\",\"content\":\"How many days in 3 weeks.\"}]}"
}
},
"additionalProperties": false
}🟡post_audio_speech(body)
Generates audio from the input text. Group: Audio. Billing per call: Credits: metered (~187 avg).
輸入結構描述
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"tts-1\",\"input\":\"Today is a wonderful day!\",\"voice\":\"alloy\"}"
}
},
"additionalProperties": false
}🟡post_embeddings(body)
Creates an embedding vector representing the input text. Group: Embeddings. Billing per call: Credits: metered (~0 avg).
輸入結構描述
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"input\":\"Today is a wonderful day\",\"model\":\"text-embedding-3-large\"}"
}
},
"additionalProperties": false
}🟡post_moderations(body)
Classifies if text is potentially harmful. Group: Moderations. Billing per call: Credits: metered.
輸入結構描述
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"text-moderation-latest\",\"input\":\"Today is a wonderful day to build something people love!\"}"
}
},
"additionalProperties": false
}🟢get_models
Return a list of available models on this API Group: List Models. Billing per call: Credits: metered (~0.5 avg).
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}社群
證據