Base URL
https://mokkagen.com/api/v1Authentication
All API requests require an API key passed as a Bearer token in the Authorization header. Keys are prefixed with ppg_. Create keys from the API Keys dashboard (requires login).
bashcurl -H "Authorization: Bearer ppg_your_api_key_here" \
https://mokkagen.com/api/v1/creditsEndpoints
POST
/api/v1/generatePOST
/api/v1/generate/batchGET
/api/v1/stylesGET
/api/v1/creditsGET
/api/v1/generations/:idCredit Costs
Each generation costs credits based on the output resolution. Batch generation uses the same credit costs as single generation.
1K1 credit2K2 credits4K3 credits