> For the complete documentation index, see [llms.txt](https://docs.aiis.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aiis.dev/developers/api.md).

# API

Our API provides a set of endpoints to interact with ai and the blockchain:

* Generate Endpoints: `https://api.aiis.dev/v2/generations/generate`\
  (This endpoint combines text and image generation into a single call and automatically creates a generation record.)
* List Shared Generations: `https://api.aiis.dev/v2/generations/list`
* Get Generation by ID: `https://api.aiis.dev/v2/generations/:id`
* **Deploy Endpoint:**\
  Deploy a new SPL token with associated metadata and bonding curve initialization.
  * **Deploy Token:** `https://api.aiis.dev/v2/deploy`
* **Swap Endpoint:**\
  Prepare unsigned transactions for token swaps on Solana using the bonding curve.
  * **Swap Transaction:** `https://api.aiis.dev/v2/swap/prepare`
* **Token Endpoint:**\
  Manage and retrieve token data recorded on the blockchain.

  * **Token Count:**&#x20;

  `https://api.aiis.dev/v2/token/count`

  * **Token List:**&#x20;

  `https://api.aiis.dev/v2/token/list`

These endpoints encapsulate all necessary blockchain logic, allowing any user to provide a few basic parameters and receive unsigned transactions on the client and deployment-ready ai token parameters.
