Get Started in 5 Minutes
Documentation Categories
🚀
Getting Started
Everything you need to know to start using QDYAI
🔧
API Reference
Complete API documentation with examples
🎨
Model Training
Train custom models with your data
⚡
Workflows
Build complex AI workflows with ComfyUI
🔒
Security
Security best practices and compliance
📚
SDKs & Libraries
Official SDKs for popular languages
Code Examples
Image Generation
import requests
# Generate an image
response = requests.post(
'https://api.qdyai.com/v1/generate',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={
'prompt': 'A beautiful sunset over mountains',
'model': 'stable-diffusion-xl',
'width': 1024,
'height': 1024,
'steps': 30,
'guidance_scale': 7.5
}
)
result = response.json()
print(f"Image URL: {result['url']}")
Model Training
import requests
# Start training a LoRA model
response = requests.post(
'https://api.qdyai.com/v1/train/lora',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={
'dataset_url': 'https://your-dataset.com/images.zip',
'model_name': 'my-custom-style',
'training_steps': 2000,
'learning_rate': 1e-4
}
)
job = response.json()
print(f"Training job ID: {job['id']}")
Frequently Asked Questions
How do I get started with the API?
Sign up for a free account, get your API key from the dashboard, and start making API calls. No credit card required for the free tier.
What models are available?
We support Stable Diffusion XL, Stable Diffusion 2.1, and various custom models. You can also train your own LoRA models.
How much does it cost?
We offer a free tier with 100 requests/month. Paid plans start at $99/month for 10,000 requests. Enterprise pricing is available.
Is my data secure?
Yes, we use end-to-end encryption, SOC 2 Type II compliance, and offer private cloud deployments for enterprise customers.