Developer API Documentation
Authentication
All API endpoints require authentication using an API key passed in the x-mahojin-key
header.
Endpoints
GET/api/developer/images/generatedList generated images for authenticated user
GET/api/developer/imagesBrowse/search published images with filter and sort options
GET/api/developer/images/tagsGet image tags
POST/api/developer/images/generateGenerate a new image
GET/api/developer/modelsList models
GET/api/developer/images/{id}Get image details
GET/api/developer/images/{id}/generation-dataGet image generation data
GET/api/developer/images/random-promptGet a random prompt
POST/api/developer/images/sync-generation-resultSync generation results