Skip to content
Maua.Culturewire

AI/ML API

300+ AI models through an OpenAI-compatible API

AI and machine learningCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Create an account at aimlapi.com and open “Key Management”.
    2. Create a key and copy it.
    3. Each request to a model uses credits; the connection test only checks the balance.

    Get credentials (opens in a new tab)

Tools (1)

  • AI/ML API requestAIMLAPI_SEND_REQUEST

    Authenticated call to the AI/ML API (https://api.aimlapi.com/v1). Any endpoint of the API is allowed. OpenAI-compatible. Examples: POST /chat/completions {"model": "gpt-4o", "messages": [{"role": "user", "content": "…"}]}, POST /images/generations {"model": "flux/schnell", "prompt": "…"}, GET /models, GET /billing/balance.

    Required scopes

    No scopes required

    Input

    AI/ML API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.