/v1/models
Query current callable model IDs before integration.
Integration guide for the Try AI API unified gateway: available models, quick start, endpoints, code examples, SDK setup, and FAQ.
Use this section for endpoint rules and model ID lookup. The full live catalog is on the models page.
Model IDs are sourced from GET /v1/models. Live pricing, groups, and available endpoints live on the model market; the docs page keeps only integration rules and key entry points.
API definition: /docs/openapi.json. Model details use live /v1/models and the model market as the source of truth.
Open the console to create an API key. Bank transfer and VAT invoice supported.
Text models use an SDK base URL swap. Visual models use /videos/v1/videos/generations to submit async tasks.
Text calls return in real time; visual tasks are polled until completion. Usage records can be exported for reconciliation.
/v1/modelsQuery current callable model IDs before integration.
/v1/chat/completionsOpenAI-compatible endpoint for SDKs, agents, and tools.
/v1/messagesAnthropic Messages-compatible endpoint for Claude clients and SDKs.
/videos/v1/videos/generationsSubmit a visual generation task and receive a job ID and polling URL.
/videos/v1/videos/generations/{task_id}Poll task status, failure reason, and download URLs.
Advanced text capabilities and visual model async task examples — cURL / Python / JavaScript shown for each scenario.
| Parameter | Type | Description |
|---|---|---|
model |
string | doubao-seedance-2.0 or doubao-seedance-2.0-fast |
prompt |
string | Text prompt, required |
duration |
integer | Duration in seconds, range 4–15 |
resolution |
string | 480p / 720p / 1080p (fast does not support 1080p) |
image_urls |
array ≤9 | Reference images. Each item is a URL string (default role = first_frame, image-to-video) or an object {"url":"…","role":"first_frame|last_frame|reference_image"} |
video_urls |
array ≤3 | Reference videos |
audio_urls |
array ≤3 | Reference audio; cannot be used alone — must accompany role:"reference_image" images or video_urls; first/last-frame images cannot be combined with audio |
generate_audio |
boolean | Whether output includes audio, default false |
Billing: settled per task; on success, reconciled against upstream usage.total_tokens with credit/charge adjustment; failures are fully refunded.
The platform provides only official standard model IDs. Suffix variants like -thinking, -high, or -low are not available. Reasoning depth is controlled via API parameters — Anthropic uses the thinking object, OpenAI uses reasoning_effort.
request_id, OpenAI id and system_fingerprint), identical to a direct upstream call. Visit the transparency page to inspect the database schema and confirm we do not store prompt or response bodies.
"stream": true in the request. Visual models are not streaming responses; submit a task, then poll /videos/v1/videos/generations/{task_id} for the result.
POST /videos/v1/videos/generations. The response returns job_id and poll_url. After completion, the polling response or "Visual model usage detail" shows the result, download URL, and failure reason.
-thinking, -high, or -low are not available. Reasoning depth is controlled via API parameters:
"thinking": {"type": "enabled", "budget_tokens": 10000} to the request body (budget: 1024–100000 tokens). max_tokens must exceed budget_tokens. Supported models: claude-opus-4-7, claude-opus-4-8, etc."reasoning_effort": "high" to the request body (options: low / medium / high). Supported models: gpt-5.5, etc. Check GET /v1/models for current availability.