VisualAI API

Integrate AI image generation directly into your platform, app, or workflow. Enterprise plan required.

Overview

Build on top of VisualAI

The VisualAI REST API gives you programmatic access to all generation modes. Use it to automate product shoots, build custom tools, or integrate into your ecommerce platform.

REST APIJSON responsesAPI KeysWebhook supportEnterprise Plan Required
POST/api/v1/generate/text-to-imageGenerate from text prompt
{
  "prompt": "White kurta on model, festive background",
  "negative_prompt": "blur, watermark",
  "mode": "text",
  "resolution": "2k",
  "style": "lifestyle"
}
POST/api/v1/generate/transformTransform existing image
{
  "image_url": "https://...",
  "prompt": "Studio white background",
  "strength": 0.75,
  "resolution": "4k"
}
GET/api/v1/images/{id}Fetch generated image status
{
  "id": "img_abc123",
  "status": "completed",
  "url": "https://cdn.visualai.in/...",
  "credits_used": 1
}
GET/api/v1/creditsCheck remaining credits
{
  "credits_remaining": 87,
  "credits_monthly": 100,
  "plan": "enterprise",
  "reset_date": "2026-02-01"
}
Developer Resources

What's included

API Key Management
Generate, rotate, and revoke API keys from your Enterprise dashboard. Per-key usage tracking and rate limit visibility.
SDKs & Code Examples
Node.js, Python, and PHP examples for common integration patterns. Postman collection included.
Webhooks
Receive real-time callbacks when image generation completes. Reliable delivery with automatic retries.
Rate Limits
Enterprise plans include generous rate limits. Custom limits available for high-volume use cases — contact sales.
API access is an Enterprise feature

To get API access, you need an Enterprise plan. Contact our sales team for pricing, rate limit requirements, and a technical walkthrough.

Contact Sales