Aabhas server API
The Aabhas server API lets an organization run assigned templates and retrieve permitted outputs. It is intended for trusted server applications, not browser code.
Before integration
Section titled “Before integration”You need:
- The Aabhas API base URL supplied for your environment.
- Your organization ID.
- A template assigned to that organization.
- A license key created in Studio and stored in a secret manager.
- The template’s input slots, variables, dimensions, and output contract.
Execution models
Section titled “Execution models”- The JSON template-run API returns a synchronous template result and accepts URLs or inline data according to the template contract.
- Studio job creation uses a separate asynchronous multipart job workflow.
Do not treat the two contracts as interchangeable. This guide covers the server-side synchronous template-run API.
Aabhas remains authoritative for validation, billing, audit, storage policy, template configuration, and execution. Client code should use only the documented API contract.
Integration guides
Section titled “Integration guides”- Run a template with the assigned input contract.
- Reuse prepared images to avoid repeating eligible preparation work.
- Retrieve outputs according to the effective storage policy.