Skip to main content
All models

Moonshot / Model reference

Kimi K2.7 Code

Moonshot model available through the Celeste SDK. Explore its supported operations and parameters.

See the code
Model IDkimi-k2.7-code

What it can do.

Streaming
celeste.images.analyzeAnalyze images
celeste.text.generateGenerate text
celeste.videos.analyzeAnalyze videos

Parameters.

Supported controls from Celeste’s model registry. Values and availability differ between models.

Kimi K2.7 Code parameters and constraints
ParameterAccepted values
imageImage artifacts
output_schemaPydantic BaseModel
tool_choice
autonone
toolsList of tool definitions
videovideos

Start with a few lines

Put it to work.

Use your provider credentials. Call the model through the SDK and build around its output.

Generate
import celeste
response = await celeste.text.generate(
model="kimi-k2.7-code",
prompt="Write a project brief for a neighborhood repair café." )
print(response.content)

This example uses text.generate. Explore the quickstart for installation and authentication.