For the complete documentation index, see llms.txt. This page is also available as Markdown.

Welcome to ApiSmart

Get started with ApiSmart, a unified API platform for accessing text, image, and video AI models through a consistent developer interface.

Build with AI models for text, image, and video through one unified API platform.

ApiSmart gives developers a consistent way to access supported AI models, manage API credentials, monitor usage, and integrate AI capabilities into applications.

ApiSmart API

Base URL: https://gw.apismart.ai/v1

Authentication: Authorization: Bearer <your-api-key>


🚀 Start Here

New to ApiSmart? Start with these three guides.

Introduction to ApiSmart

Learn what ApiSmart is, how the platform works, and what you can build with it.

Quick Start

Create an API Key, find an available model, and make your first API request.

API Keys

Learn how API authentication works and how to create, manage, and secure your API Keys.


⚡ Build with ApiSmart

Choose the API that matches what you want to build.

【GitBook 操作:插入 Cards,建议使用 3 张 Medium Cards,一行 3 张。每张 Card 可使用 GitBook 内置小图标】

💬 Chat Completions API

Build conversational AI, content generation, reasoning, and other text-based applications.

POST /v1/chat/completions

🖼️ Image Generation API

Generate and transform images using text prompts, reference images, and supported image editing workflows.

POST /v1/images/generations

🎬 Video Generation API

Create videos from text, images, video, audio, and supported multimodal references.

POST /v1/video/tasks


🧩 Find the Right Model

Each API request uses a model ID to specify the model you want to call.

To retrieve the latest model list:

Use the returned data[].id value as the model parameter in supported API requests.

Model IDs must match exactly.

Pay attention to periods (.), hyphens (-), and version numbers when copying a model ID.

For model availability, model IDs, and pricing information, see Models and Model IDs and Model Pricing and Billing.


📚 Explore the Documentation

Find guides for models, usage, SDKs, and troubleshooting.

【GitBook 操作:插入 4 张 Cards。建议使用 Large Cards,一行 2 张,共两行】

API Usage

Review API activity, request usage, and associated costs.

Link to: Usage Logs and Costs

Troubleshooting

Find solutions for common API integration and usage issues.

Topics include:

  • HTTP status codes and API errors

  • API Key and authentication issues

  • Model and request errors

  • Balance and usage limits

  • Timeout and connection issues


🔄 Understand Response Modes

Different ApiSmart APIs use different response patterns.

API
Response Mode

Chat Completions

Standard or streaming

Image Generation

Synchronous or streaming

Video Generation

Asynchronous task

For implementation details, see Response Modes:

  • Standard Responses

  • Streaming Text Responses

  • Streaming Image Responses

  • Asynchronous Video Tasks


✅ Ready to Build?

You don't need to read the entire documentation before getting started.

最後更新於

這有幫助嗎?