Docs/advanced/API Access

API Access

API Access

Loomix provides APIs for automating image/video generation and project operations programmatically.

Getting Started

  1. Generate an API key from your account settings
  2. Use the API key in your request headers (Authorization: Bearer <api-key> or x-api-key: <api-key>)
  3. Make requests to the Loomix API endpoints

Project Management API

Manage canvas projects directly through API:

  • GET /api/v1/projects list projects
  • POST /api/v1/projects create project
  • GET /api/v1/projects/:id get project details
  • PATCH /api/v1/projects/:id update project metadata
  • DELETE /api/v1/projects/:id delete project
  • GET /api/v1/projects/:id/data get canvas data
  • PUT /api/v1/projects/:id/data save 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