S

Swift AI

Published byDev AI
5/26/2025

Endpoints

4

Chat
1

Given a list of messages comprising a conversation, the model will return a response.

Embeddings
1

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.

Moderations
1

Given some input text, outputs if the model classifies it as potentially harmful across several categories.

List Models
1

List all available models for all endpoints

What is the Swift AI API?

Access a wide range of AI models⚑, including OpenAI πŸ€–,DeepSeek πŸ”, Claude 🧠, Gemini 🌟, and Meta LLaMA πŸ¦™, with seamless compatibility via the Swift API ⚑

Swift AI API is available on the JoJ API marketplace. Subscribe with a single JoJ API key, call it through one gateway, and pay from one wallet β€” no separate account or contract with the provider.

Swift AI API endpoints

  • POST/chat/completions

    Create Chat Completion

    Creates a model response for the given chat conversation.

  • POST/embeddings

    Create Embeddings

    Creates an embedding vector representing the input text.

  • POST/moderations

    Create Moderation

    Classifies if text is potentially harmful.

  • GET/models

    List Models

    Return a list of available models on this API