Skip to main content
This project is for learning and research purposes only. Do not use it for commercial purposes.

API endpoint (x-www-form-urlencoded)

The API default model is exclusively GPT-4o-mini Parameter format: x-www-form-urlencoded

Start a new conversation

  • URL: https://api.ecylt.top/v1/free_gpt/chat.php
  • Method: POST
  • Data:
    • action: new
    • system_prompt: System prompt, optional

Continue a conversation

  • URL: https://api.ecylt.top/v1/free_gpt/chat.php
  • Method: POST
  • Data:
    • action: continue
    • message: User input message
    • conversation_id: Conversation ID, generated by the server

Delete history

  • URL: https://api.ecylt.top/v1/free_gpt/chat.php
  • Method: POST
  • Data:
    • action: delete

API endpoint (json)

The API default model is exclusively GPT-4o-mini Parameter format: json

Start a new conversation

  • URL: https://api.ecylt.top/v1/free_gpt/chat_json.php
  • Method: POST
  • Body:
{
    "action": "new",
    "system_prompt": "System prompt, optional"
}

Continue a conversation

  • URL: https://api.ecylt.top/v1/free_gpt/chat_json.php
  • Method: POST
  • Body:
{
    "action": "continue",
    "message": "User input message",
    "conversation_id": "Conversation ID, generated by the server"
}

Delete history

  • To delete conversation history, use the following request:
    • URL: https://api.ecylt.top/v1/free_gpt/chat_json.php
    • Method: POST
    • Body:
{
    "action": "delete",
    "conversation_id": "Conversation ID"
}

Important notes

  • Conversation history is saved in the cloud. It is automatically saved after each conversation and synced for deletion when you delete a conversation.