API Key สำหรับเรียกใช้งาน API (สร้างอัตโนมัติ)
| API Status | - |
| Version | - |
| Max Upload Size | - |
| Output Format | - |
| Output Quality | - |
Generate Image
POST /api/generate
Content-Type: application/json
X-API-Key: your_api_key
{
"template_id": "template-uuid",
"variables": {
"name": "John",
"avatar": "https://example.com/avatar.jpg"
},
"output": {
"format": "jpg",
"quality": 90
}
}
Generate via GET
GET /api/generate/{template_id}?api_key=xxx&name=John&avatar=https://...
Batch Generate
POST /api/generate/batch
{
"template_id": "template-uuid",
"items": [
{ "variables": { "name": "John" } },
{ "variables": { "name": "Jane" } }
]
}
| Time |
Method |
Endpoint |
Status |
IP |
|