Documentation

Comprehensive developer documentation for the LyDian Enterprise AI platform. Build powerful AI applications with 23 AI models, 84 language support, and real-time processing capabilities.

Introduction

LyDian, LyDian Cloud, Google LyDian Vision ve Advanced AI Platform Enterprise AI is an enterprise-grade AI platform combining multiple models. Access 23 different AI models through a single API.

Platform Featuresi
  • 23 AI modeli (LyDian Engine, Enterprise AI, LyDian Vision, LyDian Image Engine)
  • 84 language support with LyDian AI language package
  • Real-time streaming and WebSocket
  • Multimodal processing (text, image, audio)
  • Enterprise security and scalability

Quick Start

Just a few simple steps to get started using the Platform:

JavaScript
// Make the request with your API key
const response = await fetch('https://www.ailydian.com/api/chat', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    message: 'Merhaba yapay zeka!',
    model: 'LyDian Engine'
  })
});

const data = await response.json();
// DEBUG: console.log(data.response);
Python
import requests

response = requests.post('https://www.ailydian.com/api/chat',
  headers={
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  json={
    'message': 'Merhaba yapay zeka!',
    'model': 'LyDian Engine'
  })

print(response.json()['response'])

Authentication

All API requests require Bearer token authentication.

HTTP
Authorization: Bearer sk-lydian-xxxxxxxxxxxxxxxx
Content-Type: application/json
Security Notes
Never use your API key in client-side code. Make all requests server-side and store keys in environment variables.

AI Modelleri

The Platform supports 23 different AI models. Each model is optimized for different tasks.

LyDian Engine Omni
The most advanced LyDian Labs model. Text, image, and audio processing capabilities. Kod ideal for writing, analysis, and complex tasks.
Ultra Intelligence Model
The most powerful model of the Advanced AI Platform. Superior performance in long context windows, code writing, and complex analysis tasks.
LyDian Vision 2.0 Flash
Google's fastest model. Low latency, optimized for real-time applications.
LyDian Image Engine
Image generation model. Creates high-quality images from text descriptions.

Streaming API

Streaming support for real-time responses.

JavaScript
const response = await fetch('https://www.ailydian.com/api/chat', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    message: 'Uzun bir makale yaz',
    stream: true
  })
});

const reader = response.body.getReader();
const decoder = new TextDecoder();

while (true) {
  const { done, value } = await reader.read();
  if (done) break;

  const chunk = decoder.decode(value);
  // DEBUG: console.log(chunk); // Show as each word arrives
}

Support

Need help? Get in touch with us:

  • E-posta: [email protected]
  • Discord: LyDian Community
  • Documentation: docs.lydian.com
  • GitHub: github.com/lydian