Text model API
Muse Spark 1.2 API
Muse Spark 1.2 is a reasoning model from Meta, designed for complex agentic tasks. It accepts text, images, video, audio, and PDF documents, returns text, and offers a 1M-token context window. The model is built to support multi-agent workflows, whether as either a main agent that plans and delegates or as a subagent executing in parallel. It works across multiple coding harnesses and supports structured output, parallel function calling, and configurable reasoning effort. In Meta’s testing, it performs well on multi-file refactors, extended debugging sessions, whole-repository generation, an
- Model id
muse-spark-12- Takes
- Text (required)
- Makes
- Text
- Endpoint
POST /api/v1/chat/completions- Made by
- Meta
- Mode
- Synchronous
Call Muse Spark 1.2
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model muse-spark-12
POST /api/v1/chat/completions
curl https://payload.rentprompts.com/api/v1/chat/completions \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "muse-spark-12",
"messages": [
{
"role": "user",
"content": "Write a haiku about APIs."
}
],
"max_tokens": 256
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1,000 input + 500 output tokens0.6 Joules
- 10,000 input + 2,000 output tokens4.2 Joules
Send requests to POST /api/v1/chat/completions. Muse Spark 1.2 answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.
Settings
This model has no extra settings. Send the standard fields shown in the example.