https://ai.tuturuuu.com and accepts
workspace-scoped ttr_ai_ credentials through the standard bearer header:
manage_ai_keys permission and a standing platform-admin approval for that
workspace. Listing and revoking existing credentials remain available without
issuance approval. Removing approval does not invalidate existing credentials.
Registered external apps may instead use a short-lived ttr_app_ access token.
The app registration and issued token must both include workspace:session and
ai:use; speech requests require tts:use. These requests must also send the
normalized workspace ID returned by the app-token exchange:
OpenAI-compatible endpoints
Requests support stable
x-request-id values and the idempotency-key header.
Streaming responses use server-sent events. Errors use an OpenAI-compatible
error object and include the stable request ID for support correlation.
Model access is the intersection of the globally enabled catalog, global Studio
defaults, workspace policy, plan or root grants, and the key’s own model
restrictions. A model visible elsewhere in Tuturuuu is not necessarily
available to a Studio key.
The legacy global/workspace Studio enablement switches no longer gate model
execution. Credit availability, model policy, credential status, budgets, rate
limits, and abuse controls remain authoritative.
Native extensions
Tuturuuu-native response metadata reports billed workspace credits, provider cost when permitted, run and trace IDs, token or media units, and timing information. These fields extend the compatible response without changing the standard OpenAI fields. Text endpoints accept an optional bounded tool-loop extension:max_steps must be between 1 and 8. The listed tools are deterministic,
server-owned demonstration tools; arbitrary HTTP requests and code execution
are not accepted. Non-streaming responses include
tuturuuu.steps with only the ordered step number, type, name, status, and
latency. Streaming responses emit the same sanitized trace in the final
response.completed event before [DONE].
Workspace Studio dashboards combine settled ai_studio_runs with unmatched
deductions from ai_credit_transactions. This includes ordinary workspace
deductions and the signed-in member’s personal deductions when a free workspace
uses a personal credit balance, without double-counting ledger rows linked to a
Studio run. Billed credits and settled provider cost are shown separately;
registered external-app runs therefore report provider cost while showing zero
billed workspace credits.
The usage and run-log responses include identifiers, model, feature, credential
source, status, token or media units, settled credits and cost, and timing
metadata. They never include raw prompts, model outputs, tool payloads, ledger
metadata, or unsanitized provider errors.
The legacy /api/ai/generate endpoint remains available as a compatibility
adapter. New integrations should use the /v1 Studio endpoints.
Speech
POST /v1/audio/speech accepts input, optional voice, optional
response_format (wav or pcm), and the
google/gemini-3.1-flash-tts-preview model. The response is downloadable audio
and is never cached. Google currently prices the model by text input tokens and
audio output tokens; Tuturuuu records both provider cost and generated audio
duration-derived token usage.