Create an API key in Account โ API keys and follow the API docs. The API uses your credit balance and the same prices as the app; failed generations are refunded. Keep keys secret and revoke any you don't use.