# Tokenlio.ai LLMs Documentation Index > Official API gateway documentation, model catalogs, and developer conventions. ## Platform Overview - Name: Tokenlio AI Gateway - Gateway Base URL: https://api.tokenlio.ai - Console: https://api.tokenlio.ai - Model Marketplace: https://api.tokenlio.ai/marketplace ## Documentation Links - [Quick Start](https://docs.tokenlio.ai/guide/quick-start): Setup, API keys, and first request. - [Authentication](https://docs.tokenlio.ai/guide/authentication): API Key format (sk-tokenlio-*) and security. - [Making Requests](https://docs.tokenlio.ai/guide/making-requests): OpenAI & Anthropic protocol compliance. - [Streaming](https://docs.tokenlio.ai/guide/streaming): Server-sent events (SSE) and token streaming. - [Error Handling](https://docs.tokenlio.ai/guide/error-handling): 401, 402, 429 failover codes. - [Billing & Pricing](https://docs.tokenlio.ai/guide/billing): Pay-as-you-go, USD billing, prompt caching. - [Models API](https://docs.tokenlio.ai/api/models): Dynamic model discovery and parameter list. - [Chat API](https://docs.tokenlio.ai/api/chat): /v1/chat/completions specification. ## Seedance Native API (v3) Base URL: https://api.tokenlio.ai. Authentication: Authorization: Bearer $TOKENLIO_API_KEY. POST bodies use Content-Type: application/json. Read the [Agent integration guide](https://docs.tokenlio.ai/api/seedance/agent.md) for intent-to-workflow selection, then [request conventions](https://docs.tokenlio.ai/api/seedance/conventions.md) and only the API pages needed for the task. Start with [quick start](https://docs.tokenlio.ai/api/seedance/index.md) for a complete create/query example. Person verification and material management are optional workflows, not prerequisites for ordinary generation. Official field and error references are linked from the corresponding pages. - POST /api/v3/contents/generations/tasks: submit model and content[], wait for one admission response, then return HTTP200 {id: platform UUID} on acceptance. Generation remains asynchronous. Limit: 64 MiB including encoded Base64; supported inline media and valid extensions are retained. Use a stable Idempotency-Key for the original intent. Explicit rejections retain original HTTP/body; timeouts,429/5xx and HTTP422 internal timeouts can be uncertain, so never automatically rotate the key or recreate. - GET /api/v3/contents/generations/tasks: list total/items within the current Workspace and platform Key, not another Key's tasks. page_num/page_size:1–500, defaults1/20. Filters: status, exact public model, service_tier (default default; explicitly use flex), repeated filter.task_ids for up to500 platform UUIDs. Ordinary tasks:7 days; Drafts created from 2026-10-28 10:00 UTC+8:14 days. Counts have the same scope. - DELETE /api/v3/contents/generations/tasks/{id}: no JSON body or separate /cancel endpoint. queued cancels; running/cancelled reject new DELETE; succeeded/failed/expired can be deleted after settlement. HTTP200 {} is an ACK, not cancellation/refund proof. Confirm cancellation with GET. Successful deletion hides GET/list records without refunding charges. Keep the same target and Idempotency-Key for recovery; definitive errors including404 may replay unchanged. For409 use the actual code/message; for503 TaskOperationPending follow Retry-After and query the original task. - GET /api/v3/contents/generations/tasks/{id}: query status, content.video_url, optional content.last_frame_url and usage. Statuses: queued, running, succeeded, failed, cancelled, expired. Result URLs are temporary and are not refreshed by queries. - Public model IDs: seedance-2.0, seedance-2.0-fast, seedance-2.0-mini, seedance-2.5. Use the exact public model ID. Four native model examples cover a 4k product shot, 480p storyboard preview, 720p lightweight candidate clip and 20-second 1080p narrative respectively. Material Version is optional; CreateAssetGroup requires only Name. - Model comparison: 2.0 standard prioritizes quality within its family, Fast balances speed/cost, and Mini is cost-oriented; these are official positioning, not fixed latency or platform price differences. 2.5 is a newer generation for longer narratives and more references, not a replacement for every 2.0 specification: 2.0 standard supports output up to 4k and 4–15 seconds; 2.5 supports output up to 1080p and 4–30 seconds. Reference images increase from 9 to 30, video/audio from 3 each (15 seconds total per type) to 10 each (30 seconds total per type); 2.5 also accepts audio-only references. Model versions are separate from API versions; all four use the native endpoints above. See https://docs.tokenlio.ai/api/seedance/models#model-family and the corresponding localized model pages. - Inputs: content[] containing text, image_url, video_url, audio_url or draft_task. role is a sibling of the nested media object. Media references accept public HTTPS URLs and asset://. Images also accept complete Base64 Data URLs in content[].image_url.url: data:image/;base64,, for example data:image/png;base64,... or data:image/jpeg;base64,...; match the actual file and omit line breaks. Local images need no prior CreateAsset call; bare Base64, local paths and file:// are not Data URLs. Each image must be smaller than30 MB, width/height each300–6000 px, ratio0.4–2.5. The64 MiB generation body limit includes all JSON and encoded data; Base64 adds about1/3 to file size, so prefer URLs/assets for large files. first_frame starts from the image; reference_image provides a reference and must not mix with first/last frames. See https://docs.tokenlio.ai/api/seedance/generation#image-input and #local-image-base64 for requirements and the Python3 encoding/cURL submission example, also available in zh/ja/ko. These rules apply to native generation, not the32 KiB material Action body or unified v1. Default resolution:720p; execution expiry:172800 seconds, explicit range3600–259200. - POST `/?Action={Action}&Version=2024-01-01` and `/api/v3/assets?Action={Action}` share the same material/verification contract and Bearer authentication; Version is optional, default2024-01-01. PascalCase JSON, up to32 KiB. Actions: Create/Get/List/Update/DeleteAssetGroup, Create/Get/List/Update/DeleteAsset, CreateVisualValidateSession, GetVisualValidateResult. Name:1–128 characters; Description:up to1024; ProjectName:up to128, default project default. CreateAsset Name is optional and defaults once to16 lowercase letters/digits. GroupType defaults to AIGC only when absent; AssetType:Image/Video/Audio. Deletes return HTTP200 with empty Result, no Id. Preserve full ResponseMetadata/Result, extensions and actual errors, including Result.Error when HTTP200. - Materials are shared within a Workspace for Keys with the corresponding access, not private to each member or Key. Other Workspaces are not visible. ProjectName organizes projects and is not end-user authorization; sharing one Key does not isolate end users. Lists and counts follow the same access scope. Default cursor mode:MaxResults=10, NextToken only when another page exists. PageNumber/PageSize selects explicit page mode; do not mix modes. Use GetAsset for the latest asset status. - Mutations support stable Idempotency-Key. Save X-Tokenlio-Operation-Id, then GET /api/v3/assets/operations/{operation_id} with the original platform Key, no body/query, to recover an unknown write without resubmitting it. ResponseMetadata.RequestId is diagnostic, never a substitute for the platform operation UUID. Only state=succeeded is complete; sending/unknown/observed are not success, rejected is definitive rejection. Keep the original intent/body/key on uncertain responses; HTTP422 is not always a parameter rejection. - Person verification: CreateVisualValidateSession (required CallbackURL, optional ProjectName; Result:BytedToken/H5Link/CallbackURL) → user completes H5 in a browser → GetVisualValidateResult with the original opaque BytedToken (Result:GroupId) → CreateAsset/GetAsset and Filter.GroupType=LivenessFace lists. Keep the original platform Key and ProjectName. CallbackURL is a browser return page you control; generate and validate state in your application. H5 may append resultCode=10000 for successful verification, but use the server-side result query before using GroupId. A page error does not prove H5 failure; a successful redirect is not sufficient verification proof. Never log BytedToken or send platform Authorization to H5 links. - Video callback_url is optional public HTTPS. After terminal and charge confirmation the platform delivers the platform task object, without platform/other credentials, with up to8 backed-off attempts. A lost acknowledgement may produce duplicates; deduplicate by X-Tokenlio-Event-Id. Callback failure does not change generation or charges. Mock flows first and obtain explicit authorization before live paid generation. - Query a known video task ID with GET. Material reads use POST with Action=GetAssetGroup or Action=GetAsset; put Id in the JSON body. - Charges: actual charges apply. Successful task queries, including failed/expired tasks, return HTTP200 task objects. Preserve original request-error HTTP/body and all valid error fields, numeric codes and nested extensions, not only code/message/type/param. Material errors may appear in ResponseMetadata.Error or Result.Error even on HTTP200. Metadata may include RequestId/Action/Version/Service/Region. Material-management visibility and the usability of an asset:// generation reference are separate rules. Use authorized materials and follow the actual generation response. ### English Start integrating: - [Quick start](https://docs.tokenlio.ai/api/seedance/) · [Markdown](https://docs.tokenlio.ai/api/seedance/index.md) - [Request conventions](https://docs.tokenlio.ai/api/seedance/conventions) · [Markdown](https://docs.tokenlio.ai/api/seedance/conventions.md) - [Models and inputs](https://docs.tokenlio.ai/api/seedance/models) · [Markdown](https://docs.tokenlio.ai/api/seedance/models.md) Video generation: - [Create video tasks](https://docs.tokenlio.ai/api/seedance/generation) · [Markdown](https://docs.tokenlio.ai/api/seedance/generation.md) - [Query and manage tasks](https://docs.tokenlio.ai/api/seedance/tasks) · [Markdown](https://docs.tokenlio.ai/api/seedance/tasks.md) - [Generation callbacks](https://docs.tokenlio.ai/api/seedance/callbacks) · [Markdown](https://docs.tokenlio.ai/api/seedance/callbacks.md) Materials and person verification: - [Material groups and assets](https://docs.tokenlio.ai/api/seedance/assets) · [Markdown](https://docs.tokenlio.ai/api/seedance/assets.md) - [Person verification](https://docs.tokenlio.ai/api/seedance/verification) · [Markdown](https://docs.tokenlio.ai/api/seedance/verification.md) Integration and troubleshooting: - [Errors, retries and recovery](https://docs.tokenlio.ai/api/seedance/errors) · [Markdown](https://docs.tokenlio.ai/api/seedance/errors.md) - [Agent integration guide](https://docs.tokenlio.ai/api/seedance/agent) · [Markdown](https://docs.tokenlio.ai/api/seedance/agent.md) ### 简体中文 开始接入: - [快速开始](https://docs.tokenlio.ai/zh/api/seedance/) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/index.md) - [接入约定](https://docs.tokenlio.ai/zh/api/seedance/conventions) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/conventions.md) - [模型与输入能力](https://docs.tokenlio.ai/zh/api/seedance/models) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/models.md) 视频生成: - [创建视频任务](https://docs.tokenlio.ai/zh/api/seedance/generation) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/generation.md) - [查询与管理任务](https://docs.tokenlio.ai/zh/api/seedance/tasks) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/tasks.md) - [生成结果回调](https://docs.tokenlio.ai/zh/api/seedance/callbacks) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/callbacks.md) 素材与真人认证: - [素材组与素材管理](https://docs.tokenlio.ai/zh/api/seedance/assets) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/assets.md) - [真人素材认证](https://docs.tokenlio.ai/zh/api/seedance/verification) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/verification.md) 集成与排错: - [错误、重试与结果恢复](https://docs.tokenlio.ai/zh/api/seedance/errors) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/errors.md) - [Agent 接入指南](https://docs.tokenlio.ai/zh/api/seedance/agent) · [Markdown](https://docs.tokenlio.ai/zh/api/seedance/agent.md) ### 日本語 接続を始める: - [クイックスタート](https://docs.tokenlio.ai/ja/api/seedance/) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/index.md) - [呼び出し規約](https://docs.tokenlio.ai/ja/api/seedance/conventions) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/conventions.md) - [モデルと入力](https://docs.tokenlio.ai/ja/api/seedance/models) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/models.md) 動画生成: - [動画タスクの作成](https://docs.tokenlio.ai/ja/api/seedance/generation) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/generation.md) - [タスクの照会と管理](https://docs.tokenlio.ai/ja/api/seedance/tasks) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/tasks.md) - [生成結果コールバック](https://docs.tokenlio.ai/ja/api/seedance/callbacks) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/callbacks.md) 素材と人物認証: - [素材グループと素材管理](https://docs.tokenlio.ai/ja/api/seedance/assets) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/assets.md) - [人物素材認証](https://docs.tokenlio.ai/ja/api/seedance/verification) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/verification.md) 実装とトラブル対応: - [エラー・再試行・復元](https://docs.tokenlio.ai/ja/api/seedance/errors) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/errors.md) - [Agent 接続ガイド](https://docs.tokenlio.ai/ja/api/seedance/agent) · [Markdown](https://docs.tokenlio.ai/ja/api/seedance/agent.md) ### 한국어 연동 시작: - [빠른 시작](https://docs.tokenlio.ai/ko/api/seedance/) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/index.md) - [호출 규칙](https://docs.tokenlio.ai/ko/api/seedance/conventions) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/conventions.md) - [모델과 입력](https://docs.tokenlio.ai/ko/api/seedance/models) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/models.md) 동영상 생성: - [동영상 작업 생성](https://docs.tokenlio.ai/ko/api/seedance/generation) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/generation.md) - [작업 조회와 관리](https://docs.tokenlio.ai/ko/api/seedance/tasks) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/tasks.md) - [생성 결과 콜백](https://docs.tokenlio.ai/ko/api/seedance/callbacks) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/callbacks.md) 에셋과 인물 인증: - [에셋 그룹과 에셋 관리](https://docs.tokenlio.ai/ko/api/seedance/assets) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/assets.md) - [인물 에셋 인증](https://docs.tokenlio.ai/ko/api/seedance/verification) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/verification.md) 구현과 문제 해결: - [오류·재시도·복구](https://docs.tokenlio.ai/ko/api/seedance/errors) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/errors.md) - [Agent 연동 가이드](https://docs.tokenlio.ai/ko/api/seedance/agent) · [Markdown](https://docs.tokenlio.ai/ko/api/seedance/agent.md) ## Unified Video API Reference (v1) The following rules and model links apply only to the unified v1 interface. Use a Tokenlio Workspace model-routing Key and the exact API model ID from the model catalog. Video creation is asynchronous; HTTP 202 is not completed delivery. Save the returned platform task ID and query its status: queued / processing / succeeded / failed. A succeeded task returns assets[{role,url}] with signed private download links; query again to refresh expired platform links. Only Seedance-family API model IDs may additionally return assets[].source_url in successful, fully settled single-task queries when an original URL was recorded. Original links may already be expired or access-limited: querying neither checks their expiry nor refreshes them. Use url if source_url is unavailable, and do not send your Tokenlio API Key to either asset URL. Other models and unfinished/failed tasks omit source_url. Timeout is failed with error.code TASK_TIMEOUT. Follow any guidance in message and do not recreate an existing task. Available models, parameter ranges and prices follow the catalog and platform announcements. Use only the documented Tokenlio request fields. Seedance 2.5 defaults omni_reference_task_type to auto; reference / extend are usable only when supported by the requested API model ID. Seedance does not support automatic duration (-1) or draft/edit. Documented ranges describe interface limits, not guaranteed availability for every model ID. Optional audio, final-frame, seed, watermark and output-container controls may have no effect or use defaults when unsupported; inspect actual assets and file containers. Creation accepts an optional Idempotency-Key, and each POST without a shared identifier is independent. Grok Imagine Video and Grok Imagine Video 1.5 require explicit integer duration 1–15 for generation and accept ordered reference images. Only Base supports operation=edit with exactly one video_urls and no generation fields. Read final USD charges in console usage records, not create/query responses. max_charge_amount is optional and only accepted by models that support it; its value is a non-negative USD decimal string with at most eight fractional digits. Do not change absent operation to explicit generate on an idempotent retry. ### English - [Video Tasks & Delivery](https://docs.tokenlio.ai/api/videos): Creation, polling, fixed billing, private downloads and errors. - [Seedance 2.0](https://docs.tokenlio.ai/api/videos/seedance-2-0): 4–15 seconds, 480p / 720p / 1080p / 4k, parameters and text, frame and reference examples. - [Seedance 2.0 Fast](https://docs.tokenlio.ai/api/videos/seedance-2-0-fast): 480p / 720p output, parameters and examples. - [Seedance 2.0 Mini](https://docs.tokenlio.ai/api/videos/seedance-2-0-mini): 480p / 720p output, batch and frame examples. - [Seedance 2.5](https://docs.tokenlio.ai/api/videos/seedance-2-5): Parameters, multimodal references, frames and extension. - [MiniMax H3](https://docs.tokenlio.ai/api/videos/minimax-h3): 4–15 seconds, 2k or 768p, parameters and text, frame and reference examples. - [MiniMax H3 Max](https://docs.tokenlio.ai/api/videos/minimax-h3-max): 5–15 seconds, 480p to 1080p, parameters and text, frame and reference examples. - [Grok Imagine Video](https://docs.tokenlio.ai/api/videos/grok-imagine-video): 1–15 integer seconds, 480p / 720p; 1–50 images; Base also edits one video. - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/api/videos/grok-imagine-video-1-5): 1–15 integer seconds, 480p / 720p / 1080p; 1–50 reference images; no editing. - [Wan 3.0](https://docs.tokenlio.ai/api/videos/wan3-0-video): 2–30 / -1 · 480p / 720p / 1080p - [Wan 3.0 Prime](https://docs.tokenlio.ai/api/videos/wan3-0-video-prime): 2–30 / -1 · 480p / 720p / 1080p - [HappyHorse 1.0](https://docs.tokenlio.ai/api/videos/happyhorse-1-0): 3–15 · 720p / 1080p - [HappyHorse 1.1](https://docs.tokenlio.ai/api/videos/happyhorse-1-1): 3–15 · 720p / 1080p ### 简体中文 - [视频任务与交付](https://docs.tokenlio.ai/zh/api/videos): 创建、轮询、固定计费、私有下载与错误。 - [Seedance 2.0](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0): 4–15 秒、480p–4k,参数表与文生视频、首尾帧、参考示例。 - [Seedance 2.0 Fast](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0-fast): 480p / 720p 轻量输出,参数与示例。 - [Seedance 2.0 Mini](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0-mini): 480p / 720p 轻量输出,批量与帧续接示例。 - [Seedance 2.5](https://docs.tokenlio.ai/zh/api/videos/seedance-2-5): 参数、多模态参考、首尾帧与视频延长。 - [MiniMax H3](https://docs.tokenlio.ai/zh/api/videos/minimax-h3): 4–15 秒、2k 或 768p,参数表与文生视频、首尾帧、参考示例。 - [MiniMax H3 Max](https://docs.tokenlio.ai/zh/api/videos/minimax-h3-max): 5–15 秒、480p–1080p,参数表与文生视频、首尾帧、参考示例。 - [Grok Imagine Video](https://docs.tokenlio.ai/zh/api/videos/grok-imagine-video): 整数 1–15 秒, 480p / 720p; 1–50 张图;Base 另支持单视频编辑. - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/zh/api/videos/grok-imagine-video-1-5): 整数 1–15 秒, 480p / 720p / 1080p; 1–50 张参考图;无编辑. - [Wan 3.0](https://docs.tokenlio.ai/zh/api/videos/wan3-0-video): 2–30 / -1 · 480p / 720p / 1080p - [Wan 3.0 Prime](https://docs.tokenlio.ai/zh/api/videos/wan3-0-video-prime): 2–30 / -1 · 480p / 720p / 1080p - [HappyHorse 1.0](https://docs.tokenlio.ai/zh/api/videos/happyhorse-1-0): 3–15 · 720p / 1080p - [HappyHorse 1.1](https://docs.tokenlio.ai/zh/api/videos/happyhorse-1-1): 3–15 · 720p / 1080p ### 日本語 - [動画タスクと配信](https://docs.tokenlio.ai/ja/api/videos): 作成、照会、固定料金、非公開取得、エラー。 - [Seedance 2.0](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0): 4–15 秒、480p〜4k、パラメータと生成例。 - [Seedance 2.0 Fast](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0-fast): 480p / 720p の軽量出力、パラメータと例。 - [Seedance 2.0 Mini](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0-mini): 480p / 720p の軽量出力、バッチとフレーム例。 - [Seedance 2.5](https://docs.tokenlio.ai/ja/api/videos/seedance-2-5): パラメータ、マルチモーダル、フレーム、延長。 - [MiniMax H3](https://docs.tokenlio.ai/ja/api/videos/minimax-h3): 4〜15 秒、2k または 768p、パラメータと生成例。 - [MiniMax H3 Max](https://docs.tokenlio.ai/ja/api/videos/minimax-h3-max): 5〜15 秒、480p〜1080p、パラメータと生成例。 - [Grok Imagine Video](https://docs.tokenlio.ai/ja/api/videos/grok-imagine-video): 整数 1–15 秒, 480p / 720p; 画像 1–50 枚。Base は元動画 1 本の編集も対応. - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/ja/api/videos/grok-imagine-video-1-5): 整数 1–15 秒, 480p / 720p / 1080p; 参照画像 1–50 枚。編集非対応. - [Wan 3.0](https://docs.tokenlio.ai/ja/api/videos/wan3-0-video): 2–30 / -1 · 480p / 720p / 1080p - [Wan 3.0 Prime](https://docs.tokenlio.ai/ja/api/videos/wan3-0-video-prime): 2–30 / -1 · 480p / 720p / 1080p - [HappyHorse 1.0](https://docs.tokenlio.ai/ja/api/videos/happyhorse-1-0): 3–15 · 720p / 1080p - [HappyHorse 1.1](https://docs.tokenlio.ai/ja/api/videos/happyhorse-1-1): 3–15 · 720p / 1080p ### 한국어 - [동영상 작업 및 전달](https://docs.tokenlio.ai/ko/api/videos): 생성, 조회, 고정 요금, 비공개 다운로드 및 오류. - [Seedance 2.0](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0): 4–15초, 480p~4k, 매개변수와 생성 예시. - [Seedance 2.0 Fast](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0-fast): 480p / 720p 경량 출력, 매개변수와 예시. - [Seedance 2.0 Mini](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0-mini): 480p / 720p 경량 출력, 대량·프레임 예시. - [Seedance 2.5](https://docs.tokenlio.ai/ko/api/videos/seedance-2-5): 매개변수, 멀티모달, 프레임 및 연장. - [MiniMax H3](https://docs.tokenlio.ai/ko/api/videos/minimax-h3): 4~15초, 2k 또는 768p, 매개변수와 생성 예시. - [MiniMax H3 Max](https://docs.tokenlio.ai/ko/api/videos/minimax-h3-max): 5~15초, 480p~1080p, 매개변수와 생성 예시. - [Grok Imagine Video](https://docs.tokenlio.ai/ko/api/videos/grok-imagine-video): 정수 1–15초, 480p / 720p; 이미지 1–50개. Base는 원본 1개 편집도 지원. - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/ko/api/videos/grok-imagine-video-1-5): 정수 1–15초, 480p / 720p / 1080p; 참조 이미지 1–50개. 편집 미지원. - [Wan 3.0](https://docs.tokenlio.ai/ko/api/videos/wan3-0-video): 2–30 / -1 · 480p / 720p / 1080p - [Wan 3.0 Prime](https://docs.tokenlio.ai/ko/api/videos/wan3-0-video-prime): 2–30 / -1 · 480p / 720p / 1080p - [HappyHorse 1.0](https://docs.tokenlio.ai/ko/api/videos/happyhorse-1-0): 3–15 · 720p / 1080p - [HappyHorse 1.1](https://docs.tokenlio.ai/ko/api/videos/happyhorse-1-1): 3–15 · 720p / 1080p ## Image API Reference Image generation uses the same asynchronous task model as video: POST /v1/images/generations returns 202 with a platform task id, and the task is then queried and downloaded through GET /v1/tasks/{id} and GET /v1/tasks/{id}/content. HTTP 202 is not completed delivery. Poll every 5-15 seconds instead of creating another task. A succeeded task returns assets[{role,url}] with signed links; query again when a link expires. Failed tasks do not charge the customer, and the default ordinary image timeout is 10 minutes (error.code TASK_TIMEOUT). Seedream 5.5 layer decomposition defaults to a separately configured 20-minute deadline fixed at acceptance; all required generation and delivery must fit within it. Available models, parameter ranges and prices follow the catalog. ### English - [Nano Banana 2.1](https://docs.tokenlio.ai/api/images/gemini-nano-banana-2-1): Google model, generation and reference editing, 1K/2K/4K, async task polling and downloads. - [Seedream 5.5](https://docs.tokenlio.ai/api/images/seedream-5-5): transparent generation, reference editing, layer decomposition and optional OCR. - [Seedream 5.0 Flash](https://docs.tokenlio.ai/api/images/seedream-5-0-flash) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/api/images/seedream-5-0-pro) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/api/images/seedream-5-0-lite) ### 简体中文 - [Nano Banana 2.1](https://docs.tokenlio.ai/zh/api/images/gemini-nano-banana-2-1): Google 模型,文生图与参考图编辑、1K/2K/4K、异步任务查询与下载。 - [Seedream 5.5](https://docs.tokenlio.ai/zh/api/images/seedream-5-5): 生图、透明背景、参考图编辑、图层拆分和可选OCR。 - [Seedream 5.0 Flash](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-flash) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-pro) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-lite) ### 日本語 - [Nano Banana 2.1](https://docs.tokenlio.ai/ja/api/images/gemini-nano-banana-2-1): Google モデル、画像生成と参照画像編集、1K/2K/4K、非同期タスク照会とダウンロード。 - [Seedream 5.5](https://docs.tokenlio.ai/ja/api/images/seedream-5-5): 透明画像、参照編集、レイヤー分解と任意OCR。 - [Seedream 5.0 Flash](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-flash) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-pro) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-lite) ### 한국어 - [Nano Banana 2.1](https://docs.tokenlio.ai/ko/api/images/gemini-nano-banana-2-1): Google 모델, 이미지 생성과 참조 이미지 편집, 1K/2K/4K, 비동기 작업 조회 및 다운로드. - [Seedream 5.5](https://docs.tokenlio.ai/ko/api/images/seedream-5-5): 투명 이미지, 참조 편집, 레이어 분해와 선택적 OCR. - [Seedream 5.0 Flash](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-flash) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-pro) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-lite) ## Markdown sources for Agents Documentation pages provide a Copy page action and a View Markdown link at the end of each article. The Markdown source has the same page path with .md appended (directory homepages use index.md). It contains every example, including code hidden behind tabs. These sources are generated from the same documents as the HTML, not a separate API specification. ### English sources - [Video integration checklist and lifecycle](https://docs.tokenlio.ai/api/videos.md) - [Seedance 2.0](https://docs.tokenlio.ai/api/videos/seedance-2-0.md) - [Seedance 2.0 Fast](https://docs.tokenlio.ai/api/videos/seedance-2-0-fast.md) - [Seedance 2.0 Mini](https://docs.tokenlio.ai/api/videos/seedance-2-0-mini.md) - [Seedance 2.5](https://docs.tokenlio.ai/api/videos/seedance-2-5.md) - [MiniMax H3](https://docs.tokenlio.ai/api/videos/minimax-h3.md) - [MiniMax H3 Max](https://docs.tokenlio.ai/api/videos/minimax-h3-max.md) - [Grok Imagine Video](https://docs.tokenlio.ai/api/videos/grok-imagine-video.md) - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/api/videos/grok-imagine-video-1-5.md) - [Wan 3.0](https://docs.tokenlio.ai/api/videos/wan3-0-video.md) - [Wan 3.0 Prime](https://docs.tokenlio.ai/api/videos/wan3-0-video-prime.md) - [HappyHorse 1.0](https://docs.tokenlio.ai/api/videos/happyhorse-1-0.md) - [HappyHorse 1.1](https://docs.tokenlio.ai/api/videos/happyhorse-1-1.md) - [Nano Banana 2.1](https://docs.tokenlio.ai/api/images/gemini-nano-banana-2-1.md) - [Seedream 5.5](https://docs.tokenlio.ai/api/images/seedream-5-5.md): transparent PNG, reference editing, up to 100 layer outputs and optional OCR. - [Seedream 5.0 Flash](https://docs.tokenlio.ai/api/images/seedream-5-0-flash.md) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/api/images/seedream-5-0-pro.md) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/api/images/seedream-5-0-lite.md) ### 简体中文原文 - [视频接入清单与任务流程](https://docs.tokenlio.ai/zh/api/videos.md) - [Seedance 2.0](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0.md) - [Seedance 2.0 Fast](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0-fast.md) - [Seedance 2.0 Mini](https://docs.tokenlio.ai/zh/api/videos/seedance-2-0-mini.md) - [Seedance 2.5](https://docs.tokenlio.ai/zh/api/videos/seedance-2-5.md) - [MiniMax H3](https://docs.tokenlio.ai/zh/api/videos/minimax-h3.md) - [MiniMax H3 Max](https://docs.tokenlio.ai/zh/api/videos/minimax-h3-max.md) - [Grok Imagine Video](https://docs.tokenlio.ai/zh/api/videos/grok-imagine-video.md) - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/zh/api/videos/grok-imagine-video-1-5.md) - [Wan 3.0](https://docs.tokenlio.ai/zh/api/videos/wan3-0-video.md) - [Wan 3.0 Prime](https://docs.tokenlio.ai/zh/api/videos/wan3-0-video-prime.md) - [HappyHorse 1.0](https://docs.tokenlio.ai/zh/api/videos/happyhorse-1-0.md) - [HappyHorse 1.1](https://docs.tokenlio.ai/zh/api/videos/happyhorse-1-1.md) - [Nano Banana 2.1](https://docs.tokenlio.ai/zh/api/images/gemini-nano-banana-2-1.md) - [Seedream 5.5](https://docs.tokenlio.ai/zh/api/images/seedream-5-5.md): 生图、透明PNG、参考图编辑、最多100张图层输出和可选OCR。 - [Seedream 5.0 Flash](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-flash.md) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-pro.md) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/zh/api/images/seedream-5-0-lite.md) ### 日本語原文 - [動画実装チェックリストとタスクフロー](https://docs.tokenlio.ai/ja/api/videos.md) - [Seedance 2.0](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0.md) - [Seedance 2.0 Fast](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0-fast.md) - [Seedance 2.0 Mini](https://docs.tokenlio.ai/ja/api/videos/seedance-2-0-mini.md) - [Seedance 2.5](https://docs.tokenlio.ai/ja/api/videos/seedance-2-5.md) - [MiniMax H3](https://docs.tokenlio.ai/ja/api/videos/minimax-h3.md) - [MiniMax H3 Max](https://docs.tokenlio.ai/ja/api/videos/minimax-h3-max.md) - [Grok Imagine Video](https://docs.tokenlio.ai/ja/api/videos/grok-imagine-video.md) - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/ja/api/videos/grok-imagine-video-1-5.md) - [Wan 3.0](https://docs.tokenlio.ai/ja/api/videos/wan3-0-video.md) - [Wan 3.0 Prime](https://docs.tokenlio.ai/ja/api/videos/wan3-0-video-prime.md) - [HappyHorse 1.0](https://docs.tokenlio.ai/ja/api/videos/happyhorse-1-0.md) - [HappyHorse 1.1](https://docs.tokenlio.ai/ja/api/videos/happyhorse-1-1.md) - [Nano Banana 2.1](https://docs.tokenlio.ai/ja/api/images/gemini-nano-banana-2-1.md) - [Seedream 5.5](https://docs.tokenlio.ai/ja/api/images/seedream-5-5.md): 透明PNG、参照編集、最大100枚のレイヤーと任意OCR。 - [Seedream 5.0 Flash](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-flash.md) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-pro.md) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/ja/api/images/seedream-5-0-lite.md) ### 한국어 원문 - [동영상 구현 체크리스트와 작업 흐름](https://docs.tokenlio.ai/ko/api/videos.md) - [Seedance 2.0](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0.md) - [Seedance 2.0 Fast](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0-fast.md) - [Seedance 2.0 Mini](https://docs.tokenlio.ai/ko/api/videos/seedance-2-0-mini.md) - [Seedance 2.5](https://docs.tokenlio.ai/ko/api/videos/seedance-2-5.md) - [MiniMax H3](https://docs.tokenlio.ai/ko/api/videos/minimax-h3.md) - [MiniMax H3 Max](https://docs.tokenlio.ai/ko/api/videos/minimax-h3-max.md) - [Grok Imagine Video](https://docs.tokenlio.ai/ko/api/videos/grok-imagine-video.md) - [Grok Imagine Video 1.5](https://docs.tokenlio.ai/ko/api/videos/grok-imagine-video-1-5.md) - [Wan 3.0](https://docs.tokenlio.ai/ko/api/videos/wan3-0-video.md) - [Wan 3.0 Prime](https://docs.tokenlio.ai/ko/api/videos/wan3-0-video-prime.md) - [HappyHorse 1.0](https://docs.tokenlio.ai/ko/api/videos/happyhorse-1-0.md) - [HappyHorse 1.1](https://docs.tokenlio.ai/ko/api/videos/happyhorse-1-1.md) - [Nano Banana 2.1](https://docs.tokenlio.ai/ko/api/images/gemini-nano-banana-2-1.md) - [Seedream 5.5](https://docs.tokenlio.ai/ko/api/images/seedream-5-5.md): 투명 PNG, 참조 편집, 최대100장 레이어와 선택적 OCR. - [Seedream 5.0 Flash](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-flash.md) - [Seedream 5.0 Pro](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-pro.md) - [Seedream 5.0 Lite](https://docs.tokenlio.ai/ko/api/images/seedream-5-0-lite.md) ## Model availability and implementation safety Do not infer available models, Key permissions or prices from examples. Use the current model catalog and the authenticated Models API guide. Example IDs beginning with example/ are placeholders, not callable model IDs. For video integrations, read both the shared lifecycle/checklist page and the selected model's parameter reference. duration is an explicit JSON integer. Seedance 2.0 Fast and Mini support 480p/720p only. Save the accepted task id; poll the original task rather than creating another. A local polling timeout does not authorize a new creation. Keep Keys server-side and do not forward Authorization to signed download URLs. Implement tests with mock responses; live generation may charge the user and requires their confirmation.