# Apismart

## Documentation

- [Welcome to ApiSmart](https://docs.apismart.ai/welcome-to-apismart.md): Get started with ApiSmart, a unified API platform for accessing text, image, and video AI models through a consistent developer interface.
- [Introduction to ApiSmart](https://docs.apismart.ai/welcome-to-apismart/introduction-to-apismart.md): Learn what ApiSmart is, how its unified AI API platform works, and how developers can access text, image, and video models through a consistent integration experience.
- [Quick Start](https://docs.apismart.ai/welcome-to-apismart/quick-start.md): Get started with ApiSmart in minutes. Create an API Key, find an available model, and send your first text, image, or video API request.
- [API Keys](https://docs.apismart.ai/welcome-to-apismart/api-keys.md): Learn how to create, manage, and secure your ApiSmart API Keys for API authentication.
- [Create and Manage API Keys](https://docs.apismart.ai/welcome-to-apismart/api-keys/create-and-manage-api-keys.md): Learn how to create, use, edit, disable, and delete ApiSmart API Keys for secure API authentication.
- [Secure Your API Keys](https://docs.apismart.ai/welcome-to-apismart/api-keys/secure-your-api-keys.md): Learn how to protect your ApiSmart API Keys, avoid accidental exposure, and respond quickly if a key is compromised.
- [Create and Access Your Account](https://docs.apismart.ai/account-and-wallet/create-and-access-your-account.md): Learn how to create an ApiSmart account, sign in to the Console, and prepare your account for API access.
- [Add Funds and Understand Wallet Credits](https://docs.apismart.ai/account-and-wallet/add-funds-and-understand-wallet-credits.md): Learn how to add funds to your ApiSmart wallet, understand top-up and bonus credits, and see how API usage is deducted from your available balance.
- [View Your Balance and Transaction Records](https://docs.apismart.ai/account-and-wallet/view-your-balance-and-transaction-records.md): Learn how to check your ApiSmart wallet balance, review top-up and transaction records, and understand how API usage affects your available credits.
- [Models and Model IDs](https://docs.apismart.ai/models-and-pricing/models-and-model-ids.md): Learn how ApiSmart model IDs work, retrieve the latest model list, and choose supported text, image, and video models for your API requests.
- [Model Pricing and Billing](https://docs.apismart.ai/models-and-pricing/model-pricing-and-billing.md): Understand how ApiSmart bills text, image, and video models, including token-based pricing, per-image charges, video resolution and duration, and how to review your actual API costs.
- [API Basics](https://docs.apismart.ai/api-guides/api-basics.md): Learn the core ApiSmart API conventions, including base URLs, API Key authentication, request formats, model IDs, response patterns, and HTTP status codes.
- [Chat Completions API](https://docs.apismart.ai/api-guides/chat-completions-api.md): Learn how to send text generation requests with ApiSmart's OpenAI-compatible Chat Completions API and enable streaming responses.
- [Image Generation API](https://docs.apismart.ai/api-guides/image-generation-api.md): Learn how to generate and edit images with ApiSmart using text prompts, reference images, multi-image inputs, sequential generation, streaming, and local file uploads.
- [Video Generation API](https://docs.apismart.ai/api-guides/video-generation-api.md): Learn how to generate videos with ApiSmart using HappyHorse and Seedance, including text, image, video, audio, multimodal inputs, task polling, and resolution settings.
- [Response Modes](https://docs.apismart.ai/api-guides/response-modes.md): Understand how ApiSmart APIs return results, including standard responses, streaming output, synchronous image generation, and asynchronous video tasks.
- [Usage Logs and Costs](https://docs.apismart.ai/api-usage/usage-logs-and-costs.md): Learn how to use ApiSmart Usage Logs to monitor API requests, consumption, costs, latency, success rates, and request-level details.
- [Generated Media History](https://docs.apismart.ai/api-usage/generated-media-history.md): Learn how to retrieve recent image and video generation history, review generated media URLs, costs, timestamps, and storage status.
- [cURL](https://docs.apismart.ai/code-examples-and-migration/curl.md): Learn how to call ApiSmart APIs with cURL, including model discovery, text generation, image generation, local image uploads, streaming, and asynchronous video tasks.
- [Python](https://docs.apismart.ai/code-examples-and-migration/python.md): Learn how to call ApiSmart APIs with Python, including model discovery, Chat Completions, streaming, image generation, local image uploads, and asynchronous video tasks.
- [JavaScript and TypeScript](https://docs.apismart.ai/code-examples-and-migration/javascript-and-typescript.md): Learn how to call ApiSmart APIs with JavaScript and TypeScript, including model discovery, text streaming, image generation, file uploads, and asynchronous video tasks.
- [HTTP Status Codes and API Errors](https://docs.apismart.ai/troubleshooting/http-status-codes-and-api-errors.md): Understand ApiSmart HTTP status codes, API error codes, common causes, and recommended handling and retry strategies.
- [API Key and Authentication Issues](https://docs.apismart.ai/troubleshooting/api-key-and-authentication-issues.md): Troubleshoot ApiSmart API Key authentication errors, invalid credentials, model access issues, and common authorization problems.
- [Model and Request Errors](https://docs.apismart.ai/troubleshooting/model-and-request-errors.md): Troubleshoot ApiSmart model IDs, unsupported models, invalid request parameters, resolution errors, and model-specific request issues.
- [Balance and Usage Limit Issues](https://docs.apismart.ai/troubleshooting/balance-and-usage-limit-issues.md): Troubleshoot insufficient balance, usage limits, rate limits, unexpected costs, and related ApiSmart API errors.
- [Timeout and Connection Issues](https://docs.apismart.ai/troubleshooting/timeout-and-connection-issues.md): Troubleshoot ApiSmart request timeouts, connection issues, temporary service errors, and long-running image and video generation requests.
- [Frequently Asked Questions](https://docs.apismart.ai/help-and-resources/frequently-asked-questions.md): Find answers to common questions about ApiSmart API Keys, models, text, image and video generation, billing, usage, and API errors.
- [Contact Support](https://docs.apismart.ai/help-and-resources/contact-support.md): Contact ApiSmart Support for help with API requests, billing, account access, model availability, and technical issues.
- [Create and Manage API Tokens](https://docs.apismart.ai/api-tokens/create-and-manage-api-tokens.md): Learn how to create, manage, disable, and replace ApiSmart API Keys for secure API authentication.
- [Secure Your API Tokens](https://docs.apismart.ai/api-tokens/secure-your-api-tokens.md): Learn best practices for protecting ApiSmart API Keys and preventing unauthorized API usage.

* [歡迎使用 ApiSmart](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart.md): 開始使用 ApiSmart，這是一個統一的 API 平台，可透過一致的開發者介面存取文字、圖片與影片 AI 模型。
* [ApiSmart 簡介](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart/apismart-jian-jie.md): 了解 ApiSmart 是什麼、其統一 AI API 平台如何運作，以及開發者如何透過一致的整合體驗存取文字、圖片與影片模型。
* [快速開始](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart/kuai-su-kai-shi.md): 在幾分鐘內開始使用 ApiSmart。建立 API 金鑰、找到可用模型，並送出您的第一個文字、圖片或影片 API 請求。
* [API 金鑰](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart/api-jin-yue.md): 了解如何建立、管理與保護您的 ApiSmart API 金鑰，以進行 API 驗證。
* [建立並管理 API 金鑰](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart/api-jin-yue/jian-li-bing-guan-li-api-jin-yue.md): 了解如何建立、使用、編輯、停用與刪除 ApiSmart API 金鑰，以進行安全的 API 驗證。
* [保護您的 API 金鑰](https://docs.apismart.ai/documentation/zh-tw/huan-ying-shi-yong-apismart/api-jin-yue/bao-hu-nin-de-api-jin-yue.md): 了解如何保護您的 ApiSmart API 金鑰、避免意外外洩，以及在金鑰遭到入侵時迅速應對。
* [建立並存取您的帳戶](https://docs.apismart.ai/documentation/zh-tw/zhang-hu-yu-qian-bao/jian-li-bing-cun-qu-nin-de-zhang-hu.md): 了解如何建立 ApiSmart 帳戶、登入控制台，並為您的帳戶準備 API 存取。
* [加值與了解錢包額度](https://docs.apismart.ai/documentation/zh-tw/zhang-hu-yu-qian-bao/jia-zhi-yu-liao-jie-qian-baoedu.md): 了解如何為您的 ApiSmart 錢包加值、理解儲值與贈送點數，以及查看 API 使用量如何從您可用餘額中扣除。
* [查看您的餘額與交易紀錄](https://docs.apismart.ai/documentation/zh-tw/zhang-hu-yu-qian-bao/cha-kan-nin-de-yueyu-jiao-yi-ji-lu.md): 了解如何查看您的 ApiSmart 錢包餘額、檢視儲值與交易紀錄，以及理解 API 使用量如何影響您可用的點數。
* [模型與模型 ID](https://docs.apismart.ai/documentation/zh-tw/mo-xing-yu-jia-ge/mo-xing-yu-mo-xing-id.md): 了解 ApiSmart 模型 ID 的運作方式、取得最新模型清單，並為您的 API 請求選擇支援的文字、圖片與影片模型。
* [模型價格與計費](https://docs.apismart.ai/documentation/zh-tw/mo-xing-yu-jia-ge/mo-xing-jia-ge-yu-ji-fei.md): 了解 ApiSmart 如何對文字、圖片與影片模型計費，包括依 token 計價、每張圖片費用、影片解析度與時長，以及如何檢視您的實際 API 成本。
* [API 基礎](https://docs.apismart.ai/documentation/zh-tw/api-zhi-nan/api-ji-chu.md): 了解 ApiSmart 的核心 API 約定，包括基底 URL、API 金鑰驗證、請求格式、模型 ID、回應模式以及 HTTP 狀態碼。
* [聊天補全 API](https://docs.apismart.ai/documentation/zh-tw/api-zhi-nan/liao-tian-bu-quan-api.md): 了解如何使用 ApiSmart 與 OpenAI 相容的聊天補全 API 送出文字生成請求，並啟用串流回應。
* [圖片生成 API](https://docs.apismart.ai/documentation/zh-tw/api-zhi-nan/tu-pian-sheng-cheng-api.md): 了解如何使用 ApiSmart 透過文字提示、參考圖片、多圖輸入、連續生成、串流以及本地檔案上傳來生成和編輯圖片。
* [影片生成 API](https://docs.apismart.ai/documentation/zh-tw/api-zhi-nan/ying-pian-sheng-cheng-api.md): 了解如何使用 ApiSmart 透過 HappyHorse 和 Seedance 生成影片，包括文字、圖片、影片、音訊、多模態輸入、任務輪詢以及解析度設定。
* [回應模式](https://docs.apismart.ai/documentation/zh-tw/api-zhi-nan/hui-ying-mo-shi.md): 了解 ApiSmart API 如何回傳結果，包括標準回應、串流輸出、同步圖片生成以及非同步影片任務。
* [使用記錄與成本](https://docs.apismart.ai/documentation/zh-tw/api-shi-yong-liang/shi-yong-ji-lu-yu-cheng-ben.md): 了解如何使用 ApiSmart 使用量記錄來監控 API 請求、消耗、成本、延遲、成功率以及請求層級的詳細資訊。
* [生成媒體歷史](https://docs.apismart.ai/documentation/zh-tw/api-shi-yong-liang/sheng-cheng-mei-ti-li-shi.md): 了解如何擷取最近的圖片與影片生成歷史、檢視生成媒體 URL、成本、時間戳記以及儲存狀態。
* [cURL](https://docs.apismart.ai/documentation/zh-tw/cheng-shi-ma-fan-li-yu-qian-yi/curl.md): 了解如何使用 cURL 呼叫 ApiSmart API，包括模型探索、文字生成、圖片生成、本地圖片上傳、串流以及非同步影片任務。
* [Python](https://docs.apismart.ai/documentation/zh-tw/cheng-shi-ma-fan-li-yu-qian-yi/python.md): 了解如何使用 Python 呼叫 ApiSmart API，包括模型探索、聊天補全、串流、圖片生成、本地圖片上傳以及非同步影片任務。
* [JavaScript 與 TypeScript](https://docs.apismart.ai/documentation/zh-tw/cheng-shi-ma-fan-li-yu-qian-yi/javascript-yu-typescript.md): 了解如何使用 JavaScript 與 TypeScript 呼叫 ApiSmart API，包括模型探索、文字串流、圖片生成、檔案上傳以及非同步影片任務。
* [HTTP 狀態碼與 API 錯誤](https://docs.apismart.ai/documentation/zh-tw/yi-nan-pai-jie/http-zhuang-tai-ma-yu-api-cuo-wu.md): 了解 ApiSmart 的 HTTP 狀態碼、API 錯誤碼、常見原因，以及建議的處理與重試策略。
* [API 金鑰與驗證問題](https://docs.apismart.ai/documentation/zh-tw/yi-nan-pai-jie/api-jin-yue-yu-yan-zheng-wen-ti.md): 排解 ApiSmart API 金鑰驗證錯誤、無效憑證、模型存取問題以及常見的授權問題。
* [模型與請求錯誤](https://docs.apismart.ai/documentation/zh-tw/yi-nan-pai-jie/mo-xing-yu-qing-qiu-cuo-wu.md): 排解 ApiSmart 模型 ID、不支援的模型、無效的請求參數、解析度錯誤以及模型特定的請求問題。
* [餘額與使用限制問題](https://docs.apismart.ai/documentation/zh-tw/yi-nan-pai-jie/yueyu-shi-yong-xian-zhi-wen-ti.md): 排解餘額不足、使用限制、速率限制、意外費用以及相關的 ApiSmart API 錯誤。
* [逾時與連線問題](https://docs.apismart.ai/documentation/zh-tw/yi-nan-pai-jie/yu-shi-yu-lian-xian-wen-ti.md): 排解 ApiSmart 請求逾時、連線問題、暫時性服務錯誤，以及耗時較長的圖片與影片生成請求。
* [常見問題](https://docs.apismart.ai/documentation/zh-tw/shuo-ming-yu-zi-yuan/chang-jian-wen-ti.md): 尋找有關 ApiSmart API 金鑰、模型、文字、圖片與影片生成、帳單、使用量以及 API 錯誤的常見問題解答。
* [聯絡支援](https://docs.apismart.ai/documentation/zh-tw/shuo-ming-yu-zi-yuan/lian-luo-zhi-yuan.md): 聯絡 ApiSmart 支援以取得 API 請求、帳單、帳戶存取、模型可用性以及技術問題的協助。
* [建立並管理 API 權杖](https://docs.apismart.ai/documentation/zh-tw/api-quan-zhang/jian-li-bing-guan-li-api-quan-zhang.md): 了解如何建立、管理、停用與替換 ApiSmart API 金鑰，以進行安全的 API 驗證。
* [保護您的 API 權杖](https://docs.apismart.ai/documentation/zh-tw/api-quan-zhang/bao-hu-nin-de-api-quan-zhang.md): 了解保護 ApiSmart API 金鑰與防止未授權 API 使用的最佳做法。
