Developer API
Integrate LustplayAI into your own apps.
Example Request
# Create a new generation request POST https://api.lustplay.tech/v1/generate Authorization: Bearer YOUR_API_KEY Content-Type: application/json
Authentication
API Keys
Every request must be authenticated with an API key. Include it in the
Authorization header as a Bearer token:
Authorization: Bearer YOUR_API_KEY. Keep your key secret and
never expose it in client-side code.
Endpoints
POST
/v1/generate
Submit a new generation request
GET
/v1/result/:id
Retrieve the result of a generation
GET
/v1/credits
Check your remaining credits