Tong API and MCP documentation
Build with AI image, video and audio models, Assistant and Film Maker using your Tong account and credits.
Get started#
QuickstartCreate an API key, find a model, quote a request and follow its result.AuthenticationAPI keys charge the account that owns the key. OAuth lets each connected user use their own credits.MCP setupConnect Tong in your MCP client, authorize your account, then discover and call the permitted creative tools.
Creative workflows#
Animate imageUse IMAGE_TO_VIDEO to animate an owned image. Discover a compatible model, quote its exact configuration, then submit and track the saved operation.AssistantAssistant and Film Maker charge as work proceeds and pause when credits are insufficient. Guided mode pauses for creative review.Film MakerAssistant and Film Maker use the available image, video, audio and editing tools. Their internal reasoning model is not a selectable public model.Text ChatUse text models directly and track actual input, output and cache usage.Prompt enhancementRead enhancement options, submit a prompt and retrieve the saved result.Named referencesReference labels bind to owned asset IDs. Read the selected model’s reference capabilities and preserve the same labels, order and configuration when quoting and submitting.
Build your integration#
Tool referenceBrowse every creative tool and its request schema.HTTP endpointsBrowse the HTTP endpoints for operations, assets, account usage and OAuth.Model catalogDiscover available models, capabilities and supported configurations.PricingCompare customer credit rates and configuration-dependent prices.Errors and rate limitsUnderstand error responses, retry safely and recover from failed generations.
API contracts#
The OpenAPI and tool schemas define every input and required permission. Account availability and model options are returned by live discovery.