Text generation API reference

更新时间:
复制 MD 格式

Model Studio offers multiple interfaces for text generation models:

  • OpenAI-compatible Chat Completion: Drop-in compatibility with OpenAI client libraries. The lowest-friction path for migrating existing apps or connecting third-party tools.

  • OpenAI-compatible Responses: Ships with built-in web search, code interpreter, and web extractor. Conversation history is managed automatically.

  • Anthropic-compatible Messages: Compatible with the Anthropic Messages API. Supports thinking and tool calling.

  • DashScope: Model Studio's native interface. Provides the most complete set of features and parameters.