Our API is designed to provide powerful and flexible access to our platform's features, making it easier for developers to integrate AI capabilities into their applications. Below is a detailed overview of the pricing and how it works.
API Documentation is available here
Access to our API is exclusively available through our paid plans. When you subscribe to any of our paid plans, you receive a certain number of Credits that can be used across both our web application and the API. These Credits are shared between the two, allowing you to manage your usage based on your specific needs.
The Credits included in your paid plan can be used to perform actions through the API, such as generating images, training models, and more. Because these Credits are shared with the web application, you can decide how to allocate them based on your project requirements.
Example:
For instance, with 5,000 Creative Units (CUs), you can generate approximately 500 Flux Dev images, or 1,000 SDXL images, or execute around 333 Enhance operations.
To help you manage your Credits effectively, you can estimate the cost of an API action before actually executing it. Simply add the query parameter dryRun="true"
to your API request. This will simulate the action and return the expected Credit cost without deducting any Credits from your balance.
This feature is detailed in our documentation for every API request, ensuring you have full transparency on costs before committing to any action.
For a global estimation of how many CUs you should have on your plan, you can use our API Cost Estimator.
For more detailed information on using our API, including examples and best practices, please refer to our API Documentation. This resource provides everything you need to get started, including how to set up your API access, make requests, and use the dryRun
feature.
Was this helpful?