MuseSpark
MuseSpark
LLM integration

LLM integration

Connect through the OpenAI, Anthropic, or Gemini native protocol.

Choose the protocol your application uses. Each protocol has its own request shape, response format, streaming events, SDK configuration, and API reference.

ProtocolBase URLStart here
OpenAIhttps://api.musespark.ai/proxy/openai/v1OpenAI integration
Anthropichttps://api.musespark.ai/proxy/anthropicAnthropic integration
Geminihttps://api.musespark.ai/proxy/gemini/v1betaGemini integration

Shared setup

Create a key with product llm_compat. Calling models requires llm:invoke; listing models requires llm:model:list. See authentication.

Query the chosen protocol's model catalog for an authorized identifier. Protocol support and optional features depend on the selected model.

Native responses

Successful calls return protocol-native JSON, streaming events, or media bytes. They do not use the task API's code, msg, and data wrapper.

Read the capability boundaries before migrating an application that uses additional upstream endpoints.