API Integration

Leona's Sketches provides an intuitive API for developers to embed sketch generation capabilities into other applications.

Endpoint Details:

  • Endpoint: /generate

  • Method: POST

Example Request: POST /generate { "prompt": "A futuristic vehicle design", "style": "minimalist" } Example Response: { "image_url": "output/futuristic_vehicle.png" } Integrate the API into web or desktop applications to enable on-the-fly sketch generation and customization.

Last updated