Agent Connect

Give agents a stable path from discovery to paid API calls.

API-Key exposes machine-readable docs, public model capabilities, API key authentication and credit estimates so agents can integrate the current multimodal API surface with less guessing.

Budget guardrail
POST /v1/credits/estimate
{
  "model": "seedance-2-fast",
  "modality": "video",
  "duration": 6,
  "resolution": "720p",
  "max_credits": 250
}

OpenAPI schema

Machine-readable contract for the current API surface.

Model catalog

Live model list with modalities, endpoints and capabilities.

Credit estimate

Estimate credits before starting paid media tasks.

Auth.md

API key authentication instructions for agents.

Agent flow

The supported path today

OAuth and MCP are not advertised as live capabilities yet. The current production path is API keys plus explicit budget controls.

1

Discover

Read /.well-known/api-catalog, /openapi.json, /llms.txt and /v1/models.

2

Authorize

Use a dashboard-created API key as Authorization: Bearer or x-api-key.

3

Estimate

Call /v1/credits/estimate and ask for confirmation when the task is outside the user budget.

4

Execute

Create chat, embedding, image, video or music requests through /v1 endpoints.

5

Deliver

Poll /v1/tasks/{task_id} or process the configured callback URL for media results.

API keys are the production authorization path.

Create keys in the dashboard, then apply per-key model, quota, IP and concurrency policies as your agent rollout matures.

Manage API keys