AI Dialogue
AI intelligent dialogue service, providing answers to any questions.
Your API key is pre-filled in the snippet — copy and run it in your terminal or IDE.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsAI Chat API
Integrate multi-turn conversations, model calls, and tool connections into your application.
Basic conversation
Use model and question to send your first question.
Sessions and tools
Integrate session management and tool execution as needed for your business.
Multiple model access
Choose available models and their corresponding APIs from the current catalog.
Start with your first request
Get a Key, copy the request, and view the corresponding JSON response below.
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl --request POST "https://api.acedata.cloud/aichat/conversations" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"model":"gpt-6-luna","question":"Explain what an API is in one sentence."}'The following is an excerpt of key fields from the existing API response. The task identifier, usage, and generated content depend on the values returned by your request.
{
"answer": "I am an AI language model developed by OpenAI and I don't have a personal name. However, you can call me GPT or simply Chatbot. How can I assist you today?"
}Read the results
Read the full response or streaming events according to the selected API. Wait for tool operations and asynchronous executions to reach their respective final states before displaying results. Retain the required session identifiers and message context for subsequent conversations.
When you need session management and tool execution, see the AI Chat v2 Conversations guide. For standard model conversations, you can also select a published Chat Completions, Responses, or Messages API from the model catalog.
Usage and costs
Model prices and supported protocols are displayed in the model catalog. Check your application balance and Key permissions before running, and retain the trace_id if an error occurs.
Integrate the AI Chat API into your application
See the full guide for parameters, result fields, and error handling.
AI Chat agent API — invoke an agent that autonomously uses tools and skills to complete complex tasks.
AI Chat agent WebSocket API — real-time streaming conversation with an agent over WebSocket.
AI Chat connectors API — manage the third-party service connectors an agent can be authorized to use.
AI Chat conversations API — next-gen chat endpoint with multimodal input, agentic tool calling, and streaming responses.
AI Chat MCP servers API — list and manage the MCP servers available to an agent.
AI Chat skills API — list the skills an agent can invoke.
This API is based on LLM, providing artificial intelligence Q&A functionality, and supports multi-turn dialogue interaction and streaming responses.
Manage AceChat outputs with list, detail, summary, hide, and delete operations; management actions do not invoke models or incur charges.
Manage AceChat long-term memories with list, delete, and clear operations; management actions do not invoke models or incur charges.
AI Chat scheduled-run endpoint (internal) — triggers and runs a configured scheduled task.
AI Chat realtime API — low-latency voice interaction over a realtime channel.
AI Chat scheduled tasks API — create and manage an agent's scheduled, auto-running tasks.
Full-duplex GPT-Live voice sessions with live captions and backend delegation, billed by active duration.
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFPrice
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
No Pricing Information
