如果是新用户,进去之后先去实名认证,否则后面用不了,登录就可以获取使用了。进首页也能找到活动。

活动入口:点击领取
PHP
API Key、Base URL、Model ID 已自动填写,可直接复制示例使用。使用量请前往【用量查询】查看
model spark-x2.6
OpenAI_Chat https://maas-api.cn-huabei-1.xf-yun.com/v2/chat/completions
OpenAI_Response https://maas-api.cn-huabei-1.xf-yun.com/v1/responses
Anthropic https://maas-api.cn-huabei-1.xf-yun.com/anthropic/v1/messages