Introduction
Meta Muse Spark 1.2 chat endpoint: 1,048,576-token context and output ceiling, image_url vision input, six reasoning tiers, auto tool calling, and JSON output.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Input budget | 1,048,576 tokens |
| max_tokens ceiling | 1,048,576 |
| Inputs | text / images |
Key features & highlights
Built for multi-file refactors and long debug loops
Meta released Muse Spark 1.2 specifically for sustained engineering work. Its 1,048,576-token window holds source files, test output, and architectural notes together in one thread.
Dial thinking from minimal up to max
Tune reasoning_effort across minimal, low, medium, high (default), xhigh, and max. Reasoning tokens are counted inside max_tokens and billed as output.
Screenshots, 128 tools, and JSON replies
Attach image_url parts alongside logs or specs, define up to 128 tools (with tool_choice set to auto), and use response_format for structured JSON outputs.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | Ordered conversation history for Muse Spark 1.2 (up to 256 messages) supporting text and |
max_tokens | No | Maximum combined thinking and visible reply tokens for Muse Spark 1.2 (1 to 1,048,576, default 4,096). |
reasoning_effort | No | Reasoning depth for Muse Spark 1.2: minimal, low, medium, high, xhigh, max (default high), where higher effort uses more output tokens and latency. |
stop | No | One stop sequence or up to four strings (32 characters each) that halt Muse Spark 1.2 output. at least 1 characters · at least 1 items · at most 4 items |
temperature | No | Sampling temperature for Muse Spark 1.2 from 0 to 2, where lower values yield steadier wording. |
top_p | No | Nucleus sampling threshold for Muse Spark 1.2 from 0.01 to 1, tuned independently from temperature. |
tools | No | Up to 128 OpenAI-format function definitions for Muse Spark 1.2, with argument checks and execution handled by your app. at most 128 items |
parallel_tool_calls | No | Allows Muse Spark 1.2 to propose multiple independent tool calls in a single turn (on by default). Default: |
tool_choice | No | Controls tool selection for Muse Spark 1.2, accepting auto only on this endpoint. |
response_format | No | Request plain text or structured JSON output from Muse Spark 1.2, validating returned JSON in your application. |
Pricing
Input $1.0625 / Output $3.6125 per 1 million tokens
Use cases
Multi-file codebase refactoring
Provide module interfaces, callers, and test suites together so Muse Spark 1.2 can plan symbol-accurate changes without breaking downstream consumers.
Long-running terminal coding agents
Keep dozens of tool observations verbatim in the 1M-token context while your application validates and executes every file edit or test command.
UI and visual debugging
Combine failing interface screenshots via image_url with stack traces and component code for focused diagnosis.
Prompt guide & pro tips
Let the model choose tools, or send none
On this endpoint
tool_choicesupports auto only; leave tools out when you want plain prose instead of function calls.Size the output limit for deep thinking
Reasoning counts inside
max_tokens(default 4,096, ceiling 1,048,576). Raise the cap before increasingreasoning_effortto xhigh or max.Reuse stable repository prefixes
Put static instructions and shared source files early in the message list so subsequent turns benefit from cached input tokens.
Overview
Meta Muse Spark 1.2 chat endpoint: 1,048,576-token context and output ceiling, image_url vision input, six reasoning tiers, auto tool calling, and JSON output.
Limits and billing
Muse Spark 1.2 accepts up to 1,048,576 input tokens and 1,048,576 output tokens (default 4,096), billed per measured token at the live rates on this page.
muse/spark-1.2/chat
SpicyAPI adds no filter to Muse Spark 1.2; live checks passed romantic, sensual, artistic nudity, and graphic horror prompts, while direct BDSM and explicit erotica prompts were refused or rewritten into non-graphic romance.
API quick start
curl --fail-with-body -sN https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "meta/muse-spark-1.2/chat",
"messages": [
{
"role": "user",
"content": "Summarise the following release notes into three bullet points."
}
],
"stream": true
}' \
| jq --unbuffered -Rrj 'select(startswith("data: ")) | .[6:] | select(. != "[DONE]") | fromjson | if .error then "\n[error] \(.error.message)\n" else (.choices[0].delta.content? // empty) end'
See the API reference for authentication, the complete schema, polling, and error handling.

