API Reference

Welcome to the AigenSDK API reference. This section provides detailed information about the SDK functions, parameters, and usage examples.

SDK Overview

AigenSDK provides a comprehensive set of methods to work with images:

  • Image generation - Create images from text prompts
  • Image editing - Edit and enhance existing images
  • Image templates - To have more precise controll you can use templates with variables to generate your images
  • URL signing - All urls returned by the SDK are secure pre-signed URLs with an expiration date (usually 24 hours) and can be easily shared or used within your code (both frontend or backend)
  • CDN integration - All images are generated on the fly when requested, fastest models take less than 3 seconds while more powerful ones can take up to 30 seconds; After generation images are cached and delivered within a worldwide fast CDN, that make other requests to the same image load less than 1 second.

Next steps

Getting Help

If you encounter any issues or have questions about using the AigenSDK, please reach out to our support team support@aigen.run or check our GitHub repository for the latest updates and issue tracking. See Github Issues.