API Access
Integrate QDYAI's powerful AI capabilities directly into your applications
Powerful API Features
⚡
Lightning Fast
Sub-second response times with our global CDN and optimized GPU infrastructure
🔒
Enterprise Security
End-to-end encryption, SOC 2 compliance, and dedicated infrastructure options
📈
Scalable
Handle millions of requests with automatic scaling and load balancing
API Endpoints
Image Generation
POST /api/v1/generate
Content-Type: application/json
{ "prompt": "A beautiful sunset over mountains", "model": "stable-diffusion-xl", "width": 1024, "height": 1024, "steps": 30, "guidance": 7.5 }
Content-Type: application/json
{ "prompt": "A beautiful sunset over mountains", "model": "stable-diffusion-xl", "width": 1024, "height": 1024, "steps": 30, "guidance": 7.5 }
Generate high-quality images using state-of-the-art diffusion models
Model Training
POST /api/v1/train/lora
Content-Type: application/json
{ "dataset_url": "https://example.com/dataset.zip", "model_name": "my-custom-lora", "training_steps": 2000, "learning_rate": 1e-4 }
Content-Type: application/json
{ "dataset_url": "https://example.com/dataset.zip", "model_name": "my-custom-lora", "training_steps": 2000, "learning_rate": 1e-4 }
Train custom LoRA models on your specific datasets
Workflow Management
POST /api/v1/workflows
Content-Type: application/json
{ "name": "automated-pipeline", "nodes": [...], "connections": [...] }
Content-Type: application/json
{ "name": "automated-pipeline", "nodes": [...], "connections": [...] }
Create and manage complex AI workflows with ComfyUI integration
Simple API Pricing
Developer
$0/month
Perfect for testing and development
- ✓ 100 requests/month
- ✓ Community support
- ✓ Basic models
Popular
Professional
$99/month
For production applications
- ✓ 10,000 requests/month
- ✓ Priority support
- ✓ Premium models
- ✓ Custom integrations
Enterprise
Custom
For large-scale deployments
- ✓ Unlimited requests
- ✓ Dedicated infrastructure
- ✓ Custom models
- ✓ 24/7 support
Get Started in Minutes
Quick Start Guide
- 1. Sign up for a free account
- 2. Get your API key from the dashboard
- 3. Make your first API call
- 4. Scale as you grow
Code Examples
Python
import requests
response = requests.post(
'https://api.qdyai.com/v1/generate',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={'prompt': 'A beautiful sunset'} )
response = requests.post(
'https://api.qdyai.com/v1/generate',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json={'prompt': 'A beautiful sunset'} )
JavaScript
const response = await fetch(
'https://api.qdyai.com/v1/generate',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({prompt: 'A beautiful sunset'})
}
);
'https://api.qdyai.com/v1/generate',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({prompt: 'A beautiful sunset'})
}
);