API Access
API Access
Loomix provides APIs for automating image/video generation and project operations programmatically.
Getting Started
- Generate an API key from your account settings
- Use the API key in your request headers (
Authorization: Bearer <api-key>orx-api-key: <api-key>) - Make requests to the Loomix API endpoints
Project Management API
Manage canvas projects directly through API:
GET /api/v1/projectslist projectsPOST /api/v1/projectscreate projectGET /api/v1/projects/:idget project detailsPATCH /api/v1/projects/:idupdate project metadataDELETE /api/v1/projects/:iddelete projectGET /api/v1/projects/:id/dataget canvas dataPUT /api/v1/projects/:id/datasave canvas data
Image Generation API
Generate images programmatically with full control over parameters:
- Model selection
- Prompt and negative prompt
- Reference images (base64 or URL)
- Aspect ratio and resolution
- ControlNet and IP-Adapter settings
Video Generation API
Generate videos via API:
- Input image (base64 or URL)
- Text prompt
- Model selection
- Duration and aspect ratio
Webhook Notifications
Set up webhooks to receive notifications when generations complete. This is useful for building automated pipelines.
Rate Limits
API access follows your account's credit balance and plan limits:
- Free tier: Limited concurrent generations
- Pro plans: Higher concurrency and priority queue
- Enterprise: Custom limits and dedicated resources