AI/ML API
Developer toolsAPI key
Call hundreds of AI models through one AI/ML API key: chat completions, embeddings, image and video generation, plus model catalogue, balance and usage.
10 actions
| Action | Effect | Data handled | Scope |
|---|---|---|---|
| ai_ml_api_list_modelsLists the models in the live catalogue with their ids, aliases and endpoint type, filtered by endpoint type, modality or capability | read | General | |
| ai_ml_api_get_modelReturns one model of the catalogue by id or alias, with optional pricing, modalities and capabilities | read | General | |
| ai_ml_api_create_chat_completionSends a conversation to a chat model and returns its reply in the OpenAI chat completions format | write | Personal data | |
| ai_ml_api_create_embeddingsTurns one or more texts into embedding vectors with an embedding model | read | Personal data | |
| ai_ml_api_generate_imageGenerates images from a prompt with an image model and returns their URLs or base64 data | write | General | |
| ai_ml_api_generate_videoStarts a video generation with a video model | write | General | |
| ai_ml_api_get_video_generationReturns the status of a video generation (queued, generating, completed or error) and, when completed, the video URL | read | General | |
| ai_ml_api_get_balanceReturns the account's current balance in USD | read | General | |
| ai_ml_api_list_transactionsLists balance movements, newest first: top-ups and model usage charges | read | General | |
| ai_ml_api_list_usage_logsLists individual requests made with the API key in a time window, with model, cost, tokens and status | read | General |