StepFun
communityChinese AI company with Step series multimodal language models.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.stepfun.com/v1/chat/completionsChat completion
Parameters
modelstep-2-16k|step-1-32k (stringrequiredstreamstream response (booleanoptionalmessagesconversation array (arrayrequiredtemperature0-1 (numberoptionalReturns
choices[] with message.content, usage with prompt_tokens, completion_tokensGET
https://api.stepfun.com/v1/modelsList models
Returns
data[] with id, object, created, owned_byPOST
https://api.stepfun.com/v1/images/generationsGenerate image
Parameters
ncount (integeroptionalsize1024x1024 (stringoptionalmodelstep-1x-medium (stringrequiredpromptimage description (stringrequiredReturns
data[] with url, b64_json