Ashlynn Repository's API Documentation

Access powerful AI chat and image generation services with ease.

Flux

Generate images based on descriptive prompts.

How to Use:

GET /image/?prompt=A+beautiful+sunset

Example Response:

{
  "code": 200,
  "creator": "https://t.me/Ashlynn_Repository",
  "image_urls": [
    "https://tmpfiles.org/dl/16976590/ashlynn-repo.png",
    "https://tmpfiles.org/dl/16976591/ashlynn-repo.png",
    "https://tmpfiles.org/dl/16976593/ashlynn-repo.png"
  ],
  "message": "Images generated successfully",
  "status": true
}

Turbo

Generate images based on descriptive prompts.

How to Use:

GET /turbo?prompt=A+beautiful+sunset&dimensions=square

Example Response:

{
  "code": 200,
  "creator": "https://t.me/Ashlynn_Repository",
  "image_urls": [
    "https://tmpfiles.org/dl/16976590/ashlynn-repo.png",
    "https://tmpfiles.org/dl/16976591/ashlynn-repo.png",
    "https://tmpfiles.org/dl/16976593/ashlynn-repo.png"
  ],
  "message": "Images generated successfully",
  "status": true
}

GPT-4o-mini

Interact with various AI models to get chat-based responses. Select a model and provide a question to receive a detailed response.

How to Use:

GET /chat/?question=Hello&model=gpt-4o-mini

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "gpt-4o-mini",
  "response": "Hello! How can I assist you today?",
  "status": 200,
  "successful": "success"
}

qwen-2.5-coder-32b

Qwen Coder conversational AI model, suitable for Codes queries.

How to Use:

GET /api/chat?question=hi&model=qwen-2.5-coder-32b

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "qwen-2.5-coder-32b",
  "response": "Hello! How can I assist you today? Whether you need help with coding, debugging, learning a new programming language, or anything else related to software development, feel free to ask!",
  "status": 200,
  "successful": "success"
}

GPT-4

Advanced language understanding, ideal for comprehensive and nuanced responses.

How to Use:

GET /chat/?question=Hello&model=gpt-4

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "gpt-4",
  "response": "Hello! How can I assist you today?",
  "status": 200,
  "successful": "success"
}

Gemini-Flash

Ideal for long-form conversations and detailed, nuanced answers.

How to Use:

GET /chat/?question=Hello&model=gemini-1.5-flash

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "gemini-1.5-flash",
  "response": "Hello! šŸ‘‹  \n\nHow can I help you today? 😊",
  "status": 200,
  "successful": "success"
}

Deepseek-r1

Latest Deepseek AI.

How to Use:

GET /chat/?question=Hello&model=deepseek-r1

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "deepseek-r1",
  "response": "Hello! šŸ‘‹  \n\nHow can I help you today? 😊",
  "status": 200,
  "successful": "success"
}

Mistral

Provides deep insights and is well-suited for highly technical queries.

How to Use:

GET /chat/?question=Hello&model=mixtral-8x7b

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "mixtral-8x7b",
  "response": "Hello! How can I assist you today?.....",
  "status": 200,
  "successful": "success"
}

System Prompt Support

Customize AI behavior with a system prompt alongside your question.

How to Use:

GET /chat/?question=who+are+you&systemprompt=you+are+ashlynn+AI&model=gpt-4

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "gpt-4",
  "response": "Hello! I am Ashlynn AI. How can I assist you today?",
  "status": 200,
  "successful": "success"
}

Chat API (POST)

Interact with advanced AI models using a POST request. Supports multiple messages and a variety of models.

How to Use:

POST https://api-y5s2.onrender.com/v1/chat/api

Request Body:

{
  "model": "gpt-4o-mini",
  "messages": [
    {"role": "user", "content": "Hello, how can you help me today?"}
  ]
}

Supported Models: gpt-4o-mini (default), gpt-4, gemini-1.5-flash, deepseek-r1, mixtral-8x7b, qwen-2.5-coder-32b

Example Response:

{
  "Join": "https://t.me/Ashlynn_Repository",
  "model": "gpt-4o-mini",
  "response": "Hello! I’m here to assist you. How can I help you today?",
  "status": 200,
  "successful": "success"
}

Audio Identification

Identify audio files by providing a URL to an audio resource.

How to Use:

GET /identify?audio_url=https://ar-hosting.pages.dev/1738420235463.mp3

Example Response:

{
  "creator": "https://t.me/Ashlynn_Repository",
  "data": {
    "artist": "Maahi - Vicky Singh",
    "image": "https://is1-ssl.mzstatic.com/image/thumb/Music124/v4/cc/cd/ba/cccdba1c-3865-0187-f5b1-236f92eed569/859730701219_cover.jpg/400x400cc.jpg",
    "subtitle": "Vicky Singh",
    "title": "Maahi",
    "url": "https://www.shazam.com/track/457227739/maahi"
  },
  "status": "success"
}