Agent
Create Agent
Create a new AI agent
POST
Note: For training model settings, refer to the System Supported Model List.
The response data format is fully compatible with OpenAI and varies depending on whether it is a streaming response. Refer to the request examples below:
cURL Request Example
Authorizations
token
Body
multipart/form-data
agent name
Example:
"Test Agent"
agent description
Example:
"A professional customer service assistant, capable of answering product-related inquiries."
agent logo image
chat model
Example:
"deepseek-chat"
chat level, default is 2,higher temperatures increase creativity, while lower temperatures increase accuracy.
Available options:
0
, 1
, 2
, 3
, 4
Example:
2
enable internet access, 1 is yes, 0 is no
Available options:
0
, 1
enable stream output, 1 is yes, 0 is no
Available options:
0
, 1