---
title: "any-llm"
method: POST
path: "/api/v1/any-llm-models"
tags: ["LLM / Multimodal"]
---

# any-llm

`POST /api/v1/any-llm-models`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/any-llm-models`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Generate text/answers using any LLM model. Input: text prompt, model selection. Output: text response. Use for: text generation, Q&A, creative writing, content creation.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- AnyLlmModelRequest
  - `prompt` string, required
  - `webhook_url` string, uri, nullable
  - `system_prompt` string, nullable, required
  - `model` 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-3.5-sonnet' | 'anthropic/claude-3-haiku' | 'google/gemini-2.5-flash' | 'google/gemini-2.0-flash-001' | 'google/gemini-2.0-flash-lite-001' | 'google/gemini-2.5-flash-preview-09-2025' | 'google/gemini-2.0-flash-exp:free' | 'google/gemini-2.5-pro' | 'openai/gpt-4o' | 'openai/gpt-4.1' | 'openai/gpt-5-chat' | 'meta-llama/llama-3.2-90b-vision-instruct' | 'meta-llama/llama-4-maverick' | 'meta-llama/llama-4-scout'
  - `reasoning` boolean
  - `priority` 'throughput' | 'latency'
  - `temperature` number
  - `max_tokens` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
