API Reference

Integrate powerful generative AI directly into your apps.

BASE URLhttps://api.libertaai.com
API KEYCOMING SOON
POST/t2i
Generate images from text prompts.

Parameters

  • prompt (string): The description of the image.
  • aspectRatio (string): "1:1", "16:9", or "9:16".

Request Body / Response

{
  "prompt": "A futuristic city...",
  "aspectRatio": "16:9"
}