Chat completions: your first Muse Spark call

What you'll build: a working chat completion against Muse Spark with the OpenAI Python SDK. Then you add instruction messages, temperature control, and multi-turn conversations.

SectionAPI fundamentals
CapabilitiesText generation
Time to complete~10 min
Modelmuse-spark-1.3
LanguagePython
PrerequisitesPython 3.10+, the openai package, and a MODEL_API_KEY (create one in the Model API dashboard).

Model API exposes two request formats.