# TokPortal AI API

**Canonical:** https://apis.io/apis/tokportal-com/tokportal-com-ai-api/  
**Provider:** TokPortal — https://apis.io/providers/tokportal-com/  
**Base URL:** https://app.tokportal.com/api/ext  
**Documentation:** https://developers.tokportal.com/api-reference

TokPortal AI API is one of 14 APIs that [TokPortal](https://apis.io/providers/tokportal-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Artificial Intelligence. The published artifact set on APIs.io includes an OpenAPI specification.

Model discovery, quoted generation, assets and a separate USD wallet.

## Operations (43)

| Method | Path | Summary |
|---|---|---|
| GET | `/ai/status` | Read AI availability without starting provider work |
| GET | `/ai/models` | Discover AI models and capabilities |
| GET | `/ai/models/{model_id}` | Read a model's current input schema and capabilities |
| POST | `/ai/quotes` | Quote an AI operation in USD before spending |
| POST | `/ai/generations` | Generate media with automatic AI wallet billing |
| GET | `/ai/jobs` | List AI jobs |
| GET | `/ai/jobs/{job_id}` | Read an AI job |
| POST | `/ai/jobs/{job_id}/cancel` | Request cancellation of an AI job |
| GET | `/ai/assets` | List reusable AI media assets |
| POST | `/ai/assets/import` | Import a media URL into the AI asset library |
| POST | `/ai/assets/uploads` | Create a signed media upload |
| POST | `/ai/assets/uploads/complete` | Verify and register a completed media upload |
| GET | `/ai/assets/{asset_id}` | Read an AI media asset |
| PATCH | `/ai/assets/{asset_id}` | Update AI asset metadata |
| DELETE | `/ai/assets/{asset_id}` | Delete an AI asset |
| GET | `/ai/collections` | List AI asset collections |
| POST | `/ai/collections` | Create an AI asset collection |
| GET | `/ai/collections/{collection_id}` | Read an AI asset collection |
| PATCH | `/ai/collections/{collection_id}` | Update an AI asset collection |
| DELETE | `/ai/collections/{collection_id}` | Delete an AI asset collection |
| GET | `/ai/collections/{collection_id}/assets` | List every asset reference in an owned collection |
| POST | `/ai/collections/{collection_id}/assets` | Add an asset to a collection |
| DELETE | `/ai/collections/{collection_id}/assets/{asset_id}` | Remove an asset from a collection |
| PATCH | `/ai/collections/{collection_id}/assets/{asset_id}` | Rename a collection asset reference |
| POST | `/ai/collections/{collection_id}/assets/{asset_id}/refresh` | Refresh a collection asset reference processing status |
| GET | `/ai/library` | Browse the available reusable reference library |
| GET | `/ai/library/{reference_id}/thumbnail` | Read an authorized reference thumbnail |
| GET | `/ai/verifications` | List human-verification sessions |
| POST | `/ai/verifications` | Create an explicitly authorized human-verification session |
| GET | `/ai/verifications/{verification_id}` | Read a locally persisted human-verification session |
| POST | `/ai/verifications/{verification_id}/refresh` | Explicitly refresh a human-verification result |
| POST | `/ai/chat/completions` | Run a quoted text operation with optional streaming |
| POST | `/ai/responses` | Run a quoted text operation with optional streaming |
| GET | `/ai/wallet` | Read the separate AI USD wallet |
| GET | `/ai/wallet/transactions` | Read AI USD wallet transactions |
| POST | `/ai/wallet/topups` | Create an explicitly approved AI wallet top-up checkout |
| GET | `/ai/wallet/auto-topup` | Read AI automatic top-up settings |
| PATCH | `/ai/wallet/auto-topup` | Configure recurring AI wallet top-up authority |
| GET | `/ai/access` | Read this key's AI permissions and budgets |
| PATCH | `/ai/access` | Configure explicitly approved AI key access and budgets |
| GET | `/ai/inspect` | Inspect AI jobs, media, wallet or permissions |
| POST | `/ai/manage` | Manage AI media, collections, cancellations and human verification |
| PATCH | `/ai/configure` | Configure AI permissions, budgets or automatic billing |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/tokportal-com/openapi/tokportal-com-ai-api-openapi.yml

## Other TokPortal APIs (12)

- [TokPortal Account Configuration API](https://apis.io/apis/tokportal-com/tokportal-com-account-configuration-api/)
- [TokPortal Accounts API](https://apis.io/apis/tokportal-com/tokportal-com-accounts-api/)
- [TokPortal Analytics API](https://apis.io/apis/tokportal-com/tokportal-com-analytics-api/)
- [TokPortal Bundles API](https://apis.io/apis/tokportal-com/tokportal-com-bundles-api/)
- [TokPortal Comments API](https://apis.io/apis/tokportal-com/tokportal-com-comments-api/)
- [TokPortal Credits API](https://apis.io/apis/tokportal-com/tokportal-com-credits-api/)
- [TokPortal Messages API](https://apis.io/apis/tokportal-com/tokportal-com-messages-api/)
- [TokPortal Profile API](https://apis.io/apis/tokportal-com/tokportal-com-profile-api/)
- [TokPortal Reference API](https://apis.io/apis/tokportal-com/tokportal-com-reference-api/)
- [TokPortal Uploads API](https://apis.io/apis/tokportal-com/tokportal-com-uploads-api/)
- [TokPortal Videos API](https://apis.io/apis/tokportal-com/tokportal-com-videos-api/)
- [TokPortal Warming API](https://apis.io/apis/tokportal-com/tokportal-com-warming-api/)

## Tags

Artificial Intelligence

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/tokportal-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/tokportal-com/tokportal-com-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/tokportal-com/.
